@atproto/pds 0.4.138 → 0.4.140
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.
- package/CHANGELOG.md +17 -0
- package/dist/lexicon/index.d.ts +6 -2
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +12 -4
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +536 -88
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +279 -44
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/like.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/feed/like.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/like.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/repost.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/feed/repost.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/repost.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts +61 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +25 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +92 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.js +52 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -0
- package/package.json +6 -6
- package/src/lexicon/index.ts +33 -9
- package/src/lexicon/lexicons.ts +298 -45
- package/src/lexicon/types/app/bsky/feed/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/feed/like.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/repost.ts +1 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +3 -1
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.ts +93 -0
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +160 -0
- package/tests/proxied/__snapshots__/views.test.ts.snap +114 -108
- package/tsconfig.build.tsbuildinfo +1 -1
@@ -5748,6 +5748,14 @@ export declare const schemaDict: {
|
|
5748
5748
|
readonly type: "ref";
|
5749
5749
|
readonly ref: "lex:app.bsky.actor.defs#profileViewBasic";
|
5750
5750
|
};
|
5751
|
+
readonly uri: {
|
5752
|
+
readonly type: "string";
|
5753
|
+
readonly format: "at-uri";
|
5754
|
+
};
|
5755
|
+
readonly cid: {
|
5756
|
+
readonly type: "string";
|
5757
|
+
readonly format: "cid";
|
5758
|
+
};
|
5751
5759
|
readonly indexedAt: {
|
5752
5760
|
readonly type: "string";
|
5753
5761
|
readonly format: "datetime";
|
@@ -6642,47 +6650,6 @@ export declare const schemaDict: {
|
|
6642
6650
|
};
|
6643
6651
|
};
|
6644
6652
|
};
|
6645
|
-
readonly AppBskyFeedGetPosts: {
|
6646
|
-
readonly lexicon: 1;
|
6647
|
-
readonly id: "app.bsky.feed.getPosts";
|
6648
|
-
readonly defs: {
|
6649
|
-
readonly main: {
|
6650
|
-
readonly type: "query";
|
6651
|
-
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
6652
|
-
readonly parameters: {
|
6653
|
-
readonly type: "params";
|
6654
|
-
readonly required: ["uris"];
|
6655
|
-
readonly properties: {
|
6656
|
-
readonly uris: {
|
6657
|
-
readonly type: "array";
|
6658
|
-
readonly description: "List of post AT-URIs to return hydrated views for.";
|
6659
|
-
readonly items: {
|
6660
|
-
readonly type: "string";
|
6661
|
-
readonly format: "at-uri";
|
6662
|
-
};
|
6663
|
-
readonly maxLength: 25;
|
6664
|
-
};
|
6665
|
-
};
|
6666
|
-
};
|
6667
|
-
readonly output: {
|
6668
|
-
readonly encoding: "application/json";
|
6669
|
-
readonly schema: {
|
6670
|
-
readonly type: "object";
|
6671
|
-
readonly required: ["posts"];
|
6672
|
-
readonly properties: {
|
6673
|
-
readonly posts: {
|
6674
|
-
readonly type: "array";
|
6675
|
-
readonly items: {
|
6676
|
-
readonly type: "ref";
|
6677
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
6678
|
-
};
|
6679
|
-
};
|
6680
|
-
};
|
6681
|
-
};
|
6682
|
-
};
|
6683
|
-
};
|
6684
|
-
};
|
6685
|
-
};
|
6686
6653
|
readonly AppBskyFeedGetPostThread: {
|
6687
6654
|
readonly lexicon: 1;
|
6688
6655
|
readonly id: "app.bsky.feed.getPostThread";
|
@@ -6738,6 +6705,47 @@ export declare const schemaDict: {
|
|
6738
6705
|
};
|
6739
6706
|
};
|
6740
6707
|
};
|
6708
|
+
readonly AppBskyFeedGetPosts: {
|
6709
|
+
readonly lexicon: 1;
|
6710
|
+
readonly id: "app.bsky.feed.getPosts";
|
6711
|
+
readonly defs: {
|
6712
|
+
readonly main: {
|
6713
|
+
readonly type: "query";
|
6714
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
6715
|
+
readonly parameters: {
|
6716
|
+
readonly type: "params";
|
6717
|
+
readonly required: ["uris"];
|
6718
|
+
readonly properties: {
|
6719
|
+
readonly uris: {
|
6720
|
+
readonly type: "array";
|
6721
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
6722
|
+
readonly items: {
|
6723
|
+
readonly type: "string";
|
6724
|
+
readonly format: "at-uri";
|
6725
|
+
};
|
6726
|
+
readonly maxLength: 25;
|
6727
|
+
};
|
6728
|
+
};
|
6729
|
+
};
|
6730
|
+
readonly output: {
|
6731
|
+
readonly encoding: "application/json";
|
6732
|
+
readonly schema: {
|
6733
|
+
readonly type: "object";
|
6734
|
+
readonly required: ["posts"];
|
6735
|
+
readonly properties: {
|
6736
|
+
readonly posts: {
|
6737
|
+
readonly type: "array";
|
6738
|
+
readonly items: {
|
6739
|
+
readonly type: "ref";
|
6740
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
6741
|
+
};
|
6742
|
+
};
|
6743
|
+
};
|
6744
|
+
};
|
6745
|
+
};
|
6746
|
+
};
|
6747
|
+
};
|
6748
|
+
};
|
6741
6749
|
readonly AppBskyFeedGetQuotes: {
|
6742
6750
|
readonly lexicon: 1;
|
6743
6751
|
readonly id: "app.bsky.feed.getQuotes";
|
@@ -6972,6 +6980,10 @@ export declare const schemaDict: {
|
|
6972
6980
|
readonly type: "string";
|
6973
6981
|
readonly format: "datetime";
|
6974
6982
|
};
|
6983
|
+
readonly via: {
|
6984
|
+
readonly type: "ref";
|
6985
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
6986
|
+
};
|
6975
6987
|
};
|
6976
6988
|
};
|
6977
6989
|
};
|
@@ -7169,6 +7181,10 @@ export declare const schemaDict: {
|
|
7169
7181
|
readonly type: "string";
|
7170
7182
|
readonly format: "datetime";
|
7171
7183
|
};
|
7184
|
+
readonly via: {
|
7185
|
+
readonly type: "ref";
|
7186
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
7187
|
+
};
|
7172
7188
|
};
|
7173
7189
|
};
|
7174
7190
|
};
|
@@ -7180,7 +7196,7 @@ export declare const schemaDict: {
|
|
7180
7196
|
readonly defs: {
|
7181
7197
|
readonly main: {
|
7182
7198
|
readonly type: "query";
|
7183
|
-
readonly description: "Find posts matching search criteria, returning views of those posts.";
|
7199
|
+
readonly description: "Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.";
|
7184
7200
|
readonly parameters: {
|
7185
7201
|
readonly type: "params";
|
7186
7202
|
readonly required: ["q"];
|
@@ -9133,8 +9149,8 @@ export declare const schemaDict: {
|
|
9133
9149
|
};
|
9134
9150
|
readonly reason: {
|
9135
9151
|
readonly type: "string";
|
9136
|
-
readonly description: "
|
9137
|
-
readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified"];
|
9152
|
+
readonly description: "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.";
|
9153
|
+
readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified", "like-via-repost", "repost-via-repost"];
|
9138
9154
|
};
|
9139
9155
|
readonly reasonSubject: {
|
9140
9156
|
readonly type: "string";
|
@@ -9529,6 +9545,214 @@ export declare const schemaDict: {
|
|
9529
9545
|
};
|
9530
9546
|
};
|
9531
9547
|
};
|
9548
|
+
readonly AppBskyUnspeccedGetPostThreadHiddenV2: {
|
9549
|
+
readonly lexicon: 1;
|
9550
|
+
readonly id: "app.bsky.unspecced.getPostThreadHiddenV2";
|
9551
|
+
readonly defs: {
|
9552
|
+
readonly main: {
|
9553
|
+
readonly type: "query";
|
9554
|
+
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get the hidden posts in a thread. It is based in an anchor post at any depth of the tree, and returns hidden replies (recursive replies, with branching to their replies) below the anchor. It does not include ancestors nor the anchor. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.";
|
9555
|
+
readonly parameters: {
|
9556
|
+
readonly type: "params";
|
9557
|
+
readonly required: ["anchor"];
|
9558
|
+
readonly properties: {
|
9559
|
+
readonly anchor: {
|
9560
|
+
readonly type: "string";
|
9561
|
+
readonly format: "at-uri";
|
9562
|
+
readonly description: "Reference (AT-URI) to post record. This is the anchor post.";
|
9563
|
+
};
|
9564
|
+
};
|
9565
|
+
};
|
9566
|
+
readonly output: {
|
9567
|
+
readonly encoding: "application/json";
|
9568
|
+
readonly schema: {
|
9569
|
+
readonly type: "object";
|
9570
|
+
readonly required: ["thread"];
|
9571
|
+
readonly properties: {
|
9572
|
+
readonly thread: {
|
9573
|
+
readonly type: "array";
|
9574
|
+
readonly description: "A flat list of thread hidden items. The depth of each item is indicated by the depth property inside the item.";
|
9575
|
+
readonly items: {
|
9576
|
+
readonly type: "ref";
|
9577
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem";
|
9578
|
+
};
|
9579
|
+
};
|
9580
|
+
};
|
9581
|
+
};
|
9582
|
+
};
|
9583
|
+
};
|
9584
|
+
readonly threadHiddenItem: {
|
9585
|
+
readonly type: "object";
|
9586
|
+
readonly required: ["uri", "depth", "value"];
|
9587
|
+
readonly properties: {
|
9588
|
+
readonly uri: {
|
9589
|
+
readonly type: "string";
|
9590
|
+
readonly format: "at-uri";
|
9591
|
+
};
|
9592
|
+
readonly depth: {
|
9593
|
+
readonly type: "integer";
|
9594
|
+
readonly description: "The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths.";
|
9595
|
+
};
|
9596
|
+
readonly value: {
|
9597
|
+
readonly type: "union";
|
9598
|
+
readonly refs: ["lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItemPost"];
|
9599
|
+
};
|
9600
|
+
};
|
9601
|
+
};
|
9602
|
+
readonly threadHiddenItemPost: {
|
9603
|
+
readonly type: "object";
|
9604
|
+
readonly required: ["post", "hiddenByThreadgate", "mutedByViewer"];
|
9605
|
+
readonly properties: {
|
9606
|
+
readonly post: {
|
9607
|
+
readonly type: "ref";
|
9608
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
9609
|
+
};
|
9610
|
+
readonly hiddenByThreadgate: {
|
9611
|
+
readonly type: "boolean";
|
9612
|
+
readonly description: "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.";
|
9613
|
+
};
|
9614
|
+
readonly mutedByViewer: {
|
9615
|
+
readonly type: "boolean";
|
9616
|
+
readonly description: "This is by an account muted by the viewer requesting it.";
|
9617
|
+
};
|
9618
|
+
};
|
9619
|
+
};
|
9620
|
+
};
|
9621
|
+
};
|
9622
|
+
readonly AppBskyUnspeccedGetPostThreadV2: {
|
9623
|
+
readonly lexicon: 1;
|
9624
|
+
readonly id: "app.bsky.unspecced.getPostThreadV2";
|
9625
|
+
readonly defs: {
|
9626
|
+
readonly main: {
|
9627
|
+
readonly type: "query";
|
9628
|
+
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get posts in a thread. It is based in an anchor post at any depth of the tree, and returns posts above it (recursively resolving the parent, without further branching to their replies) and below it (recursive replies, with branching to their replies). Does not require auth, but additional metadata and filtering will be applied for authed requests.";
|
9629
|
+
readonly parameters: {
|
9630
|
+
readonly type: "params";
|
9631
|
+
readonly required: ["anchor"];
|
9632
|
+
readonly properties: {
|
9633
|
+
readonly anchor: {
|
9634
|
+
readonly type: "string";
|
9635
|
+
readonly format: "at-uri";
|
9636
|
+
readonly description: "Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.";
|
9637
|
+
};
|
9638
|
+
readonly above: {
|
9639
|
+
readonly type: "boolean";
|
9640
|
+
readonly description: "Whether to include parents above the anchor.";
|
9641
|
+
readonly default: true;
|
9642
|
+
};
|
9643
|
+
readonly below: {
|
9644
|
+
readonly type: "integer";
|
9645
|
+
readonly description: "How many levels of replies to include below the anchor.";
|
9646
|
+
readonly default: 6;
|
9647
|
+
readonly minimum: 0;
|
9648
|
+
readonly maximum: 20;
|
9649
|
+
};
|
9650
|
+
readonly branchingFactor: {
|
9651
|
+
readonly type: "integer";
|
9652
|
+
readonly description: "Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).";
|
9653
|
+
readonly default: 10;
|
9654
|
+
readonly minimum: 0;
|
9655
|
+
readonly maximum: 100;
|
9656
|
+
};
|
9657
|
+
readonly prioritizeFollowedUsers: {
|
9658
|
+
readonly type: "boolean";
|
9659
|
+
readonly description: "Whether to prioritize posts from followed users. It only has effect when the user is authenticated.";
|
9660
|
+
readonly default: false;
|
9661
|
+
};
|
9662
|
+
readonly sort: {
|
9663
|
+
readonly type: "string";
|
9664
|
+
readonly description: "Sorting for the thread replies.";
|
9665
|
+
readonly knownValues: ["newest", "oldest", "top"];
|
9666
|
+
readonly default: "oldest";
|
9667
|
+
};
|
9668
|
+
};
|
9669
|
+
};
|
9670
|
+
readonly output: {
|
9671
|
+
readonly encoding: "application/json";
|
9672
|
+
readonly schema: {
|
9673
|
+
readonly type: "object";
|
9674
|
+
readonly required: ["thread", "hasHiddenReplies"];
|
9675
|
+
readonly properties: {
|
9676
|
+
readonly thread: {
|
9677
|
+
readonly type: "array";
|
9678
|
+
readonly description: "A flat list of thread items. The depth of each item is indicated by the depth property inside the item.";
|
9679
|
+
readonly items: {
|
9680
|
+
readonly type: "ref";
|
9681
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadV2#threadItem";
|
9682
|
+
};
|
9683
|
+
};
|
9684
|
+
readonly threadgate: {
|
9685
|
+
readonly type: "ref";
|
9686
|
+
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
9687
|
+
};
|
9688
|
+
readonly hasHiddenReplies: {
|
9689
|
+
readonly type: "boolean";
|
9690
|
+
readonly description: "Whether this thread has hidden replies. If true, a call can be made to the `getPostThreadHiddenV2` endpoint to retrieve them.";
|
9691
|
+
};
|
9692
|
+
};
|
9693
|
+
};
|
9694
|
+
};
|
9695
|
+
};
|
9696
|
+
readonly threadItem: {
|
9697
|
+
readonly type: "object";
|
9698
|
+
readonly required: ["uri", "depth", "value"];
|
9699
|
+
readonly properties: {
|
9700
|
+
readonly uri: {
|
9701
|
+
readonly type: "string";
|
9702
|
+
readonly format: "at-uri";
|
9703
|
+
};
|
9704
|
+
readonly depth: {
|
9705
|
+
readonly type: "integer";
|
9706
|
+
readonly description: "The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths.";
|
9707
|
+
};
|
9708
|
+
readonly value: {
|
9709
|
+
readonly type: "union";
|
9710
|
+
readonly refs: ["lex:app.bsky.unspecced.getPostThreadV2#threadItemPost", "lex:app.bsky.unspecced.getPostThreadV2#threadItemNoUnauthenticated", "lex:app.bsky.unspecced.getPostThreadV2#threadItemNotFound", "lex:app.bsky.unspecced.getPostThreadV2#threadItemBlocked"];
|
9711
|
+
};
|
9712
|
+
};
|
9713
|
+
};
|
9714
|
+
readonly threadItemPost: {
|
9715
|
+
readonly type: "object";
|
9716
|
+
readonly required: ["post", "moreParents", "moreReplies", "opThread"];
|
9717
|
+
readonly properties: {
|
9718
|
+
readonly post: {
|
9719
|
+
readonly type: "ref";
|
9720
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
9721
|
+
};
|
9722
|
+
readonly moreParents: {
|
9723
|
+
readonly type: "boolean";
|
9724
|
+
readonly description: "This post has more parents that were not present in the response. This is just a boolean, without the number of parents.";
|
9725
|
+
};
|
9726
|
+
readonly moreReplies: {
|
9727
|
+
readonly type: "integer";
|
9728
|
+
readonly description: "This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.";
|
9729
|
+
};
|
9730
|
+
readonly opThread: {
|
9731
|
+
readonly type: "boolean";
|
9732
|
+
readonly description: "This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.";
|
9733
|
+
};
|
9734
|
+
};
|
9735
|
+
};
|
9736
|
+
readonly threadItemNoUnauthenticated: {
|
9737
|
+
readonly type: "object";
|
9738
|
+
readonly properties: {};
|
9739
|
+
};
|
9740
|
+
readonly threadItemNotFound: {
|
9741
|
+
readonly type: "object";
|
9742
|
+
readonly properties: {};
|
9743
|
+
};
|
9744
|
+
readonly threadItemBlocked: {
|
9745
|
+
readonly type: "object";
|
9746
|
+
readonly required: ["author"];
|
9747
|
+
readonly properties: {
|
9748
|
+
readonly author: {
|
9749
|
+
readonly type: "ref";
|
9750
|
+
readonly ref: "lex:app.bsky.feed.defs#blockedAuthor";
|
9751
|
+
};
|
9752
|
+
};
|
9753
|
+
};
|
9754
|
+
};
|
9755
|
+
};
|
9532
9756
|
readonly AppBskyUnspeccedGetSuggestedFeeds: {
|
9533
9757
|
readonly lexicon: 1;
|
9534
9758
|
readonly id: "app.bsky.unspecced.getSuggestedFeeds";
|
@@ -20531,6 +20755,14 @@ export declare const schemas: ({
|
|
20531
20755
|
readonly type: "ref";
|
20532
20756
|
readonly ref: "lex:app.bsky.actor.defs#profileViewBasic";
|
20533
20757
|
};
|
20758
|
+
readonly uri: {
|
20759
|
+
readonly type: "string";
|
20760
|
+
readonly format: "at-uri";
|
20761
|
+
};
|
20762
|
+
readonly cid: {
|
20763
|
+
readonly type: "string";
|
20764
|
+
readonly format: "cid";
|
20765
|
+
};
|
20534
20766
|
readonly indexedAt: {
|
20535
20767
|
readonly type: "string";
|
20536
20768
|
readonly format: "datetime";
|
@@ -21413,46 +21645,6 @@ export declare const schemas: ({
|
|
21413
21645
|
}];
|
21414
21646
|
};
|
21415
21647
|
};
|
21416
|
-
} | {
|
21417
|
-
readonly lexicon: 1;
|
21418
|
-
readonly id: "app.bsky.feed.getPosts";
|
21419
|
-
readonly defs: {
|
21420
|
-
readonly main: {
|
21421
|
-
readonly type: "query";
|
21422
|
-
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
21423
|
-
readonly parameters: {
|
21424
|
-
readonly type: "params";
|
21425
|
-
readonly required: ["uris"];
|
21426
|
-
readonly properties: {
|
21427
|
-
readonly uris: {
|
21428
|
-
readonly type: "array";
|
21429
|
-
readonly description: "List of post AT-URIs to return hydrated views for.";
|
21430
|
-
readonly items: {
|
21431
|
-
readonly type: "string";
|
21432
|
-
readonly format: "at-uri";
|
21433
|
-
};
|
21434
|
-
readonly maxLength: 25;
|
21435
|
-
};
|
21436
|
-
};
|
21437
|
-
};
|
21438
|
-
readonly output: {
|
21439
|
-
readonly encoding: "application/json";
|
21440
|
-
readonly schema: {
|
21441
|
-
readonly type: "object";
|
21442
|
-
readonly required: ["posts"];
|
21443
|
-
readonly properties: {
|
21444
|
-
readonly posts: {
|
21445
|
-
readonly type: "array";
|
21446
|
-
readonly items: {
|
21447
|
-
readonly type: "ref";
|
21448
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
21449
|
-
};
|
21450
|
-
};
|
21451
|
-
};
|
21452
|
-
};
|
21453
|
-
};
|
21454
|
-
};
|
21455
|
-
};
|
21456
21648
|
} | {
|
21457
21649
|
readonly lexicon: 1;
|
21458
21650
|
readonly id: "app.bsky.feed.getPostThread";
|
@@ -21507,6 +21699,46 @@ export declare const schemas: ({
|
|
21507
21699
|
}];
|
21508
21700
|
};
|
21509
21701
|
};
|
21702
|
+
} | {
|
21703
|
+
readonly lexicon: 1;
|
21704
|
+
readonly id: "app.bsky.feed.getPosts";
|
21705
|
+
readonly defs: {
|
21706
|
+
readonly main: {
|
21707
|
+
readonly type: "query";
|
21708
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
21709
|
+
readonly parameters: {
|
21710
|
+
readonly type: "params";
|
21711
|
+
readonly required: ["uris"];
|
21712
|
+
readonly properties: {
|
21713
|
+
readonly uris: {
|
21714
|
+
readonly type: "array";
|
21715
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
21716
|
+
readonly items: {
|
21717
|
+
readonly type: "string";
|
21718
|
+
readonly format: "at-uri";
|
21719
|
+
};
|
21720
|
+
readonly maxLength: 25;
|
21721
|
+
};
|
21722
|
+
};
|
21723
|
+
};
|
21724
|
+
readonly output: {
|
21725
|
+
readonly encoding: "application/json";
|
21726
|
+
readonly schema: {
|
21727
|
+
readonly type: "object";
|
21728
|
+
readonly required: ["posts"];
|
21729
|
+
readonly properties: {
|
21730
|
+
readonly posts: {
|
21731
|
+
readonly type: "array";
|
21732
|
+
readonly items: {
|
21733
|
+
readonly type: "ref";
|
21734
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
21735
|
+
};
|
21736
|
+
};
|
21737
|
+
};
|
21738
|
+
};
|
21739
|
+
};
|
21740
|
+
};
|
21741
|
+
};
|
21510
21742
|
} | {
|
21511
21743
|
readonly lexicon: 1;
|
21512
21744
|
readonly id: "app.bsky.feed.getQuotes";
|
@@ -21737,6 +21969,10 @@ export declare const schemas: ({
|
|
21737
21969
|
readonly type: "string";
|
21738
21970
|
readonly format: "datetime";
|
21739
21971
|
};
|
21972
|
+
readonly via: {
|
21973
|
+
readonly type: "ref";
|
21974
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
21975
|
+
};
|
21740
21976
|
};
|
21741
21977
|
};
|
21742
21978
|
};
|
@@ -21931,6 +22167,10 @@ export declare const schemas: ({
|
|
21931
22167
|
readonly type: "string";
|
21932
22168
|
readonly format: "datetime";
|
21933
22169
|
};
|
22170
|
+
readonly via: {
|
22171
|
+
readonly type: "ref";
|
22172
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
22173
|
+
};
|
21934
22174
|
};
|
21935
22175
|
};
|
21936
22176
|
};
|
@@ -21941,7 +22181,7 @@ export declare const schemas: ({
|
|
21941
22181
|
readonly defs: {
|
21942
22182
|
readonly main: {
|
21943
22183
|
readonly type: "query";
|
21944
|
-
readonly description: "Find posts matching search criteria, returning views of those posts.";
|
22184
|
+
readonly description: "Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.";
|
21945
22185
|
readonly parameters: {
|
21946
22186
|
readonly type: "params";
|
21947
22187
|
readonly required: ["q"];
|
@@ -23857,8 +24097,8 @@ export declare const schemas: ({
|
|
23857
24097
|
};
|
23858
24098
|
readonly reason: {
|
23859
24099
|
readonly type: "string";
|
23860
|
-
readonly description: "
|
23861
|
-
readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified"];
|
24100
|
+
readonly description: "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.";
|
24101
|
+
readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified", "like-via-repost", "repost-via-repost"];
|
23862
24102
|
};
|
23863
24103
|
readonly reasonSubject: {
|
23864
24104
|
readonly type: "string";
|
@@ -24245,6 +24485,212 @@ export declare const schemas: ({
|
|
24245
24485
|
};
|
24246
24486
|
};
|
24247
24487
|
};
|
24488
|
+
} | {
|
24489
|
+
readonly lexicon: 1;
|
24490
|
+
readonly id: "app.bsky.unspecced.getPostThreadHiddenV2";
|
24491
|
+
readonly defs: {
|
24492
|
+
readonly main: {
|
24493
|
+
readonly type: "query";
|
24494
|
+
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get the hidden posts in a thread. It is based in an anchor post at any depth of the tree, and returns hidden replies (recursive replies, with branching to their replies) below the anchor. It does not include ancestors nor the anchor. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.";
|
24495
|
+
readonly parameters: {
|
24496
|
+
readonly type: "params";
|
24497
|
+
readonly required: ["anchor"];
|
24498
|
+
readonly properties: {
|
24499
|
+
readonly anchor: {
|
24500
|
+
readonly type: "string";
|
24501
|
+
readonly format: "at-uri";
|
24502
|
+
readonly description: "Reference (AT-URI) to post record. This is the anchor post.";
|
24503
|
+
};
|
24504
|
+
};
|
24505
|
+
};
|
24506
|
+
readonly output: {
|
24507
|
+
readonly encoding: "application/json";
|
24508
|
+
readonly schema: {
|
24509
|
+
readonly type: "object";
|
24510
|
+
readonly required: ["thread"];
|
24511
|
+
readonly properties: {
|
24512
|
+
readonly thread: {
|
24513
|
+
readonly type: "array";
|
24514
|
+
readonly description: "A flat list of thread hidden items. The depth of each item is indicated by the depth property inside the item.";
|
24515
|
+
readonly items: {
|
24516
|
+
readonly type: "ref";
|
24517
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem";
|
24518
|
+
};
|
24519
|
+
};
|
24520
|
+
};
|
24521
|
+
};
|
24522
|
+
};
|
24523
|
+
};
|
24524
|
+
readonly threadHiddenItem: {
|
24525
|
+
readonly type: "object";
|
24526
|
+
readonly required: ["uri", "depth", "value"];
|
24527
|
+
readonly properties: {
|
24528
|
+
readonly uri: {
|
24529
|
+
readonly type: "string";
|
24530
|
+
readonly format: "at-uri";
|
24531
|
+
};
|
24532
|
+
readonly depth: {
|
24533
|
+
readonly type: "integer";
|
24534
|
+
readonly description: "The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths.";
|
24535
|
+
};
|
24536
|
+
readonly value: {
|
24537
|
+
readonly type: "union";
|
24538
|
+
readonly refs: ["lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItemPost"];
|
24539
|
+
};
|
24540
|
+
};
|
24541
|
+
};
|
24542
|
+
readonly threadHiddenItemPost: {
|
24543
|
+
readonly type: "object";
|
24544
|
+
readonly required: ["post", "hiddenByThreadgate", "mutedByViewer"];
|
24545
|
+
readonly properties: {
|
24546
|
+
readonly post: {
|
24547
|
+
readonly type: "ref";
|
24548
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
24549
|
+
};
|
24550
|
+
readonly hiddenByThreadgate: {
|
24551
|
+
readonly type: "boolean";
|
24552
|
+
readonly description: "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.";
|
24553
|
+
};
|
24554
|
+
readonly mutedByViewer: {
|
24555
|
+
readonly type: "boolean";
|
24556
|
+
readonly description: "This is by an account muted by the viewer requesting it.";
|
24557
|
+
};
|
24558
|
+
};
|
24559
|
+
};
|
24560
|
+
};
|
24561
|
+
} | {
|
24562
|
+
readonly lexicon: 1;
|
24563
|
+
readonly id: "app.bsky.unspecced.getPostThreadV2";
|
24564
|
+
readonly defs: {
|
24565
|
+
readonly main: {
|
24566
|
+
readonly type: "query";
|
24567
|
+
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get posts in a thread. It is based in an anchor post at any depth of the tree, and returns posts above it (recursively resolving the parent, without further branching to their replies) and below it (recursive replies, with branching to their replies). Does not require auth, but additional metadata and filtering will be applied for authed requests.";
|
24568
|
+
readonly parameters: {
|
24569
|
+
readonly type: "params";
|
24570
|
+
readonly required: ["anchor"];
|
24571
|
+
readonly properties: {
|
24572
|
+
readonly anchor: {
|
24573
|
+
readonly type: "string";
|
24574
|
+
readonly format: "at-uri";
|
24575
|
+
readonly description: "Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.";
|
24576
|
+
};
|
24577
|
+
readonly above: {
|
24578
|
+
readonly type: "boolean";
|
24579
|
+
readonly description: "Whether to include parents above the anchor.";
|
24580
|
+
readonly default: true;
|
24581
|
+
};
|
24582
|
+
readonly below: {
|
24583
|
+
readonly type: "integer";
|
24584
|
+
readonly description: "How many levels of replies to include below the anchor.";
|
24585
|
+
readonly default: 6;
|
24586
|
+
readonly minimum: 0;
|
24587
|
+
readonly maximum: 20;
|
24588
|
+
};
|
24589
|
+
readonly branchingFactor: {
|
24590
|
+
readonly type: "integer";
|
24591
|
+
readonly description: "Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).";
|
24592
|
+
readonly default: 10;
|
24593
|
+
readonly minimum: 0;
|
24594
|
+
readonly maximum: 100;
|
24595
|
+
};
|
24596
|
+
readonly prioritizeFollowedUsers: {
|
24597
|
+
readonly type: "boolean";
|
24598
|
+
readonly description: "Whether to prioritize posts from followed users. It only has effect when the user is authenticated.";
|
24599
|
+
readonly default: false;
|
24600
|
+
};
|
24601
|
+
readonly sort: {
|
24602
|
+
readonly type: "string";
|
24603
|
+
readonly description: "Sorting for the thread replies.";
|
24604
|
+
readonly knownValues: ["newest", "oldest", "top"];
|
24605
|
+
readonly default: "oldest";
|
24606
|
+
};
|
24607
|
+
};
|
24608
|
+
};
|
24609
|
+
readonly output: {
|
24610
|
+
readonly encoding: "application/json";
|
24611
|
+
readonly schema: {
|
24612
|
+
readonly type: "object";
|
24613
|
+
readonly required: ["thread", "hasHiddenReplies"];
|
24614
|
+
readonly properties: {
|
24615
|
+
readonly thread: {
|
24616
|
+
readonly type: "array";
|
24617
|
+
readonly description: "A flat list of thread items. The depth of each item is indicated by the depth property inside the item.";
|
24618
|
+
readonly items: {
|
24619
|
+
readonly type: "ref";
|
24620
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadV2#threadItem";
|
24621
|
+
};
|
24622
|
+
};
|
24623
|
+
readonly threadgate: {
|
24624
|
+
readonly type: "ref";
|
24625
|
+
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
24626
|
+
};
|
24627
|
+
readonly hasHiddenReplies: {
|
24628
|
+
readonly type: "boolean";
|
24629
|
+
readonly description: "Whether this thread has hidden replies. If true, a call can be made to the `getPostThreadHiddenV2` endpoint to retrieve them.";
|
24630
|
+
};
|
24631
|
+
};
|
24632
|
+
};
|
24633
|
+
};
|
24634
|
+
};
|
24635
|
+
readonly threadItem: {
|
24636
|
+
readonly type: "object";
|
24637
|
+
readonly required: ["uri", "depth", "value"];
|
24638
|
+
readonly properties: {
|
24639
|
+
readonly uri: {
|
24640
|
+
readonly type: "string";
|
24641
|
+
readonly format: "at-uri";
|
24642
|
+
};
|
24643
|
+
readonly depth: {
|
24644
|
+
readonly type: "integer";
|
24645
|
+
readonly description: "The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths.";
|
24646
|
+
};
|
24647
|
+
readonly value: {
|
24648
|
+
readonly type: "union";
|
24649
|
+
readonly refs: ["lex:app.bsky.unspecced.getPostThreadV2#threadItemPost", "lex:app.bsky.unspecced.getPostThreadV2#threadItemNoUnauthenticated", "lex:app.bsky.unspecced.getPostThreadV2#threadItemNotFound", "lex:app.bsky.unspecced.getPostThreadV2#threadItemBlocked"];
|
24650
|
+
};
|
24651
|
+
};
|
24652
|
+
};
|
24653
|
+
readonly threadItemPost: {
|
24654
|
+
readonly type: "object";
|
24655
|
+
readonly required: ["post", "moreParents", "moreReplies", "opThread"];
|
24656
|
+
readonly properties: {
|
24657
|
+
readonly post: {
|
24658
|
+
readonly type: "ref";
|
24659
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
24660
|
+
};
|
24661
|
+
readonly moreParents: {
|
24662
|
+
readonly type: "boolean";
|
24663
|
+
readonly description: "This post has more parents that were not present in the response. This is just a boolean, without the number of parents.";
|
24664
|
+
};
|
24665
|
+
readonly moreReplies: {
|
24666
|
+
readonly type: "integer";
|
24667
|
+
readonly description: "This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.";
|
24668
|
+
};
|
24669
|
+
readonly opThread: {
|
24670
|
+
readonly type: "boolean";
|
24671
|
+
readonly description: "This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.";
|
24672
|
+
};
|
24673
|
+
};
|
24674
|
+
};
|
24675
|
+
readonly threadItemNoUnauthenticated: {
|
24676
|
+
readonly type: "object";
|
24677
|
+
readonly properties: {};
|
24678
|
+
};
|
24679
|
+
readonly threadItemNotFound: {
|
24680
|
+
readonly type: "object";
|
24681
|
+
readonly properties: {};
|
24682
|
+
};
|
24683
|
+
readonly threadItemBlocked: {
|
24684
|
+
readonly type: "object";
|
24685
|
+
readonly required: ["author"];
|
24686
|
+
readonly properties: {
|
24687
|
+
readonly author: {
|
24688
|
+
readonly type: "ref";
|
24689
|
+
readonly ref: "lex:app.bsky.feed.defs#blockedAuthor";
|
24690
|
+
};
|
24691
|
+
};
|
24692
|
+
};
|
24693
|
+
};
|
24248
24694
|
} | {
|
24249
24695
|
readonly lexicon: 1;
|
24250
24696
|
readonly id: "app.bsky.unspecced.getSuggestedFeeds";
|
@@ -29650,8 +30096,8 @@ export declare const ids: {
|
|
29650
30096
|
readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
|
29651
30097
|
readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
|
29652
30098
|
readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
|
29653
|
-
readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
|
29654
30099
|
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
30100
|
+
readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
|
29655
30101
|
readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
|
29656
30102
|
readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
|
29657
30103
|
readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
|
@@ -29705,6 +30151,8 @@ export declare const ids: {
|
|
29705
30151
|
readonly AppBskyUnspeccedDefs: "app.bsky.unspecced.defs";
|
29706
30152
|
readonly AppBskyUnspeccedGetConfig: "app.bsky.unspecced.getConfig";
|
29707
30153
|
readonly AppBskyUnspeccedGetPopularFeedGenerators: "app.bsky.unspecced.getPopularFeedGenerators";
|
30154
|
+
readonly AppBskyUnspeccedGetPostThreadHiddenV2: "app.bsky.unspecced.getPostThreadHiddenV2";
|
30155
|
+
readonly AppBskyUnspeccedGetPostThreadV2: "app.bsky.unspecced.getPostThreadV2";
|
29708
30156
|
readonly AppBskyUnspeccedGetSuggestedFeeds: "app.bsky.unspecced.getSuggestedFeeds";
|
29709
30157
|
readonly AppBskyUnspeccedGetSuggestedFeedsSkeleton: "app.bsky.unspecced.getSuggestedFeedsSkeleton";
|
29710
30158
|
readonly AppBskyUnspeccedGetSuggestedStarterPacks: "app.bsky.unspecced.getSuggestedStarterPacks";
|