@atproto/api 0.32.6 → 0.32.7
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 +6 -0
- package/dist/client/lexicons.d.ts +88 -4
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +44 -2
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +14 -2
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.32.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#6003](https://github.com/bluesky-social/atproto/pull/6003) [`ea36fae`](https://github.com/bluesky-social/atproto/commit/ea36fae222c5352629cd0b73808825550623668b) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Sync the external embed lexicon with followed-account liker and publication subscriber previews and counts.
|
|
8
|
+
|
|
3
9
|
## 0.32.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -2924,7 +2924,7 @@ export declare const schemaDict: {
|
|
|
2924
2924
|
readonly likers: {
|
|
2925
2925
|
readonly type: 'array';
|
|
2926
2926
|
readonly maxLength: 3;
|
|
2927
|
-
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking.';
|
|
2927
|
+
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking. Deprecated: use viewer.knownLikers instead.';
|
|
2928
2928
|
readonly items: {
|
|
2929
2929
|
readonly type: 'ref';
|
|
2930
2930
|
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
@@ -2941,6 +2941,20 @@ export declare const schemaDict: {
|
|
|
2941
2941
|
readonly format: 'at-uri';
|
|
2942
2942
|
readonly description: "The requesting account's site.standard.graph.recommend record for this article, if recommended.";
|
|
2943
2943
|
};
|
|
2944
|
+
readonly knownLikers: {
|
|
2945
|
+
readonly type: 'array';
|
|
2946
|
+
readonly maxLength: 3;
|
|
2947
|
+
readonly description: 'Up to 3 accounts the requesting account follows that recommended the subject, newest first. Never includes the requesting account.';
|
|
2948
|
+
readonly items: {
|
|
2949
|
+
readonly type: 'ref';
|
|
2950
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
2951
|
+
};
|
|
2952
|
+
};
|
|
2953
|
+
readonly knownLikerCount: {
|
|
2954
|
+
readonly type: 'integer';
|
|
2955
|
+
readonly minimum: 0;
|
|
2956
|
+
readonly description: 'Total number of accounts the requesting account follows that recommended the subject, including those in knownLikers.';
|
|
2957
|
+
};
|
|
2944
2958
|
};
|
|
2945
2959
|
};
|
|
2946
2960
|
readonly viewArticlePublication: {
|
|
@@ -3031,6 +3045,20 @@ export declare const schemaDict: {
|
|
|
3031
3045
|
readonly format: 'at-uri';
|
|
3032
3046
|
readonly description: "The requesting account's site.standard.graph.subscription record for this publication, if subscribed.";
|
|
3033
3047
|
};
|
|
3048
|
+
readonly knownSubscribers: {
|
|
3049
|
+
readonly type: 'array';
|
|
3050
|
+
readonly maxLength: 3;
|
|
3051
|
+
readonly description: 'Up to 3 accounts the requesting account follows that subscribed to the subject, newest first. Never includes the requesting account.';
|
|
3052
|
+
readonly items: {
|
|
3053
|
+
readonly type: 'ref';
|
|
3054
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
3055
|
+
};
|
|
3056
|
+
};
|
|
3057
|
+
readonly knownSubscriberCount: {
|
|
3058
|
+
readonly type: 'integer';
|
|
3059
|
+
readonly minimum: 0;
|
|
3060
|
+
readonly description: 'Total number of accounts the requesting account follows that subscribed to the subject, including those in knownSubscribers.';
|
|
3061
|
+
};
|
|
3034
3062
|
};
|
|
3035
3063
|
};
|
|
3036
3064
|
readonly viewArticlePublicationTheme: {
|
|
@@ -3126,7 +3154,7 @@ export declare const schemaDict: {
|
|
|
3126
3154
|
readonly likers: {
|
|
3127
3155
|
readonly type: 'array';
|
|
3128
3156
|
readonly maxLength: 3;
|
|
3129
|
-
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking.';
|
|
3157
|
+
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking. Deprecated: use viewer.knownLikers instead.';
|
|
3130
3158
|
readonly items: {
|
|
3131
3159
|
readonly type: 'ref';
|
|
3132
3160
|
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
@@ -3143,6 +3171,20 @@ export declare const schemaDict: {
|
|
|
3143
3171
|
readonly format: 'at-uri';
|
|
3144
3172
|
readonly description: "The requesting account's social.grain.favorite record for this gallery, if favorited.";
|
|
3145
3173
|
};
|
|
3174
|
+
readonly knownLikers: {
|
|
3175
|
+
readonly type: 'array';
|
|
3176
|
+
readonly maxLength: 3;
|
|
3177
|
+
readonly description: 'Up to 3 accounts the requesting account follows that favorited the subject, newest first. Never includes the requesting account.';
|
|
3178
|
+
readonly items: {
|
|
3179
|
+
readonly type: 'ref';
|
|
3180
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
3183
|
+
readonly knownLikerCount: {
|
|
3184
|
+
readonly type: 'integer';
|
|
3185
|
+
readonly minimum: 0;
|
|
3186
|
+
readonly description: 'Total number of accounts the requesting account follows that favorited the subject, including those in knownLikers.';
|
|
3187
|
+
};
|
|
3146
3188
|
};
|
|
3147
3189
|
};
|
|
3148
3190
|
readonly viewGalleryImage: {
|
|
@@ -32009,7 +32051,7 @@ export declare const schemas: ({
|
|
|
32009
32051
|
readonly likers: {
|
|
32010
32052
|
readonly type: 'array';
|
|
32011
32053
|
readonly maxLength: 3;
|
|
32012
|
-
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking.';
|
|
32054
|
+
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking. Deprecated: use viewer.knownLikers instead.';
|
|
32013
32055
|
readonly items: {
|
|
32014
32056
|
readonly type: 'ref';
|
|
32015
32057
|
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
@@ -32026,6 +32068,20 @@ export declare const schemas: ({
|
|
|
32026
32068
|
readonly format: 'at-uri';
|
|
32027
32069
|
readonly description: "The requesting account's site.standard.graph.recommend record for this article, if recommended.";
|
|
32028
32070
|
};
|
|
32071
|
+
readonly knownLikers: {
|
|
32072
|
+
readonly type: 'array';
|
|
32073
|
+
readonly maxLength: 3;
|
|
32074
|
+
readonly description: 'Up to 3 accounts the requesting account follows that recommended the subject, newest first. Never includes the requesting account.';
|
|
32075
|
+
readonly items: {
|
|
32076
|
+
readonly type: 'ref';
|
|
32077
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
32078
|
+
};
|
|
32079
|
+
};
|
|
32080
|
+
readonly knownLikerCount: {
|
|
32081
|
+
readonly type: 'integer';
|
|
32082
|
+
readonly minimum: 0;
|
|
32083
|
+
readonly description: 'Total number of accounts the requesting account follows that recommended the subject, including those in knownLikers.';
|
|
32084
|
+
};
|
|
32029
32085
|
};
|
|
32030
32086
|
};
|
|
32031
32087
|
readonly viewArticlePublication: {
|
|
@@ -32116,6 +32172,20 @@ export declare const schemas: ({
|
|
|
32116
32172
|
readonly format: 'at-uri';
|
|
32117
32173
|
readonly description: "The requesting account's site.standard.graph.subscription record for this publication, if subscribed.";
|
|
32118
32174
|
};
|
|
32175
|
+
readonly knownSubscribers: {
|
|
32176
|
+
readonly type: 'array';
|
|
32177
|
+
readonly maxLength: 3;
|
|
32178
|
+
readonly description: 'Up to 3 accounts the requesting account follows that subscribed to the subject, newest first. Never includes the requesting account.';
|
|
32179
|
+
readonly items: {
|
|
32180
|
+
readonly type: 'ref';
|
|
32181
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
32182
|
+
};
|
|
32183
|
+
};
|
|
32184
|
+
readonly knownSubscriberCount: {
|
|
32185
|
+
readonly type: 'integer';
|
|
32186
|
+
readonly minimum: 0;
|
|
32187
|
+
readonly description: 'Total number of accounts the requesting account follows that subscribed to the subject, including those in knownSubscribers.';
|
|
32188
|
+
};
|
|
32119
32189
|
};
|
|
32120
32190
|
};
|
|
32121
32191
|
readonly viewArticlePublicationTheme: {
|
|
@@ -32211,7 +32281,7 @@ export declare const schemas: ({
|
|
|
32211
32281
|
readonly likers: {
|
|
32212
32282
|
readonly type: 'array';
|
|
32213
32283
|
readonly maxLength: 3;
|
|
32214
|
-
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking.';
|
|
32284
|
+
readonly description: 'Available profile previews. Selected deterministically by DID; not a ranking. Deprecated: use viewer.knownLikers instead.';
|
|
32215
32285
|
readonly items: {
|
|
32216
32286
|
readonly type: 'ref';
|
|
32217
32287
|
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
@@ -32228,6 +32298,20 @@ export declare const schemas: ({
|
|
|
32228
32298
|
readonly format: 'at-uri';
|
|
32229
32299
|
readonly description: "The requesting account's social.grain.favorite record for this gallery, if favorited.";
|
|
32230
32300
|
};
|
|
32301
|
+
readonly knownLikers: {
|
|
32302
|
+
readonly type: 'array';
|
|
32303
|
+
readonly maxLength: 3;
|
|
32304
|
+
readonly description: 'Up to 3 accounts the requesting account follows that favorited the subject, newest first. Never includes the requesting account.';
|
|
32305
|
+
readonly items: {
|
|
32306
|
+
readonly type: 'ref';
|
|
32307
|
+
readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
|
|
32308
|
+
};
|
|
32309
|
+
};
|
|
32310
|
+
readonly knownLikerCount: {
|
|
32311
|
+
readonly type: 'integer';
|
|
32312
|
+
readonly minimum: 0;
|
|
32313
|
+
readonly description: 'Total number of accounts the requesting account follows that favorited the subject, including those in knownLikers.';
|
|
32314
|
+
};
|
|
32231
32315
|
};
|
|
32232
32316
|
};
|
|
32233
32317
|
readonly viewGalleryImage: {
|