forked from
chadtmiller.com/slices-teal-relay
Teal.fm frontend powered by slices.network
tealfm-slices.wisp.place
tealfm
slices
1"""
2Indicates that an Input Object is a OneOf Input Object (and thus requires exactly one of its field be provided)
3"""
4directive @oneOf on INPUT_OBJECT
5
6"""
7Provides a scalar specification URL for specifying the behavior of custom scalar types.
8"""
9directive @specifiedBy(
10 """URL that specifies the behavior of this scalar."""
11 url: String!
12) on SCALAR
13
14input AggregationOrderBy {
15 count: SortDirection
16}
17
18type AppBskyActorProfile {
19 uri: String!
20 cid: String!
21 did: String!
22 indexedAt: String!
23 actorHandle: String
24 avatar: Blob
25 banner: Blob
26 createdAt: String
27 description: String
28 displayName: String
29 joinedViaStarterPack: JSON
30 labels: JSON
31 pinnedPost: JSON
32 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
33 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
34 appBskyActorProfile: AppBskyActorProfile
35 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
36 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
37 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
38 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
39 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
40}
41
42type AppBskyActorProfileAggregated {
43 avatar: String
44 banner: String
45 createdAt: String
46 description: String
47 displayName: String
48 joinedViaStarterPack: String
49 labels: String
50 pinnedPost: String
51 count: Int!
52}
53
54type AppBskyActorProfileConnection {
55 totalCount: Int!
56 pageInfo: PageInfo!
57 edges: [AppBskyActorProfileEdge!]!
58 nodes: [AppBskyActorProfile!]!
59}
60
61type AppBskyActorProfileEdge {
62 node: AppBskyActorProfile!
63 cursor: String!
64}
65
66type AppBskyEmbedExternal {
67 uri: String!
68 cid: String!
69 did: String!
70 indexedAt: String!
71 actorHandle: String
72 external: JSON!
73 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
74 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
75 appBskyActorProfile: AppBskyActorProfile
76 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
77 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
78 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
79 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
80 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
81}
82
83type AppBskyEmbedExternalAggregated {
84 external: String
85 count: Int!
86}
87
88type AppBskyEmbedExternalConnection {
89 totalCount: Int!
90 pageInfo: PageInfo!
91 edges: [AppBskyEmbedExternalEdge!]!
92 nodes: [AppBskyEmbedExternal!]!
93}
94
95type AppBskyEmbedExternalEdge {
96 node: AppBskyEmbedExternal!
97 cursor: String!
98}
99
100type AppBskyEmbedImages {
101 uri: String!
102 cid: String!
103 did: String!
104 indexedAt: String!
105 actorHandle: String
106 images: JSON!
107 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
108 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
109 appBskyActorProfile: AppBskyActorProfile
110 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
111 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
112 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
113 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
114 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
115}
116
117type AppBskyEmbedImagesAggregated {
118 images: String
119 count: Int!
120}
121
122type AppBskyEmbedImagesConnection {
123 totalCount: Int!
124 pageInfo: PageInfo!
125 edges: [AppBskyEmbedImagesEdge!]!
126 nodes: [AppBskyEmbedImages!]!
127}
128
129type AppBskyEmbedImagesEdge {
130 node: AppBskyEmbedImages!
131 cursor: String!
132}
133
134type AppBskyEmbedRecord {
135 uri: String!
136 cid: String!
137 did: String!
138 indexedAt: String!
139 actorHandle: String
140 record: JSON!
141 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
142 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
143 appBskyActorProfile: AppBskyActorProfile
144 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
145 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
146 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
147 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
148 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
149}
150
151type AppBskyEmbedRecordAggregated {
152 record: String
153 count: Int!
154}
155
156type AppBskyEmbedRecordConnection {
157 totalCount: Int!
158 pageInfo: PageInfo!
159 edges: [AppBskyEmbedRecordEdge!]!
160 nodes: [AppBskyEmbedRecord!]!
161}
162
163type AppBskyEmbedRecordEdge {
164 node: AppBskyEmbedRecord!
165 cursor: String!
166}
167
168type AppBskyEmbedRecordWithMedia {
169 uri: String!
170 cid: String!
171 did: String!
172 indexedAt: String!
173 actorHandle: String
174 media: JSON!
175 record: JSON!
176 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
177 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
178 appBskyActorProfile: AppBskyActorProfile
179 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
180 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
181 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
182 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
183 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
184}
185
186type AppBskyEmbedRecordWithMediaAggregated {
187 media: String
188 record: String
189 count: Int!
190}
191
192type AppBskyEmbedRecordWithMediaConnection {
193 totalCount: Int!
194 pageInfo: PageInfo!
195 edges: [AppBskyEmbedRecordWithMediaEdge!]!
196 nodes: [AppBskyEmbedRecordWithMedia!]!
197}
198
199type AppBskyEmbedRecordWithMediaEdge {
200 node: AppBskyEmbedRecordWithMedia!
201 cursor: String!
202}
203
204type AppBskyEmbedVideo {
205 uri: String!
206 cid: String!
207 did: String!
208 indexedAt: String!
209 actorHandle: String
210 alt: String
211 aspectRatio: JSON
212 captions: JSON
213 video: Blob!
214 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
215 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
216 appBskyActorProfile: AppBskyActorProfile
217 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
218 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
219 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
220 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
221 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
222}
223
224type AppBskyEmbedVideoAggregated {
225 alt: String
226 aspectRatio: String
227 captions: String
228 video: String
229 count: Int!
230}
231
232type AppBskyEmbedVideoConnection {
233 totalCount: Int!
234 pageInfo: PageInfo!
235 edges: [AppBskyEmbedVideoEdge!]!
236 nodes: [AppBskyEmbedVideo!]!
237}
238
239type AppBskyEmbedVideoEdge {
240 node: AppBskyEmbedVideo!
241 cursor: String!
242}
243
244type AppBskyFeedPostgate {
245 uri: String!
246 cid: String!
247 did: String!
248 indexedAt: String!
249 actorHandle: String
250 createdAt: String!
251 detachedEmbeddingUris: [String]
252 embeddingRules: JSON
253 post: String!
254 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
255 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
256 appBskyActorProfile: AppBskyActorProfile
257 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
258 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
259 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
260 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
261 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
262}
263
264type AppBskyFeedPostgateAggregated {
265 createdAt: String
266 detachedEmbeddingUris: String
267 embeddingRules: String
268 post: String
269 count: Int!
270}
271
272type AppBskyFeedPostgateConnection {
273 totalCount: Int!
274 pageInfo: PageInfo!
275 edges: [AppBskyFeedPostgateEdge!]!
276 nodes: [AppBskyFeedPostgate!]!
277}
278
279type AppBskyFeedPostgateEdge {
280 node: AppBskyFeedPostgate!
281 cursor: String!
282}
283
284type AppBskyFeedThreadgate {
285 uri: String!
286 cid: String!
287 did: String!
288 indexedAt: String!
289 actorHandle: String
290 allow: JSON
291 createdAt: String!
292 hiddenReplies: [String]
293 post: String!
294 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
295 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
296 appBskyActorProfile: AppBskyActorProfile
297 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
298 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
299 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
300 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
301 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
302}
303
304type AppBskyFeedThreadgateAggregated {
305 allow: String
306 createdAt: String
307 hiddenReplies: String
308 post: String
309 count: Int!
310}
311
312type AppBskyFeedThreadgateConnection {
313 totalCount: Int!
314 pageInfo: PageInfo!
315 edges: [AppBskyFeedThreadgateEdge!]!
316 nodes: [AppBskyFeedThreadgate!]!
317}
318
319type AppBskyFeedThreadgateEdge {
320 node: AppBskyFeedThreadgate!
321 cursor: String!
322}
323
324type AppBskyRichtextFacet {
325 uri: String!
326 cid: String!
327 did: String!
328 indexedAt: String!
329 actorHandle: String
330 features: JSON!
331 index: JSON!
332 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
333 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
334 appBskyActorProfile: AppBskyActorProfile
335 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
336 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
337 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
338 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
339 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
340}
341
342type AppBskyRichtextFacetAggregated {
343 features: String
344 index: String
345 count: Int!
346}
347
348type AppBskyRichtextFacetConnection {
349 totalCount: Int!
350 pageInfo: PageInfo!
351 edges: [AppBskyRichtextFacetEdge!]!
352 nodes: [AppBskyRichtextFacet!]!
353}
354
355type AppBskyRichtextFacetEdge {
356 node: AppBskyRichtextFacet!
357 cursor: String!
358}
359
360type Blob {
361 ref: String!
362 mimeType: String!
363 size: Int!
364
365 """
366 Generate CDN URL for the blob with the specified preset (avatar, banner, feed_thumbnail, feed_fullsize)
367 """
368 url(preset: String): String!
369}
370
371type ComAtprotoRepoStrongRef {
372 did: String!
373 indexedAt: String!
374 actorHandle: String
375 cid: String!
376 uri: String!
377 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
378 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
379 appBskyActorProfile: AppBskyActorProfile
380 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
381 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
382 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
383 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
384 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
385}
386
387type ComAtprotoRepoStrongRefAggregated {
388 cid: String
389 uri: String
390 count: Int!
391}
392
393type ComAtprotoRepoStrongRefConnection {
394 totalCount: Int!
395 pageInfo: PageInfo!
396 edges: [ComAtprotoRepoStrongRefEdge!]!
397 nodes: [ComAtprotoRepoStrongRef!]!
398}
399
400type ComAtprotoRepoStrongRefEdge {
401 node: ComAtprotoRepoStrongRef!
402 cursor: String!
403}
404
405type FmTealAlphaFeedPlay {
406 uri: String!
407 cid: String!
408 did: String!
409 indexedAt: String!
410 actorHandle: String
411 artistMbIds: [String]
412 artistNames: [String]
413 artists: JSON
414 duration: Int
415 isrc: String
416 musicServiceBaseDomain: String
417 originUrl: String
418 playedTime: String
419 recordingMbId: String
420 releaseMbId: String
421 releaseName: String
422 submissionClientAgent: String
423 trackMbId: String
424 trackName: String!
425 appBskyFeedPostgate(limit: Int): [AppBskyFeedPostgate!]!
426 appBskyFeedThreadgate(limit: Int): [AppBskyFeedThreadgate!]!
427 appBskyActorProfile: AppBskyActorProfile
428 fmTealAlphaFeedPlay(limit: Int): [FmTealAlphaFeedPlay!]!
429 appBskyFeedPostgates(limit: Int): [AppBskyFeedPostgate!]!
430 appBskyFeedThreadgates(limit: Int): [AppBskyFeedThreadgate!]!
431 appBskyActorProfiles(limit: Int): [AppBskyActorProfile!]!
432 fmTealAlphaFeedPlays(limit: Int): [FmTealAlphaFeedPlay!]!
433}
434
435type FmTealAlphaFeedPlayAggregated {
436 artistMbIds: String
437 artistNames: String
438 artists: String
439 duration: String
440 isrc: String
441 musicServiceBaseDomain: String
442 originUrl: String
443 playedTime: String
444 recordingMbId: String
445 releaseMbId: String
446 releaseName: String
447 submissionClientAgent: String
448 trackMbId: String
449 trackName: String
450 count: Int!
451}
452
453type FmTealAlphaFeedPlayConnection {
454 totalCount: Int!
455 pageInfo: PageInfo!
456 edges: [FmTealAlphaFeedPlayEdge!]!
457 nodes: [FmTealAlphaFeedPlay!]!
458}
459
460type FmTealAlphaFeedPlayEdge {
461 node: FmTealAlphaFeedPlay!
462 cursor: String!
463}
464
465scalar JSON
466
467type Mutation {
468 """Sync user collections for a given DID"""
469 syncUserCollections(did: String!): SyncResult!
470}
471
472type PageInfo {
473 hasNextPage: Boolean!
474 hasPreviousPage: Boolean!
475 startCursor: String
476 endCursor: String
477}
478
479type Query {
480 """Query app.bsky.embed.record records"""
481 appBskyEmbedRecords(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyEmbedRecordConnection!
482
483 """
484 Aggregated query for app.bsky.embed.record records with GROUP BY support
485 """
486 appBskyEmbedRecordsAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyEmbedRecordAggregated!]!
487
488 """Query app.bsky.embed.images records"""
489 appBskyEmbedImageses(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyEmbedImagesConnection!
490
491 """
492 Aggregated query for app.bsky.embed.images records with GROUP BY support
493 """
494 appBskyEmbedImagesesAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyEmbedImagesAggregated!]!
495
496 """Query app.bsky.embed.video records"""
497 appBskyEmbedVideos(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyEmbedVideoConnection!
498
499 """
500 Aggregated query for app.bsky.embed.video records with GROUP BY support
501 """
502 appBskyEmbedVideosAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyEmbedVideoAggregated!]!
503
504 """Query app.bsky.embed.recordWithMedia records"""
505 appBskyEmbedRecordWithMedias(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyEmbedRecordWithMediaConnection!
506
507 """
508 Aggregated query for app.bsky.embed.recordWithMedia records with GROUP BY support
509 """
510 appBskyEmbedRecordWithMediasAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyEmbedRecordWithMediaAggregated!]!
511
512 """Query app.bsky.embed.external records"""
513 appBskyEmbedExternals(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyEmbedExternalConnection!
514
515 """
516 Aggregated query for app.bsky.embed.external records with GROUP BY support
517 """
518 appBskyEmbedExternalsAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyEmbedExternalAggregated!]!
519
520 """Query app.bsky.feed.postgate records"""
521 appBskyFeedPostgates(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyFeedPostgateConnection!
522
523 """
524 Aggregated query for app.bsky.feed.postgate records with GROUP BY support
525 """
526 appBskyFeedPostgatesAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyFeedPostgateAggregated!]!
527
528 """Query app.bsky.feed.threadgate records"""
529 appBskyFeedThreadgates(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyFeedThreadgateConnection!
530
531 """
532 Aggregated query for app.bsky.feed.threadgate records with GROUP BY support
533 """
534 appBskyFeedThreadgatesAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyFeedThreadgateAggregated!]!
535
536 """Query app.bsky.richtext.facet records"""
537 appBskyRichtextFacets(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyRichtextFacetConnection!
538
539 """
540 Aggregated query for app.bsky.richtext.facet records with GROUP BY support
541 """
542 appBskyRichtextFacetsAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyRichtextFacetAggregated!]!
543
544 """Query app.bsky.actor.profile records"""
545 appBskyActorProfiles(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): AppBskyActorProfileConnection!
546
547 """
548 Aggregated query for app.bsky.actor.profile records with GROUP BY support
549 """
550 appBskyActorProfilesAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [AppBskyActorProfileAggregated!]!
551
552 """Query com.atproto.repo.strongRef records"""
553 comAtprotoRepoStrongRefs(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): ComAtprotoRepoStrongRefConnection!
554
555 """
556 Aggregated query for com.atproto.repo.strongRef records with GROUP BY support
557 """
558 comAtprotoRepoStrongRefsAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [ComAtprotoRepoStrongRefAggregated!]!
559
560 """Query fm.teal.alpha.feed.play records"""
561 fmTealAlphaFeedPlays(first: Int, after: String, last: Int, before: String, sortBy: [SortField], where: JSON): FmTealAlphaFeedPlayConnection!
562
563 """
564 Aggregated query for fm.teal.alpha.feed.play records with GROUP BY support
565 """
566 fmTealAlphaFeedPlaysAggregated(groupBy: [String!]!, where: JSON, orderBy: AggregationOrderBy, limit: Int): [FmTealAlphaFeedPlayAggregated!]!
567}
568
569enum SortDirection {
570 asc
571 desc
572}
573
574input SortField {
575 field: String!
576 direction: SortDirection!
577}
578
579type SyncResult {
580 success: Boolean!
581 reposProcessed: Int!
582 recordsSynced: Int!
583 timedOut: Boolean!
584 message: String!
585}
586