Demo using Slices Network GraphQL Relay API to make a teal.fm client
at main 22 kB view raw
1"""Order aggregation results by count""" 2input AggregationOrderBy { 3 """Order by count (asc or desc)""" 4 count: SortDirection 5} 6 7"""Record type: app.bsky.actor.profile""" 8type AppBskyActorProfile { 9 """Record URI""" 10 uri: String 11 12 """Record CID""" 13 cid: String 14 15 """DID of record author""" 16 did: String 17 18 """Collection name""" 19 collection: String 20 21 """When record was indexed""" 22 indexedAt: String 23 24 """Handle of the actor who created this record""" 25 actorHandle: String 26 27 """Field from lexicon""" 28 avatar: Blob 29 30 """Field from lexicon""" 31 banner: Blob 32 33 """Field from lexicon""" 34 createdAt: String 35 36 """Field from lexicon""" 37 description: String 38 39 """Field from lexicon""" 40 displayName: String 41 42 """Field from lexicon""" 43 joinedViaStarterPack: String 44 45 """Field from lexicon""" 46 labels: String 47 48 """Field from lexicon""" 49 pinnedPost: String 50 51 """Field from lexicon""" 52 pronouns: String 53 54 """Field from lexicon""" 55 website: String 56 57 """Forward join to referenced record""" 58 pinnedPostResolved: Record 59 60 """Forward join to referenced record""" 61 joinedViaStarterPackResolved: Record 62 63 """ 64 DID join: records in fm.teal.alpha.feed.play that share the same DID as this record 65 """ 66 fmTealAlphaFeedPlayByDid( 67 """Returns the first n items from the list""" 68 first: Int 69 70 """Returns items after the given cursor""" 71 after: String 72 73 """Returns the last n items from the list""" 74 last: Int 75 76 """Returns items before the given cursor""" 77 before: String 78 79 """Sort order for the connection""" 80 sortBy: [FmTealAlphaFeedPlaySortFieldInput!] 81 82 """Filter conditions for the query""" 83 where: FmTealAlphaFeedPlayWhereInput 84 ): FmTealAlphaFeedPlayConnection 85} 86 87"""Aggregated results for app.bsky.actor.profile""" 88type AppBskyActorProfileAggregated { 89 """Grouped field value""" 90 uri: String 91 92 """Grouped field value""" 93 cid: String 94 95 """Grouped field value""" 96 did: String 97 98 """Grouped field value""" 99 collection: String 100 101 """Grouped field value""" 102 indexed_at: String 103 104 """Grouped field value""" 105 avatar: String 106 107 """Grouped field value""" 108 banner: String 109 110 """Grouped field value""" 111 createdAt: String 112 113 """Grouped field value""" 114 description: String 115 116 """Grouped field value""" 117 displayName: String 118 119 """Grouped field value""" 120 joinedViaStarterPack: String 121 122 """Grouped field value""" 123 labels: String 124 125 """Grouped field value""" 126 pinnedPost: String 127 128 """Grouped field value""" 129 pronouns: String 130 131 """Grouped field value""" 132 website: String 133 134 """Count of records in this group""" 135 count: Int! 136} 137 138"""A connection to a list of items for AppBskyActorProfile""" 139type AppBskyActorProfileConnection { 140 """A list of edges""" 141 edges: [AppBskyActorProfileEdge!]! 142 143 """Information to aid in pagination""" 144 pageInfo: PageInfo! 145 146 """Total number of items in the connection""" 147 totalCount: Int 148} 149 150"""An edge in a connection for AppBskyActorProfile""" 151type AppBskyActorProfileEdge { 152 """The item at the end of the edge""" 153 node: AppBskyActorProfile! 154 155 """A cursor for use in pagination""" 156 cursor: String! 157} 158 159"""Filter operators for AppBskyActorProfile fields""" 160input AppBskyActorProfileFieldCondition { 161 """Exact match (equals)""" 162 eq: String 163 164 """Match any value in the list""" 165 in: [String!] 166 167 """Case-insensitive substring match (string fields only)""" 168 contains: String 169 170 """Greater than""" 171 gt: String 172 173 """Greater than or equal to""" 174 gte: String 175 176 """Less than""" 177 lt: String 178 179 """Less than or equal to""" 180 lte: String 181} 182 183"""Available groupBy fields for AppBskyActorProfile""" 184enum AppBskyActorProfileGroupByField { 185 """Group by uri""" 186 uri 187 188 """Group by cid""" 189 cid 190 191 """Group by did""" 192 did 193 194 """Group by collection""" 195 collection 196 197 """Group by indexedAt""" 198 indexedAt 199 200 """Group by actorHandle""" 201 actorHandle 202 203 """Group by createdAt""" 204 createdAt 205 206 """Group by description""" 207 description 208 209 """Group by displayName""" 210 displayName 211 212 """Group by labels""" 213 labels 214 215 """Group by pronouns""" 216 pronouns 217 218 """Group by website""" 219 website 220} 221 222"""Specifies a field to group by with optional date truncation""" 223input AppBskyActorProfileGroupByFieldInput { 224 """Field name to group by""" 225 field: AppBskyActorProfileGroupByField! 226 227 """Date truncation interval (for datetime fields)""" 228 interval: DateInterval 229} 230 231"""Input type for AppBskyActorProfileInput""" 232input AppBskyActorProfileInput { 233 """Input field for avatar""" 234 avatar: BlobInput 235 236 """Input field for banner""" 237 banner: BlobInput 238 239 """Input field for createdAt""" 240 createdAt: String 241 242 """Input field for description""" 243 description: String 244 245 """Input field for displayName""" 246 displayName: String 247 248 """Input field for joinedViaStarterPack""" 249 joinedViaStarterPack: String 250 251 """Input field for labels""" 252 labels: String 253 254 """Input field for pinnedPost""" 255 pinnedPost: String 256 257 """Input field for pronouns""" 258 pronouns: String 259 260 """Input field for website""" 261 website: String 262} 263 264"""Available sort fields for AppBskyActorProfile""" 265enum AppBskyActorProfileSortField { 266 """Sort by uri""" 267 uri 268 269 """Sort by cid""" 270 cid 271 272 """Sort by did""" 273 did 274 275 """Sort by collection""" 276 collection 277 278 """Sort by indexedAt""" 279 indexedAt 280 281 """Sort by createdAt""" 282 createdAt 283 284 """Sort by description""" 285 description 286 287 """Sort by displayName""" 288 displayName 289 290 """Sort by labels""" 291 labels 292 293 """Sort by pronouns""" 294 pronouns 295 296 """Sort by website""" 297 website 298} 299 300"""Specifies a field to sort by and its direction for AppBskyActorProfile""" 301input AppBskyActorProfileSortFieldInput { 302 """Field to sort by""" 303 field: AppBskyActorProfileSortField! 304 305 """Sort direction (ASC or DESC)""" 306 direction: SortDirection! 307} 308 309"""Filter conditions for AppBskyActorProfile with nested AND/OR support""" 310input AppBskyActorProfileWhereInput { 311 """Filter by uri""" 312 uri: AppBskyActorProfileFieldCondition 313 314 """Filter by cid""" 315 cid: AppBskyActorProfileFieldCondition 316 317 """Filter by did""" 318 did: AppBskyActorProfileFieldCondition 319 320 """Filter by collection""" 321 collection: AppBskyActorProfileFieldCondition 322 323 """Filter by indexedAt""" 324 indexedAt: AppBskyActorProfileFieldCondition 325 326 """Filter by actorHandle""" 327 actorHandle: AppBskyActorProfileFieldCondition 328 329 """Filter by createdAt""" 330 createdAt: AppBskyActorProfileFieldCondition 331 332 """Filter by description""" 333 description: AppBskyActorProfileFieldCondition 334 335 """Filter by displayName""" 336 displayName: AppBskyActorProfileFieldCondition 337 338 """Filter by labels""" 339 labels: AppBskyActorProfileFieldCondition 340 341 """Filter by pronouns""" 342 pronouns: AppBskyActorProfileFieldCondition 343 344 """Filter by website""" 345 website: AppBskyActorProfileFieldCondition 346 347 """All conditions must match (AND logic)""" 348 and: [AppBskyActorProfileWhereInput!] 349 350 """Any condition must match (OR logic)""" 351 or: [AppBskyActorProfileWhereInput!] 352} 353 354"""A blob reference with metadata and URL generation""" 355type Blob { 356 """CID reference to the blob""" 357 ref: String! 358 359 """MIME type of the blob""" 360 mimeType: String! 361 362 """Size in bytes""" 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( 369 """Image preset: avatar, banner, feed_thumbnail, feed_fullsize""" 370 preset: String 371 ): String! 372} 373 374"""Input type for blob references""" 375input BlobInput { 376 """CID reference to the blob""" 377 ref: String! 378 379 """MIME type of the blob""" 380 mimeType: String! 381 382 """Size in bytes""" 383 size: Int! 384} 385 386"""Response from uploading a blob""" 387type BlobUploadResponse { 388 """CID reference to the blob""" 389 ref: String! 390 391 """MIME type of the blob""" 392 mimeType: String! 393 394 """Size in bytes""" 395 size: Int! 396} 397 398"""Date truncation intervals for aggregation""" 399enum DateInterval { 400 """Truncate to hour""" 401 HOUR 402 403 """Truncate to day""" 404 DAY 405 406 """Truncate to week""" 407 WEEK 408 409 """Truncate to month""" 410 MONTH 411} 412 413"""Result of a delete mutation""" 414type DeleteResult { 415 """URI of deleted record""" 416 uri: String 417} 418 419"""Object type from lexicon definition""" 420type FmTealAlphaFeedDefsArtist { 421 """Field from object definition""" 422 artistMbId: String 423 424 """Field from object definition""" 425 artistName: String! 426} 427 428"""Record type: fm.teal.alpha.feed.play""" 429type FmTealAlphaFeedPlay { 430 """Record URI""" 431 uri: String 432 433 """Record CID""" 434 cid: String 435 436 """DID of record author""" 437 did: String 438 439 """Collection name""" 440 collection: String 441 442 """When record was indexed""" 443 indexedAt: String 444 445 """Handle of the actor who created this record""" 446 actorHandle: String 447 448 """Field from lexicon""" 449 artistMbIds: [String!] 450 451 """Field from lexicon""" 452 artistNames: [String!] 453 454 """Field from lexicon""" 455 artists: [FmTealAlphaFeedDefsArtist!] 456 457 """Field from lexicon""" 458 duration: Int 459 460 """Field from lexicon""" 461 isrc: String 462 463 """Field from lexicon""" 464 musicServiceBaseDomain: String 465 466 """Field from lexicon""" 467 originUrl: String 468 469 """Field from lexicon""" 470 playedTime: String 471 472 """Field from lexicon""" 473 recordingMbId: String 474 475 """Field from lexicon""" 476 releaseMbId: String 477 478 """Field from lexicon""" 479 releaseName: String 480 481 """Field from lexicon""" 482 submissionClientAgent: String 483 484 """Field from lexicon""" 485 trackMbId: String 486 487 """Field from lexicon""" 488 trackName: String 489 490 """ 491 Reverse join: records in app.bsky.actor.profile that reference this record via joinedViaStarterPack 492 """ 493 appBskyActorProfileViaJoinedViaStarterPack( 494 """Returns the first n items from the list""" 495 first: Int 496 497 """Returns items after the given cursor""" 498 after: String 499 500 """Returns the last n items from the list""" 501 last: Int 502 503 """Returns items before the given cursor""" 504 before: String 505 506 """Sort order for the connection""" 507 sortBy: [AppBskyActorProfileSortFieldInput!] 508 509 """Filter conditions for the query""" 510 where: AppBskyActorProfileWhereInput 511 ): AppBskyActorProfileConnection 512 513 """ 514 Reverse join: records in app.bsky.actor.profile that reference this record via pinnedPost 515 """ 516 appBskyActorProfileViaPinnedPost( 517 """Returns the first n items from the list""" 518 first: Int 519 520 """Returns items after the given cursor""" 521 after: String 522 523 """Returns the last n items from the list""" 524 last: Int 525 526 """Returns items before the given cursor""" 527 before: String 528 529 """Sort order for the connection""" 530 sortBy: [AppBskyActorProfileSortFieldInput!] 531 532 """Filter conditions for the query""" 533 where: AppBskyActorProfileWhereInput 534 ): AppBskyActorProfileConnection 535 536 """ 537 DID join: record in app.bsky.actor.profile that shares the same DID as this record 538 """ 539 appBskyActorProfileByDid: AppBskyActorProfile 540} 541 542"""Aggregated results for fm.teal.alpha.feed.play""" 543type FmTealAlphaFeedPlayAggregated { 544 """Grouped field value""" 545 uri: String 546 547 """Grouped field value""" 548 cid: String 549 550 """Grouped field value""" 551 did: String 552 553 """Grouped field value""" 554 collection: String 555 556 """Grouped field value""" 557 indexed_at: String 558 559 """Grouped field value""" 560 artistMbIds: String 561 562 """Grouped field value""" 563 artistNames: String 564 565 """Grouped field value""" 566 artists: String 567 568 """Grouped field value""" 569 duration: String 570 571 """Grouped field value""" 572 isrc: String 573 574 """Grouped field value""" 575 musicServiceBaseDomain: String 576 577 """Grouped field value""" 578 originUrl: String 579 580 """Grouped field value""" 581 playedTime: String 582 583 """Grouped field value""" 584 recordingMbId: String 585 586 """Grouped field value""" 587 releaseMbId: String 588 589 """Grouped field value""" 590 releaseName: String 591 592 """Grouped field value""" 593 submissionClientAgent: String 594 595 """Grouped field value""" 596 trackMbId: String 597 598 """Grouped field value""" 599 trackName: String 600 601 """Count of records in this group""" 602 count: Int! 603} 604 605"""A connection to a list of items for FmTealAlphaFeedPlay""" 606type FmTealAlphaFeedPlayConnection { 607 """A list of edges""" 608 edges: [FmTealAlphaFeedPlayEdge!]! 609 610 """Information to aid in pagination""" 611 pageInfo: PageInfo! 612 613 """Total number of items in the connection""" 614 totalCount: Int 615} 616 617"""An edge in a connection for FmTealAlphaFeedPlay""" 618type FmTealAlphaFeedPlayEdge { 619 """The item at the end of the edge""" 620 node: FmTealAlphaFeedPlay! 621 622 """A cursor for use in pagination""" 623 cursor: String! 624} 625 626"""Filter operators for FmTealAlphaFeedPlay fields""" 627input FmTealAlphaFeedPlayFieldCondition { 628 """Exact match (equals)""" 629 eq: String 630 631 """Match any value in the list""" 632 in: [String!] 633 634 """Case-insensitive substring match (string fields only)""" 635 contains: String 636 637 """Greater than""" 638 gt: String 639 640 """Greater than or equal to""" 641 gte: String 642 643 """Less than""" 644 lt: String 645 646 """Less than or equal to""" 647 lte: String 648} 649 650"""Available groupBy fields for FmTealAlphaFeedPlay""" 651enum FmTealAlphaFeedPlayGroupByField { 652 """Group by uri""" 653 uri 654 655 """Group by cid""" 656 cid 657 658 """Group by did""" 659 did 660 661 """Group by collection""" 662 collection 663 664 """Group by indexedAt""" 665 indexedAt 666 667 """Group by actorHandle""" 668 actorHandle 669 670 """Group by artistMbIds""" 671 artistMbIds 672 673 """Group by artistNames""" 674 artistNames 675 676 """Group by artists""" 677 artists 678 679 """Group by duration""" 680 duration 681 682 """Group by isrc""" 683 isrc 684 685 """Group by musicServiceBaseDomain""" 686 musicServiceBaseDomain 687 688 """Group by originUrl""" 689 originUrl 690 691 """Group by playedTime""" 692 playedTime 693 694 """Group by recordingMbId""" 695 recordingMbId 696 697 """Group by releaseMbId""" 698 releaseMbId 699 700 """Group by releaseName""" 701 releaseName 702 703 """Group by submissionClientAgent""" 704 submissionClientAgent 705 706 """Group by trackMbId""" 707 trackMbId 708 709 """Group by trackName""" 710 trackName 711} 712 713"""Specifies a field to group by with optional date truncation""" 714input FmTealAlphaFeedPlayGroupByFieldInput { 715 """Field name to group by""" 716 field: FmTealAlphaFeedPlayGroupByField! 717 718 """Date truncation interval (for datetime fields)""" 719 interval: DateInterval 720} 721 722"""Input type for FmTealAlphaFeedPlayInput""" 723input FmTealAlphaFeedPlayInput { 724 """Input field for artistMbIds""" 725 artistMbIds: String 726 727 """Input field for artistNames""" 728 artistNames: String 729 730 """Input field for artists""" 731 artists: String 732 733 """Input field for duration""" 734 duration: Int 735 736 """Input field for isrc""" 737 isrc: String 738 739 """Input field for musicServiceBaseDomain""" 740 musicServiceBaseDomain: String 741 742 """Input field for originUrl""" 743 originUrl: String 744 745 """Input field for playedTime""" 746 playedTime: String 747 748 """Input field for recordingMbId""" 749 recordingMbId: String 750 751 """Input field for releaseMbId""" 752 releaseMbId: String 753 754 """Input field for releaseName""" 755 releaseName: String 756 757 """Input field for submissionClientAgent""" 758 submissionClientAgent: String 759 760 """Input field for trackMbId""" 761 trackMbId: String 762 763 """Input field for trackName""" 764 trackName: String! 765} 766 767"""Available sort fields for FmTealAlphaFeedPlay""" 768enum FmTealAlphaFeedPlaySortField { 769 """Sort by uri""" 770 uri 771 772 """Sort by cid""" 773 cid 774 775 """Sort by did""" 776 did 777 778 """Sort by collection""" 779 collection 780 781 """Sort by indexedAt""" 782 indexedAt 783 784 """Sort by duration""" 785 duration 786 787 """Sort by isrc""" 788 isrc 789 790 """Sort by musicServiceBaseDomain""" 791 musicServiceBaseDomain 792 793 """Sort by originUrl""" 794 originUrl 795 796 """Sort by playedTime""" 797 playedTime 798 799 """Sort by recordingMbId""" 800 recordingMbId 801 802 """Sort by releaseMbId""" 803 releaseMbId 804 805 """Sort by releaseName""" 806 releaseName 807 808 """Sort by submissionClientAgent""" 809 submissionClientAgent 810 811 """Sort by trackMbId""" 812 trackMbId 813 814 """Sort by trackName""" 815 trackName 816} 817 818"""Specifies a field to sort by and its direction for FmTealAlphaFeedPlay""" 819input FmTealAlphaFeedPlaySortFieldInput { 820 """Field to sort by""" 821 field: FmTealAlphaFeedPlaySortField! 822 823 """Sort direction (ASC or DESC)""" 824 direction: SortDirection! 825} 826 827"""Filter conditions for FmTealAlphaFeedPlay with nested AND/OR support""" 828input FmTealAlphaFeedPlayWhereInput { 829 """Filter by uri""" 830 uri: FmTealAlphaFeedPlayFieldCondition 831 832 """Filter by cid""" 833 cid: FmTealAlphaFeedPlayFieldCondition 834 835 """Filter by did""" 836 did: FmTealAlphaFeedPlayFieldCondition 837 838 """Filter by collection""" 839 collection: FmTealAlphaFeedPlayFieldCondition 840 841 """Filter by indexedAt""" 842 indexedAt: FmTealAlphaFeedPlayFieldCondition 843 844 """Filter by actorHandle""" 845 actorHandle: FmTealAlphaFeedPlayFieldCondition 846 847 """Filter by duration""" 848 duration: FmTealAlphaFeedPlayFieldCondition 849 850 """Filter by isrc""" 851 isrc: FmTealAlphaFeedPlayFieldCondition 852 853 """Filter by musicServiceBaseDomain""" 854 musicServiceBaseDomain: FmTealAlphaFeedPlayFieldCondition 855 856 """Filter by originUrl""" 857 originUrl: FmTealAlphaFeedPlayFieldCondition 858 859 """Filter by playedTime""" 860 playedTime: FmTealAlphaFeedPlayFieldCondition 861 862 """Filter by recordingMbId""" 863 recordingMbId: FmTealAlphaFeedPlayFieldCondition 864 865 """Filter by releaseMbId""" 866 releaseMbId: FmTealAlphaFeedPlayFieldCondition 867 868 """Filter by releaseName""" 869 releaseName: FmTealAlphaFeedPlayFieldCondition 870 871 """Filter by submissionClientAgent""" 872 submissionClientAgent: FmTealAlphaFeedPlayFieldCondition 873 874 """Filter by trackMbId""" 875 trackMbId: FmTealAlphaFeedPlayFieldCondition 876 877 """Filter by trackName""" 878 trackName: FmTealAlphaFeedPlayFieldCondition 879 880 """All conditions must match (AND logic)""" 881 and: [FmTealAlphaFeedPlayWhereInput!] 882 883 """Any condition must match (OR logic)""" 884 or: [FmTealAlphaFeedPlayWhereInput!] 885} 886 887"""Root mutation type""" 888type Mutation { 889 """Upload a blob to the PDS""" 890 uploadBlob( 891 """Base64 encoded blob data""" 892 data: String! 893 894 """MIME type of the blob""" 895 mimeType: String! 896 ): BlobUploadResponse! 897 898 """Create a new app.bsky.actor.profile record""" 899 createAppBskyActorProfile( 900 """Record data""" 901 input: AppBskyActorProfileInput! 902 903 """Optional record key (defaults to TID)""" 904 rkey: String 905 ): AppBskyActorProfile 906 907 """Update an existing app.bsky.actor.profile record""" 908 updateAppBskyActorProfile( 909 """Record key to update""" 910 rkey: String! 911 912 """Updated record data""" 913 input: AppBskyActorProfileInput! 914 ): AppBskyActorProfile 915 916 """Delete a app.bsky.actor.profile record""" 917 deleteAppBskyActorProfile( 918 """Record key to delete""" 919 rkey: String! 920 ): DeleteResult 921 922 """Create a new fm.teal.alpha.feed.play record""" 923 createFmTealAlphaFeedPlay( 924 """Record data""" 925 input: FmTealAlphaFeedPlayInput! 926 927 """Optional record key (defaults to TID)""" 928 rkey: String 929 ): FmTealAlphaFeedPlay 930 931 """Update an existing fm.teal.alpha.feed.play record""" 932 updateFmTealAlphaFeedPlay( 933 """Record key to update""" 934 rkey: String! 935 936 """Updated record data""" 937 input: FmTealAlphaFeedPlayInput! 938 ): FmTealAlphaFeedPlay 939 940 """Delete a fm.teal.alpha.feed.play record""" 941 deleteFmTealAlphaFeedPlay( 942 """Record key to delete""" 943 rkey: String! 944 ): DeleteResult 945} 946 947"""Information about pagination in a connection""" 948type PageInfo { 949 """When paginating forwards, are there more items?""" 950 hasNextPage: Boolean! 951 952 """When paginating backwards, are there more items?""" 953 hasPreviousPage: Boolean! 954 955 """Cursor corresponding to the first item in the page""" 956 startCursor: String 957 958 """Cursor corresponding to the last item in the page""" 959 endCursor: String 960} 961 962"""Root query type""" 963type Query { 964 """Query app.bsky.actor.profile with cursor pagination and sorting""" 965 appBskyActorProfile( 966 """Returns the first n items from the list""" 967 first: Int 968 969 """Returns items after the given cursor""" 970 after: String 971 972 """Returns the last n items from the list""" 973 last: Int 974 975 """Returns items before the given cursor""" 976 before: String 977 978 """Sort order for the connection""" 979 sortBy: [AppBskyActorProfileSortFieldInput!] 980 981 """Filter conditions for the query""" 982 where: AppBskyActorProfileWhereInput 983 ): AppBskyActorProfileConnection 984 985 """Query fm.teal.alpha.feed.play with cursor pagination and sorting""" 986 fmTealAlphaFeedPlay( 987 """Returns the first n items from the list""" 988 first: Int 989 990 """Returns items after the given cursor""" 991 after: String 992 993 """Returns the last n items from the list""" 994 last: Int 995 996 """Returns items before the given cursor""" 997 before: String 998 999 """Sort order for the connection""" 1000 sortBy: [FmTealAlphaFeedPlaySortFieldInput!] 1001 1002 """Filter conditions for the query""" 1003 where: FmTealAlphaFeedPlayWhereInput 1004 ): FmTealAlphaFeedPlayConnection 1005 1006 """Aggregated query for app.bsky.actor.profile""" 1007 appBskyActorProfileAggregated( 1008 """Fields to group by (required)""" 1009 groupBy: [AppBskyActorProfileGroupByFieldInput!] 1010 1011 """Filter records before aggregation""" 1012 where: AppBskyActorProfileWhereInput 1013 1014 """Order by count (default: desc)""" 1015 orderBy: AggregationOrderBy 1016 1017 """Maximum number of results (default 50, max 1000)""" 1018 limit: Int 1019 ): [AppBskyActorProfileAggregated!] 1020 1021 """Aggregated query for fm.teal.alpha.feed.play""" 1022 fmTealAlphaFeedPlayAggregated( 1023 """Fields to group by (required)""" 1024 groupBy: [FmTealAlphaFeedPlayGroupByFieldInput!] 1025 1026 """Filter records before aggregation""" 1027 where: FmTealAlphaFeedPlayWhereInput 1028 1029 """Order by count (default: desc)""" 1030 orderBy: AggregationOrderBy 1031 1032 """Maximum number of results (default 50, max 1000)""" 1033 limit: Int 1034 ): [FmTealAlphaFeedPlayAggregated!] 1035} 1036 1037union Record = AppBskyActorProfile | FmTealAlphaFeedPlay 1038 1039"""Sort direction for query results""" 1040enum SortDirection { 1041 """Ascending order""" 1042 ASC 1043 1044 """Descending order""" 1045 DESC 1046} 1047 1048"""GraphQL subscription root""" 1049type Subscription { 1050 """Emitted when a new app.bsky.actor.profile record is created""" 1051 appBskyActorProfileCreated: AppBskyActorProfile! 1052 1053 """Emitted when a app.bsky.actor.profile record is updated""" 1054 appBskyActorProfileUpdated: AppBskyActorProfile! 1055 1056 """Emitted when a app.bsky.actor.profile record is deleted""" 1057 appBskyActorProfileDeleted: AppBskyActorProfile! 1058 1059 """Emitted when a new fm.teal.alpha.feed.play record is created""" 1060 fmTealAlphaFeedPlayCreated: FmTealAlphaFeedPlay! 1061 1062 """Emitted when a fm.teal.alpha.feed.play record is updated""" 1063 fmTealAlphaFeedPlayUpdated: FmTealAlphaFeedPlay! 1064 1065 """Emitted when a fm.teal.alpha.feed.play record is deleted""" 1066 fmTealAlphaFeedPlayDeleted: FmTealAlphaFeedPlay! 1067} 1068