@atproto/pds 0.4.144 → 0.4.146
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 +20 -0
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +10 -1
- package/dist/auth-verifier.js.map +1 -1
- package/dist/lexicon/index.d.ts +8 -4
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +14 -6
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +518 -100
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +277 -52
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.js +36 -0
- package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts +35 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts +52 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js +16 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth-verifier.ts +20 -6
- package/src/lexicon/index.ts +38 -14
- package/src/lexicon/lexicons.ts +281 -54
- package/src/lexicon/types/app/bsky/notification/defs.ts +76 -0
- package/src/lexicon/types/app/bsky/notification/getPreferences.ts +52 -0
- package/src/lexicon/types/app/bsky/notification/putPreferencesV2.ts +69 -0
- package/src/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -16
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
@@ -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";
|
@@ -9032,6 +9032,132 @@ export declare const schemaDict: {
|
|
9032
9032
|
readonly type: "object";
|
9033
9033
|
readonly properties: {};
|
9034
9034
|
};
|
9035
|
+
readonly chatPreference: {
|
9036
|
+
readonly type: "object";
|
9037
|
+
readonly required: ["filter", "push"];
|
9038
|
+
readonly properties: {
|
9039
|
+
readonly filter: {
|
9040
|
+
readonly type: "string";
|
9041
|
+
readonly knownValues: ["all", "accepted"];
|
9042
|
+
};
|
9043
|
+
readonly push: {
|
9044
|
+
readonly type: "boolean";
|
9045
|
+
};
|
9046
|
+
};
|
9047
|
+
};
|
9048
|
+
readonly filterablePreference: {
|
9049
|
+
readonly type: "object";
|
9050
|
+
readonly required: ["filter", "list", "push"];
|
9051
|
+
readonly properties: {
|
9052
|
+
readonly filter: {
|
9053
|
+
readonly type: "string";
|
9054
|
+
readonly knownValues: ["all", "follows"];
|
9055
|
+
};
|
9056
|
+
readonly list: {
|
9057
|
+
readonly type: "boolean";
|
9058
|
+
};
|
9059
|
+
readonly push: {
|
9060
|
+
readonly type: "boolean";
|
9061
|
+
};
|
9062
|
+
};
|
9063
|
+
};
|
9064
|
+
readonly preference: {
|
9065
|
+
readonly type: "object";
|
9066
|
+
readonly required: ["list", "push"];
|
9067
|
+
readonly properties: {
|
9068
|
+
readonly list: {
|
9069
|
+
readonly type: "boolean";
|
9070
|
+
};
|
9071
|
+
readonly push: {
|
9072
|
+
readonly type: "boolean";
|
9073
|
+
};
|
9074
|
+
};
|
9075
|
+
};
|
9076
|
+
readonly preferences: {
|
9077
|
+
readonly type: "object";
|
9078
|
+
readonly required: ["chat", "follow", "like", "likeViaRepost", "mention", "quote", "reply", "repost", "repostViaRepost", "starterpackJoined", "subscribedPost", "unverified", "verified"];
|
9079
|
+
readonly properties: {
|
9080
|
+
readonly chat: {
|
9081
|
+
readonly type: "ref";
|
9082
|
+
readonly ref: "lex:app.bsky.notification.defs#chatPreference";
|
9083
|
+
};
|
9084
|
+
readonly follow: {
|
9085
|
+
readonly type: "ref";
|
9086
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9087
|
+
};
|
9088
|
+
readonly like: {
|
9089
|
+
readonly type: "ref";
|
9090
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9091
|
+
};
|
9092
|
+
readonly likeViaRepost: {
|
9093
|
+
readonly type: "ref";
|
9094
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9095
|
+
};
|
9096
|
+
readonly mention: {
|
9097
|
+
readonly type: "ref";
|
9098
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9099
|
+
};
|
9100
|
+
readonly quote: {
|
9101
|
+
readonly type: "ref";
|
9102
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9103
|
+
};
|
9104
|
+
readonly reply: {
|
9105
|
+
readonly type: "ref";
|
9106
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9107
|
+
};
|
9108
|
+
readonly repost: {
|
9109
|
+
readonly type: "ref";
|
9110
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9111
|
+
};
|
9112
|
+
readonly repostViaRepost: {
|
9113
|
+
readonly type: "ref";
|
9114
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9115
|
+
};
|
9116
|
+
readonly starterpackJoined: {
|
9117
|
+
readonly type: "ref";
|
9118
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9119
|
+
};
|
9120
|
+
readonly subscribedPost: {
|
9121
|
+
readonly type: "ref";
|
9122
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9123
|
+
};
|
9124
|
+
readonly unverified: {
|
9125
|
+
readonly type: "ref";
|
9126
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9127
|
+
};
|
9128
|
+
readonly verified: {
|
9129
|
+
readonly type: "ref";
|
9130
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9131
|
+
};
|
9132
|
+
};
|
9133
|
+
};
|
9134
|
+
};
|
9135
|
+
};
|
9136
|
+
readonly AppBskyNotificationGetPreferences: {
|
9137
|
+
readonly lexicon: 1;
|
9138
|
+
readonly id: "app.bsky.notification.getPreferences";
|
9139
|
+
readonly defs: {
|
9140
|
+
readonly main: {
|
9141
|
+
readonly type: "query";
|
9142
|
+
readonly description: "Get notification-related preferences for an account. Requires auth.";
|
9143
|
+
readonly parameters: {
|
9144
|
+
readonly type: "params";
|
9145
|
+
readonly properties: {};
|
9146
|
+
};
|
9147
|
+
readonly output: {
|
9148
|
+
readonly encoding: "application/json";
|
9149
|
+
readonly schema: {
|
9150
|
+
readonly type: "object";
|
9151
|
+
readonly required: ["preferences"];
|
9152
|
+
readonly properties: {
|
9153
|
+
readonly preferences: {
|
9154
|
+
readonly type: "ref";
|
9155
|
+
readonly ref: "lex:app.bsky.notification.defs#preferences";
|
9156
|
+
};
|
9157
|
+
};
|
9158
|
+
};
|
9159
|
+
};
|
9160
|
+
};
|
9035
9161
|
};
|
9036
9162
|
};
|
9037
9163
|
readonly AppBskyNotificationGetUnreadCount: {
|
@@ -9199,6 +9325,89 @@ export declare const schemaDict: {
|
|
9199
9325
|
};
|
9200
9326
|
};
|
9201
9327
|
};
|
9328
|
+
readonly AppBskyNotificationPutPreferencesV2: {
|
9329
|
+
readonly lexicon: 1;
|
9330
|
+
readonly id: "app.bsky.notification.putPreferencesV2";
|
9331
|
+
readonly defs: {
|
9332
|
+
readonly main: {
|
9333
|
+
readonly type: "procedure";
|
9334
|
+
readonly description: "Set notification-related preferences for an account. Requires auth.";
|
9335
|
+
readonly input: {
|
9336
|
+
readonly encoding: "application/json";
|
9337
|
+
readonly schema: {
|
9338
|
+
readonly type: "object";
|
9339
|
+
readonly properties: {
|
9340
|
+
readonly chat: {
|
9341
|
+
readonly type: "ref";
|
9342
|
+
readonly ref: "lex:app.bsky.notification.defs#chatPreference";
|
9343
|
+
};
|
9344
|
+
readonly follow: {
|
9345
|
+
readonly type: "ref";
|
9346
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9347
|
+
};
|
9348
|
+
readonly like: {
|
9349
|
+
readonly type: "ref";
|
9350
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9351
|
+
};
|
9352
|
+
readonly likeViaRepost: {
|
9353
|
+
readonly type: "ref";
|
9354
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9355
|
+
};
|
9356
|
+
readonly mention: {
|
9357
|
+
readonly type: "ref";
|
9358
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9359
|
+
};
|
9360
|
+
readonly quote: {
|
9361
|
+
readonly type: "ref";
|
9362
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9363
|
+
};
|
9364
|
+
readonly reply: {
|
9365
|
+
readonly type: "ref";
|
9366
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9367
|
+
};
|
9368
|
+
readonly repost: {
|
9369
|
+
readonly type: "ref";
|
9370
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9371
|
+
};
|
9372
|
+
readonly repostViaRepost: {
|
9373
|
+
readonly type: "ref";
|
9374
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
9375
|
+
};
|
9376
|
+
readonly starterpackJoined: {
|
9377
|
+
readonly type: "ref";
|
9378
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9379
|
+
};
|
9380
|
+
readonly subscribedPost: {
|
9381
|
+
readonly type: "ref";
|
9382
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9383
|
+
};
|
9384
|
+
readonly unverified: {
|
9385
|
+
readonly type: "ref";
|
9386
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9387
|
+
};
|
9388
|
+
readonly verified: {
|
9389
|
+
readonly type: "ref";
|
9390
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
9391
|
+
};
|
9392
|
+
};
|
9393
|
+
};
|
9394
|
+
};
|
9395
|
+
readonly output: {
|
9396
|
+
readonly encoding: "application/json";
|
9397
|
+
readonly schema: {
|
9398
|
+
readonly type: "object";
|
9399
|
+
readonly required: ["preferences"];
|
9400
|
+
readonly properties: {
|
9401
|
+
readonly preferences: {
|
9402
|
+
readonly type: "ref";
|
9403
|
+
readonly ref: "lex:app.bsky.notification.defs#preferences";
|
9404
|
+
};
|
9405
|
+
};
|
9406
|
+
};
|
9407
|
+
};
|
9408
|
+
};
|
9409
|
+
};
|
9410
|
+
};
|
9202
9411
|
readonly AppBskyNotificationRegisterPush: {
|
9203
9412
|
readonly lexicon: 1;
|
9204
9413
|
readonly id: "app.bsky.notification.registerPush";
|
@@ -9593,13 +9802,13 @@ export declare const schemaDict: {
|
|
9593
9802
|
};
|
9594
9803
|
};
|
9595
9804
|
};
|
9596
|
-
readonly
|
9805
|
+
readonly AppBskyUnspeccedGetPostThreadOtherV2: {
|
9597
9806
|
readonly lexicon: 1;
|
9598
|
-
readonly id: "app.bsky.unspecced.
|
9807
|
+
readonly id: "app.bsky.unspecced.getPostThreadOtherV2";
|
9599
9808
|
readonly defs: {
|
9600
9809
|
readonly main: {
|
9601
9810
|
readonly type: "query";
|
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
|
9811
|
+
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.";
|
9603
9812
|
readonly parameters: {
|
9604
9813
|
readonly type: "params";
|
9605
9814
|
readonly required: ["anchor"];
|
@@ -9624,17 +9833,17 @@ export declare const schemaDict: {
|
|
9624
9833
|
readonly properties: {
|
9625
9834
|
readonly thread: {
|
9626
9835
|
readonly type: "array";
|
9627
|
-
readonly description: "A flat list of
|
9836
|
+
readonly description: "A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.";
|
9628
9837
|
readonly items: {
|
9629
9838
|
readonly type: "ref";
|
9630
|
-
readonly ref: "lex:app.bsky.unspecced.
|
9839
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem";
|
9631
9840
|
};
|
9632
9841
|
};
|
9633
9842
|
};
|
9634
9843
|
};
|
9635
9844
|
};
|
9636
9845
|
};
|
9637
|
-
readonly
|
9846
|
+
readonly threadItem: {
|
9638
9847
|
readonly type: "object";
|
9639
9848
|
readonly required: ["uri", "depth", "value"];
|
9640
9849
|
readonly properties: {
|
@@ -9706,7 +9915,7 @@ export declare const schemaDict: {
|
|
9706
9915
|
readonly encoding: "application/json";
|
9707
9916
|
readonly schema: {
|
9708
9917
|
readonly type: "object";
|
9709
|
-
readonly required: ["thread", "
|
9918
|
+
readonly required: ["thread", "hasOtherReplies"];
|
9710
9919
|
readonly properties: {
|
9711
9920
|
readonly thread: {
|
9712
9921
|
readonly type: "array";
|
@@ -9720,9 +9929,9 @@ export declare const schemaDict: {
|
|
9720
9929
|
readonly type: "ref";
|
9721
9930
|
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
9722
9931
|
};
|
9723
|
-
readonly
|
9932
|
+
readonly hasOtherReplies: {
|
9724
9933
|
readonly type: "boolean";
|
9725
|
-
readonly description: "Whether this thread has
|
9934
|
+
readonly description: "Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.";
|
9726
9935
|
};
|
9727
9936
|
};
|
9728
9937
|
};
|
@@ -21641,6 +21850,46 @@ export declare const schemas: ({
|
|
21641
21850
|
}];
|
21642
21851
|
};
|
21643
21852
|
};
|
21853
|
+
} | {
|
21854
|
+
readonly lexicon: 1;
|
21855
|
+
readonly id: "app.bsky.feed.getPosts";
|
21856
|
+
readonly defs: {
|
21857
|
+
readonly main: {
|
21858
|
+
readonly type: "query";
|
21859
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
21860
|
+
readonly parameters: {
|
21861
|
+
readonly type: "params";
|
21862
|
+
readonly required: ["uris"];
|
21863
|
+
readonly properties: {
|
21864
|
+
readonly uris: {
|
21865
|
+
readonly type: "array";
|
21866
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
21867
|
+
readonly items: {
|
21868
|
+
readonly type: "string";
|
21869
|
+
readonly format: "at-uri";
|
21870
|
+
};
|
21871
|
+
readonly maxLength: 25;
|
21872
|
+
};
|
21873
|
+
};
|
21874
|
+
};
|
21875
|
+
readonly output: {
|
21876
|
+
readonly encoding: "application/json";
|
21877
|
+
readonly schema: {
|
21878
|
+
readonly type: "object";
|
21879
|
+
readonly required: ["posts"];
|
21880
|
+
readonly properties: {
|
21881
|
+
readonly posts: {
|
21882
|
+
readonly type: "array";
|
21883
|
+
readonly items: {
|
21884
|
+
readonly type: "ref";
|
21885
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
21886
|
+
};
|
21887
|
+
};
|
21888
|
+
};
|
21889
|
+
};
|
21890
|
+
};
|
21891
|
+
};
|
21892
|
+
};
|
21644
21893
|
} | {
|
21645
21894
|
readonly lexicon: 1;
|
21646
21895
|
readonly id: "app.bsky.feed.getPostThread";
|
@@ -21695,46 +21944,6 @@ export declare const schemas: ({
|
|
21695
21944
|
}];
|
21696
21945
|
};
|
21697
21946
|
};
|
21698
|
-
} | {
|
21699
|
-
readonly lexicon: 1;
|
21700
|
-
readonly id: "app.bsky.feed.getPosts";
|
21701
|
-
readonly defs: {
|
21702
|
-
readonly main: {
|
21703
|
-
readonly type: "query";
|
21704
|
-
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
21705
|
-
readonly parameters: {
|
21706
|
-
readonly type: "params";
|
21707
|
-
readonly required: ["uris"];
|
21708
|
-
readonly properties: {
|
21709
|
-
readonly uris: {
|
21710
|
-
readonly type: "array";
|
21711
|
-
readonly description: "List of post AT-URIs to return hydrated views for.";
|
21712
|
-
readonly items: {
|
21713
|
-
readonly type: "string";
|
21714
|
-
readonly format: "at-uri";
|
21715
|
-
};
|
21716
|
-
readonly maxLength: 25;
|
21717
|
-
};
|
21718
|
-
};
|
21719
|
-
};
|
21720
|
-
readonly output: {
|
21721
|
-
readonly encoding: "application/json";
|
21722
|
-
readonly schema: {
|
21723
|
-
readonly type: "object";
|
21724
|
-
readonly required: ["posts"];
|
21725
|
-
readonly properties: {
|
21726
|
-
readonly posts: {
|
21727
|
-
readonly type: "array";
|
21728
|
-
readonly items: {
|
21729
|
-
readonly type: "ref";
|
21730
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
21731
|
-
};
|
21732
|
-
};
|
21733
|
-
};
|
21734
|
-
};
|
21735
|
-
};
|
21736
|
-
};
|
21737
|
-
};
|
21738
21947
|
} | {
|
21739
21948
|
readonly lexicon: 1;
|
21740
21949
|
readonly id: "app.bsky.feed.getQuotes";
|
@@ -23978,6 +24187,131 @@ export declare const schemas: ({
|
|
23978
24187
|
readonly type: "object";
|
23979
24188
|
readonly properties: {};
|
23980
24189
|
};
|
24190
|
+
readonly chatPreference: {
|
24191
|
+
readonly type: "object";
|
24192
|
+
readonly required: ["filter", "push"];
|
24193
|
+
readonly properties: {
|
24194
|
+
readonly filter: {
|
24195
|
+
readonly type: "string";
|
24196
|
+
readonly knownValues: ["all", "accepted"];
|
24197
|
+
};
|
24198
|
+
readonly push: {
|
24199
|
+
readonly type: "boolean";
|
24200
|
+
};
|
24201
|
+
};
|
24202
|
+
};
|
24203
|
+
readonly filterablePreference: {
|
24204
|
+
readonly type: "object";
|
24205
|
+
readonly required: ["filter", "list", "push"];
|
24206
|
+
readonly properties: {
|
24207
|
+
readonly filter: {
|
24208
|
+
readonly type: "string";
|
24209
|
+
readonly knownValues: ["all", "follows"];
|
24210
|
+
};
|
24211
|
+
readonly list: {
|
24212
|
+
readonly type: "boolean";
|
24213
|
+
};
|
24214
|
+
readonly push: {
|
24215
|
+
readonly type: "boolean";
|
24216
|
+
};
|
24217
|
+
};
|
24218
|
+
};
|
24219
|
+
readonly preference: {
|
24220
|
+
readonly type: "object";
|
24221
|
+
readonly required: ["list", "push"];
|
24222
|
+
readonly properties: {
|
24223
|
+
readonly list: {
|
24224
|
+
readonly type: "boolean";
|
24225
|
+
};
|
24226
|
+
readonly push: {
|
24227
|
+
readonly type: "boolean";
|
24228
|
+
};
|
24229
|
+
};
|
24230
|
+
};
|
24231
|
+
readonly preferences: {
|
24232
|
+
readonly type: "object";
|
24233
|
+
readonly required: ["chat", "follow", "like", "likeViaRepost", "mention", "quote", "reply", "repost", "repostViaRepost", "starterpackJoined", "subscribedPost", "unverified", "verified"];
|
24234
|
+
readonly properties: {
|
24235
|
+
readonly chat: {
|
24236
|
+
readonly type: "ref";
|
24237
|
+
readonly ref: "lex:app.bsky.notification.defs#chatPreference";
|
24238
|
+
};
|
24239
|
+
readonly follow: {
|
24240
|
+
readonly type: "ref";
|
24241
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24242
|
+
};
|
24243
|
+
readonly like: {
|
24244
|
+
readonly type: "ref";
|
24245
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24246
|
+
};
|
24247
|
+
readonly likeViaRepost: {
|
24248
|
+
readonly type: "ref";
|
24249
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24250
|
+
};
|
24251
|
+
readonly mention: {
|
24252
|
+
readonly type: "ref";
|
24253
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24254
|
+
};
|
24255
|
+
readonly quote: {
|
24256
|
+
readonly type: "ref";
|
24257
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24258
|
+
};
|
24259
|
+
readonly reply: {
|
24260
|
+
readonly type: "ref";
|
24261
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24262
|
+
};
|
24263
|
+
readonly repost: {
|
24264
|
+
readonly type: "ref";
|
24265
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24266
|
+
};
|
24267
|
+
readonly repostViaRepost: {
|
24268
|
+
readonly type: "ref";
|
24269
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24270
|
+
};
|
24271
|
+
readonly starterpackJoined: {
|
24272
|
+
readonly type: "ref";
|
24273
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24274
|
+
};
|
24275
|
+
readonly subscribedPost: {
|
24276
|
+
readonly type: "ref";
|
24277
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24278
|
+
};
|
24279
|
+
readonly unverified: {
|
24280
|
+
readonly type: "ref";
|
24281
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24282
|
+
};
|
24283
|
+
readonly verified: {
|
24284
|
+
readonly type: "ref";
|
24285
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24286
|
+
};
|
24287
|
+
};
|
24288
|
+
};
|
24289
|
+
};
|
24290
|
+
} | {
|
24291
|
+
readonly lexicon: 1;
|
24292
|
+
readonly id: "app.bsky.notification.getPreferences";
|
24293
|
+
readonly defs: {
|
24294
|
+
readonly main: {
|
24295
|
+
readonly type: "query";
|
24296
|
+
readonly description: "Get notification-related preferences for an account. Requires auth.";
|
24297
|
+
readonly parameters: {
|
24298
|
+
readonly type: "params";
|
24299
|
+
readonly properties: {};
|
24300
|
+
};
|
24301
|
+
readonly output: {
|
24302
|
+
readonly encoding: "application/json";
|
24303
|
+
readonly schema: {
|
24304
|
+
readonly type: "object";
|
24305
|
+
readonly required: ["preferences"];
|
24306
|
+
readonly properties: {
|
24307
|
+
readonly preferences: {
|
24308
|
+
readonly type: "ref";
|
24309
|
+
readonly ref: "lex:app.bsky.notification.defs#preferences";
|
24310
|
+
};
|
24311
|
+
};
|
24312
|
+
};
|
24313
|
+
};
|
24314
|
+
};
|
23981
24315
|
};
|
23982
24316
|
} | {
|
23983
24317
|
readonly lexicon: 1;
|
@@ -24141,6 +24475,88 @@ export declare const schemas: ({
|
|
24141
24475
|
};
|
24142
24476
|
};
|
24143
24477
|
};
|
24478
|
+
} | {
|
24479
|
+
readonly lexicon: 1;
|
24480
|
+
readonly id: "app.bsky.notification.putPreferencesV2";
|
24481
|
+
readonly defs: {
|
24482
|
+
readonly main: {
|
24483
|
+
readonly type: "procedure";
|
24484
|
+
readonly description: "Set notification-related preferences for an account. Requires auth.";
|
24485
|
+
readonly input: {
|
24486
|
+
readonly encoding: "application/json";
|
24487
|
+
readonly schema: {
|
24488
|
+
readonly type: "object";
|
24489
|
+
readonly properties: {
|
24490
|
+
readonly chat: {
|
24491
|
+
readonly type: "ref";
|
24492
|
+
readonly ref: "lex:app.bsky.notification.defs#chatPreference";
|
24493
|
+
};
|
24494
|
+
readonly follow: {
|
24495
|
+
readonly type: "ref";
|
24496
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24497
|
+
};
|
24498
|
+
readonly like: {
|
24499
|
+
readonly type: "ref";
|
24500
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24501
|
+
};
|
24502
|
+
readonly likeViaRepost: {
|
24503
|
+
readonly type: "ref";
|
24504
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24505
|
+
};
|
24506
|
+
readonly mention: {
|
24507
|
+
readonly type: "ref";
|
24508
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24509
|
+
};
|
24510
|
+
readonly quote: {
|
24511
|
+
readonly type: "ref";
|
24512
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24513
|
+
};
|
24514
|
+
readonly reply: {
|
24515
|
+
readonly type: "ref";
|
24516
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24517
|
+
};
|
24518
|
+
readonly repost: {
|
24519
|
+
readonly type: "ref";
|
24520
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24521
|
+
};
|
24522
|
+
readonly repostViaRepost: {
|
24523
|
+
readonly type: "ref";
|
24524
|
+
readonly ref: "lex:app.bsky.notification.defs#filterablePreference";
|
24525
|
+
};
|
24526
|
+
readonly starterpackJoined: {
|
24527
|
+
readonly type: "ref";
|
24528
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24529
|
+
};
|
24530
|
+
readonly subscribedPost: {
|
24531
|
+
readonly type: "ref";
|
24532
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24533
|
+
};
|
24534
|
+
readonly unverified: {
|
24535
|
+
readonly type: "ref";
|
24536
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24537
|
+
};
|
24538
|
+
readonly verified: {
|
24539
|
+
readonly type: "ref";
|
24540
|
+
readonly ref: "lex:app.bsky.notification.defs#preference";
|
24541
|
+
};
|
24542
|
+
};
|
24543
|
+
};
|
24544
|
+
};
|
24545
|
+
readonly output: {
|
24546
|
+
readonly encoding: "application/json";
|
24547
|
+
readonly schema: {
|
24548
|
+
readonly type: "object";
|
24549
|
+
readonly required: ["preferences"];
|
24550
|
+
readonly properties: {
|
24551
|
+
readonly preferences: {
|
24552
|
+
readonly type: "ref";
|
24553
|
+
readonly ref: "lex:app.bsky.notification.defs#preferences";
|
24554
|
+
};
|
24555
|
+
};
|
24556
|
+
};
|
24557
|
+
};
|
24558
|
+
};
|
24559
|
+
};
|
24144
24560
|
} | {
|
24145
24561
|
readonly lexicon: 1;
|
24146
24562
|
readonly id: "app.bsky.notification.registerPush";
|
@@ -24531,11 +24947,11 @@ export declare const schemas: ({
|
|
24531
24947
|
};
|
24532
24948
|
} | {
|
24533
24949
|
readonly lexicon: 1;
|
24534
|
-
readonly id: "app.bsky.unspecced.
|
24950
|
+
readonly id: "app.bsky.unspecced.getPostThreadOtherV2";
|
24535
24951
|
readonly defs: {
|
24536
24952
|
readonly main: {
|
24537
24953
|
readonly type: "query";
|
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
|
24954
|
+
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.";
|
24539
24955
|
readonly parameters: {
|
24540
24956
|
readonly type: "params";
|
24541
24957
|
readonly required: ["anchor"];
|
@@ -24560,17 +24976,17 @@ export declare const schemas: ({
|
|
24560
24976
|
readonly properties: {
|
24561
24977
|
readonly thread: {
|
24562
24978
|
readonly type: "array";
|
24563
|
-
readonly description: "A flat list of
|
24979
|
+
readonly description: "A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.";
|
24564
24980
|
readonly items: {
|
24565
24981
|
readonly type: "ref";
|
24566
|
-
readonly ref: "lex:app.bsky.unspecced.
|
24982
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem";
|
24567
24983
|
};
|
24568
24984
|
};
|
24569
24985
|
};
|
24570
24986
|
};
|
24571
24987
|
};
|
24572
24988
|
};
|
24573
|
-
readonly
|
24989
|
+
readonly threadItem: {
|
24574
24990
|
readonly type: "object";
|
24575
24991
|
readonly required: ["uri", "depth", "value"];
|
24576
24992
|
readonly properties: {
|
@@ -24641,7 +25057,7 @@ export declare const schemas: ({
|
|
24641
25057
|
readonly encoding: "application/json";
|
24642
25058
|
readonly schema: {
|
24643
25059
|
readonly type: "object";
|
24644
|
-
readonly required: ["thread", "
|
25060
|
+
readonly required: ["thread", "hasOtherReplies"];
|
24645
25061
|
readonly properties: {
|
24646
25062
|
readonly thread: {
|
24647
25063
|
readonly type: "array";
|
@@ -24655,9 +25071,9 @@ export declare const schemas: ({
|
|
24655
25071
|
readonly type: "ref";
|
24656
25072
|
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
24657
25073
|
};
|
24658
|
-
readonly
|
25074
|
+
readonly hasOtherReplies: {
|
24659
25075
|
readonly type: "boolean";
|
24660
|
-
readonly description: "Whether this thread has
|
25076
|
+
readonly description: "Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.";
|
24661
25077
|
};
|
24662
25078
|
};
|
24663
25079
|
};
|
@@ -30088,8 +30504,8 @@ export declare const ids: {
|
|
30088
30504
|
readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
|
30089
30505
|
readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
|
30090
30506
|
readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
|
30091
|
-
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
30092
30507
|
readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
|
30508
|
+
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
30093
30509
|
readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
|
30094
30510
|
readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
|
30095
30511
|
readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
|
@@ -30134,16 +30550,18 @@ export declare const ids: {
|
|
30134
30550
|
readonly AppBskyLabelerGetServices: "app.bsky.labeler.getServices";
|
30135
30551
|
readonly AppBskyLabelerService: "app.bsky.labeler.service";
|
30136
30552
|
readonly AppBskyNotificationDefs: "app.bsky.notification.defs";
|
30553
|
+
readonly AppBskyNotificationGetPreferences: "app.bsky.notification.getPreferences";
|
30137
30554
|
readonly AppBskyNotificationGetUnreadCount: "app.bsky.notification.getUnreadCount";
|
30138
30555
|
readonly AppBskyNotificationListNotifications: "app.bsky.notification.listNotifications";
|
30139
30556
|
readonly AppBskyNotificationPutPreferences: "app.bsky.notification.putPreferences";
|
30557
|
+
readonly AppBskyNotificationPutPreferencesV2: "app.bsky.notification.putPreferencesV2";
|
30140
30558
|
readonly AppBskyNotificationRegisterPush: "app.bsky.notification.registerPush";
|
30141
30559
|
readonly AppBskyNotificationUpdateSeen: "app.bsky.notification.updateSeen";
|
30142
30560
|
readonly AppBskyRichtextFacet: "app.bsky.richtext.facet";
|
30143
30561
|
readonly AppBskyUnspeccedDefs: "app.bsky.unspecced.defs";
|
30144
30562
|
readonly AppBskyUnspeccedGetConfig: "app.bsky.unspecced.getConfig";
|
30145
30563
|
readonly AppBskyUnspeccedGetPopularFeedGenerators: "app.bsky.unspecced.getPopularFeedGenerators";
|
30146
|
-
readonly
|
30564
|
+
readonly AppBskyUnspeccedGetPostThreadOtherV2: "app.bsky.unspecced.getPostThreadOtherV2";
|
30147
30565
|
readonly AppBskyUnspeccedGetPostThreadV2: "app.bsky.unspecced.getPostThreadV2";
|
30148
30566
|
readonly AppBskyUnspeccedGetSuggestedFeeds: "app.bsky.unspecced.getSuggestedFeeds";
|
30149
30567
|
readonly AppBskyUnspeccedGetSuggestedFeedsSkeleton: "app.bsky.unspecced.getSuggestedFeedsSkeleton";
|