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