forked from
chadtmiller.com/slices-teal-relay
Teal.fm frontend powered by slices.network
tealfm-slices.wisp.place
tealfm
slices
1/**
2 * @generated SignedSource<<05e7a8d8804cbbe062ff7dce37522623>>
3 * @lightSyntaxTransform
4 * @nogrep
5 */
6
7/* tslint:disable */
8/* eslint-disable */
9// @ts-nocheck
10
11import { ConcreteRequest } from 'relay-runtime';
12import { FragmentRefs } from "relay-runtime";
13export type FmTealAlphaFeedPlayWhereInput = {
14 actorHandle?: StringFilter | null | undefined;
15 artistMbIds?: StringFilter | null | undefined;
16 artistNames?: StringFilter | null | undefined;
17 artists?: StringFilter | null | undefined;
18 cid?: StringFilter | null | undefined;
19 collection?: StringFilter | null | undefined;
20 did?: StringFilter | null | undefined;
21 duration?: IntFilter | null | undefined;
22 indexedAt?: DateTimeFilter | null | undefined;
23 isrc?: StringFilter | null | undefined;
24 musicServiceBaseDomain?: StringFilter | null | undefined;
25 originUrl?: StringFilter | null | undefined;
26 playedTime?: StringFilter | null | undefined;
27 recordingMbId?: StringFilter | null | undefined;
28 releaseMbId?: StringFilter | null | undefined;
29 releaseName?: StringFilter | null | undefined;
30 submissionClientAgent?: StringFilter | null | undefined;
31 trackMbId?: StringFilter | null | undefined;
32 trackName?: StringFilter | null | undefined;
33 uri?: StringFilter | null | undefined;
34};
35export type DateTimeFilter = {
36 eq?: string | null | undefined;
37 gt?: string | null | undefined;
38 gte?: string | null | undefined;
39 lt?: string | null | undefined;
40 lte?: string | null | undefined;
41};
42export type StringFilter = {
43 contains?: string | null | undefined;
44 eq?: string | null | undefined;
45 gt?: string | null | undefined;
46 gte?: string | null | undefined;
47 in?: ReadonlyArray<string | null | undefined> | null | undefined;
48 lt?: string | null | undefined;
49 lte?: string | null | undefined;
50};
51export type IntFilter = {
52 eq?: number | null | undefined;
53 gt?: number | null | undefined;
54 gte?: number | null | undefined;
55 in?: ReadonlyArray<number | null | undefined> | null | undefined;
56 lt?: number | null | undefined;
57 lte?: number | null | undefined;
58};
59export type ProfilePaginationQuery$variables = {
60 count?: number | null | undefined;
61 cursor?: string | null | undefined;
62 where: FmTealAlphaFeedPlayWhereInput;
63};
64export type ProfilePaginationQuery$data = {
65 readonly " $fragmentSpreads": FragmentRefs<"Profile_plays">;
66};
67export type ProfilePaginationQuery = {
68 response: ProfilePaginationQuery$data;
69 variables: ProfilePaginationQuery$variables;
70};
71
72const node: ConcreteRequest = (function(){
73var v0 = [
74 {
75 "defaultValue": 20,
76 "kind": "LocalArgument",
77 "name": "count"
78 },
79 {
80 "defaultValue": null,
81 "kind": "LocalArgument",
82 "name": "cursor"
83 },
84 {
85 "defaultValue": null,
86 "kind": "LocalArgument",
87 "name": "where"
88 }
89],
90v1 = {
91 "kind": "Variable",
92 "name": "where",
93 "variableName": "where"
94},
95v2 = [
96 {
97 "kind": "Variable",
98 "name": "after",
99 "variableName": "cursor"
100 },
101 {
102 "kind": "Variable",
103 "name": "first",
104 "variableName": "count"
105 },
106 {
107 "kind": "Literal",
108 "name": "sortBy",
109 "value": [
110 {
111 "direction": "desc",
112 "field": "playedTime"
113 }
114 ]
115 },
116 (v1/*: any*/)
117];
118return {
119 "fragment": {
120 "argumentDefinitions": (v0/*: any*/),
121 "kind": "Fragment",
122 "metadata": null,
123 "name": "ProfilePaginationQuery",
124 "selections": [
125 {
126 "args": [
127 {
128 "kind": "Variable",
129 "name": "count",
130 "variableName": "count"
131 },
132 {
133 "kind": "Variable",
134 "name": "cursor",
135 "variableName": "cursor"
136 },
137 (v1/*: any*/)
138 ],
139 "kind": "FragmentSpread",
140 "name": "Profile_plays"
141 }
142 ],
143 "type": "Query",
144 "abstractKey": null
145 },
146 "kind": "Request",
147 "operation": {
148 "argumentDefinitions": (v0/*: any*/),
149 "kind": "Operation",
150 "name": "ProfilePaginationQuery",
151 "selections": [
152 {
153 "alias": null,
154 "args": (v2/*: any*/),
155 "concreteType": "FmTealAlphaFeedPlayConnection",
156 "kind": "LinkedField",
157 "name": "fmTealAlphaFeedPlays",
158 "plural": false,
159 "selections": [
160 {
161 "alias": null,
162 "args": null,
163 "kind": "ScalarField",
164 "name": "totalCount",
165 "storageKey": null
166 },
167 {
168 "alias": null,
169 "args": null,
170 "concreteType": "FmTealAlphaFeedPlayEdge",
171 "kind": "LinkedField",
172 "name": "edges",
173 "plural": true,
174 "selections": [
175 {
176 "alias": null,
177 "args": null,
178 "concreteType": "FmTealAlphaFeedPlay",
179 "kind": "LinkedField",
180 "name": "node",
181 "plural": false,
182 "selections": [
183 {
184 "alias": null,
185 "args": null,
186 "kind": "ScalarField",
187 "name": "trackName",
188 "storageKey": null
189 },
190 {
191 "alias": null,
192 "args": null,
193 "kind": "ScalarField",
194 "name": "playedTime",
195 "storageKey": null
196 },
197 {
198 "alias": null,
199 "args": null,
200 "kind": "ScalarField",
201 "name": "artists",
202 "storageKey": null
203 },
204 {
205 "alias": null,
206 "args": null,
207 "kind": "ScalarField",
208 "name": "releaseName",
209 "storageKey": null
210 },
211 {
212 "alias": null,
213 "args": null,
214 "kind": "ScalarField",
215 "name": "releaseMbId",
216 "storageKey": null
217 },
218 {
219 "alias": null,
220 "args": null,
221 "kind": "ScalarField",
222 "name": "actorHandle",
223 "storageKey": null
224 },
225 {
226 "alias": null,
227 "args": null,
228 "kind": "ScalarField",
229 "name": "musicServiceBaseDomain",
230 "storageKey": null
231 },
232 {
233 "alias": null,
234 "args": null,
235 "concreteType": "AppBskyActorProfile",
236 "kind": "LinkedField",
237 "name": "appBskyActorProfile",
238 "plural": false,
239 "selections": [
240 {
241 "alias": null,
242 "args": null,
243 "kind": "ScalarField",
244 "name": "displayName",
245 "storageKey": null
246 },
247 {
248 "alias": null,
249 "args": null,
250 "kind": "ScalarField",
251 "name": "description",
252 "storageKey": null
253 },
254 {
255 "alias": null,
256 "args": null,
257 "concreteType": "Blob",
258 "kind": "LinkedField",
259 "name": "avatar",
260 "plural": false,
261 "selections": [
262 {
263 "alias": null,
264 "args": [
265 {
266 "kind": "Literal",
267 "name": "preset",
268 "value": "avatar"
269 }
270 ],
271 "kind": "ScalarField",
272 "name": "url",
273 "storageKey": "url(preset:\"avatar\")"
274 }
275 ],
276 "storageKey": null
277 }
278 ],
279 "storageKey": null
280 },
281 {
282 "alias": null,
283 "args": null,
284 "kind": "ScalarField",
285 "name": "__typename",
286 "storageKey": null
287 }
288 ],
289 "storageKey": null
290 },
291 {
292 "alias": null,
293 "args": null,
294 "kind": "ScalarField",
295 "name": "cursor",
296 "storageKey": null
297 }
298 ],
299 "storageKey": null
300 },
301 {
302 "alias": null,
303 "args": null,
304 "concreteType": "PageInfo",
305 "kind": "LinkedField",
306 "name": "pageInfo",
307 "plural": false,
308 "selections": [
309 {
310 "alias": null,
311 "args": null,
312 "kind": "ScalarField",
313 "name": "endCursor",
314 "storageKey": null
315 },
316 {
317 "alias": null,
318 "args": null,
319 "kind": "ScalarField",
320 "name": "hasNextPage",
321 "storageKey": null
322 }
323 ],
324 "storageKey": null
325 }
326 ],
327 "storageKey": null
328 },
329 {
330 "alias": null,
331 "args": (v2/*: any*/),
332 "filters": [
333 "where",
334 "sortBy"
335 ],
336 "handle": "connection",
337 "key": "Profile_fmTealAlphaFeedPlays",
338 "kind": "LinkedHandle",
339 "name": "fmTealAlphaFeedPlays"
340 }
341 ]
342 },
343 "params": {
344 "cacheID": "72ce84bf8cc8ac016e19ca462a2f7b70",
345 "id": null,
346 "metadata": {},
347 "name": "ProfilePaginationQuery",
348 "operationKind": "query",
349 "text": "query ProfilePaginationQuery(\n $count: Int = 20\n $cursor: String\n $where: FmTealAlphaFeedPlayWhereInput!\n) {\n ...Profile_plays_mjR8k\n}\n\nfragment Profile_plays_mjR8k on Query {\n fmTealAlphaFeedPlays(first: $count, after: $cursor, sortBy: [{field: playedTime, direction: desc}], where: $where) {\n totalCount\n edges {\n node {\n ...TrackItem_play\n actorHandle\n appBskyActorProfile {\n displayName\n description\n avatar {\n url(preset: \"avatar\")\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment TrackItem_play on FmTealAlphaFeedPlay {\n trackName\n playedTime\n artists\n releaseName\n releaseMbId\n actorHandle\n musicServiceBaseDomain\n appBskyActorProfile {\n displayName\n }\n}\n"
350 }
351};
352})();
353
354(node as any).hash = "fb9d67e8cd94c4191b9956225ff78bdf";
355
356export default node;