@atproto/api 0.15.11 → 0.15.13
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 +12 -0
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -9
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +200 -220
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +112 -117
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +33 -0
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.js +36 -0
- package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts +40 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js +20 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts +4 -31
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.js +0 -36
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +16 -16
- package/src/client/lexicons.ts +119 -124
- package/src/client/types/app/bsky/unspecced/defs.ts +73 -0
- package/src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts +64 -0
- package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +7 -74
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts +0 -50
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -29
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
- package/src/client/types/app/bsky/unspecced/getPostThreadHiddenV2.ts +0 -83
|
@@ -6650,6 +6650,47 @@ export declare const schemaDict: {
|
|
|
6650
6650
|
};
|
|
6651
6651
|
};
|
|
6652
6652
|
};
|
|
6653
|
+
readonly AppBskyFeedGetPosts: {
|
|
6654
|
+
readonly lexicon: 1;
|
|
6655
|
+
readonly id: "app.bsky.feed.getPosts";
|
|
6656
|
+
readonly defs: {
|
|
6657
|
+
readonly main: {
|
|
6658
|
+
readonly type: "query";
|
|
6659
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
6660
|
+
readonly parameters: {
|
|
6661
|
+
readonly type: "params";
|
|
6662
|
+
readonly required: ["uris"];
|
|
6663
|
+
readonly properties: {
|
|
6664
|
+
readonly uris: {
|
|
6665
|
+
readonly type: "array";
|
|
6666
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
6667
|
+
readonly items: {
|
|
6668
|
+
readonly type: "string";
|
|
6669
|
+
readonly format: "at-uri";
|
|
6670
|
+
};
|
|
6671
|
+
readonly maxLength: 25;
|
|
6672
|
+
};
|
|
6673
|
+
};
|
|
6674
|
+
};
|
|
6675
|
+
readonly output: {
|
|
6676
|
+
readonly encoding: "application/json";
|
|
6677
|
+
readonly schema: {
|
|
6678
|
+
readonly type: "object";
|
|
6679
|
+
readonly required: ["posts"];
|
|
6680
|
+
readonly properties: {
|
|
6681
|
+
readonly posts: {
|
|
6682
|
+
readonly type: "array";
|
|
6683
|
+
readonly items: {
|
|
6684
|
+
readonly type: "ref";
|
|
6685
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
6686
|
+
};
|
|
6687
|
+
};
|
|
6688
|
+
};
|
|
6689
|
+
};
|
|
6690
|
+
};
|
|
6691
|
+
};
|
|
6692
|
+
};
|
|
6693
|
+
};
|
|
6653
6694
|
readonly AppBskyFeedGetPostThread: {
|
|
6654
6695
|
readonly lexicon: 1;
|
|
6655
6696
|
readonly id: "app.bsky.feed.getPostThread";
|
|
@@ -6705,47 +6746,6 @@ export declare const schemaDict: {
|
|
|
6705
6746
|
};
|
|
6706
6747
|
};
|
|
6707
6748
|
};
|
|
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
|
-
};
|
|
6749
6749
|
readonly AppBskyFeedGetQuotes: {
|
|
6750
6750
|
readonly lexicon: 1;
|
|
6751
6751
|
readonly id: "app.bsky.feed.getQuotes";
|
|
@@ -9452,6 +9452,54 @@ export declare const schemaDict: {
|
|
|
9452
9452
|
};
|
|
9453
9453
|
};
|
|
9454
9454
|
};
|
|
9455
|
+
readonly threadItemPost: {
|
|
9456
|
+
readonly type: "object";
|
|
9457
|
+
readonly required: ["post", "moreParents", "moreReplies", "opThread", "hiddenByThreadgate", "mutedByViewer"];
|
|
9458
|
+
readonly properties: {
|
|
9459
|
+
readonly post: {
|
|
9460
|
+
readonly type: "ref";
|
|
9461
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
9462
|
+
};
|
|
9463
|
+
readonly moreParents: {
|
|
9464
|
+
readonly type: "boolean";
|
|
9465
|
+
readonly description: "This post has more parents that were not present in the response. This is just a boolean, without the number of parents.";
|
|
9466
|
+
};
|
|
9467
|
+
readonly moreReplies: {
|
|
9468
|
+
readonly type: "integer";
|
|
9469
|
+
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.";
|
|
9470
|
+
};
|
|
9471
|
+
readonly opThread: {
|
|
9472
|
+
readonly type: "boolean";
|
|
9473
|
+
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.";
|
|
9474
|
+
};
|
|
9475
|
+
readonly hiddenByThreadgate: {
|
|
9476
|
+
readonly type: "boolean";
|
|
9477
|
+
readonly description: "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.";
|
|
9478
|
+
};
|
|
9479
|
+
readonly mutedByViewer: {
|
|
9480
|
+
readonly type: "boolean";
|
|
9481
|
+
readonly description: "This is by an account muted by the viewer requesting it.";
|
|
9482
|
+
};
|
|
9483
|
+
};
|
|
9484
|
+
};
|
|
9485
|
+
readonly threadItemNoUnauthenticated: {
|
|
9486
|
+
readonly type: "object";
|
|
9487
|
+
readonly properties: {};
|
|
9488
|
+
};
|
|
9489
|
+
readonly threadItemNotFound: {
|
|
9490
|
+
readonly type: "object";
|
|
9491
|
+
readonly properties: {};
|
|
9492
|
+
};
|
|
9493
|
+
readonly threadItemBlocked: {
|
|
9494
|
+
readonly type: "object";
|
|
9495
|
+
readonly required: ["author"];
|
|
9496
|
+
readonly properties: {
|
|
9497
|
+
readonly author: {
|
|
9498
|
+
readonly type: "ref";
|
|
9499
|
+
readonly ref: "lex:app.bsky.feed.defs#blockedAuthor";
|
|
9500
|
+
};
|
|
9501
|
+
};
|
|
9502
|
+
};
|
|
9455
9503
|
};
|
|
9456
9504
|
};
|
|
9457
9505
|
readonly AppBskyUnspeccedGetConfig: {
|
|
@@ -9545,13 +9593,13 @@ export declare const schemaDict: {
|
|
|
9545
9593
|
};
|
|
9546
9594
|
};
|
|
9547
9595
|
};
|
|
9548
|
-
readonly
|
|
9596
|
+
readonly AppBskyUnspeccedGetPostThreadOtherV2: {
|
|
9549
9597
|
readonly lexicon: 1;
|
|
9550
|
-
readonly id: "app.bsky.unspecced.
|
|
9598
|
+
readonly id: "app.bsky.unspecced.getPostThreadOtherV2";
|
|
9551
9599
|
readonly defs: {
|
|
9552
9600
|
readonly main: {
|
|
9553
9601
|
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
|
|
9602
|
+
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 additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. 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
9603
|
readonly parameters: {
|
|
9556
9604
|
readonly type: "params";
|
|
9557
9605
|
readonly required: ["anchor"];
|
|
@@ -9576,17 +9624,17 @@ export declare const schemaDict: {
|
|
|
9576
9624
|
readonly properties: {
|
|
9577
9625
|
readonly thread: {
|
|
9578
9626
|
readonly type: "array";
|
|
9579
|
-
readonly description: "A flat list of thread
|
|
9627
|
+
readonly description: "A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.";
|
|
9580
9628
|
readonly items: {
|
|
9581
9629
|
readonly type: "ref";
|
|
9582
|
-
readonly ref: "lex:app.bsky.unspecced.
|
|
9630
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem";
|
|
9583
9631
|
};
|
|
9584
9632
|
};
|
|
9585
9633
|
};
|
|
9586
9634
|
};
|
|
9587
9635
|
};
|
|
9588
9636
|
};
|
|
9589
|
-
readonly
|
|
9637
|
+
readonly threadItem: {
|
|
9590
9638
|
readonly type: "object";
|
|
9591
9639
|
readonly required: ["uri", "depth", "value"];
|
|
9592
9640
|
readonly properties: {
|
|
@@ -9600,25 +9648,7 @@ export declare const schemaDict: {
|
|
|
9600
9648
|
};
|
|
9601
9649
|
readonly value: {
|
|
9602
9650
|
readonly type: "union";
|
|
9603
|
-
readonly refs: ["lex:app.bsky.unspecced.
|
|
9604
|
-
};
|
|
9605
|
-
};
|
|
9606
|
-
};
|
|
9607
|
-
readonly threadHiddenItemPost: {
|
|
9608
|
-
readonly type: "object";
|
|
9609
|
-
readonly required: ["post", "hiddenByThreadgate", "mutedByViewer"];
|
|
9610
|
-
readonly properties: {
|
|
9611
|
-
readonly post: {
|
|
9612
|
-
readonly type: "ref";
|
|
9613
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
9614
|
-
};
|
|
9615
|
-
readonly hiddenByThreadgate: {
|
|
9616
|
-
readonly type: "boolean";
|
|
9617
|
-
readonly description: "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.";
|
|
9618
|
-
};
|
|
9619
|
-
readonly mutedByViewer: {
|
|
9620
|
-
readonly type: "boolean";
|
|
9621
|
-
readonly description: "This is by an account muted by the viewer requesting it.";
|
|
9651
|
+
readonly refs: ["lex:app.bsky.unspecced.defs#threadItemPost"];
|
|
9622
9652
|
};
|
|
9623
9653
|
};
|
|
9624
9654
|
};
|
|
@@ -9676,7 +9706,7 @@ export declare const schemaDict: {
|
|
|
9676
9706
|
readonly encoding: "application/json";
|
|
9677
9707
|
readonly schema: {
|
|
9678
9708
|
readonly type: "object";
|
|
9679
|
-
readonly required: ["thread", "
|
|
9709
|
+
readonly required: ["thread", "hasOtherReplies"];
|
|
9680
9710
|
readonly properties: {
|
|
9681
9711
|
readonly thread: {
|
|
9682
9712
|
readonly type: "array";
|
|
@@ -9690,9 +9720,9 @@ export declare const schemaDict: {
|
|
|
9690
9720
|
readonly type: "ref";
|
|
9691
9721
|
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
|
9692
9722
|
};
|
|
9693
|
-
readonly
|
|
9723
|
+
readonly hasOtherReplies: {
|
|
9694
9724
|
readonly type: "boolean";
|
|
9695
|
-
readonly description: "Whether this thread has
|
|
9725
|
+
readonly description: "Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.";
|
|
9696
9726
|
};
|
|
9697
9727
|
};
|
|
9698
9728
|
};
|
|
@@ -9712,47 +9742,7 @@ export declare const schemaDict: {
|
|
|
9712
9742
|
};
|
|
9713
9743
|
readonly value: {
|
|
9714
9744
|
readonly type: "union";
|
|
9715
|
-
readonly refs: ["lex:app.bsky.unspecced.
|
|
9716
|
-
};
|
|
9717
|
-
};
|
|
9718
|
-
};
|
|
9719
|
-
readonly threadItemPost: {
|
|
9720
|
-
readonly type: "object";
|
|
9721
|
-
readonly required: ["post", "moreParents", "moreReplies", "opThread"];
|
|
9722
|
-
readonly properties: {
|
|
9723
|
-
readonly post: {
|
|
9724
|
-
readonly type: "ref";
|
|
9725
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
9726
|
-
};
|
|
9727
|
-
readonly moreParents: {
|
|
9728
|
-
readonly type: "boolean";
|
|
9729
|
-
readonly description: "This post has more parents that were not present in the response. This is just a boolean, without the number of parents.";
|
|
9730
|
-
};
|
|
9731
|
-
readonly moreReplies: {
|
|
9732
|
-
readonly type: "integer";
|
|
9733
|
-
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.";
|
|
9734
|
-
};
|
|
9735
|
-
readonly opThread: {
|
|
9736
|
-
readonly type: "boolean";
|
|
9737
|
-
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.";
|
|
9738
|
-
};
|
|
9739
|
-
};
|
|
9740
|
-
};
|
|
9741
|
-
readonly threadItemNoUnauthenticated: {
|
|
9742
|
-
readonly type: "object";
|
|
9743
|
-
readonly properties: {};
|
|
9744
|
-
};
|
|
9745
|
-
readonly threadItemNotFound: {
|
|
9746
|
-
readonly type: "object";
|
|
9747
|
-
readonly properties: {};
|
|
9748
|
-
};
|
|
9749
|
-
readonly threadItemBlocked: {
|
|
9750
|
-
readonly type: "object";
|
|
9751
|
-
readonly required: ["author"];
|
|
9752
|
-
readonly properties: {
|
|
9753
|
-
readonly author: {
|
|
9754
|
-
readonly type: "ref";
|
|
9755
|
-
readonly ref: "lex:app.bsky.feed.defs#blockedAuthor";
|
|
9745
|
+
readonly refs: ["lex:app.bsky.unspecced.defs#threadItemPost", "lex:app.bsky.unspecced.defs#threadItemNoUnauthenticated", "lex:app.bsky.unspecced.defs#threadItemNotFound", "lex:app.bsky.unspecced.defs#threadItemBlocked"];
|
|
9756
9746
|
};
|
|
9757
9747
|
};
|
|
9758
9748
|
};
|
|
@@ -21651,6 +21641,46 @@ export declare const schemas: ({
|
|
|
21651
21641
|
}];
|
|
21652
21642
|
};
|
|
21653
21643
|
};
|
|
21644
|
+
} | {
|
|
21645
|
+
readonly lexicon: 1;
|
|
21646
|
+
readonly id: "app.bsky.feed.getPosts";
|
|
21647
|
+
readonly defs: {
|
|
21648
|
+
readonly main: {
|
|
21649
|
+
readonly type: "query";
|
|
21650
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
21651
|
+
readonly parameters: {
|
|
21652
|
+
readonly type: "params";
|
|
21653
|
+
readonly required: ["uris"];
|
|
21654
|
+
readonly properties: {
|
|
21655
|
+
readonly uris: {
|
|
21656
|
+
readonly type: "array";
|
|
21657
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
21658
|
+
readonly items: {
|
|
21659
|
+
readonly type: "string";
|
|
21660
|
+
readonly format: "at-uri";
|
|
21661
|
+
};
|
|
21662
|
+
readonly maxLength: 25;
|
|
21663
|
+
};
|
|
21664
|
+
};
|
|
21665
|
+
};
|
|
21666
|
+
readonly output: {
|
|
21667
|
+
readonly encoding: "application/json";
|
|
21668
|
+
readonly schema: {
|
|
21669
|
+
readonly type: "object";
|
|
21670
|
+
readonly required: ["posts"];
|
|
21671
|
+
readonly properties: {
|
|
21672
|
+
readonly posts: {
|
|
21673
|
+
readonly type: "array";
|
|
21674
|
+
readonly items: {
|
|
21675
|
+
readonly type: "ref";
|
|
21676
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
21677
|
+
};
|
|
21678
|
+
};
|
|
21679
|
+
};
|
|
21680
|
+
};
|
|
21681
|
+
};
|
|
21682
|
+
};
|
|
21683
|
+
};
|
|
21654
21684
|
} | {
|
|
21655
21685
|
readonly lexicon: 1;
|
|
21656
21686
|
readonly id: "app.bsky.feed.getPostThread";
|
|
@@ -21705,46 +21735,6 @@ export declare const schemas: ({
|
|
|
21705
21735
|
}];
|
|
21706
21736
|
};
|
|
21707
21737
|
};
|
|
21708
|
-
} | {
|
|
21709
|
-
readonly lexicon: 1;
|
|
21710
|
-
readonly id: "app.bsky.feed.getPosts";
|
|
21711
|
-
readonly defs: {
|
|
21712
|
-
readonly main: {
|
|
21713
|
-
readonly type: "query";
|
|
21714
|
-
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
21715
|
-
readonly parameters: {
|
|
21716
|
-
readonly type: "params";
|
|
21717
|
-
readonly required: ["uris"];
|
|
21718
|
-
readonly properties: {
|
|
21719
|
-
readonly uris: {
|
|
21720
|
-
readonly type: "array";
|
|
21721
|
-
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
21722
|
-
readonly items: {
|
|
21723
|
-
readonly type: "string";
|
|
21724
|
-
readonly format: "at-uri";
|
|
21725
|
-
};
|
|
21726
|
-
readonly maxLength: 25;
|
|
21727
|
-
};
|
|
21728
|
-
};
|
|
21729
|
-
};
|
|
21730
|
-
readonly output: {
|
|
21731
|
-
readonly encoding: "application/json";
|
|
21732
|
-
readonly schema: {
|
|
21733
|
-
readonly type: "object";
|
|
21734
|
-
readonly required: ["posts"];
|
|
21735
|
-
readonly properties: {
|
|
21736
|
-
readonly posts: {
|
|
21737
|
-
readonly type: "array";
|
|
21738
|
-
readonly items: {
|
|
21739
|
-
readonly type: "ref";
|
|
21740
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
21741
|
-
};
|
|
21742
|
-
};
|
|
21743
|
-
};
|
|
21744
|
-
};
|
|
21745
|
-
};
|
|
21746
|
-
};
|
|
21747
|
-
};
|
|
21748
21738
|
} | {
|
|
21749
21739
|
readonly lexicon: 1;
|
|
21750
21740
|
readonly id: "app.bsky.feed.getQuotes";
|
|
@@ -24401,6 +24391,54 @@ export declare const schemas: ({
|
|
|
24401
24391
|
};
|
|
24402
24392
|
};
|
|
24403
24393
|
};
|
|
24394
|
+
readonly threadItemPost: {
|
|
24395
|
+
readonly type: "object";
|
|
24396
|
+
readonly required: ["post", "moreParents", "moreReplies", "opThread", "hiddenByThreadgate", "mutedByViewer"];
|
|
24397
|
+
readonly properties: {
|
|
24398
|
+
readonly post: {
|
|
24399
|
+
readonly type: "ref";
|
|
24400
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
24401
|
+
};
|
|
24402
|
+
readonly moreParents: {
|
|
24403
|
+
readonly type: "boolean";
|
|
24404
|
+
readonly description: "This post has more parents that were not present in the response. This is just a boolean, without the number of parents.";
|
|
24405
|
+
};
|
|
24406
|
+
readonly moreReplies: {
|
|
24407
|
+
readonly type: "integer";
|
|
24408
|
+
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.";
|
|
24409
|
+
};
|
|
24410
|
+
readonly opThread: {
|
|
24411
|
+
readonly type: "boolean";
|
|
24412
|
+
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.";
|
|
24413
|
+
};
|
|
24414
|
+
readonly hiddenByThreadgate: {
|
|
24415
|
+
readonly type: "boolean";
|
|
24416
|
+
readonly description: "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.";
|
|
24417
|
+
};
|
|
24418
|
+
readonly mutedByViewer: {
|
|
24419
|
+
readonly type: "boolean";
|
|
24420
|
+
readonly description: "This is by an account muted by the viewer requesting it.";
|
|
24421
|
+
};
|
|
24422
|
+
};
|
|
24423
|
+
};
|
|
24424
|
+
readonly threadItemNoUnauthenticated: {
|
|
24425
|
+
readonly type: "object";
|
|
24426
|
+
readonly properties: {};
|
|
24427
|
+
};
|
|
24428
|
+
readonly threadItemNotFound: {
|
|
24429
|
+
readonly type: "object";
|
|
24430
|
+
readonly properties: {};
|
|
24431
|
+
};
|
|
24432
|
+
readonly threadItemBlocked: {
|
|
24433
|
+
readonly type: "object";
|
|
24434
|
+
readonly required: ["author"];
|
|
24435
|
+
readonly properties: {
|
|
24436
|
+
readonly author: {
|
|
24437
|
+
readonly type: "ref";
|
|
24438
|
+
readonly ref: "lex:app.bsky.feed.defs#blockedAuthor";
|
|
24439
|
+
};
|
|
24440
|
+
};
|
|
24441
|
+
};
|
|
24404
24442
|
};
|
|
24405
24443
|
} | {
|
|
24406
24444
|
readonly lexicon: 1;
|
|
@@ -24493,11 +24531,11 @@ export declare const schemas: ({
|
|
|
24493
24531
|
};
|
|
24494
24532
|
} | {
|
|
24495
24533
|
readonly lexicon: 1;
|
|
24496
|
-
readonly id: "app.bsky.unspecced.
|
|
24534
|
+
readonly id: "app.bsky.unspecced.getPostThreadOtherV2";
|
|
24497
24535
|
readonly defs: {
|
|
24498
24536
|
readonly main: {
|
|
24499
24537
|
readonly type: "query";
|
|
24500
|
-
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
|
|
24538
|
+
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 additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. 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.";
|
|
24501
24539
|
readonly parameters: {
|
|
24502
24540
|
readonly type: "params";
|
|
24503
24541
|
readonly required: ["anchor"];
|
|
@@ -24522,17 +24560,17 @@ export declare const schemas: ({
|
|
|
24522
24560
|
readonly properties: {
|
|
24523
24561
|
readonly thread: {
|
|
24524
24562
|
readonly type: "array";
|
|
24525
|
-
readonly description: "A flat list of thread
|
|
24563
|
+
readonly description: "A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.";
|
|
24526
24564
|
readonly items: {
|
|
24527
24565
|
readonly type: "ref";
|
|
24528
|
-
readonly ref: "lex:app.bsky.unspecced.
|
|
24566
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem";
|
|
24529
24567
|
};
|
|
24530
24568
|
};
|
|
24531
24569
|
};
|
|
24532
24570
|
};
|
|
24533
24571
|
};
|
|
24534
24572
|
};
|
|
24535
|
-
readonly
|
|
24573
|
+
readonly threadItem: {
|
|
24536
24574
|
readonly type: "object";
|
|
24537
24575
|
readonly required: ["uri", "depth", "value"];
|
|
24538
24576
|
readonly properties: {
|
|
@@ -24546,25 +24584,7 @@ export declare const schemas: ({
|
|
|
24546
24584
|
};
|
|
24547
24585
|
readonly value: {
|
|
24548
24586
|
readonly type: "union";
|
|
24549
|
-
readonly refs: ["lex:app.bsky.unspecced.
|
|
24550
|
-
};
|
|
24551
|
-
};
|
|
24552
|
-
};
|
|
24553
|
-
readonly threadHiddenItemPost: {
|
|
24554
|
-
readonly type: "object";
|
|
24555
|
-
readonly required: ["post", "hiddenByThreadgate", "mutedByViewer"];
|
|
24556
|
-
readonly properties: {
|
|
24557
|
-
readonly post: {
|
|
24558
|
-
readonly type: "ref";
|
|
24559
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
24560
|
-
};
|
|
24561
|
-
readonly hiddenByThreadgate: {
|
|
24562
|
-
readonly type: "boolean";
|
|
24563
|
-
readonly description: "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.";
|
|
24564
|
-
};
|
|
24565
|
-
readonly mutedByViewer: {
|
|
24566
|
-
readonly type: "boolean";
|
|
24567
|
-
readonly description: "This is by an account muted by the viewer requesting it.";
|
|
24587
|
+
readonly refs: ["lex:app.bsky.unspecced.defs#threadItemPost"];
|
|
24568
24588
|
};
|
|
24569
24589
|
};
|
|
24570
24590
|
};
|
|
@@ -24621,7 +24641,7 @@ export declare const schemas: ({
|
|
|
24621
24641
|
readonly encoding: "application/json";
|
|
24622
24642
|
readonly schema: {
|
|
24623
24643
|
readonly type: "object";
|
|
24624
|
-
readonly required: ["thread", "
|
|
24644
|
+
readonly required: ["thread", "hasOtherReplies"];
|
|
24625
24645
|
readonly properties: {
|
|
24626
24646
|
readonly thread: {
|
|
24627
24647
|
readonly type: "array";
|
|
@@ -24635,9 +24655,9 @@ export declare const schemas: ({
|
|
|
24635
24655
|
readonly type: "ref";
|
|
24636
24656
|
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
|
24637
24657
|
};
|
|
24638
|
-
readonly
|
|
24658
|
+
readonly hasOtherReplies: {
|
|
24639
24659
|
readonly type: "boolean";
|
|
24640
|
-
readonly description: "Whether this thread has
|
|
24660
|
+
readonly description: "Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.";
|
|
24641
24661
|
};
|
|
24642
24662
|
};
|
|
24643
24663
|
};
|
|
@@ -24657,47 +24677,7 @@ export declare const schemas: ({
|
|
|
24657
24677
|
};
|
|
24658
24678
|
readonly value: {
|
|
24659
24679
|
readonly type: "union";
|
|
24660
|
-
readonly refs: ["lex:app.bsky.unspecced.
|
|
24661
|
-
};
|
|
24662
|
-
};
|
|
24663
|
-
};
|
|
24664
|
-
readonly threadItemPost: {
|
|
24665
|
-
readonly type: "object";
|
|
24666
|
-
readonly required: ["post", "moreParents", "moreReplies", "opThread"];
|
|
24667
|
-
readonly properties: {
|
|
24668
|
-
readonly post: {
|
|
24669
|
-
readonly type: "ref";
|
|
24670
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
24671
|
-
};
|
|
24672
|
-
readonly moreParents: {
|
|
24673
|
-
readonly type: "boolean";
|
|
24674
|
-
readonly description: "This post has more parents that were not present in the response. This is just a boolean, without the number of parents.";
|
|
24675
|
-
};
|
|
24676
|
-
readonly moreReplies: {
|
|
24677
|
-
readonly type: "integer";
|
|
24678
|
-
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.";
|
|
24679
|
-
};
|
|
24680
|
-
readonly opThread: {
|
|
24681
|
-
readonly type: "boolean";
|
|
24682
|
-
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.";
|
|
24683
|
-
};
|
|
24684
|
-
};
|
|
24685
|
-
};
|
|
24686
|
-
readonly threadItemNoUnauthenticated: {
|
|
24687
|
-
readonly type: "object";
|
|
24688
|
-
readonly properties: {};
|
|
24689
|
-
};
|
|
24690
|
-
readonly threadItemNotFound: {
|
|
24691
|
-
readonly type: "object";
|
|
24692
|
-
readonly properties: {};
|
|
24693
|
-
};
|
|
24694
|
-
readonly threadItemBlocked: {
|
|
24695
|
-
readonly type: "object";
|
|
24696
|
-
readonly required: ["author"];
|
|
24697
|
-
readonly properties: {
|
|
24698
|
-
readonly author: {
|
|
24699
|
-
readonly type: "ref";
|
|
24700
|
-
readonly ref: "lex:app.bsky.feed.defs#blockedAuthor";
|
|
24680
|
+
readonly refs: ["lex:app.bsky.unspecced.defs#threadItemPost", "lex:app.bsky.unspecced.defs#threadItemNoUnauthenticated", "lex:app.bsky.unspecced.defs#threadItemNotFound", "lex:app.bsky.unspecced.defs#threadItemBlocked"];
|
|
24701
24681
|
};
|
|
24702
24682
|
};
|
|
24703
24683
|
};
|
|
@@ -30108,8 +30088,8 @@ export declare const ids: {
|
|
|
30108
30088
|
readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
|
|
30109
30089
|
readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
|
|
30110
30090
|
readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
|
|
30111
|
-
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
|
30112
30091
|
readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
|
|
30092
|
+
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
|
30113
30093
|
readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
|
|
30114
30094
|
readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
|
|
30115
30095
|
readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
|
|
@@ -30163,7 +30143,7 @@ export declare const ids: {
|
|
|
30163
30143
|
readonly AppBskyUnspeccedDefs: "app.bsky.unspecced.defs";
|
|
30164
30144
|
readonly AppBskyUnspeccedGetConfig: "app.bsky.unspecced.getConfig";
|
|
30165
30145
|
readonly AppBskyUnspeccedGetPopularFeedGenerators: "app.bsky.unspecced.getPopularFeedGenerators";
|
|
30166
|
-
readonly
|
|
30146
|
+
readonly AppBskyUnspeccedGetPostThreadOtherV2: "app.bsky.unspecced.getPostThreadOtherV2";
|
|
30167
30147
|
readonly AppBskyUnspeccedGetPostThreadV2: "app.bsky.unspecced.getPostThreadV2";
|
|
30168
30148
|
readonly AppBskyUnspeccedGetSuggestedFeeds: "app.bsky.unspecced.getSuggestedFeeds";
|
|
30169
30149
|
readonly AppBskyUnspeccedGetSuggestedFeedsSkeleton: "app.bsky.unspecced.getSuggestedFeedsSkeleton";
|