forked from
chadtmiller.com/slices-teal-relay
Teal.fm frontend powered by slices.network
tealfm-slices.wisp.place
tealfm
slices
1/**
2 * @generated SignedSource<<4eadb1b67651fecb72943df792f91938>>
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 AppQuery$variables = {
64 chartWhere: FmTealAlphaFeedPlayWhereInput;
65};
66export type AppQuery$data = {
67 readonly " $fragmentSpreads": FragmentRefs<"App_plays" | "ScrobbleChart_data">;
68};
69export type AppQuery = {
70 response: AppQuery$data;
71 variables: AppQuery$variables;
72};
73
74const node: ConcreteRequest = (function(){
75var v0 = [
76 {
77 "defaultValue": null,
78 "kind": "LocalArgument",
79 "name": "chartWhere"
80 }
81],
82v1 = [
83 {
84 "kind": "Literal",
85 "name": "first",
86 "value": 20
87 },
88 {
89 "kind": "Literal",
90 "name": "sortBy",
91 "value": [
92 {
93 "direction": "desc",
94 "field": "playedTime"
95 }
96 ]
97 }
98],
99v2 = {
100 "alias": null,
101 "args": null,
102 "kind": "ScalarField",
103 "name": "playedTime",
104 "storageKey": null
105},
106v3 = {
107 "alias": null,
108 "args": null,
109 "kind": "ScalarField",
110 "name": "id",
111 "storageKey": null
112};
113return {
114 "fragment": {
115 "argumentDefinitions": (v0/*: any*/),
116 "kind": "Fragment",
117 "metadata": null,
118 "name": "AppQuery",
119 "selections": [
120 {
121 "args": null,
122 "kind": "FragmentSpread",
123 "name": "App_plays"
124 },
125 {
126 "args": null,
127 "kind": "FragmentSpread",
128 "name": "ScrobbleChart_data"
129 }
130 ],
131 "type": "Query",
132 "abstractKey": null
133 },
134 "kind": "Request",
135 "operation": {
136 "argumentDefinitions": (v0/*: any*/),
137 "kind": "Operation",
138 "name": "AppQuery",
139 "selections": [
140 {
141 "alias": null,
142 "args": (v1/*: any*/),
143 "concreteType": "FmTealAlphaFeedPlayConnection",
144 "kind": "LinkedField",
145 "name": "fmTealAlphaFeedPlays",
146 "plural": false,
147 "selections": [
148 {
149 "alias": null,
150 "args": null,
151 "kind": "ScalarField",
152 "name": "totalCount",
153 "storageKey": null
154 },
155 {
156 "alias": null,
157 "args": null,
158 "concreteType": "FmTealAlphaFeedPlayEdge",
159 "kind": "LinkedField",
160 "name": "edges",
161 "plural": true,
162 "selections": [
163 {
164 "alias": null,
165 "args": null,
166 "concreteType": "FmTealAlphaFeedPlay",
167 "kind": "LinkedField",
168 "name": "node",
169 "plural": false,
170 "selections": [
171 (v2/*: any*/),
172 {
173 "alias": null,
174 "args": null,
175 "kind": "ScalarField",
176 "name": "trackName",
177 "storageKey": null
178 },
179 {
180 "alias": null,
181 "args": null,
182 "concreteType": "FmTealAlphaFeedDefsArtist",
183 "kind": "LinkedField",
184 "name": "artists",
185 "plural": true,
186 "selections": [
187 {
188 "alias": null,
189 "args": null,
190 "kind": "ScalarField",
191 "name": "artistName",
192 "storageKey": null
193 },
194 {
195 "alias": null,
196 "args": null,
197 "kind": "ScalarField",
198 "name": "artistMbId",
199 "storageKey": null
200 }
201 ],
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 (v3/*: any*/)
248 ],
249 "storageKey": null
250 },
251 (v3/*: any*/),
252 {
253 "alias": null,
254 "args": null,
255 "kind": "ScalarField",
256 "name": "__typename",
257 "storageKey": null
258 }
259 ],
260 "storageKey": null
261 },
262 {
263 "alias": null,
264 "args": null,
265 "kind": "ScalarField",
266 "name": "cursor",
267 "storageKey": null
268 }
269 ],
270 "storageKey": null
271 },
272 {
273 "alias": null,
274 "args": null,
275 "concreteType": "PageInfo",
276 "kind": "LinkedField",
277 "name": "pageInfo",
278 "plural": false,
279 "selections": [
280 {
281 "alias": null,
282 "args": null,
283 "kind": "ScalarField",
284 "name": "endCursor",
285 "storageKey": null
286 },
287 {
288 "alias": null,
289 "args": null,
290 "kind": "ScalarField",
291 "name": "hasNextPage",
292 "storageKey": null
293 }
294 ],
295 "storageKey": null
296 }
297 ],
298 "storageKey": "fmTealAlphaFeedPlays(first:20,sortBy:[{\"direction\":\"desc\",\"field\":\"playedTime\"}])"
299 },
300 {
301 "alias": null,
302 "args": (v1/*: any*/),
303 "filters": [
304 "sortBy"
305 ],
306 "handle": "connection",
307 "key": "App_fmTealAlphaFeedPlays",
308 "kind": "LinkedHandle",
309 "name": "fmTealAlphaFeedPlays"
310 },
311 {
312 "alias": "chartData",
313 "args": [
314 {
315 "kind": "Literal",
316 "name": "groupBy",
317 "value": [
318 {
319 "field": "playedTime",
320 "interval": "day"
321 }
322 ]
323 },
324 {
325 "kind": "Literal",
326 "name": "limit",
327 "value": 90
328 },
329 {
330 "kind": "Variable",
331 "name": "where",
332 "variableName": "chartWhere"
333 }
334 ],
335 "concreteType": "FmTealAlphaFeedPlayAggregated",
336 "kind": "LinkedField",
337 "name": "fmTealAlphaFeedPlaysAggregated",
338 "plural": true,
339 "selections": [
340 (v2/*: any*/),
341 {
342 "alias": null,
343 "args": null,
344 "kind": "ScalarField",
345 "name": "count",
346 "storageKey": null
347 }
348 ],
349 "storageKey": null
350 }
351 ]
352 },
353 "params": {
354 "cacheID": "ab3827e5716f65074a802ddb36f66d2b",
355 "id": null,
356 "metadata": {},
357 "name": "AppQuery",
358 "operationKind": "query",
359 "text": "query AppQuery(\n $chartWhere: FmTealAlphaFeedPlayWhereInput!\n) {\n ...App_plays\n ...ScrobbleChart_data\n}\n\nfragment App_plays on Query {\n fmTealAlphaFeedPlays(first: 20, sortBy: [{field: playedTime, direction: desc}]) {\n totalCount\n edges {\n node {\n playedTime\n ...TrackItem_play\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment ScrobbleChart_data on Query {\n chartData: fmTealAlphaFeedPlaysAggregated(groupBy: [{field: playedTime, interval: day}], where: $chartWhere, limit: 90) {\n playedTime\n count\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"
360 }
361};
362})();
363
364(node as any).hash = "7266612861cb55b740623549f1a03f26";
365
366export default node;