@atproto/api 0.32.11 → 0.33.1
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 +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +130 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +68 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/record.d.ts +2 -0
- package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/record.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getPostVersions.d.ts +29 -0
- package/dist/client/types/app/bsky/feed/getPostVersions.d.ts.map +1 -0
- package/dist/client/types/app/bsky/feed/getPostVersions.js +23 -0
- package/dist/client/types/app/bsky/feed/getPostVersions.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +4 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
- package/package.json +5 -7
|
@@ -3608,6 +3608,11 @@ export declare const schemaDict: {
|
|
|
3608
3608
|
readonly type: 'string';
|
|
3609
3609
|
readonly format: 'datetime';
|
|
3610
3610
|
};
|
|
3611
|
+
readonly editedAt: {
|
|
3612
|
+
readonly type: 'string';
|
|
3613
|
+
readonly format: 'datetime';
|
|
3614
|
+
readonly description: 'Present if the record has been edited. Timestamp when the current version of the record was indexed. indexedAt is unchanged by edits.';
|
|
3615
|
+
};
|
|
3611
3616
|
};
|
|
3612
3617
|
};
|
|
3613
3618
|
readonly viewNotFound: {
|
|
@@ -3824,6 +3829,11 @@ export declare const schemaDict: {
|
|
|
3824
3829
|
readonly type: 'string';
|
|
3825
3830
|
readonly format: 'datetime';
|
|
3826
3831
|
};
|
|
3832
|
+
readonly editedAt: {
|
|
3833
|
+
readonly type: 'string';
|
|
3834
|
+
readonly format: 'datetime';
|
|
3835
|
+
readonly description: 'Present if the post has been edited. Timestamp when the version of the post in this view was indexed. indexedAt is unchanged by edits.';
|
|
3836
|
+
};
|
|
3827
3837
|
readonly viewer: {
|
|
3828
3838
|
readonly type: 'ref';
|
|
3829
3839
|
readonly ref: 'lex:app.bsky.feed.defs#viewerState';
|
|
@@ -4936,6 +4946,51 @@ export declare const schemaDict: {
|
|
|
4936
4946
|
};
|
|
4937
4947
|
};
|
|
4938
4948
|
};
|
|
4949
|
+
readonly AppBskyFeedGetPostVersions: {
|
|
4950
|
+
readonly lexicon: 1;
|
|
4951
|
+
readonly id: 'app.bsky.feed.getPostVersions';
|
|
4952
|
+
readonly defs: {
|
|
4953
|
+
readonly main: {
|
|
4954
|
+
readonly type: 'query';
|
|
4955
|
+
readonly description: 'Get the version history of a post. Only versions the AppView accepted as valid edits are included.';
|
|
4956
|
+
readonly parameters: {
|
|
4957
|
+
readonly type: 'params';
|
|
4958
|
+
readonly required: ["uri"];
|
|
4959
|
+
readonly properties: {
|
|
4960
|
+
readonly uri: {
|
|
4961
|
+
readonly type: 'string';
|
|
4962
|
+
readonly format: 'at-uri';
|
|
4963
|
+
readonly description: 'Reference (AT-URI) of post record';
|
|
4964
|
+
};
|
|
4965
|
+
};
|
|
4966
|
+
};
|
|
4967
|
+
readonly output: {
|
|
4968
|
+
readonly encoding: 'application/json';
|
|
4969
|
+
readonly schema: {
|
|
4970
|
+
readonly type: 'object';
|
|
4971
|
+
readonly required: ["uri", "versions"];
|
|
4972
|
+
readonly properties: {
|
|
4973
|
+
readonly uri: {
|
|
4974
|
+
readonly type: 'string';
|
|
4975
|
+
readonly format: 'at-uri';
|
|
4976
|
+
};
|
|
4977
|
+
readonly versions: {
|
|
4978
|
+
readonly type: 'array';
|
|
4979
|
+
readonly description: "Versions of the post, newest first. Includes the current version, so an unedited post has a single entry. Each view describes the version at its CID: counts and viewer state are scoped to that CID, editedAt is when that version was indexed (absent on the original), and indexedAt is the original post's.";
|
|
4980
|
+
readonly items: {
|
|
4981
|
+
readonly type: 'ref';
|
|
4982
|
+
readonly ref: 'lex:app.bsky.feed.defs#postView';
|
|
4983
|
+
};
|
|
4984
|
+
};
|
|
4985
|
+
};
|
|
4986
|
+
};
|
|
4987
|
+
};
|
|
4988
|
+
readonly errors: [{
|
|
4989
|
+
readonly name: 'NotFound';
|
|
4990
|
+
}];
|
|
4991
|
+
};
|
|
4992
|
+
};
|
|
4993
|
+
};
|
|
4939
4994
|
readonly AppBskyFeedGetPosts: {
|
|
4940
4995
|
readonly lexicon: 1;
|
|
4941
4996
|
readonly id: 'app.bsky.feed.getPosts';
|
|
@@ -23293,6 +23348,16 @@ export declare const schemaDict: {
|
|
|
23293
23348
|
readonly knownValues: ["approved", "denied"];
|
|
23294
23349
|
readonly description: 'Decision on a resolved appeal.';
|
|
23295
23350
|
};
|
|
23351
|
+
readonly appealedAction: {
|
|
23352
|
+
readonly type: 'string';
|
|
23353
|
+
readonly knownValues: ["takedown", "label"];
|
|
23354
|
+
readonly description: 'The action linked when the appeal was filed, when known.';
|
|
23355
|
+
};
|
|
23356
|
+
readonly resolutionAction: {
|
|
23357
|
+
readonly type: 'string';
|
|
23358
|
+
readonly knownValues: ["takedownReversed", "labelRemoved"];
|
|
23359
|
+
readonly description: 'The corrective action linked to an approved appeal, when known.';
|
|
23360
|
+
};
|
|
23296
23361
|
readonly appealableUntil: {
|
|
23297
23362
|
readonly type: 'string';
|
|
23298
23363
|
readonly format: 'datetime';
|
|
@@ -34710,6 +34775,11 @@ export declare const schemas: ({
|
|
|
34710
34775
|
readonly type: 'string';
|
|
34711
34776
|
readonly format: 'datetime';
|
|
34712
34777
|
};
|
|
34778
|
+
readonly editedAt: {
|
|
34779
|
+
readonly type: 'string';
|
|
34780
|
+
readonly format: 'datetime';
|
|
34781
|
+
readonly description: 'Present if the record has been edited. Timestamp when the current version of the record was indexed. indexedAt is unchanged by edits.';
|
|
34782
|
+
};
|
|
34713
34783
|
};
|
|
34714
34784
|
};
|
|
34715
34785
|
readonly viewNotFound: {
|
|
@@ -34923,6 +34993,11 @@ export declare const schemas: ({
|
|
|
34923
34993
|
readonly type: 'string';
|
|
34924
34994
|
readonly format: 'datetime';
|
|
34925
34995
|
};
|
|
34996
|
+
readonly editedAt: {
|
|
34997
|
+
readonly type: 'string';
|
|
34998
|
+
readonly format: 'datetime';
|
|
34999
|
+
readonly description: 'Present if the post has been edited. Timestamp when the version of the post in this view was indexed. indexedAt is unchanged by edits.';
|
|
35000
|
+
};
|
|
34926
35001
|
readonly viewer: {
|
|
34927
35002
|
readonly type: 'ref';
|
|
34928
35003
|
readonly ref: 'lex:app.bsky.feed.defs#viewerState';
|
|
@@ -36022,6 +36097,50 @@ export declare const schemas: ({
|
|
|
36022
36097
|
}];
|
|
36023
36098
|
};
|
|
36024
36099
|
};
|
|
36100
|
+
} | {
|
|
36101
|
+
readonly lexicon: 1;
|
|
36102
|
+
readonly id: 'app.bsky.feed.getPostVersions';
|
|
36103
|
+
readonly defs: {
|
|
36104
|
+
readonly main: {
|
|
36105
|
+
readonly type: 'query';
|
|
36106
|
+
readonly description: 'Get the version history of a post. Only versions the AppView accepted as valid edits are included.';
|
|
36107
|
+
readonly parameters: {
|
|
36108
|
+
readonly type: 'params';
|
|
36109
|
+
readonly required: ["uri"];
|
|
36110
|
+
readonly properties: {
|
|
36111
|
+
readonly uri: {
|
|
36112
|
+
readonly type: 'string';
|
|
36113
|
+
readonly format: 'at-uri';
|
|
36114
|
+
readonly description: 'Reference (AT-URI) of post record';
|
|
36115
|
+
};
|
|
36116
|
+
};
|
|
36117
|
+
};
|
|
36118
|
+
readonly output: {
|
|
36119
|
+
readonly encoding: 'application/json';
|
|
36120
|
+
readonly schema: {
|
|
36121
|
+
readonly type: 'object';
|
|
36122
|
+
readonly required: ["uri", "versions"];
|
|
36123
|
+
readonly properties: {
|
|
36124
|
+
readonly uri: {
|
|
36125
|
+
readonly type: 'string';
|
|
36126
|
+
readonly format: 'at-uri';
|
|
36127
|
+
};
|
|
36128
|
+
readonly versions: {
|
|
36129
|
+
readonly type: 'array';
|
|
36130
|
+
readonly description: "Versions of the post, newest first. Includes the current version, so an unedited post has a single entry. Each view describes the version at its CID: counts and viewer state are scoped to that CID, editedAt is when that version was indexed (absent on the original), and indexedAt is the original post's.";
|
|
36131
|
+
readonly items: {
|
|
36132
|
+
readonly type: 'ref';
|
|
36133
|
+
readonly ref: 'lex:app.bsky.feed.defs#postView';
|
|
36134
|
+
};
|
|
36135
|
+
};
|
|
36136
|
+
};
|
|
36137
|
+
};
|
|
36138
|
+
};
|
|
36139
|
+
readonly errors: [{
|
|
36140
|
+
readonly name: 'NotFound';
|
|
36141
|
+
}];
|
|
36142
|
+
};
|
|
36143
|
+
};
|
|
36025
36144
|
} | {
|
|
36026
36145
|
readonly lexicon: 1;
|
|
36027
36146
|
readonly id: 'app.bsky.feed.getPosts';
|
|
@@ -54070,6 +54189,16 @@ export declare const schemas: ({
|
|
|
54070
54189
|
readonly knownValues: ["approved", "denied"];
|
|
54071
54190
|
readonly description: 'Decision on a resolved appeal.';
|
|
54072
54191
|
};
|
|
54192
|
+
readonly appealedAction: {
|
|
54193
|
+
readonly type: 'string';
|
|
54194
|
+
readonly knownValues: ["takedown", "label"];
|
|
54195
|
+
readonly description: 'The action linked when the appeal was filed, when known.';
|
|
54196
|
+
};
|
|
54197
|
+
readonly resolutionAction: {
|
|
54198
|
+
readonly type: 'string';
|
|
54199
|
+
readonly knownValues: ["takedownReversed", "labelRemoved"];
|
|
54200
|
+
readonly description: 'The corrective action linked to an approved appeal, when known.';
|
|
54201
|
+
};
|
|
54073
54202
|
readonly appealableUntil: {
|
|
54074
54203
|
readonly type: 'string';
|
|
54075
54204
|
readonly format: 'datetime';
|
|
@@ -61895,6 +62024,7 @@ export declare const ids: {
|
|
|
61895
62024
|
readonly AppBskyFeedGetLikes: 'app.bsky.feed.getLikes';
|
|
61896
62025
|
readonly AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed';
|
|
61897
62026
|
readonly AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread';
|
|
62027
|
+
readonly AppBskyFeedGetPostVersions: 'app.bsky.feed.getPostVersions';
|
|
61898
62028
|
readonly AppBskyFeedGetPosts: 'app.bsky.feed.getPosts';
|
|
61899
62029
|
readonly AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes';
|
|
61900
62030
|
readonly AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy';
|