@atproto/api 0.24.2 → 0.25.0
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 +24 -0
- package/dist/client/index.d.ts +31 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +40 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +1539 -77
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +760 -13
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +15 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js +7 -0
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/actor/link.d.ts +19 -0
- package/dist/client/types/app/bsky/actor/link.d.ts.map +1 -0
- package/dist/client/types/app/bsky/actor/link.js +18 -0
- package/dist/client/types/app/bsky/actor/link.js.map +1 -0
- package/dist/client/types/app/bsky/actor/profile.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +103 -0
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js +42 -0
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +15 -4
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +49 -2
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js +42 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +88 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +56 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -0
- package/package.json +3 -3
package/dist/client/lexicons.js
CHANGED
|
@@ -229,6 +229,14 @@ export const schemaDict = {
|
|
|
229
229
|
type: 'ref',
|
|
230
230
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
231
231
|
},
|
|
232
|
+
links: {
|
|
233
|
+
type: 'array',
|
|
234
|
+
description: "The profile's links, in display order. Links that were taken down or don't resolve are left out.",
|
|
235
|
+
items: {
|
|
236
|
+
type: 'ref',
|
|
237
|
+
ref: 'lex:app.bsky.actor.defs#profileLinkView',
|
|
238
|
+
},
|
|
239
|
+
},
|
|
232
240
|
verification: {
|
|
233
241
|
type: 'ref',
|
|
234
242
|
ref: 'lex:app.bsky.actor.defs#verificationState',
|
|
@@ -300,6 +308,36 @@ export const schemaDict = {
|
|
|
300
308
|
},
|
|
301
309
|
},
|
|
302
310
|
},
|
|
311
|
+
profileLinkView: {
|
|
312
|
+
type: 'object',
|
|
313
|
+
required: ['uri', 'cid', 'url'],
|
|
314
|
+
properties: {
|
|
315
|
+
uri: {
|
|
316
|
+
type: 'string',
|
|
317
|
+
format: 'at-uri',
|
|
318
|
+
description: 'The app.bsky.actor.link record, e.g. for reporting the link.',
|
|
319
|
+
},
|
|
320
|
+
cid: {
|
|
321
|
+
type: 'string',
|
|
322
|
+
format: 'cid',
|
|
323
|
+
},
|
|
324
|
+
url: {
|
|
325
|
+
type: 'string',
|
|
326
|
+
format: 'uri',
|
|
327
|
+
description: 'The link destination.',
|
|
328
|
+
},
|
|
329
|
+
title: {
|
|
330
|
+
type: 'string',
|
|
331
|
+
maxGraphemes: 40,
|
|
332
|
+
maxLength: 320,
|
|
333
|
+
},
|
|
334
|
+
icon: {
|
|
335
|
+
type: 'string',
|
|
336
|
+
format: 'uri',
|
|
337
|
+
description: "Image URL for the destination site's icon.",
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
303
341
|
profileAssociatedActivitySubscription: {
|
|
304
342
|
type: 'object',
|
|
305
343
|
required: ['allowSubscriptions'],
|
|
@@ -1059,6 +1097,44 @@ export const schemaDict = {
|
|
|
1059
1097
|
},
|
|
1060
1098
|
},
|
|
1061
1099
|
},
|
|
1100
|
+
AppBskyActorLink: {
|
|
1101
|
+
lexicon: 1,
|
|
1102
|
+
id: 'app.bsky.actor.link',
|
|
1103
|
+
defs: {
|
|
1104
|
+
main: {
|
|
1105
|
+
type: 'record',
|
|
1106
|
+
description: "A link shown on the account's profile. The profile record's links field sets which links are shown, and in what order.",
|
|
1107
|
+
key: 'tid',
|
|
1108
|
+
record: {
|
|
1109
|
+
type: 'object',
|
|
1110
|
+
required: ['url', 'createdAt'],
|
|
1111
|
+
properties: {
|
|
1112
|
+
url: {
|
|
1113
|
+
type: 'string',
|
|
1114
|
+
format: 'uri',
|
|
1115
|
+
description: 'The link destination, an https URL.',
|
|
1116
|
+
},
|
|
1117
|
+
title: {
|
|
1118
|
+
type: 'string',
|
|
1119
|
+
description: "Optional label for the link. Clients can fall back to the destination's domain.",
|
|
1120
|
+
maxGraphemes: 40,
|
|
1121
|
+
maxLength: 320,
|
|
1122
|
+
},
|
|
1123
|
+
icon: {
|
|
1124
|
+
type: 'blob',
|
|
1125
|
+
description: "The destination site's icon, uploaded when the link is saved.",
|
|
1126
|
+
accept: ['image/png', 'image/jpeg', 'image/webp'],
|
|
1127
|
+
maxSize: 100000,
|
|
1128
|
+
},
|
|
1129
|
+
createdAt: {
|
|
1130
|
+
type: 'string',
|
|
1131
|
+
format: 'datetime',
|
|
1132
|
+
},
|
|
1133
|
+
},
|
|
1134
|
+
},
|
|
1135
|
+
},
|
|
1136
|
+
},
|
|
1137
|
+
},
|
|
1062
1138
|
AppBskyActorProfile: {
|
|
1063
1139
|
lexicon: 1,
|
|
1064
1140
|
id: 'app.bsky.actor.profile',
|
|
@@ -1116,6 +1192,15 @@ export const schemaDict = {
|
|
|
1116
1192
|
type: 'ref',
|
|
1117
1193
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
1118
1194
|
},
|
|
1195
|
+
links: {
|
|
1196
|
+
type: 'array',
|
|
1197
|
+
description: 'Links shown on the profile, in display order. Each ref points to an app.bsky.actor.link record in this repo.',
|
|
1198
|
+
maxLength: 10,
|
|
1199
|
+
items: {
|
|
1200
|
+
type: 'ref',
|
|
1201
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
1202
|
+
},
|
|
1203
|
+
},
|
|
1119
1204
|
createdAt: {
|
|
1120
1205
|
type: 'string',
|
|
1121
1206
|
format: 'datetime',
|
|
@@ -2830,10 +2915,322 @@ export const schemaDict = {
|
|
|
2830
2915
|
minimum: 0,
|
|
2831
2916
|
maximum: 255,
|
|
2832
2917
|
},
|
|
2833
|
-
b: {
|
|
2834
|
-
type: 'integer',
|
|
2835
|
-
minimum: 0,
|
|
2836
|
-
maximum: 255,
|
|
2918
|
+
b: {
|
|
2919
|
+
type: 'integer',
|
|
2920
|
+
minimum: 0,
|
|
2921
|
+
maximum: 255,
|
|
2922
|
+
},
|
|
2923
|
+
},
|
|
2924
|
+
},
|
|
2925
|
+
viewArticle: {
|
|
2926
|
+
type: 'object',
|
|
2927
|
+
required: ['uri', 'title', 'description'],
|
|
2928
|
+
properties: {
|
|
2929
|
+
uri: {
|
|
2930
|
+
type: 'string',
|
|
2931
|
+
format: 'uri',
|
|
2932
|
+
},
|
|
2933
|
+
title: {
|
|
2934
|
+
type: 'string',
|
|
2935
|
+
},
|
|
2936
|
+
description: {
|
|
2937
|
+
type: 'string',
|
|
2938
|
+
},
|
|
2939
|
+
createdAt: {
|
|
2940
|
+
type: 'string',
|
|
2941
|
+
format: 'datetime',
|
|
2942
|
+
},
|
|
2943
|
+
updatedAt: {
|
|
2944
|
+
type: 'string',
|
|
2945
|
+
format: 'datetime',
|
|
2946
|
+
},
|
|
2947
|
+
labels: {
|
|
2948
|
+
type: 'array',
|
|
2949
|
+
items: {
|
|
2950
|
+
type: 'ref',
|
|
2951
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
2952
|
+
},
|
|
2953
|
+
},
|
|
2954
|
+
associatedRefs: {
|
|
2955
|
+
type: 'array',
|
|
2956
|
+
items: {
|
|
2957
|
+
type: 'ref',
|
|
2958
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2959
|
+
},
|
|
2960
|
+
},
|
|
2961
|
+
associatedProfiles: {
|
|
2962
|
+
type: 'array',
|
|
2963
|
+
items: {
|
|
2964
|
+
type: 'ref',
|
|
2965
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
2966
|
+
},
|
|
2967
|
+
},
|
|
2968
|
+
image: {
|
|
2969
|
+
type: 'string',
|
|
2970
|
+
format: 'uri',
|
|
2971
|
+
},
|
|
2972
|
+
publisher: {
|
|
2973
|
+
type: 'ref',
|
|
2974
|
+
ref: 'lex:app.bsky.embed.external#viewArticlePublication',
|
|
2975
|
+
},
|
|
2976
|
+
readingTime: {
|
|
2977
|
+
type: 'integer',
|
|
2978
|
+
minimum: 1,
|
|
2979
|
+
},
|
|
2980
|
+
likeCount: {
|
|
2981
|
+
type: 'integer',
|
|
2982
|
+
minimum: 0,
|
|
2983
|
+
},
|
|
2984
|
+
likers: {
|
|
2985
|
+
type: 'array',
|
|
2986
|
+
maxLength: 3,
|
|
2987
|
+
description: 'Available profile previews. Selected deterministically by DID; not a ranking.',
|
|
2988
|
+
items: {
|
|
2989
|
+
type: 'ref',
|
|
2990
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
2991
|
+
},
|
|
2992
|
+
},
|
|
2993
|
+
},
|
|
2994
|
+
},
|
|
2995
|
+
viewArticlePublication: {
|
|
2996
|
+
type: 'object',
|
|
2997
|
+
required: ['uri', 'title', 'description'],
|
|
2998
|
+
properties: {
|
|
2999
|
+
uri: {
|
|
3000
|
+
type: 'string',
|
|
3001
|
+
format: 'uri',
|
|
3002
|
+
},
|
|
3003
|
+
title: {
|
|
3004
|
+
type: 'string',
|
|
3005
|
+
},
|
|
3006
|
+
description: {
|
|
3007
|
+
type: 'string',
|
|
3008
|
+
},
|
|
3009
|
+
createdAt: {
|
|
3010
|
+
type: 'string',
|
|
3011
|
+
format: 'datetime',
|
|
3012
|
+
},
|
|
3013
|
+
updatedAt: {
|
|
3014
|
+
type: 'string',
|
|
3015
|
+
format: 'datetime',
|
|
3016
|
+
},
|
|
3017
|
+
labels: {
|
|
3018
|
+
type: 'array',
|
|
3019
|
+
items: {
|
|
3020
|
+
type: 'ref',
|
|
3021
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
3022
|
+
},
|
|
3023
|
+
},
|
|
3024
|
+
associatedRefs: {
|
|
3025
|
+
type: 'array',
|
|
3026
|
+
items: {
|
|
3027
|
+
type: 'ref',
|
|
3028
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
3029
|
+
},
|
|
3030
|
+
},
|
|
3031
|
+
associatedProfiles: {
|
|
3032
|
+
type: 'array',
|
|
3033
|
+
items: {
|
|
3034
|
+
type: 'ref',
|
|
3035
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3036
|
+
},
|
|
3037
|
+
},
|
|
3038
|
+
logo: {
|
|
3039
|
+
type: 'string',
|
|
3040
|
+
format: 'uri',
|
|
3041
|
+
},
|
|
3042
|
+
image: {
|
|
3043
|
+
type: 'string',
|
|
3044
|
+
format: 'uri',
|
|
3045
|
+
},
|
|
3046
|
+
theme: {
|
|
3047
|
+
type: 'ref',
|
|
3048
|
+
ref: 'lex:app.bsky.embed.external#viewArticlePublicationTheme',
|
|
3049
|
+
},
|
|
3050
|
+
subscriptionCount: {
|
|
3051
|
+
type: 'integer',
|
|
3052
|
+
minimum: 0,
|
|
3053
|
+
},
|
|
3054
|
+
subscribers: {
|
|
3055
|
+
type: 'array',
|
|
3056
|
+
maxLength: 3,
|
|
3057
|
+
description: 'Available profile previews. Selected deterministically by DID; not a ranking.',
|
|
3058
|
+
items: {
|
|
3059
|
+
type: 'ref',
|
|
3060
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3061
|
+
},
|
|
3062
|
+
},
|
|
3063
|
+
},
|
|
3064
|
+
},
|
|
3065
|
+
viewArticlePublicationTheme: {
|
|
3066
|
+
type: 'object',
|
|
3067
|
+
properties: {
|
|
3068
|
+
background: {
|
|
3069
|
+
type: 'string',
|
|
3070
|
+
description: "Hex color string, if available. Example: '#ffffff'.",
|
|
3071
|
+
},
|
|
3072
|
+
foreground: {
|
|
3073
|
+
type: 'string',
|
|
3074
|
+
description: "Hex color string, if available. Example: '#ffffff'.",
|
|
3075
|
+
},
|
|
3076
|
+
accent: {
|
|
3077
|
+
type: 'string',
|
|
3078
|
+
description: "Hex color string, if available. Example: '#ffffff'.",
|
|
3079
|
+
},
|
|
3080
|
+
accentForeground: {
|
|
3081
|
+
type: 'string',
|
|
3082
|
+
description: "Hex color string, if available. Example: '#ffffff'.",
|
|
3083
|
+
},
|
|
3084
|
+
},
|
|
3085
|
+
},
|
|
3086
|
+
viewGallery: {
|
|
3087
|
+
type: 'object',
|
|
3088
|
+
required: ['uri', 'title', 'description', 'items'],
|
|
3089
|
+
properties: {
|
|
3090
|
+
uri: {
|
|
3091
|
+
type: 'string',
|
|
3092
|
+
format: 'uri',
|
|
3093
|
+
},
|
|
3094
|
+
title: {
|
|
3095
|
+
type: 'string',
|
|
3096
|
+
},
|
|
3097
|
+
description: {
|
|
3098
|
+
type: 'string',
|
|
3099
|
+
},
|
|
3100
|
+
createdAt: {
|
|
3101
|
+
type: 'string',
|
|
3102
|
+
format: 'datetime',
|
|
3103
|
+
},
|
|
3104
|
+
updatedAt: {
|
|
3105
|
+
type: 'string',
|
|
3106
|
+
format: 'datetime',
|
|
3107
|
+
},
|
|
3108
|
+
labels: {
|
|
3109
|
+
type: 'array',
|
|
3110
|
+
items: {
|
|
3111
|
+
type: 'ref',
|
|
3112
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
3113
|
+
},
|
|
3114
|
+
},
|
|
3115
|
+
associatedRefs: {
|
|
3116
|
+
type: 'array',
|
|
3117
|
+
items: {
|
|
3118
|
+
type: 'ref',
|
|
3119
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
3120
|
+
},
|
|
3121
|
+
},
|
|
3122
|
+
associatedProfiles: {
|
|
3123
|
+
type: 'array',
|
|
3124
|
+
items: {
|
|
3125
|
+
type: 'ref',
|
|
3126
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3127
|
+
},
|
|
3128
|
+
},
|
|
3129
|
+
items: {
|
|
3130
|
+
type: 'array',
|
|
3131
|
+
items: {
|
|
3132
|
+
type: 'union',
|
|
3133
|
+
refs: ['lex:app.bsky.embed.external#viewGalleryImage'],
|
|
3134
|
+
},
|
|
3135
|
+
description: 'The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.',
|
|
3136
|
+
},
|
|
3137
|
+
likeCount: {
|
|
3138
|
+
type: 'integer',
|
|
3139
|
+
minimum: 0,
|
|
3140
|
+
},
|
|
3141
|
+
likers: {
|
|
3142
|
+
type: 'array',
|
|
3143
|
+
maxLength: 3,
|
|
3144
|
+
description: 'Available profile previews. Selected deterministically by DID; not a ranking.',
|
|
3145
|
+
items: {
|
|
3146
|
+
type: 'ref',
|
|
3147
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3148
|
+
},
|
|
3149
|
+
},
|
|
3150
|
+
},
|
|
3151
|
+
},
|
|
3152
|
+
viewGalleryImage: {
|
|
3153
|
+
type: 'object',
|
|
3154
|
+
required: ['thumbnail', 'fullsize'],
|
|
3155
|
+
properties: {
|
|
3156
|
+
thumbnail: {
|
|
3157
|
+
type: 'string',
|
|
3158
|
+
format: 'uri',
|
|
3159
|
+
description: 'Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.',
|
|
3160
|
+
},
|
|
3161
|
+
fullsize: {
|
|
3162
|
+
type: 'string',
|
|
3163
|
+
format: 'uri',
|
|
3164
|
+
description: 'Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.',
|
|
3165
|
+
},
|
|
3166
|
+
alt: {
|
|
3167
|
+
type: 'string',
|
|
3168
|
+
description: 'Alt text description of the image, for accessibility.',
|
|
3169
|
+
},
|
|
3170
|
+
aspectRatio: {
|
|
3171
|
+
type: 'ref',
|
|
3172
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
3173
|
+
},
|
|
3174
|
+
},
|
|
3175
|
+
},
|
|
3176
|
+
viewLivestream: {
|
|
3177
|
+
type: 'object',
|
|
3178
|
+
required: ['uri', 'title', 'description', 'active'],
|
|
3179
|
+
properties: {
|
|
3180
|
+
uri: {
|
|
3181
|
+
type: 'string',
|
|
3182
|
+
format: 'uri',
|
|
3183
|
+
},
|
|
3184
|
+
title: {
|
|
3185
|
+
type: 'string',
|
|
3186
|
+
},
|
|
3187
|
+
description: {
|
|
3188
|
+
type: 'string',
|
|
3189
|
+
},
|
|
3190
|
+
createdAt: {
|
|
3191
|
+
type: 'string',
|
|
3192
|
+
format: 'datetime',
|
|
3193
|
+
},
|
|
3194
|
+
updatedAt: {
|
|
3195
|
+
type: 'string',
|
|
3196
|
+
format: 'datetime',
|
|
3197
|
+
},
|
|
3198
|
+
labels: {
|
|
3199
|
+
type: 'array',
|
|
3200
|
+
items: {
|
|
3201
|
+
type: 'ref',
|
|
3202
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
3203
|
+
},
|
|
3204
|
+
},
|
|
3205
|
+
associatedRefs: {
|
|
3206
|
+
type: 'array',
|
|
3207
|
+
items: {
|
|
3208
|
+
type: 'ref',
|
|
3209
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
3210
|
+
},
|
|
3211
|
+
},
|
|
3212
|
+
associatedProfiles: {
|
|
3213
|
+
type: 'array',
|
|
3214
|
+
items: {
|
|
3215
|
+
type: 'ref',
|
|
3216
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3217
|
+
},
|
|
3218
|
+
},
|
|
3219
|
+
image: {
|
|
3220
|
+
type: 'string',
|
|
3221
|
+
format: 'uri',
|
|
3222
|
+
},
|
|
3223
|
+
active: {
|
|
3224
|
+
type: 'boolean',
|
|
3225
|
+
description: 'True if the livestream is currently active at the time this view is served, false if it has ended.',
|
|
3226
|
+
},
|
|
3227
|
+
startedAt: {
|
|
3228
|
+
type: 'string',
|
|
3229
|
+
format: 'datetime',
|
|
3230
|
+
},
|
|
3231
|
+
endedAt: {
|
|
3232
|
+
type: 'string',
|
|
3233
|
+
format: 'datetime',
|
|
2837
3234
|
},
|
|
2838
3235
|
},
|
|
2839
3236
|
},
|
|
@@ -2924,19 +3321,24 @@ export const schemaDict = {
|
|
|
2924
3321
|
defs: {
|
|
2925
3322
|
main: {
|
|
2926
3323
|
type: 'query',
|
|
2927
|
-
description: "Resolve one
|
|
3324
|
+
description: "Resolve one AT-URI record into the data needed to render an enhanced external embed. The records are validated against the requested `url` before any view is built. When validation passes, returns `data`, `associatedRefs` (strongRefs to embed into a post's external.associatedRefs) and the raw `associatedRecords`, plus a legacy `view` for Standard.site records only. When validation fails, only `unverifiedAssociatedRefs` and `unverifiedAssociatedRecords` are returned and no view or data is built. The response is empty (`{}`) when no record URI was usable or the record could not be resolved; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.",
|
|
2928
3325
|
parameters: {
|
|
2929
3326
|
type: 'params',
|
|
2930
|
-
required: ['url'
|
|
3327
|
+
required: ['url'],
|
|
2931
3328
|
properties: {
|
|
2932
3329
|
url: {
|
|
2933
3330
|
type: 'string',
|
|
2934
3331
|
format: 'uri',
|
|
2935
|
-
description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri
|
|
3332
|
+
description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`, and validated against the resolved records.",
|
|
3333
|
+
},
|
|
3334
|
+
canonicalUri: {
|
|
3335
|
+
type: 'string',
|
|
3336
|
+
format: 'at-uri',
|
|
3337
|
+
description: 'The canonical AT URI of the atproto record found on the webpage. When provided, takes precedence over `uris`, which is then ignored.',
|
|
2936
3338
|
},
|
|
2937
3339
|
uris: {
|
|
2938
3340
|
type: 'array',
|
|
2939
|
-
description:
|
|
3341
|
+
description: "Legacy input for Standard.site callers, ignored when `canonicalUri` is provided. A single record is selected from it: the first site.standard.document URI, otherwise the first site.standard.publication URI. Other entries are ignored; a document's publication is discovered from the document itself.",
|
|
2940
3342
|
items: {
|
|
2941
3343
|
type: 'string',
|
|
2942
3344
|
format: 'at-uri',
|
|
@@ -2953,7 +3355,17 @@ export const schemaDict = {
|
|
|
2953
3355
|
view: {
|
|
2954
3356
|
type: 'ref',
|
|
2955
3357
|
ref: 'lex:app.bsky.embed.external#view',
|
|
2956
|
-
description: '
|
|
3358
|
+
description: 'Legacy hydrated view of the embed, returned for Standard.site records only. Present only when validation passed and the records supply enough information to populate the required `viewExternal` fields.',
|
|
3359
|
+
},
|
|
3360
|
+
data: {
|
|
3361
|
+
type: 'union',
|
|
3362
|
+
refs: [
|
|
3363
|
+
'lex:app.bsky.embed.external#viewArticle',
|
|
3364
|
+
'lex:app.bsky.embed.external#viewArticlePublication',
|
|
3365
|
+
'lex:app.bsky.embed.external#viewGallery',
|
|
3366
|
+
'lex:app.bsky.embed.external#viewLivestream',
|
|
3367
|
+
],
|
|
3368
|
+
description: 'Preferred to #view. Hydrated data of the embed. Present only when validation passed and the records supply enough information to populate the required fields.',
|
|
2957
3369
|
},
|
|
2958
3370
|
associatedRefs: {
|
|
2959
3371
|
type: 'array',
|
|
@@ -2961,13 +3373,28 @@ export const schemaDict = {
|
|
|
2961
3373
|
type: 'ref',
|
|
2962
3374
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
2963
3375
|
},
|
|
2964
|
-
description:
|
|
3376
|
+
description: 'StrongRefs (URI+CID) of the Atmosphere records selected for persistence in a post, suitable for embedding into its external.associatedRefs: the canonical record, plus only the additional records the service chooses to persist for its collection. This can be a subset of the records used to render `data`, which may also draw on other hydrated records such as recommendations, subscriptions, or favorites. Present only when validation passed. Index-aligned with `associatedRecords`.',
|
|
2965
3377
|
},
|
|
2966
3378
|
associatedRecords: {
|
|
2967
3379
|
type: 'array',
|
|
2968
3380
|
items: {
|
|
2969
3381
|
type: 'unknown',
|
|
2970
|
-
description: 'The raw record data of the Atmosphere records
|
|
3382
|
+
description: 'The raw record data of the Atmosphere records selected for persistence, index-aligned with `associatedRefs`. Returned for convenience, to avoid the client separately fetching them. Present only when validation passed.',
|
|
3383
|
+
},
|
|
3384
|
+
},
|
|
3385
|
+
unverifiedAssociatedRefs: {
|
|
3386
|
+
type: 'array',
|
|
3387
|
+
items: {
|
|
3388
|
+
type: 'ref',
|
|
3389
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
3390
|
+
},
|
|
3391
|
+
description: 'StrongRefs (URI+CID) of the same persistence-selected Atmosphere records (the canonical record plus chosen additional records) when validation of the requested `url` failed. These must not be written to a post. Index-aligned with `unverifiedAssociatedRecords`.',
|
|
3392
|
+
},
|
|
3393
|
+
unverifiedAssociatedRecords: {
|
|
3394
|
+
type: 'array',
|
|
3395
|
+
items: {
|
|
3396
|
+
type: 'unknown',
|
|
3397
|
+
description: 'The raw record data of the persistence-selected Atmosphere records, index-aligned with `unverifiedAssociatedRefs`. Present only when validation failed.',
|
|
2971
3398
|
},
|
|
2972
3399
|
},
|
|
2973
3400
|
},
|
|
@@ -7673,12 +8100,12 @@ export const schemaDict = {
|
|
|
7673
8100
|
items: {
|
|
7674
8101
|
type: 'union',
|
|
7675
8102
|
refs: [
|
|
7676
|
-
'lex:app.bsky.actor.defs#
|
|
8103
|
+
'lex:app.bsky.actor.defs#profileViewBasic',
|
|
7677
8104
|
'lex:app.bsky.feed.defs#blockedPost',
|
|
7678
8105
|
'lex:app.bsky.feed.defs#generatorView',
|
|
7679
8106
|
'lex:app.bsky.feed.defs#notFoundPost',
|
|
7680
8107
|
'lex:app.bsky.feed.defs#postView',
|
|
7681
|
-
'lex:app.bsky.graph.defs#
|
|
8108
|
+
'lex:app.bsky.graph.defs#starterPackViewBasic',
|
|
7682
8109
|
],
|
|
7683
8110
|
},
|
|
7684
8111
|
},
|
|
@@ -7711,6 +8138,9 @@ export const schemaDict = {
|
|
|
7711
8138
|
refs: [
|
|
7712
8139
|
'lex:app.bsky.notification.getGroupedNotifications#likeGroup',
|
|
7713
8140
|
'lex:app.bsky.notification.getGroupedNotifications#multiPostLikeGroup',
|
|
8141
|
+
'lex:app.bsky.notification.getGroupedNotifications#multiPostRepostGroup',
|
|
8142
|
+
'lex:app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup',
|
|
8143
|
+
'lex:app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup',
|
|
7714
8144
|
'lex:app.bsky.notification.getGroupedNotifications#repostGroup',
|
|
7715
8145
|
'lex:app.bsky.notification.getGroupedNotifications#likeViaRepostGroup',
|
|
7716
8146
|
'lex:app.bsky.notification.getGroupedNotifications#repostViaRepostGroup',
|
|
@@ -7789,6 +8219,104 @@ export const schemaDict = {
|
|
|
7789
8219
|
},
|
|
7790
8220
|
},
|
|
7791
8221
|
},
|
|
8222
|
+
multiPostRepostGroup: {
|
|
8223
|
+
type: 'object',
|
|
8224
|
+
description: 'Group of reposts by the same actor of different posts.',
|
|
8225
|
+
required: ['actor', 'items'],
|
|
8226
|
+
properties: {
|
|
8227
|
+
actor: {
|
|
8228
|
+
type: 'string',
|
|
8229
|
+
format: 'did',
|
|
8230
|
+
},
|
|
8231
|
+
items: {
|
|
8232
|
+
type: 'array',
|
|
8233
|
+
minLength: 2,
|
|
8234
|
+
items: {
|
|
8235
|
+
type: 'ref',
|
|
8236
|
+
ref: 'lex:app.bsky.notification.getGroupedNotifications#multiPostRepostItem',
|
|
8237
|
+
},
|
|
8238
|
+
},
|
|
8239
|
+
},
|
|
8240
|
+
},
|
|
8241
|
+
multiPostRepostItem: {
|
|
8242
|
+
type: 'object',
|
|
8243
|
+
description: "One post which was reposted by the group's actor.",
|
|
8244
|
+
required: ['post'],
|
|
8245
|
+
properties: {
|
|
8246
|
+
post: {
|
|
8247
|
+
type: 'string',
|
|
8248
|
+
format: 'at-uri',
|
|
8249
|
+
},
|
|
8250
|
+
},
|
|
8251
|
+
},
|
|
8252
|
+
multiPostLikeViaRepostGroup: {
|
|
8253
|
+
type: 'object',
|
|
8254
|
+
description: "Group of likes by the same actor on different posts via the requesting account's reposts.",
|
|
8255
|
+
required: ['actor', 'items'],
|
|
8256
|
+
properties: {
|
|
8257
|
+
actor: {
|
|
8258
|
+
type: 'string',
|
|
8259
|
+
format: 'did',
|
|
8260
|
+
},
|
|
8261
|
+
items: {
|
|
8262
|
+
type: 'array',
|
|
8263
|
+
minLength: 2,
|
|
8264
|
+
items: {
|
|
8265
|
+
type: 'ref',
|
|
8266
|
+
ref: 'lex:app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem',
|
|
8267
|
+
},
|
|
8268
|
+
},
|
|
8269
|
+
},
|
|
8270
|
+
},
|
|
8271
|
+
multiPostLikeViaRepostItem: {
|
|
8272
|
+
type: 'object',
|
|
8273
|
+
description: "One post which was liked by the group's actor via the requesting account's repost.",
|
|
8274
|
+
required: ['post', 'viaRepost'],
|
|
8275
|
+
properties: {
|
|
8276
|
+
post: {
|
|
8277
|
+
type: 'string',
|
|
8278
|
+
format: 'at-uri',
|
|
8279
|
+
},
|
|
8280
|
+
viaRepost: {
|
|
8281
|
+
type: 'string',
|
|
8282
|
+
format: 'at-uri',
|
|
8283
|
+
},
|
|
8284
|
+
},
|
|
8285
|
+
},
|
|
8286
|
+
multiPostRepostViaRepostGroup: {
|
|
8287
|
+
type: 'object',
|
|
8288
|
+
description: "Group of reposts by the same actor of different posts via the requesting account's reposts.",
|
|
8289
|
+
required: ['actor', 'items'],
|
|
8290
|
+
properties: {
|
|
8291
|
+
actor: {
|
|
8292
|
+
type: 'string',
|
|
8293
|
+
format: 'did',
|
|
8294
|
+
},
|
|
8295
|
+
items: {
|
|
8296
|
+
type: 'array',
|
|
8297
|
+
minLength: 2,
|
|
8298
|
+
items: {
|
|
8299
|
+
type: 'ref',
|
|
8300
|
+
ref: 'lex:app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem',
|
|
8301
|
+
},
|
|
8302
|
+
},
|
|
8303
|
+
},
|
|
8304
|
+
},
|
|
8305
|
+
multiPostRepostViaRepostItem: {
|
|
8306
|
+
type: 'object',
|
|
8307
|
+
description: "One post which was reposted by the group's actor via the requesting account's repost.",
|
|
8308
|
+
required: ['post', 'viaRepost'],
|
|
8309
|
+
properties: {
|
|
8310
|
+
post: {
|
|
8311
|
+
type: 'string',
|
|
8312
|
+
format: 'at-uri',
|
|
8313
|
+
},
|
|
8314
|
+
viaRepost: {
|
|
8315
|
+
type: 'string',
|
|
8316
|
+
format: 'at-uri',
|
|
8317
|
+
},
|
|
8318
|
+
},
|
|
8319
|
+
},
|
|
7792
8320
|
repostGroup: {
|
|
7793
8321
|
type: 'object',
|
|
7794
8322
|
description: 'Group of reposts by different actors of the same post.',
|
|
@@ -8935,6 +9463,223 @@ export const schemaDict = {
|
|
|
8935
9463
|
},
|
|
8936
9464
|
},
|
|
8937
9465
|
},
|
|
9466
|
+
AppBskyUnspeccedGetAtmosphereExploreTab: {
|
|
9467
|
+
lexicon: 1,
|
|
9468
|
+
id: 'app.bsky.unspecced.getAtmosphereExploreTab',
|
|
9469
|
+
defs: {
|
|
9470
|
+
main: {
|
|
9471
|
+
type: 'query',
|
|
9472
|
+
description: 'Get curated Atmosphere Explore content. Authentication is optional; authenticated requests include viewer-specific profile state.',
|
|
9473
|
+
parameters: {
|
|
9474
|
+
type: 'params',
|
|
9475
|
+
properties: {
|
|
9476
|
+
langs: {
|
|
9477
|
+
type: 'array',
|
|
9478
|
+
description: 'Preferred languages. Currently ignored.',
|
|
9479
|
+
items: {
|
|
9480
|
+
type: 'string',
|
|
9481
|
+
format: 'language',
|
|
9482
|
+
},
|
|
9483
|
+
},
|
|
9484
|
+
countryCode: {
|
|
9485
|
+
type: 'string',
|
|
9486
|
+
description: 'The ISO 3166-1 alpha-2 country code used to select curated content.',
|
|
9487
|
+
},
|
|
9488
|
+
regionCode: {
|
|
9489
|
+
type: 'string',
|
|
9490
|
+
description: 'The ISO 3166-2 region code used to select curated content.',
|
|
9491
|
+
},
|
|
9492
|
+
},
|
|
9493
|
+
},
|
|
9494
|
+
output: {
|
|
9495
|
+
encoding: 'application/json',
|
|
9496
|
+
schema: {
|
|
9497
|
+
type: 'object',
|
|
9498
|
+
required: [
|
|
9499
|
+
'articles',
|
|
9500
|
+
'publications',
|
|
9501
|
+
'photos',
|
|
9502
|
+
'livestreams',
|
|
9503
|
+
'apps',
|
|
9504
|
+
],
|
|
9505
|
+
properties: {
|
|
9506
|
+
announcementBanner: {
|
|
9507
|
+
type: 'ref',
|
|
9508
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#announcementBanner',
|
|
9509
|
+
},
|
|
9510
|
+
articles: {
|
|
9511
|
+
type: 'array',
|
|
9512
|
+
items: {
|
|
9513
|
+
type: 'ref',
|
|
9514
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#articleItem',
|
|
9515
|
+
},
|
|
9516
|
+
},
|
|
9517
|
+
publications: {
|
|
9518
|
+
type: 'array',
|
|
9519
|
+
items: {
|
|
9520
|
+
type: 'ref',
|
|
9521
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#publicationItem',
|
|
9522
|
+
},
|
|
9523
|
+
},
|
|
9524
|
+
photos: {
|
|
9525
|
+
type: 'array',
|
|
9526
|
+
items: {
|
|
9527
|
+
type: 'ref',
|
|
9528
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#galleryItem',
|
|
9529
|
+
},
|
|
9530
|
+
},
|
|
9531
|
+
livestreams: {
|
|
9532
|
+
type: 'array',
|
|
9533
|
+
items: {
|
|
9534
|
+
type: 'ref',
|
|
9535
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem',
|
|
9536
|
+
},
|
|
9537
|
+
},
|
|
9538
|
+
apps: {
|
|
9539
|
+
type: 'array',
|
|
9540
|
+
maxLength: 100,
|
|
9541
|
+
items: {
|
|
9542
|
+
type: 'ref',
|
|
9543
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#appCard',
|
|
9544
|
+
},
|
|
9545
|
+
},
|
|
9546
|
+
},
|
|
9547
|
+
},
|
|
9548
|
+
},
|
|
9549
|
+
},
|
|
9550
|
+
articleItem: {
|
|
9551
|
+
type: 'object',
|
|
9552
|
+
required: ['featured', 'view'],
|
|
9553
|
+
properties: {
|
|
9554
|
+
featured: {
|
|
9555
|
+
type: 'boolean',
|
|
9556
|
+
},
|
|
9557
|
+
view: {
|
|
9558
|
+
type: 'ref',
|
|
9559
|
+
ref: 'lex:app.bsky.embed.external#viewArticle',
|
|
9560
|
+
},
|
|
9561
|
+
},
|
|
9562
|
+
},
|
|
9563
|
+
publicationItem: {
|
|
9564
|
+
type: 'object',
|
|
9565
|
+
required: ['featured', 'view'],
|
|
9566
|
+
properties: {
|
|
9567
|
+
featured: {
|
|
9568
|
+
type: 'boolean',
|
|
9569
|
+
},
|
|
9570
|
+
view: {
|
|
9571
|
+
type: 'ref',
|
|
9572
|
+
ref: 'lex:app.bsky.embed.external#viewArticlePublication',
|
|
9573
|
+
},
|
|
9574
|
+
},
|
|
9575
|
+
},
|
|
9576
|
+
galleryItem: {
|
|
9577
|
+
type: 'object',
|
|
9578
|
+
required: ['featured', 'view'],
|
|
9579
|
+
properties: {
|
|
9580
|
+
featured: {
|
|
9581
|
+
type: 'boolean',
|
|
9582
|
+
},
|
|
9583
|
+
view: {
|
|
9584
|
+
type: 'ref',
|
|
9585
|
+
ref: 'lex:app.bsky.embed.external#viewGallery',
|
|
9586
|
+
},
|
|
9587
|
+
},
|
|
9588
|
+
},
|
|
9589
|
+
livestreamItem: {
|
|
9590
|
+
type: 'object',
|
|
9591
|
+
required: ['featured', 'view'],
|
|
9592
|
+
properties: {
|
|
9593
|
+
featured: {
|
|
9594
|
+
type: 'boolean',
|
|
9595
|
+
},
|
|
9596
|
+
view: {
|
|
9597
|
+
type: 'ref',
|
|
9598
|
+
ref: 'lex:app.bsky.embed.external#viewLivestream',
|
|
9599
|
+
},
|
|
9600
|
+
},
|
|
9601
|
+
},
|
|
9602
|
+
announcementBanner: {
|
|
9603
|
+
type: 'object',
|
|
9604
|
+
properties: {
|
|
9605
|
+
id: {
|
|
9606
|
+
type: 'string',
|
|
9607
|
+
maxLength: 4096,
|
|
9608
|
+
},
|
|
9609
|
+
title: {
|
|
9610
|
+
type: 'string',
|
|
9611
|
+
maxLength: 4096,
|
|
9612
|
+
},
|
|
9613
|
+
description: {
|
|
9614
|
+
type: 'string',
|
|
9615
|
+
maxLength: 4096,
|
|
9616
|
+
},
|
|
9617
|
+
url: {
|
|
9618
|
+
type: 'string',
|
|
9619
|
+
format: 'uri',
|
|
9620
|
+
maxLength: 4096,
|
|
9621
|
+
},
|
|
9622
|
+
image: {
|
|
9623
|
+
type: 'string',
|
|
9624
|
+
format: 'uri',
|
|
9625
|
+
maxLength: 4096,
|
|
9626
|
+
},
|
|
9627
|
+
overlayColor: {
|
|
9628
|
+
type: 'string',
|
|
9629
|
+
maxLength: 4096,
|
|
9630
|
+
},
|
|
9631
|
+
textColor: {
|
|
9632
|
+
type: 'string',
|
|
9633
|
+
maxLength: 4096,
|
|
9634
|
+
},
|
|
9635
|
+
},
|
|
9636
|
+
},
|
|
9637
|
+
appCard: {
|
|
9638
|
+
type: 'object',
|
|
9639
|
+
properties: {
|
|
9640
|
+
id: {
|
|
9641
|
+
type: 'string',
|
|
9642
|
+
maxLength: 4096,
|
|
9643
|
+
},
|
|
9644
|
+
title: {
|
|
9645
|
+
type: 'string',
|
|
9646
|
+
maxLength: 4096,
|
|
9647
|
+
},
|
|
9648
|
+
description: {
|
|
9649
|
+
type: 'string',
|
|
9650
|
+
maxLength: 4096,
|
|
9651
|
+
},
|
|
9652
|
+
logo: {
|
|
9653
|
+
type: 'string',
|
|
9654
|
+
format: 'uri',
|
|
9655
|
+
maxLength: 4096,
|
|
9656
|
+
},
|
|
9657
|
+
backgroundImage: {
|
|
9658
|
+
type: 'string',
|
|
9659
|
+
format: 'uri',
|
|
9660
|
+
maxLength: 4096,
|
|
9661
|
+
},
|
|
9662
|
+
overlayColor: {
|
|
9663
|
+
type: 'string',
|
|
9664
|
+
maxLength: 4096,
|
|
9665
|
+
},
|
|
9666
|
+
textColor: {
|
|
9667
|
+
type: 'string',
|
|
9668
|
+
maxLength: 4096,
|
|
9669
|
+
},
|
|
9670
|
+
url: {
|
|
9671
|
+
type: 'string',
|
|
9672
|
+
format: 'uri',
|
|
9673
|
+
maxLength: 4096,
|
|
9674
|
+
},
|
|
9675
|
+
category: {
|
|
9676
|
+
type: 'string',
|
|
9677
|
+
maxLength: 4096,
|
|
9678
|
+
},
|
|
9679
|
+
},
|
|
9680
|
+
},
|
|
9681
|
+
},
|
|
9682
|
+
},
|
|
8938
9683
|
AppBskyUnspeccedGetConfig: {
|
|
8939
9684
|
lexicon: 1,
|
|
8940
9685
|
id: 'app.bsky.unspecced.getConfig',
|
|
@@ -28514,6 +29259,7 @@ export const ids = {
|
|
|
28514
29259
|
AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
|
|
28515
29260
|
AppBskyActorGetProfiles: 'app.bsky.actor.getProfiles',
|
|
28516
29261
|
AppBskyActorGetSuggestions: 'app.bsky.actor.getSuggestions',
|
|
29262
|
+
AppBskyActorLink: 'app.bsky.actor.link',
|
|
28517
29263
|
AppBskyActorProfile: 'app.bsky.actor.profile',
|
|
28518
29264
|
AppBskyActorPutPreferences: 'app.bsky.actor.putPreferences',
|
|
28519
29265
|
AppBskyActorSearchActors: 'app.bsky.actor.searchActors',
|
|
@@ -28627,6 +29373,7 @@ export const ids = {
|
|
|
28627
29373
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
|
28628
29374
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
|
28629
29375
|
AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
|
|
29376
|
+
AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab',
|
|
28630
29377
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
|
28631
29378
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
|
|
28632
29379
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',
|