@atproto/api 0.32.4 → 0.32.5
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 +10 -0
- package/dist/client/lexicons.d.ts +120 -58
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +65 -29
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +31 -2
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js +14 -0
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +0 -4
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +0 -4
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/package.json +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -2802,6 +2802,16 @@ export const schemaDict = {
|
|
|
2802
2802
|
type: 'ref',
|
|
2803
2803
|
ref: 'lex:app.bsky.embed.external#viewExternal',
|
|
2804
2804
|
},
|
|
2805
|
+
data: {
|
|
2806
|
+
type: 'union',
|
|
2807
|
+
refs: [
|
|
2808
|
+
'lex:app.bsky.embed.external#viewArticle',
|
|
2809
|
+
'lex:app.bsky.embed.external#viewArticlePublication',
|
|
2810
|
+
'lex:app.bsky.embed.external#viewGallery',
|
|
2811
|
+
'lex:app.bsky.embed.external#viewLivestream',
|
|
2812
|
+
],
|
|
2813
|
+
description: 'Hydrated modality-specific data for the external embed, when available.',
|
|
2814
|
+
},
|
|
2805
2815
|
},
|
|
2806
2816
|
},
|
|
2807
2817
|
viewExternal: {
|
|
@@ -2894,7 +2904,7 @@ export const schemaDict = {
|
|
|
2894
2904
|
},
|
|
2895
2905
|
viewExternalSourceTheme: {
|
|
2896
2906
|
type: 'object',
|
|
2897
|
-
description: 'The theme colors of an external source, such as a standard.
|
|
2907
|
+
description: 'The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.',
|
|
2898
2908
|
properties: {
|
|
2899
2909
|
backgroundRGB: {
|
|
2900
2910
|
type: 'ref',
|
|
@@ -2940,6 +2950,11 @@ export const schemaDict = {
|
|
|
2940
2950
|
type: 'object',
|
|
2941
2951
|
required: ['uri', 'title', 'description'],
|
|
2942
2952
|
properties: {
|
|
2953
|
+
providerId: {
|
|
2954
|
+
type: 'string',
|
|
2955
|
+
maxLength: 128,
|
|
2956
|
+
description: 'Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.',
|
|
2957
|
+
},
|
|
2943
2958
|
uri: {
|
|
2944
2959
|
type: 'string',
|
|
2945
2960
|
format: 'uri',
|
|
@@ -2991,6 +3006,10 @@ export const schemaDict = {
|
|
|
2991
3006
|
type: 'integer',
|
|
2992
3007
|
minimum: 1,
|
|
2993
3008
|
},
|
|
3009
|
+
viewer: {
|
|
3010
|
+
type: 'ref',
|
|
3011
|
+
ref: 'lex:app.bsky.embed.external#viewArticleViewerState',
|
|
3012
|
+
},
|
|
2994
3013
|
likeCount: {
|
|
2995
3014
|
type: 'integer',
|
|
2996
3015
|
minimum: 0,
|
|
@@ -3006,10 +3025,26 @@ export const schemaDict = {
|
|
|
3006
3025
|
},
|
|
3007
3026
|
},
|
|
3008
3027
|
},
|
|
3028
|
+
viewArticleViewerState: {
|
|
3029
|
+
type: 'object',
|
|
3030
|
+
description: "Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests.",
|
|
3031
|
+
properties: {
|
|
3032
|
+
like: {
|
|
3033
|
+
type: 'string',
|
|
3034
|
+
format: 'at-uri',
|
|
3035
|
+
description: "The requesting account's site.standard.graph.recommend record for this article, if recommended.",
|
|
3036
|
+
},
|
|
3037
|
+
},
|
|
3038
|
+
},
|
|
3009
3039
|
viewArticlePublication: {
|
|
3010
3040
|
type: 'object',
|
|
3011
3041
|
required: ['uri', 'title', 'description'],
|
|
3012
3042
|
properties: {
|
|
3043
|
+
providerId: {
|
|
3044
|
+
type: 'string',
|
|
3045
|
+
maxLength: 128,
|
|
3046
|
+
description: 'Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.',
|
|
3047
|
+
},
|
|
3013
3048
|
uri: {
|
|
3014
3049
|
type: 'string',
|
|
3015
3050
|
format: 'uri',
|
|
@@ -3061,6 +3096,10 @@ export const schemaDict = {
|
|
|
3061
3096
|
type: 'ref',
|
|
3062
3097
|
ref: 'lex:app.bsky.embed.external#viewArticlePublicationTheme',
|
|
3063
3098
|
},
|
|
3099
|
+
viewer: {
|
|
3100
|
+
type: 'ref',
|
|
3101
|
+
ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState',
|
|
3102
|
+
},
|
|
3064
3103
|
subscriptionCount: {
|
|
3065
3104
|
type: 'integer',
|
|
3066
3105
|
minimum: 0,
|
|
@@ -3074,10 +3113,6 @@ export const schemaDict = {
|
|
|
3074
3113
|
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3075
3114
|
},
|
|
3076
3115
|
},
|
|
3077
|
-
viewer: {
|
|
3078
|
-
type: 'ref',
|
|
3079
|
-
ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState',
|
|
3080
|
-
},
|
|
3081
3116
|
},
|
|
3082
3117
|
},
|
|
3083
3118
|
viewArticlePublicationViewerState: {
|
|
@@ -3116,6 +3151,11 @@ export const schemaDict = {
|
|
|
3116
3151
|
type: 'object',
|
|
3117
3152
|
required: ['uri', 'title', 'description', 'items'],
|
|
3118
3153
|
properties: {
|
|
3154
|
+
providerId: {
|
|
3155
|
+
type: 'string',
|
|
3156
|
+
maxLength: 128,
|
|
3157
|
+
description: 'Best-effort provider domain for cosmetic attribution, such as grain.social. Not verified provenance.',
|
|
3158
|
+
},
|
|
3119
3159
|
uri: {
|
|
3120
3160
|
type: 'string',
|
|
3121
3161
|
format: 'uri',
|
|
@@ -3168,6 +3208,10 @@ export const schemaDict = {
|
|
|
3168
3208
|
minimum: 0,
|
|
3169
3209
|
description: 'Total number of gallery item backlinks, independent of the items included in this view.',
|
|
3170
3210
|
},
|
|
3211
|
+
viewer: {
|
|
3212
|
+
type: 'ref',
|
|
3213
|
+
ref: 'lex:app.bsky.embed.external#viewGalleryViewerState',
|
|
3214
|
+
},
|
|
3171
3215
|
likeCount: {
|
|
3172
3216
|
type: 'integer',
|
|
3173
3217
|
minimum: 0,
|
|
@@ -3183,6 +3227,17 @@ export const schemaDict = {
|
|
|
3183
3227
|
},
|
|
3184
3228
|
},
|
|
3185
3229
|
},
|
|
3230
|
+
viewGalleryViewerState: {
|
|
3231
|
+
type: 'object',
|
|
3232
|
+
description: "Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests.",
|
|
3233
|
+
properties: {
|
|
3234
|
+
like: {
|
|
3235
|
+
type: 'string',
|
|
3236
|
+
format: 'at-uri',
|
|
3237
|
+
description: "The requesting account's social.grain.favorite record for this gallery, if favorited.",
|
|
3238
|
+
},
|
|
3239
|
+
},
|
|
3240
|
+
},
|
|
3186
3241
|
viewGalleryImage: {
|
|
3187
3242
|
type: 'object',
|
|
3188
3243
|
required: ['thumbnail', 'fullsize'],
|
|
@@ -3211,6 +3266,11 @@ export const schemaDict = {
|
|
|
3211
3266
|
type: 'object',
|
|
3212
3267
|
required: ['uri', 'title', 'description', 'active'],
|
|
3213
3268
|
properties: {
|
|
3269
|
+
providerId: {
|
|
3270
|
+
type: 'string',
|
|
3271
|
+
maxLength: 128,
|
|
3272
|
+
description: 'Best-effort provider domain for cosmetic attribution, such as stream.place. Not verified provenance.',
|
|
3273
|
+
},
|
|
3214
3274
|
uri: {
|
|
3215
3275
|
type: 'string',
|
|
3216
3276
|
format: 'uri',
|
|
@@ -9575,18 +9635,6 @@ export const schemaDict = {
|
|
|
9575
9635
|
format: 'uri',
|
|
9576
9636
|
maxLength: 4096,
|
|
9577
9637
|
},
|
|
9578
|
-
appStoreUrl: {
|
|
9579
|
-
type: 'string',
|
|
9580
|
-
format: 'uri',
|
|
9581
|
-
maxLength: 4096,
|
|
9582
|
-
description: 'Optional link to the app on the Apple App Store.',
|
|
9583
|
-
},
|
|
9584
|
-
googlePlayUrl: {
|
|
9585
|
-
type: 'string',
|
|
9586
|
-
format: 'uri',
|
|
9587
|
-
maxLength: 4096,
|
|
9588
|
-
description: 'Optional link to the app on Google Play.',
|
|
9589
|
-
},
|
|
9590
9638
|
category: {
|
|
9591
9639
|
type: 'string',
|
|
9592
9640
|
maxLength: 100,
|
|
@@ -9942,18 +9990,6 @@ export const schemaDict = {
|
|
|
9942
9990
|
format: 'uri',
|
|
9943
9991
|
maxLength: 4096,
|
|
9944
9992
|
},
|
|
9945
|
-
appStoreUrl: {
|
|
9946
|
-
type: 'string',
|
|
9947
|
-
format: 'uri',
|
|
9948
|
-
maxLength: 4096,
|
|
9949
|
-
description: 'Optional link to the app on the Apple App Store.',
|
|
9950
|
-
},
|
|
9951
|
-
googlePlayUrl: {
|
|
9952
|
-
type: 'string',
|
|
9953
|
-
format: 'uri',
|
|
9954
|
-
maxLength: 4096,
|
|
9955
|
-
description: 'Optional link to the app on Google Play.',
|
|
9956
|
-
},
|
|
9957
9993
|
category: {
|
|
9958
9994
|
type: 'string',
|
|
9959
9995
|
maxLength: 4096,
|