@atproto/api 0.31.0 → 0.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +5 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +824 -50
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +440 -26
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/embed/external.d.ts +14 -1
  11. package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/embed/external.js +7 -0
  13. package/dist/client/types/app/bsky/embed/external.js.map +1 -1
  14. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +4 -0
  15. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -1
  16. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -1
  17. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +9 -2
  18. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
  19. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
  20. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +58 -20
  21. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -1
  22. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +31 -10
  23. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -1
  24. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.d.ts +115 -0
  25. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.d.ts.map +1 -0
  26. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.js +63 -0
  27. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.js.map +1 -0
  28. package/package.json +1 -1
@@ -2806,7 +2806,7 @@ export declare const schemaDict: {
2806
2806
  };
2807
2807
  readonly viewExternalSourceTheme: {
2808
2808
  readonly type: 'object';
2809
- readonly description: 'The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.';
2809
+ readonly description: 'The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source.';
2810
2810
  readonly properties: {
2811
2811
  readonly backgroundRGB: {
2812
2812
  readonly type: 'ref';
@@ -2986,6 +2986,21 @@ export declare const schemaDict: {
2986
2986
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
2987
2987
  };
2988
2988
  };
2989
+ readonly viewer: {
2990
+ readonly type: 'ref';
2991
+ readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState';
2992
+ };
2993
+ };
2994
+ };
2995
+ readonly viewArticlePublicationViewerState: {
2996
+ readonly type: 'object';
2997
+ readonly description: "Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests.";
2998
+ readonly properties: {
2999
+ readonly subscription: {
3000
+ readonly type: 'string';
3001
+ readonly format: 'at-uri';
3002
+ readonly description: "The requesting account's site.standard.graph.subscription record for this publication, if subscribed.";
3003
+ };
2989
3004
  };
2990
3005
  };
2991
3006
  readonly viewArticlePublicationTheme: {
@@ -3060,6 +3075,11 @@ export declare const schemaDict: {
3060
3075
  };
3061
3076
  readonly description: 'The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.';
3062
3077
  };
3078
+ readonly photoCount: {
3079
+ readonly type: 'integer';
3080
+ readonly minimum: 0;
3081
+ readonly description: 'Total number of gallery item backlinks, independent of the items included in this view.';
3082
+ };
3063
3083
  readonly likeCount: {
3064
3084
  readonly type: 'integer';
3065
3085
  readonly minimum: 0;
@@ -3158,6 +3178,11 @@ export declare const schemaDict: {
3158
3178
  readonly type: 'string';
3159
3179
  readonly format: 'datetime';
3160
3180
  };
3181
+ readonly lastSeenAt: {
3182
+ readonly type: 'string';
3183
+ readonly format: 'datetime';
3184
+ readonly description: 'When the livestream last reported that it was live. A livestream without endedAt is considered active until two minutes after its last heartbeat; clients can apply the same window to tell whether a cached view is still live.';
3185
+ };
3161
3186
  };
3162
3187
  };
3163
3188
  };
@@ -9236,6 +9261,18 @@ export declare const schemaDict: {
9236
9261
  readonly format: 'uri';
9237
9262
  readonly maxLength: 4096;
9238
9263
  };
9264
+ readonly appStoreUrl: {
9265
+ readonly type: 'string';
9266
+ readonly format: 'uri';
9267
+ readonly maxLength: 4096;
9268
+ readonly description: 'Optional link to the app on the Apple App Store.';
9269
+ };
9270
+ readonly googlePlayUrl: {
9271
+ readonly type: 'string';
9272
+ readonly format: 'uri';
9273
+ readonly maxLength: 4096;
9274
+ readonly description: 'Optional link to the app on Google Play.';
9275
+ };
9239
9276
  readonly category: {
9240
9277
  readonly type: 'string';
9241
9278
  readonly maxLength: 100;
@@ -9243,7 +9280,7 @@ export declare const schemaDict: {
9243
9280
  readonly profile: {
9244
9281
  readonly type: 'ref';
9245
9282
  readonly ref: 'lex:app.bsky.actor.defs#profileViewDetailed';
9246
- readonly description: "The app's account profile, when available.";
9283
+ readonly description: "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.";
9247
9284
  };
9248
9285
  };
9249
9286
  };
@@ -9445,6 +9482,11 @@ export declare const schemaDict: {
9445
9482
  readonly ref: 'lex:com.atproto.repo.strongRef';
9446
9483
  readonly description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.';
9447
9484
  };
9485
+ readonly viewBskyPost: {
9486
+ readonly type: 'ref';
9487
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9488
+ readonly description: 'The hydrated Bluesky post associated with the article, as declared by its author. Omitted when the post is unavailable to the viewer.';
9489
+ };
9448
9490
  readonly view: {
9449
9491
  readonly type: 'ref';
9450
9492
  readonly ref: 'lex:app.bsky.embed.external#viewArticle';
@@ -9492,6 +9534,11 @@ export declare const schemaDict: {
9492
9534
  readonly ref: 'lex:com.atproto.repo.strongRef';
9493
9535
  readonly description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.';
9494
9536
  };
9537
+ readonly viewBskyPost: {
9538
+ readonly type: 'ref';
9539
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9540
+ readonly description: 'The hydrated Bluesky post that announced the livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
9541
+ };
9495
9542
  readonly view: {
9496
9543
  readonly type: 'ref';
9497
9544
  readonly ref: 'lex:app.bsky.embed.external#viewLivestream';
@@ -9552,13 +9599,13 @@ export declare const schemaDict: {
9552
9599
  readonly type: 'string';
9553
9600
  readonly format: 'uri';
9554
9601
  readonly maxLength: 4096;
9555
- readonly description: 'Compatibility field. The profile avatar when available, otherwise the editorial logo.';
9602
+ readonly description: 'The profile avatar when available, otherwise the editorial logo.';
9556
9603
  };
9557
9604
  readonly backgroundImage: {
9558
9605
  readonly type: 'string';
9559
9606
  readonly format: 'uri';
9560
9607
  readonly maxLength: 4096;
9561
- readonly description: 'Compatibility field. The profile banner when available, otherwise the editorial background image.';
9608
+ readonly description: 'The profile banner when available, otherwise the editorial background image.';
9562
9609
  };
9563
9610
  readonly overlayColor: {
9564
9611
  readonly type: 'string';
@@ -9575,6 +9622,18 @@ export declare const schemaDict: {
9575
9622
  readonly format: 'uri';
9576
9623
  readonly maxLength: 4096;
9577
9624
  };
9625
+ readonly appStoreUrl: {
9626
+ readonly type: 'string';
9627
+ readonly format: 'uri';
9628
+ readonly maxLength: 4096;
9629
+ readonly description: 'Optional link to the app on the Apple App Store.';
9630
+ };
9631
+ readonly googlePlayUrl: {
9632
+ readonly type: 'string';
9633
+ readonly format: 'uri';
9634
+ readonly maxLength: 4096;
9635
+ readonly description: 'Optional link to the app on Google Play.';
9636
+ };
9578
9637
  readonly category: {
9579
9638
  readonly type: 'string';
9580
9639
  readonly maxLength: 4096;
@@ -9582,7 +9641,7 @@ export declare const schemaDict: {
9582
9641
  readonly profile: {
9583
9642
  readonly type: 'ref';
9584
9643
  readonly ref: 'lex:app.bsky.actor.defs#profileViewDetailed';
9585
- readonly description: "The app's account profile, when available.";
9644
+ readonly description: "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.";
9586
9645
  };
9587
9646
  };
9588
9647
  };
@@ -9594,7 +9653,7 @@ export declare const schemaDict: {
9594
9653
  readonly defs: {
9595
9654
  readonly main: {
9596
9655
  readonly type: 'query';
9597
- readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Grouping and related activity are limited to the returned page.";
9656
+ readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Groups contain visible activities from the returned page.";
9598
9657
  readonly parameters: {
9599
9658
  readonly type: 'params';
9600
9659
  readonly properties: {
@@ -9616,7 +9675,7 @@ export declare const schemaDict: {
9616
9675
  readonly type: 'array';
9617
9676
  readonly items: {
9618
9677
  readonly type: 'union';
9619
- readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroup"];
9678
+ readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup", "lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup"];
9620
9679
  };
9621
9680
  };
9622
9681
  };
@@ -9666,40 +9725,131 @@ export declare const schemaDict: {
9666
9725
  readonly type: 'ref';
9667
9726
  readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
9668
9727
  };
9728
+ readonly relatedActivity: {
9729
+ readonly type: 'array';
9730
+ readonly description: "Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated.";
9731
+ readonly items: {
9732
+ readonly type: 'ref';
9733
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup';
9734
+ };
9735
+ };
9669
9736
  readonly bskyPostRef: {
9670
9737
  readonly type: 'ref';
9671
9738
  readonly ref: 'lex:com.atproto.repo.strongRef';
9672
9739
  readonly description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.';
9673
9740
  };
9741
+ readonly viewBskyPost: {
9742
+ readonly type: 'ref';
9743
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9744
+ readonly description: 'The hydrated Bluesky post associated with the rendered article or livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
9745
+ };
9674
9746
  readonly view: {
9675
9747
  readonly type: 'union';
9676
9748
  readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream", "lex:app.bsky.feed.defs#postView"];
9677
9749
  };
9678
- readonly relatedActivity: {
9750
+ };
9751
+ };
9752
+ readonly activityActorGroup: {
9753
+ readonly type: 'object';
9754
+ readonly description: 'Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone.';
9755
+ readonly required: ["id", "collection", "indexedAt", "actor", "item", "uris"];
9756
+ readonly properties: {
9757
+ readonly id: {
9758
+ readonly type: 'string';
9759
+ };
9760
+ readonly collection: {
9761
+ readonly type: 'string';
9762
+ readonly format: 'nsid';
9763
+ };
9764
+ readonly indexedAt: {
9765
+ readonly type: 'string';
9766
+ readonly format: 'datetime';
9767
+ };
9768
+ readonly actor: {
9769
+ readonly type: 'string';
9770
+ readonly format: 'did';
9771
+ };
9772
+ readonly item: {
9773
+ readonly type: 'ref';
9774
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
9775
+ };
9776
+ readonly uris: {
9679
9777
  readonly type: 'array';
9680
- readonly description: 'Recommendations and shares attached to this article. Attached activities do not themselves contain related activity.';
9778
+ readonly description: 'All visible group item URIs, including the hydrated item, in newest-first timeline order.';
9779
+ readonly minLength: 2;
9681
9780
  readonly items: {
9682
- readonly type: 'ref';
9683
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
9781
+ readonly type: 'string';
9782
+ readonly format: 'at-uri';
9684
9783
  };
9685
9784
  };
9686
9785
  };
9687
9786
  };
9688
- readonly activityItemOverflow: {
9787
+ readonly activitySubject: {
9689
9788
  readonly type: 'object';
9690
- readonly description: 'Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records.';
9691
- readonly required: ["count", "collection", "associatedProfiles"];
9789
+ readonly description: 'The shared target of grouped activities, not an activity itself.';
9790
+ readonly required: ["uri", "viewerState", "view"];
9692
9791
  readonly properties: {
9693
- readonly count: {
9694
- readonly type: 'integer';
9695
- readonly minimum: 1;
9792
+ readonly uri: {
9793
+ readonly type: 'string';
9794
+ readonly format: 'at-uri';
9795
+ };
9796
+ readonly viewerState: {
9797
+ readonly type: 'ref';
9798
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
9799
+ };
9800
+ readonly bskyPostRef: {
9801
+ readonly type: 'ref';
9802
+ readonly ref: 'lex:com.atproto.repo.strongRef';
9803
+ readonly description: "The author's declared Bluesky post for the target. The post may be unavailable.";
9804
+ };
9805
+ readonly viewBskyPost: {
9806
+ readonly type: 'ref';
9807
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9808
+ readonly description: "The hydrated Bluesky post declared by the target's author. Omitted when the post is unavailable to the viewer.";
9809
+ };
9810
+ readonly view: {
9811
+ readonly type: 'union';
9812
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery"];
9813
+ };
9814
+ };
9815
+ };
9816
+ readonly activityGroupItem: {
9817
+ readonly type: 'object';
9818
+ readonly description: 'An unhydrated group item. Its actor DID is the authority of its record URI.';
9819
+ readonly required: ["record", "collection"];
9820
+ readonly properties: {
9821
+ readonly record: {
9822
+ readonly type: 'ref';
9823
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord';
9696
9824
  };
9697
9825
  readonly collection: {
9698
9826
  readonly type: 'string';
9699
9827
  readonly format: 'nsid';
9700
9828
  };
9701
- readonly associatedProfiles: {
9829
+ };
9830
+ };
9831
+ readonly activityRelatedGroup: {
9832
+ readonly type: 'object';
9833
+ readonly description: "Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance.";
9834
+ readonly required: ["collection", "activities", "actors"];
9835
+ readonly properties: {
9836
+ readonly collection: {
9837
+ readonly type: 'string';
9838
+ readonly format: 'nsid';
9839
+ };
9840
+ readonly activities: {
9702
9841
  readonly type: 'array';
9842
+ readonly description: "Visible activity references in newest-first timeline order. Every activity has the bucket's collection.";
9843
+ readonly minLength: 1;
9844
+ readonly items: {
9845
+ readonly type: 'ref';
9846
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
9847
+ };
9848
+ };
9849
+ readonly actors: {
9850
+ readonly type: 'array';
9851
+ readonly description: "Unique actors in first-appearance order among the bucket's activities.";
9852
+ readonly minLength: 1;
9703
9853
  readonly items: {
9704
9854
  readonly type: 'ref';
9705
9855
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
@@ -9707,37 +9857,274 @@ export declare const schemaDict: {
9707
9857
  };
9708
9858
  };
9709
9859
  };
9710
- readonly activityGroup: {
9860
+ readonly activitySubjectGroup: {
9711
9861
  readonly type: 'object';
9712
- readonly description: "Two or more activities of the same collection, within a fixed window anchored at the newest member. The group occupies the newest member's position.";
9713
- readonly required: ["id", "groupBy", "collection", "indexedAt", "items"];
9862
+ readonly description: 'Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows.';
9863
+ readonly required: ["id", "collection", "indexedAt", "subject", "activities", "actors"];
9714
9864
  readonly properties: {
9715
9865
  readonly id: {
9716
9866
  readonly type: 'string';
9717
9867
  };
9718
- readonly groupBy: {
9868
+ readonly collection: {
9869
+ readonly type: 'string';
9870
+ readonly format: 'nsid';
9871
+ };
9872
+ readonly indexedAt: {
9719
9873
  readonly type: 'string';
9720
- readonly knownValues: ["subject", "actor"];
9874
+ readonly format: 'datetime';
9875
+ };
9876
+ readonly subject: {
9877
+ readonly type: 'ref';
9878
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubject';
9879
+ };
9880
+ readonly activities: {
9881
+ readonly type: 'array';
9882
+ readonly description: "Visible group items in newest-first timeline order. Every activity has the group's collection.";
9883
+ readonly minLength: 2;
9884
+ readonly items: {
9885
+ readonly type: 'ref';
9886
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
9887
+ };
9888
+ };
9889
+ readonly actors: {
9890
+ readonly type: 'array';
9891
+ readonly description: 'Unique actors in first-appearance order among group items. At least two distinct actors are required.';
9892
+ readonly minLength: 2;
9893
+ readonly items: {
9894
+ readonly type: 'ref';
9895
+ readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
9896
+ };
9897
+ };
9898
+ };
9899
+ };
9900
+ };
9901
+ };
9902
+ readonly AppBskyUnspeccedGetAtmosphereTimelineV2: {
9903
+ readonly lexicon: 1;
9904
+ readonly id: 'app.bsky.unspecced.getAtmosphereTimelineV2';
9905
+ readonly defs: {
9906
+ readonly main: {
9907
+ readonly type: 'query';
9908
+ readonly description: "Get the requesting account's Atmosphere activity timeline, pre-grouped for rendering. Requires auth.";
9909
+ readonly parameters: {
9910
+ readonly type: 'params';
9911
+ readonly properties: {
9912
+ readonly cursor: {
9913
+ readonly type: 'string';
9914
+ };
9915
+ };
9916
+ };
9917
+ readonly output: {
9918
+ readonly encoding: 'application/json';
9919
+ readonly schema: {
9920
+ readonly type: 'object';
9921
+ readonly required: ["feed", "relatedViews"];
9922
+ readonly properties: {
9923
+ readonly cursor: {
9924
+ readonly type: 'string';
9925
+ };
9926
+ readonly feed: {
9927
+ readonly type: 'array';
9928
+ readonly description: 'Activities and activity groups, sorted newest first by indexedAt. Groups and relatedActivity only contain activities from the same page of results. Activities by actors unavailable to the viewer are omitted before grouping. Clients should ignore entry types they do not recognize.';
9929
+ readonly items: {
9930
+ readonly type: 'union';
9931
+ readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityActorGroup", "lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubjectGroup"];
9932
+ };
9933
+ };
9934
+ readonly relatedViews: {
9935
+ readonly type: 'array';
9936
+ readonly description: "Reusable views referenced by feed entries. Views shared across entries appear once to avoid duplication. Always includes the profile of the actor of every activityItem and activityActorGroup, plus the profiles of at most the newest 3 distinct actors in each activitySubjectGroup and in each collection of an activityItem's relatedActivity. Ex: for a subject group of 12 recommendations, only the profiles of the 3 newest recommenders are included; clients can fetch the rest with app.bsky.actor.getProfiles.";
9937
+ readonly items: {
9938
+ readonly type: 'union';
9939
+ readonly refs: ["lex:app.bsky.actor.defs#profileViewBasic"];
9940
+ };
9941
+ };
9942
+ };
9943
+ };
9944
+ };
9945
+ };
9946
+ readonly activityItem: {
9947
+ readonly type: 'object';
9948
+ readonly description: 'A single activity with its hydrated subject. An activity that creates content, such as publishing an article, is always a standalone item when other activities on the same page target that content; those activities are attached as relatedActivity. Activities whose subject is unavailable to the viewer are omitted from the timeline.';
9949
+ readonly required: ["ref", "collection", "indexedAt", "actor", "subject"];
9950
+ readonly properties: {
9951
+ readonly ref: {
9952
+ readonly type: 'ref';
9953
+ readonly ref: 'lex:com.atproto.repo.strongRef';
9721
9954
  };
9722
9955
  readonly collection: {
9723
9956
  readonly type: 'string';
9724
9957
  readonly format: 'nsid';
9958
+ readonly description: 'The collection of the activity record. Ex: site.standard.graph.recommend.';
9725
9959
  };
9726
9960
  readonly indexedAt: {
9727
9961
  readonly type: 'string';
9728
9962
  readonly format: 'datetime';
9963
+ readonly description: "When the activity was indexed. Determines the item's position in the feed, even when relatedActivity contains newer activities.";
9729
9964
  };
9730
- readonly items: {
9965
+ readonly actor: {
9966
+ readonly type: 'string';
9967
+ readonly format: 'did';
9968
+ };
9969
+ readonly subject: {
9970
+ readonly type: 'ref';
9971
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject';
9972
+ };
9973
+ readonly relatedActivity: {
9731
9974
  readonly type: 'array';
9975
+ readonly description: 'All available activities on the same page that target content created by this activity, newest first. Ex: recommendations of a newly published article. Only present on activities that create content. Activities targeting content created on an earlier page appear as their own feed entries instead.';
9976
+ readonly items: {
9977
+ readonly type: 'ref';
9978
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityItemRelatedActivity';
9979
+ };
9980
+ };
9981
+ };
9982
+ };
9983
+ readonly activityItemRelatedActivity: {
9984
+ readonly type: 'object';
9985
+ readonly required: ["ref", "collection", "indexedAt", "actor"];
9986
+ readonly properties: {
9987
+ readonly ref: {
9988
+ readonly type: 'ref';
9989
+ readonly ref: 'lex:com.atproto.repo.strongRef';
9990
+ };
9991
+ readonly collection: {
9992
+ readonly type: 'string';
9993
+ readonly format: 'nsid';
9994
+ };
9995
+ readonly indexedAt: {
9996
+ readonly type: 'string';
9997
+ readonly format: 'datetime';
9998
+ };
9999
+ readonly actor: {
10000
+ readonly type: 'string';
10001
+ readonly format: 'did';
10002
+ };
10003
+ };
10004
+ };
10005
+ readonly activitySubject: {
10006
+ readonly type: 'object';
10007
+ readonly description: 'The hydrated content an activity targets. For activities that create content, such as publishing an article, the subject is the created record itself.';
10008
+ readonly required: ["ref", "view"];
10009
+ readonly properties: {
10010
+ readonly ref: {
10011
+ readonly type: 'ref';
10012
+ readonly ref: 'lex:com.atproto.repo.strongRef';
10013
+ readonly description: 'The record backing the view. Ex: the site.standard.document of an article.';
10014
+ };
10015
+ readonly view: {
10016
+ readonly type: 'union';
10017
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream"];
10018
+ };
10019
+ readonly bskyPostRef: {
10020
+ readonly type: 'ref';
10021
+ readonly ref: 'lex:com.atproto.repo.strongRef';
10022
+ readonly description: 'The Bluesky post associated with the subject, as declared by its author. The referenced post may not be available.';
10023
+ };
10024
+ readonly bskyPostView: {
10025
+ readonly type: 'ref';
10026
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
10027
+ readonly description: 'The hydrated Bluesky post associated with the subject. Omitted when the post is unavailable to the viewer. May reflect a newer version of the post than the CID in bskyPostRef.';
10028
+ };
10029
+ };
10030
+ };
10031
+ readonly activityActorGroup: {
10032
+ readonly type: 'object';
10033
+ readonly description: 'Activities by one actor in one collection close together in time, such as several articles published by the same author. Activities that create content with relatedActivity are never grouped. Positioned in the feed at its newest activity.';
10034
+ readonly required: ["collection", "indexedAt", "actor", "subjects", "activities"];
10035
+ readonly properties: {
10036
+ readonly collection: {
10037
+ readonly type: 'string';
10038
+ readonly format: 'nsid';
10039
+ };
10040
+ readonly indexedAt: {
10041
+ readonly type: 'string';
10042
+ readonly format: 'datetime';
10043
+ readonly description: "When the group's newest activity was indexed.";
10044
+ };
10045
+ readonly actor: {
10046
+ readonly type: 'string';
10047
+ readonly format: 'did';
10048
+ };
10049
+ readonly subjects: {
10050
+ readonly type: 'array';
10051
+ readonly description: "Hydrated subjects of the group's activities, newest first. Currently only the newest subject is included; clients can hydrate the rest from the subject URIs in activities.";
10052
+ readonly minLength: 1;
10053
+ readonly items: {
10054
+ readonly type: 'ref';
10055
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject';
10056
+ };
10057
+ };
10058
+ readonly activities: {
10059
+ readonly type: 'array';
10060
+ readonly description: 'All activities in the group, newest first.';
9732
10061
  readonly minLength: 2;
9733
10062
  readonly items: {
9734
10063
  readonly type: 'ref';
9735
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
10064
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityActorGroupItem';
9736
10065
  };
9737
10066
  };
10067
+ };
10068
+ };
10069
+ readonly activityActorGroupItem: {
10070
+ readonly type: 'object';
10071
+ readonly required: ["ref", "indexedAt", "subject"];
10072
+ readonly properties: {
10073
+ readonly ref: {
10074
+ readonly type: 'ref';
10075
+ readonly ref: 'lex:com.atproto.repo.strongRef';
10076
+ };
10077
+ readonly indexedAt: {
10078
+ readonly type: 'string';
10079
+ readonly format: 'datetime';
10080
+ };
9738
10081
  readonly subject: {
9739
10082
  readonly type: 'string';
9740
10083
  readonly format: 'at-uri';
10084
+ readonly description: 'The content the activity targets. Matches ref.uri for activities that create content.';
10085
+ };
10086
+ };
10087
+ };
10088
+ readonly activitySubjectGroup: {
10089
+ readonly type: 'object';
10090
+ readonly description: 'Activities by at least two actors in one collection targeting the same subject, such as several recommendations of an article published on an earlier page. Positioned in the feed at its newest activity.';
10091
+ readonly required: ["collection", "indexedAt", "subject", "activities"];
10092
+ readonly properties: {
10093
+ readonly collection: {
10094
+ readonly type: 'string';
10095
+ readonly format: 'nsid';
10096
+ };
10097
+ readonly indexedAt: {
10098
+ readonly type: 'string';
10099
+ readonly format: 'datetime';
10100
+ readonly description: "When the group's newest activity was indexed.";
10101
+ };
10102
+ readonly subject: {
10103
+ readonly type: 'ref';
10104
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject';
10105
+ };
10106
+ readonly activities: {
10107
+ readonly type: 'array';
10108
+ readonly description: 'All activities in the group, newest first.';
10109
+ readonly minLength: 2;
10110
+ readonly items: {
10111
+ readonly type: 'ref';
10112
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubjectGroupItem';
10113
+ };
10114
+ };
10115
+ };
10116
+ };
10117
+ readonly activitySubjectGroupItem: {
10118
+ readonly type: 'object';
10119
+ readonly required: ["ref", "indexedAt", "actor"];
10120
+ readonly properties: {
10121
+ readonly ref: {
10122
+ readonly type: 'ref';
10123
+ readonly ref: 'lex:com.atproto.repo.strongRef';
10124
+ };
10125
+ readonly indexedAt: {
10126
+ readonly type: 'string';
10127
+ readonly format: 'datetime';
9741
10128
  };
9742
10129
  readonly actor: {
9743
10130
  readonly type: 'string';
@@ -31067,7 +31454,7 @@ export declare const schemas: ({
31067
31454
  };
31068
31455
  readonly viewExternalSourceTheme: {
31069
31456
  readonly type: 'object';
31070
- readonly description: 'The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.';
31457
+ readonly description: 'The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source.';
31071
31458
  readonly properties: {
31072
31459
  readonly backgroundRGB: {
31073
31460
  readonly type: 'ref';
@@ -31247,6 +31634,21 @@ export declare const schemas: ({
31247
31634
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
31248
31635
  };
31249
31636
  };
31637
+ readonly viewer: {
31638
+ readonly type: 'ref';
31639
+ readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState';
31640
+ };
31641
+ };
31642
+ };
31643
+ readonly viewArticlePublicationViewerState: {
31644
+ readonly type: 'object';
31645
+ readonly description: "Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests.";
31646
+ readonly properties: {
31647
+ readonly subscription: {
31648
+ readonly type: 'string';
31649
+ readonly format: 'at-uri';
31650
+ readonly description: "The requesting account's site.standard.graph.subscription record for this publication, if subscribed.";
31651
+ };
31250
31652
  };
31251
31653
  };
31252
31654
  readonly viewArticlePublicationTheme: {
@@ -31321,6 +31723,11 @@ export declare const schemas: ({
31321
31723
  };
31322
31724
  readonly description: 'The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.';
31323
31725
  };
31726
+ readonly photoCount: {
31727
+ readonly type: 'integer';
31728
+ readonly minimum: 0;
31729
+ readonly description: 'Total number of gallery item backlinks, independent of the items included in this view.';
31730
+ };
31324
31731
  readonly likeCount: {
31325
31732
  readonly type: 'integer';
31326
31733
  readonly minimum: 0;
@@ -31419,6 +31826,11 @@ export declare const schemas: ({
31419
31826
  readonly type: 'string';
31420
31827
  readonly format: 'datetime';
31421
31828
  };
31829
+ readonly lastSeenAt: {
31830
+ readonly type: 'string';
31831
+ readonly format: 'datetime';
31832
+ readonly description: 'When the livestream last reported that it was live. A livestream without endedAt is considered active until two minutes after its last heartbeat; clients can apply the same window to tell whether a cached view is still live.';
31833
+ };
31422
31834
  };
31423
31835
  };
31424
31836
  };
@@ -37412,6 +37824,18 @@ export declare const schemas: ({
37412
37824
  readonly format: 'uri';
37413
37825
  readonly maxLength: 4096;
37414
37826
  };
37827
+ readonly appStoreUrl: {
37828
+ readonly type: 'string';
37829
+ readonly format: 'uri';
37830
+ readonly maxLength: 4096;
37831
+ readonly description: 'Optional link to the app on the Apple App Store.';
37832
+ };
37833
+ readonly googlePlayUrl: {
37834
+ readonly type: 'string';
37835
+ readonly format: 'uri';
37836
+ readonly maxLength: 4096;
37837
+ readonly description: 'Optional link to the app on Google Play.';
37838
+ };
37415
37839
  readonly category: {
37416
37840
  readonly type: 'string';
37417
37841
  readonly maxLength: 100;
@@ -37419,7 +37843,7 @@ export declare const schemas: ({
37419
37843
  readonly profile: {
37420
37844
  readonly type: 'ref';
37421
37845
  readonly ref: 'lex:app.bsky.actor.defs#profileViewDetailed';
37422
- readonly description: "The app's account profile, when available.";
37846
+ readonly description: "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.";
37423
37847
  };
37424
37848
  };
37425
37849
  };
@@ -37619,6 +38043,11 @@ export declare const schemas: ({
37619
38043
  readonly ref: 'lex:com.atproto.repo.strongRef';
37620
38044
  readonly description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.';
37621
38045
  };
38046
+ readonly viewBskyPost: {
38047
+ readonly type: 'ref';
38048
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
38049
+ readonly description: 'The hydrated Bluesky post associated with the article, as declared by its author. Omitted when the post is unavailable to the viewer.';
38050
+ };
37622
38051
  readonly view: {
37623
38052
  readonly type: 'ref';
37624
38053
  readonly ref: 'lex:app.bsky.embed.external#viewArticle';
@@ -37666,6 +38095,11 @@ export declare const schemas: ({
37666
38095
  readonly ref: 'lex:com.atproto.repo.strongRef';
37667
38096
  readonly description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.';
37668
38097
  };
38098
+ readonly viewBskyPost: {
38099
+ readonly type: 'ref';
38100
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
38101
+ readonly description: 'The hydrated Bluesky post that announced the livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
38102
+ };
37669
38103
  readonly view: {
37670
38104
  readonly type: 'ref';
37671
38105
  readonly ref: 'lex:app.bsky.embed.external#viewLivestream';
@@ -37726,13 +38160,13 @@ export declare const schemas: ({
37726
38160
  readonly type: 'string';
37727
38161
  readonly format: 'uri';
37728
38162
  readonly maxLength: 4096;
37729
- readonly description: 'Compatibility field. The profile avatar when available, otherwise the editorial logo.';
38163
+ readonly description: 'The profile avatar when available, otherwise the editorial logo.';
37730
38164
  };
37731
38165
  readonly backgroundImage: {
37732
38166
  readonly type: 'string';
37733
38167
  readonly format: 'uri';
37734
38168
  readonly maxLength: 4096;
37735
- readonly description: 'Compatibility field. The profile banner when available, otherwise the editorial background image.';
38169
+ readonly description: 'The profile banner when available, otherwise the editorial background image.';
37736
38170
  };
37737
38171
  readonly overlayColor: {
37738
38172
  readonly type: 'string';
@@ -37749,6 +38183,18 @@ export declare const schemas: ({
37749
38183
  readonly format: 'uri';
37750
38184
  readonly maxLength: 4096;
37751
38185
  };
38186
+ readonly appStoreUrl: {
38187
+ readonly type: 'string';
38188
+ readonly format: 'uri';
38189
+ readonly maxLength: 4096;
38190
+ readonly description: 'Optional link to the app on the Apple App Store.';
38191
+ };
38192
+ readonly googlePlayUrl: {
38193
+ readonly type: 'string';
38194
+ readonly format: 'uri';
38195
+ readonly maxLength: 4096;
38196
+ readonly description: 'Optional link to the app on Google Play.';
38197
+ };
37752
38198
  readonly category: {
37753
38199
  readonly type: 'string';
37754
38200
  readonly maxLength: 4096;
@@ -37756,7 +38202,7 @@ export declare const schemas: ({
37756
38202
  readonly profile: {
37757
38203
  readonly type: 'ref';
37758
38204
  readonly ref: 'lex:app.bsky.actor.defs#profileViewDetailed';
37759
- readonly description: "The app's account profile, when available.";
38205
+ readonly description: "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.";
37760
38206
  };
37761
38207
  };
37762
38208
  };
@@ -37767,7 +38213,7 @@ export declare const schemas: ({
37767
38213
  readonly defs: {
37768
38214
  readonly main: {
37769
38215
  readonly type: 'query';
37770
- readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Grouping and related activity are limited to the returned page.";
38216
+ readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Groups contain visible activities from the returned page.";
37771
38217
  readonly parameters: {
37772
38218
  readonly type: 'params';
37773
38219
  readonly properties: {
@@ -37789,7 +38235,7 @@ export declare const schemas: ({
37789
38235
  readonly type: 'array';
37790
38236
  readonly items: {
37791
38237
  readonly type: 'union';
37792
- readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroup"];
38238
+ readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup", "lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup"];
37793
38239
  };
37794
38240
  };
37795
38241
  };
@@ -37839,40 +38285,131 @@ export declare const schemas: ({
37839
38285
  readonly type: 'ref';
37840
38286
  readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
37841
38287
  };
38288
+ readonly relatedActivity: {
38289
+ readonly type: 'array';
38290
+ readonly description: "Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated.";
38291
+ readonly items: {
38292
+ readonly type: 'ref';
38293
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup';
38294
+ };
38295
+ };
37842
38296
  readonly bskyPostRef: {
37843
38297
  readonly type: 'ref';
37844
38298
  readonly ref: 'lex:com.atproto.repo.strongRef';
37845
38299
  readonly description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.';
37846
38300
  };
38301
+ readonly viewBskyPost: {
38302
+ readonly type: 'ref';
38303
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
38304
+ readonly description: 'The hydrated Bluesky post associated with the rendered article or livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
38305
+ };
37847
38306
  readonly view: {
37848
38307
  readonly type: 'union';
37849
38308
  readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream", "lex:app.bsky.feed.defs#postView"];
37850
38309
  };
37851
- readonly relatedActivity: {
38310
+ };
38311
+ };
38312
+ readonly activityActorGroup: {
38313
+ readonly type: 'object';
38314
+ readonly description: 'Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone.';
38315
+ readonly required: ["id", "collection", "indexedAt", "actor", "item", "uris"];
38316
+ readonly properties: {
38317
+ readonly id: {
38318
+ readonly type: 'string';
38319
+ };
38320
+ readonly collection: {
38321
+ readonly type: 'string';
38322
+ readonly format: 'nsid';
38323
+ };
38324
+ readonly indexedAt: {
38325
+ readonly type: 'string';
38326
+ readonly format: 'datetime';
38327
+ };
38328
+ readonly actor: {
38329
+ readonly type: 'string';
38330
+ readonly format: 'did';
38331
+ };
38332
+ readonly item: {
38333
+ readonly type: 'ref';
38334
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
38335
+ };
38336
+ readonly uris: {
37852
38337
  readonly type: 'array';
37853
- readonly description: 'Recommendations and shares attached to this article. Attached activities do not themselves contain related activity.';
38338
+ readonly description: 'All visible group item URIs, including the hydrated item, in newest-first timeline order.';
38339
+ readonly minLength: 2;
37854
38340
  readonly items: {
37855
- readonly type: 'ref';
37856
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
38341
+ readonly type: 'string';
38342
+ readonly format: 'at-uri';
37857
38343
  };
37858
38344
  };
37859
38345
  };
37860
38346
  };
37861
- readonly activityItemOverflow: {
38347
+ readonly activitySubject: {
37862
38348
  readonly type: 'object';
37863
- readonly description: 'Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records.';
37864
- readonly required: ["count", "collection", "associatedProfiles"];
38349
+ readonly description: 'The shared target of grouped activities, not an activity itself.';
38350
+ readonly required: ["uri", "viewerState", "view"];
37865
38351
  readonly properties: {
37866
- readonly count: {
37867
- readonly type: 'integer';
37868
- readonly minimum: 1;
38352
+ readonly uri: {
38353
+ readonly type: 'string';
38354
+ readonly format: 'at-uri';
38355
+ };
38356
+ readonly viewerState: {
38357
+ readonly type: 'ref';
38358
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
38359
+ };
38360
+ readonly bskyPostRef: {
38361
+ readonly type: 'ref';
38362
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38363
+ readonly description: "The author's declared Bluesky post for the target. The post may be unavailable.";
38364
+ };
38365
+ readonly viewBskyPost: {
38366
+ readonly type: 'ref';
38367
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
38368
+ readonly description: "The hydrated Bluesky post declared by the target's author. Omitted when the post is unavailable to the viewer.";
38369
+ };
38370
+ readonly view: {
38371
+ readonly type: 'union';
38372
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery"];
38373
+ };
38374
+ };
38375
+ };
38376
+ readonly activityGroupItem: {
38377
+ readonly type: 'object';
38378
+ readonly description: 'An unhydrated group item. Its actor DID is the authority of its record URI.';
38379
+ readonly required: ["record", "collection"];
38380
+ readonly properties: {
38381
+ readonly record: {
38382
+ readonly type: 'ref';
38383
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord';
37869
38384
  };
37870
38385
  readonly collection: {
37871
38386
  readonly type: 'string';
37872
38387
  readonly format: 'nsid';
37873
38388
  };
37874
- readonly associatedProfiles: {
38389
+ };
38390
+ };
38391
+ readonly activityRelatedGroup: {
38392
+ readonly type: 'object';
38393
+ readonly description: "Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance.";
38394
+ readonly required: ["collection", "activities", "actors"];
38395
+ readonly properties: {
38396
+ readonly collection: {
38397
+ readonly type: 'string';
38398
+ readonly format: 'nsid';
38399
+ };
38400
+ readonly activities: {
38401
+ readonly type: 'array';
38402
+ readonly description: "Visible activity references in newest-first timeline order. Every activity has the bucket's collection.";
38403
+ readonly minLength: 1;
38404
+ readonly items: {
38405
+ readonly type: 'ref';
38406
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
38407
+ };
38408
+ };
38409
+ readonly actors: {
37875
38410
  readonly type: 'array';
38411
+ readonly description: "Unique actors in first-appearance order among the bucket's activities.";
38412
+ readonly minLength: 1;
37876
38413
  readonly items: {
37877
38414
  readonly type: 'ref';
37878
38415
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
@@ -37880,37 +38417,273 @@ export declare const schemas: ({
37880
38417
  };
37881
38418
  };
37882
38419
  };
37883
- readonly activityGroup: {
38420
+ readonly activitySubjectGroup: {
37884
38421
  readonly type: 'object';
37885
- readonly description: "Two or more activities of the same collection, within a fixed window anchored at the newest member. The group occupies the newest member's position.";
37886
- readonly required: ["id", "groupBy", "collection", "indexedAt", "items"];
38422
+ readonly description: 'Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows.';
38423
+ readonly required: ["id", "collection", "indexedAt", "subject", "activities", "actors"];
37887
38424
  readonly properties: {
37888
38425
  readonly id: {
37889
38426
  readonly type: 'string';
37890
38427
  };
37891
- readonly groupBy: {
38428
+ readonly collection: {
37892
38429
  readonly type: 'string';
37893
- readonly knownValues: ["subject", "actor"];
38430
+ readonly format: 'nsid';
38431
+ };
38432
+ readonly indexedAt: {
38433
+ readonly type: 'string';
38434
+ readonly format: 'datetime';
38435
+ };
38436
+ readonly subject: {
38437
+ readonly type: 'ref';
38438
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubject';
38439
+ };
38440
+ readonly activities: {
38441
+ readonly type: 'array';
38442
+ readonly description: "Visible group items in newest-first timeline order. Every activity has the group's collection.";
38443
+ readonly minLength: 2;
38444
+ readonly items: {
38445
+ readonly type: 'ref';
38446
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
38447
+ };
38448
+ };
38449
+ readonly actors: {
38450
+ readonly type: 'array';
38451
+ readonly description: 'Unique actors in first-appearance order among group items. At least two distinct actors are required.';
38452
+ readonly minLength: 2;
38453
+ readonly items: {
38454
+ readonly type: 'ref';
38455
+ readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
38456
+ };
38457
+ };
38458
+ };
38459
+ };
38460
+ };
38461
+ } | {
38462
+ readonly lexicon: 1;
38463
+ readonly id: 'app.bsky.unspecced.getAtmosphereTimelineV2';
38464
+ readonly defs: {
38465
+ readonly main: {
38466
+ readonly type: 'query';
38467
+ readonly description: "Get the requesting account's Atmosphere activity timeline, pre-grouped for rendering. Requires auth.";
38468
+ readonly parameters: {
38469
+ readonly type: 'params';
38470
+ readonly properties: {
38471
+ readonly cursor: {
38472
+ readonly type: 'string';
38473
+ };
38474
+ };
38475
+ };
38476
+ readonly output: {
38477
+ readonly encoding: 'application/json';
38478
+ readonly schema: {
38479
+ readonly type: 'object';
38480
+ readonly required: ["feed", "relatedViews"];
38481
+ readonly properties: {
38482
+ readonly cursor: {
38483
+ readonly type: 'string';
38484
+ };
38485
+ readonly feed: {
38486
+ readonly type: 'array';
38487
+ readonly description: 'Activities and activity groups, sorted newest first by indexedAt. Groups and relatedActivity only contain activities from the same page of results. Activities by actors unavailable to the viewer are omitted before grouping. Clients should ignore entry types they do not recognize.';
38488
+ readonly items: {
38489
+ readonly type: 'union';
38490
+ readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityActorGroup", "lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubjectGroup"];
38491
+ };
38492
+ };
38493
+ readonly relatedViews: {
38494
+ readonly type: 'array';
38495
+ readonly description: "Reusable views referenced by feed entries. Views shared across entries appear once to avoid duplication. Always includes the profile of the actor of every activityItem and activityActorGroup, plus the profiles of at most the newest 3 distinct actors in each activitySubjectGroup and in each collection of an activityItem's relatedActivity. Ex: for a subject group of 12 recommendations, only the profiles of the 3 newest recommenders are included; clients can fetch the rest with app.bsky.actor.getProfiles.";
38496
+ readonly items: {
38497
+ readonly type: 'union';
38498
+ readonly refs: ["lex:app.bsky.actor.defs#profileViewBasic"];
38499
+ };
38500
+ };
38501
+ };
38502
+ };
38503
+ };
38504
+ };
38505
+ readonly activityItem: {
38506
+ readonly type: 'object';
38507
+ readonly description: 'A single activity with its hydrated subject. An activity that creates content, such as publishing an article, is always a standalone item when other activities on the same page target that content; those activities are attached as relatedActivity. Activities whose subject is unavailable to the viewer are omitted from the timeline.';
38508
+ readonly required: ["ref", "collection", "indexedAt", "actor", "subject"];
38509
+ readonly properties: {
38510
+ readonly ref: {
38511
+ readonly type: 'ref';
38512
+ readonly ref: 'lex:com.atproto.repo.strongRef';
37894
38513
  };
37895
38514
  readonly collection: {
37896
38515
  readonly type: 'string';
37897
38516
  readonly format: 'nsid';
38517
+ readonly description: 'The collection of the activity record. Ex: site.standard.graph.recommend.';
37898
38518
  };
37899
38519
  readonly indexedAt: {
37900
38520
  readonly type: 'string';
37901
38521
  readonly format: 'datetime';
38522
+ readonly description: "When the activity was indexed. Determines the item's position in the feed, even when relatedActivity contains newer activities.";
37902
38523
  };
37903
- readonly items: {
38524
+ readonly actor: {
38525
+ readonly type: 'string';
38526
+ readonly format: 'did';
38527
+ };
38528
+ readonly subject: {
38529
+ readonly type: 'ref';
38530
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject';
38531
+ };
38532
+ readonly relatedActivity: {
37904
38533
  readonly type: 'array';
38534
+ readonly description: 'All available activities on the same page that target content created by this activity, newest first. Ex: recommendations of a newly published article. Only present on activities that create content. Activities targeting content created on an earlier page appear as their own feed entries instead.';
38535
+ readonly items: {
38536
+ readonly type: 'ref';
38537
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityItemRelatedActivity';
38538
+ };
38539
+ };
38540
+ };
38541
+ };
38542
+ readonly activityItemRelatedActivity: {
38543
+ readonly type: 'object';
38544
+ readonly required: ["ref", "collection", "indexedAt", "actor"];
38545
+ readonly properties: {
38546
+ readonly ref: {
38547
+ readonly type: 'ref';
38548
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38549
+ };
38550
+ readonly collection: {
38551
+ readonly type: 'string';
38552
+ readonly format: 'nsid';
38553
+ };
38554
+ readonly indexedAt: {
38555
+ readonly type: 'string';
38556
+ readonly format: 'datetime';
38557
+ };
38558
+ readonly actor: {
38559
+ readonly type: 'string';
38560
+ readonly format: 'did';
38561
+ };
38562
+ };
38563
+ };
38564
+ readonly activitySubject: {
38565
+ readonly type: 'object';
38566
+ readonly description: 'The hydrated content an activity targets. For activities that create content, such as publishing an article, the subject is the created record itself.';
38567
+ readonly required: ["ref", "view"];
38568
+ readonly properties: {
38569
+ readonly ref: {
38570
+ readonly type: 'ref';
38571
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38572
+ readonly description: 'The record backing the view. Ex: the site.standard.document of an article.';
38573
+ };
38574
+ readonly view: {
38575
+ readonly type: 'union';
38576
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream"];
38577
+ };
38578
+ readonly bskyPostRef: {
38579
+ readonly type: 'ref';
38580
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38581
+ readonly description: 'The Bluesky post associated with the subject, as declared by its author. The referenced post may not be available.';
38582
+ };
38583
+ readonly bskyPostView: {
38584
+ readonly type: 'ref';
38585
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
38586
+ readonly description: 'The hydrated Bluesky post associated with the subject. Omitted when the post is unavailable to the viewer. May reflect a newer version of the post than the CID in bskyPostRef.';
38587
+ };
38588
+ };
38589
+ };
38590
+ readonly activityActorGroup: {
38591
+ readonly type: 'object';
38592
+ readonly description: 'Activities by one actor in one collection close together in time, such as several articles published by the same author. Activities that create content with relatedActivity are never grouped. Positioned in the feed at its newest activity.';
38593
+ readonly required: ["collection", "indexedAt", "actor", "subjects", "activities"];
38594
+ readonly properties: {
38595
+ readonly collection: {
38596
+ readonly type: 'string';
38597
+ readonly format: 'nsid';
38598
+ };
38599
+ readonly indexedAt: {
38600
+ readonly type: 'string';
38601
+ readonly format: 'datetime';
38602
+ readonly description: "When the group's newest activity was indexed.";
38603
+ };
38604
+ readonly actor: {
38605
+ readonly type: 'string';
38606
+ readonly format: 'did';
38607
+ };
38608
+ readonly subjects: {
38609
+ readonly type: 'array';
38610
+ readonly description: "Hydrated subjects of the group's activities, newest first. Currently only the newest subject is included; clients can hydrate the rest from the subject URIs in activities.";
38611
+ readonly minLength: 1;
38612
+ readonly items: {
38613
+ readonly type: 'ref';
38614
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject';
38615
+ };
38616
+ };
38617
+ readonly activities: {
38618
+ readonly type: 'array';
38619
+ readonly description: 'All activities in the group, newest first.';
37905
38620
  readonly minLength: 2;
37906
38621
  readonly items: {
37907
38622
  readonly type: 'ref';
37908
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
38623
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityActorGroupItem';
37909
38624
  };
37910
38625
  };
38626
+ };
38627
+ };
38628
+ readonly activityActorGroupItem: {
38629
+ readonly type: 'object';
38630
+ readonly required: ["ref", "indexedAt", "subject"];
38631
+ readonly properties: {
38632
+ readonly ref: {
38633
+ readonly type: 'ref';
38634
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38635
+ };
38636
+ readonly indexedAt: {
38637
+ readonly type: 'string';
38638
+ readonly format: 'datetime';
38639
+ };
37911
38640
  readonly subject: {
37912
38641
  readonly type: 'string';
37913
38642
  readonly format: 'at-uri';
38643
+ readonly description: 'The content the activity targets. Matches ref.uri for activities that create content.';
38644
+ };
38645
+ };
38646
+ };
38647
+ readonly activitySubjectGroup: {
38648
+ readonly type: 'object';
38649
+ readonly description: 'Activities by at least two actors in one collection targeting the same subject, such as several recommendations of an article published on an earlier page. Positioned in the feed at its newest activity.';
38650
+ readonly required: ["collection", "indexedAt", "subject", "activities"];
38651
+ readonly properties: {
38652
+ readonly collection: {
38653
+ readonly type: 'string';
38654
+ readonly format: 'nsid';
38655
+ };
38656
+ readonly indexedAt: {
38657
+ readonly type: 'string';
38658
+ readonly format: 'datetime';
38659
+ readonly description: "When the group's newest activity was indexed.";
38660
+ };
38661
+ readonly subject: {
38662
+ readonly type: 'ref';
38663
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject';
38664
+ };
38665
+ readonly activities: {
38666
+ readonly type: 'array';
38667
+ readonly description: 'All activities in the group, newest first.';
38668
+ readonly minLength: 2;
38669
+ readonly items: {
38670
+ readonly type: 'ref';
38671
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubjectGroupItem';
38672
+ };
38673
+ };
38674
+ };
38675
+ };
38676
+ readonly activitySubjectGroupItem: {
38677
+ readonly type: 'object';
38678
+ readonly required: ["ref", "indexedAt", "actor"];
38679
+ readonly properties: {
38680
+ readonly ref: {
38681
+ readonly type: 'ref';
38682
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38683
+ };
38684
+ readonly indexedAt: {
38685
+ readonly type: 'string';
38686
+ readonly format: 'datetime';
37914
38687
  };
37915
38688
  readonly actor: {
37916
38689
  readonly type: 'string';
@@ -56318,6 +57091,7 @@ export declare const ids: {
56318
57091
  readonly AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations';
56319
57092
  readonly AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab';
56320
57093
  readonly AppBskyUnspeccedGetAtmosphereTimeline: 'app.bsky.unspecced.getAtmosphereTimeline';
57094
+ readonly AppBskyUnspeccedGetAtmosphereTimelineV2: 'app.bsky.unspecced.getAtmosphereTimelineV2';
56321
57095
  readonly AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig';
56322
57096
  readonly AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks';
56323
57097
  readonly AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton';