forked from
chadtmiller.com/slices-teal-relay
Teal.fm frontend powered by slices.network
tealfm-slices.wisp.place
tealfm
slices
1/**
2 * @generated SignedSource<<97625934b32c4079cc58877234aeac04>>
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 ProfilePaginationQuery$variables = {
14 count?: number | null | undefined;
15 cursor?: string | null | undefined;
16 where: any;
17};
18export type ProfilePaginationQuery$data = {
19 readonly " $fragmentSpreads": FragmentRefs<"Profile_plays">;
20};
21export type ProfilePaginationQuery = {
22 response: ProfilePaginationQuery$data;
23 variables: ProfilePaginationQuery$variables;
24};
25
26const node: ConcreteRequest = (function(){
27var v0 = [
28 {
29 "defaultValue": 20,
30 "kind": "LocalArgument",
31 "name": "count"
32 },
33 {
34 "defaultValue": null,
35 "kind": "LocalArgument",
36 "name": "cursor"
37 },
38 {
39 "defaultValue": null,
40 "kind": "LocalArgument",
41 "name": "where"
42 }
43],
44v1 = {
45 "kind": "Variable",
46 "name": "where",
47 "variableName": "where"
48},
49v2 = [
50 {
51 "kind": "Variable",
52 "name": "after",
53 "variableName": "cursor"
54 },
55 {
56 "kind": "Variable",
57 "name": "first",
58 "variableName": "count"
59 },
60 {
61 "kind": "Literal",
62 "name": "sortBy",
63 "value": [
64 {
65 "direction": "desc",
66 "field": "playedTime"
67 }
68 ]
69 },
70 (v1/*: any*/)
71];
72return {
73 "fragment": {
74 "argumentDefinitions": (v0/*: any*/),
75 "kind": "Fragment",
76 "metadata": null,
77 "name": "ProfilePaginationQuery",
78 "selections": [
79 {
80 "args": [
81 {
82 "kind": "Variable",
83 "name": "count",
84 "variableName": "count"
85 },
86 {
87 "kind": "Variable",
88 "name": "cursor",
89 "variableName": "cursor"
90 },
91 (v1/*: any*/)
92 ],
93 "kind": "FragmentSpread",
94 "name": "Profile_plays"
95 }
96 ],
97 "type": "Query",
98 "abstractKey": null
99 },
100 "kind": "Request",
101 "operation": {
102 "argumentDefinitions": (v0/*: any*/),
103 "kind": "Operation",
104 "name": "ProfilePaginationQuery",
105 "selections": [
106 {
107 "alias": null,
108 "args": (v2/*: any*/),
109 "concreteType": "FmTealAlphaFeedPlayConnection",
110 "kind": "LinkedField",
111 "name": "fmTealAlphaFeedPlays",
112 "plural": false,
113 "selections": [
114 {
115 "alias": null,
116 "args": null,
117 "kind": "ScalarField",
118 "name": "totalCount",
119 "storageKey": null
120 },
121 {
122 "alias": null,
123 "args": null,
124 "concreteType": "FmTealAlphaFeedPlayEdge",
125 "kind": "LinkedField",
126 "name": "edges",
127 "plural": true,
128 "selections": [
129 {
130 "alias": null,
131 "args": null,
132 "concreteType": "FmTealAlphaFeedPlay",
133 "kind": "LinkedField",
134 "name": "node",
135 "plural": false,
136 "selections": [
137 {
138 "alias": null,
139 "args": null,
140 "kind": "ScalarField",
141 "name": "trackName",
142 "storageKey": null
143 },
144 {
145 "alias": null,
146 "args": null,
147 "kind": "ScalarField",
148 "name": "playedTime",
149 "storageKey": null
150 },
151 {
152 "alias": null,
153 "args": null,
154 "kind": "ScalarField",
155 "name": "artists",
156 "storageKey": null
157 },
158 {
159 "alias": null,
160 "args": null,
161 "kind": "ScalarField",
162 "name": "releaseName",
163 "storageKey": null
164 },
165 {
166 "alias": null,
167 "args": null,
168 "kind": "ScalarField",
169 "name": "releaseMbId",
170 "storageKey": null
171 },
172 {
173 "alias": null,
174 "args": null,
175 "kind": "ScalarField",
176 "name": "actorHandle",
177 "storageKey": null
178 },
179 {
180 "alias": null,
181 "args": null,
182 "concreteType": "AppBskyActorProfile",
183 "kind": "LinkedField",
184 "name": "appBskyActorProfile",
185 "plural": false,
186 "selections": [
187 {
188 "alias": null,
189 "args": null,
190 "kind": "ScalarField",
191 "name": "displayName",
192 "storageKey": null
193 },
194 {
195 "alias": null,
196 "args": null,
197 "kind": "ScalarField",
198 "name": "description",
199 "storageKey": null
200 },
201 {
202 "alias": null,
203 "args": null,
204 "concreteType": "Blob",
205 "kind": "LinkedField",
206 "name": "avatar",
207 "plural": false,
208 "selections": [
209 {
210 "alias": null,
211 "args": [
212 {
213 "kind": "Literal",
214 "name": "preset",
215 "value": "avatar"
216 }
217 ],
218 "kind": "ScalarField",
219 "name": "url",
220 "storageKey": "url(preset:\"avatar\")"
221 }
222 ],
223 "storageKey": null
224 }
225 ],
226 "storageKey": null
227 },
228 {
229 "alias": null,
230 "args": null,
231 "kind": "ScalarField",
232 "name": "__typename",
233 "storageKey": null
234 }
235 ],
236 "storageKey": null
237 },
238 {
239 "alias": null,
240 "args": null,
241 "kind": "ScalarField",
242 "name": "cursor",
243 "storageKey": null
244 }
245 ],
246 "storageKey": null
247 },
248 {
249 "alias": null,
250 "args": null,
251 "concreteType": "PageInfo",
252 "kind": "LinkedField",
253 "name": "pageInfo",
254 "plural": false,
255 "selections": [
256 {
257 "alias": null,
258 "args": null,
259 "kind": "ScalarField",
260 "name": "endCursor",
261 "storageKey": null
262 },
263 {
264 "alias": null,
265 "args": null,
266 "kind": "ScalarField",
267 "name": "hasNextPage",
268 "storageKey": null
269 }
270 ],
271 "storageKey": null
272 }
273 ],
274 "storageKey": null
275 },
276 {
277 "alias": null,
278 "args": (v2/*: any*/),
279 "filters": [
280 "where",
281 "sortBy"
282 ],
283 "handle": "connection",
284 "key": "Profile_fmTealAlphaFeedPlays",
285 "kind": "LinkedHandle",
286 "name": "fmTealAlphaFeedPlays"
287 }
288 ]
289 },
290 "params": {
291 "cacheID": "08e603fb4052c3556739bda428413453",
292 "id": null,
293 "metadata": {},
294 "name": "ProfilePaginationQuery",
295 "operationKind": "query",
296 "text": "query ProfilePaginationQuery(\n $count: Int = 20\n $cursor: String\n $where: JSON!\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 appBskyActorProfile {\n displayName\n }\n}\n"
297 }
298};
299})();
300
301(node as any).hash = "474168bb0d13417c1b7067c09a82f7a2";
302
303export default node;