@atproto/ozone 0.1.161 → 0.1.163
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/LICENSE.txt +1 -1
- package/dist/daemon/materialized-view-refresher.d.ts.map +1 -1
- package/dist/daemon/materialized-view-refresher.js +8 -1
- package/dist/daemon/materialized-view-refresher.js.map +1 -1
- package/dist/lexicon/index.d.ts +13 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +37 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +914 -12
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +474 -5
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +23 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +18 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/ageassurance/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/draft/createDraft.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/draft/createDraft.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/createDraft.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/createDraft.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/defs.d.ts +110 -0
- package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/defs.js +97 -0
- package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.d.ts +14 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.d.ts +24 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.d.ts +15 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.js.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/video.d.ts +4 -0
- package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/deleteSession.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +3 -3
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +4 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/mod-service/util.d.ts.map +1 -1
- package/dist/mod-service/util.js +3 -1
- package/dist/mod-service/util.js.map +1 -1
- package/dist/verification/issuer.d.ts.map +1 -1
- package/dist/verification/issuer.js +9 -0
- package/dist/verification/issuer.js.map +1 -1
- package/package.json +8 -8
- package/src/daemon/materialized-view-refresher.ts +9 -3
- package/src/lexicon/index.ts +62 -0
- package/src/lexicon/lexicons.ts +491 -5
- package/src/lexicon/types/app/bsky/actor/defs.ts +41 -0
- package/src/lexicon/types/app/bsky/ageassurance/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/draft/createDraft.ts +46 -0
- package/src/lexicon/types/app/bsky/draft/defs.ts +212 -0
- package/src/lexicon/types/app/bsky/draft/deleteDraft.ts +33 -0
- package/src/lexicon/types/app/bsky/draft/getDrafts.ts +42 -0
- package/src/lexicon/types/app/bsky/draft/updateDraft.ts +34 -0
- package/src/lexicon/types/app/bsky/embed/video.ts +4 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts +2 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +2 -0
- package/src/lexicon/types/com/atproto/server/deleteSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/getSession.ts +1 -1
- package/src/lexicon/types/com/atproto/server/refreshSession.ts +4 -1
- package/src/mod-service/util.ts +3 -2
- package/src/verification/issuer.ts +11 -0
- package/tests/query-labels.test.ts +0 -2
- package/tests/verification.test.ts +20 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +0 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -249,6 +249,10 @@ exports.schemaDict = {
|
|
|
249
249
|
type: 'ref',
|
|
250
250
|
ref: 'lex:app.bsky.actor.defs#profileAssociatedActivitySubscription',
|
|
251
251
|
},
|
|
252
|
+
germ: {
|
|
253
|
+
type: 'ref',
|
|
254
|
+
ref: 'lex:app.bsky.actor.defs#profileAssociatedGerm',
|
|
255
|
+
},
|
|
252
256
|
},
|
|
253
257
|
},
|
|
254
258
|
profileAssociatedChat: {
|
|
@@ -261,6 +265,20 @@ exports.schemaDict = {
|
|
|
261
265
|
},
|
|
262
266
|
},
|
|
263
267
|
},
|
|
268
|
+
profileAssociatedGerm: {
|
|
269
|
+
type: 'object',
|
|
270
|
+
required: ['showButtonTo', 'messageMeUrl'],
|
|
271
|
+
properties: {
|
|
272
|
+
messageMeUrl: {
|
|
273
|
+
type: 'string',
|
|
274
|
+
format: 'uri',
|
|
275
|
+
},
|
|
276
|
+
showButtonTo: {
|
|
277
|
+
type: 'string',
|
|
278
|
+
knownValues: ['usersIFollow', 'everyone'],
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
},
|
|
264
282
|
profileAssociatedActivitySubscription: {
|
|
265
283
|
type: 'object',
|
|
266
284
|
required: ['allowSubscriptions'],
|
|
@@ -403,6 +421,7 @@ exports.schemaDict = {
|
|
|
403
421
|
'lex:app.bsky.actor.defs#labelersPref',
|
|
404
422
|
'lex:app.bsky.actor.defs#postInteractionSettingsPref',
|
|
405
423
|
'lex:app.bsky.actor.defs#verificationPrefs',
|
|
424
|
+
'lex:app.bsky.actor.defs#liveEventPreferences',
|
|
406
425
|
],
|
|
407
426
|
},
|
|
408
427
|
},
|
|
@@ -749,6 +768,24 @@ exports.schemaDict = {
|
|
|
749
768
|
},
|
|
750
769
|
},
|
|
751
770
|
},
|
|
771
|
+
liveEventPreferences: {
|
|
772
|
+
type: 'object',
|
|
773
|
+
description: 'Preferences for live events.',
|
|
774
|
+
properties: {
|
|
775
|
+
hiddenFeedIds: {
|
|
776
|
+
description: 'A list of feed IDs that the user has hidden from live events.',
|
|
777
|
+
type: 'array',
|
|
778
|
+
items: {
|
|
779
|
+
type: 'string',
|
|
780
|
+
},
|
|
781
|
+
},
|
|
782
|
+
hideAllFeeds: {
|
|
783
|
+
description: 'Whether to hide all feeds from live events.',
|
|
784
|
+
type: 'boolean',
|
|
785
|
+
default: false,
|
|
786
|
+
},
|
|
787
|
+
},
|
|
788
|
+
},
|
|
752
789
|
postInteractionSettingsPref: {
|
|
753
790
|
type: 'object',
|
|
754
791
|
description: 'Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.',
|
|
@@ -783,6 +820,14 @@ exports.schemaDict = {
|
|
|
783
820
|
type: 'object',
|
|
784
821
|
required: ['status', 'record'],
|
|
785
822
|
properties: {
|
|
823
|
+
uri: {
|
|
824
|
+
type: 'string',
|
|
825
|
+
format: 'at-uri',
|
|
826
|
+
},
|
|
827
|
+
cid: {
|
|
828
|
+
type: 'string',
|
|
829
|
+
format: 'cid',
|
|
830
|
+
},
|
|
786
831
|
status: {
|
|
787
832
|
type: 'string',
|
|
788
833
|
description: 'The status for the account.',
|
|
@@ -805,6 +850,10 @@ exports.schemaDict = {
|
|
|
805
850
|
type: 'boolean',
|
|
806
851
|
description: 'True if the status is not expired, false if it is expired. Only present if expiration was set.',
|
|
807
852
|
},
|
|
853
|
+
isDisabled: {
|
|
854
|
+
type: 'boolean',
|
|
855
|
+
description: "True if the user's go-live access has been disabled by a moderator, false otherwise.",
|
|
856
|
+
},
|
|
808
857
|
},
|
|
809
858
|
},
|
|
810
859
|
},
|
|
@@ -1296,7 +1345,7 @@ exports.schemaDict = {
|
|
|
1296
1345
|
configRegion: {
|
|
1297
1346
|
type: 'object',
|
|
1298
1347
|
description: 'The Age Assurance configuration for a specific region.',
|
|
1299
|
-
required: ['countryCode', 'rules'],
|
|
1348
|
+
required: ['countryCode', 'minAccessAge', 'rules'],
|
|
1300
1349
|
properties: {
|
|
1301
1350
|
countryCode: {
|
|
1302
1351
|
type: 'string',
|
|
@@ -1306,6 +1355,10 @@ exports.schemaDict = {
|
|
|
1306
1355
|
type: 'string',
|
|
1307
1356
|
description: 'The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.',
|
|
1308
1357
|
},
|
|
1358
|
+
minAccessAge: {
|
|
1359
|
+
type: 'integer',
|
|
1360
|
+
description: 'The minimum age (as a whole integer) required to use Bluesky in this region.',
|
|
1361
|
+
},
|
|
1309
1362
|
rules: {
|
|
1310
1363
|
type: 'array',
|
|
1311
1364
|
description: 'The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.',
|
|
@@ -2108,6 +2161,376 @@ exports.schemaDict = {
|
|
|
2108
2161
|
},
|
|
2109
2162
|
},
|
|
2110
2163
|
},
|
|
2164
|
+
AppBskyDraftCreateDraft: {
|
|
2165
|
+
lexicon: 1,
|
|
2166
|
+
id: 'app.bsky.draft.createDraft',
|
|
2167
|
+
defs: {
|
|
2168
|
+
main: {
|
|
2169
|
+
type: 'procedure',
|
|
2170
|
+
description: 'Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.',
|
|
2171
|
+
input: {
|
|
2172
|
+
encoding: 'application/json',
|
|
2173
|
+
schema: {
|
|
2174
|
+
type: 'object',
|
|
2175
|
+
required: ['draft'],
|
|
2176
|
+
properties: {
|
|
2177
|
+
draft: {
|
|
2178
|
+
type: 'ref',
|
|
2179
|
+
ref: 'lex:app.bsky.draft.defs#draft',
|
|
2180
|
+
},
|
|
2181
|
+
},
|
|
2182
|
+
},
|
|
2183
|
+
},
|
|
2184
|
+
output: {
|
|
2185
|
+
encoding: 'application/json',
|
|
2186
|
+
schema: {
|
|
2187
|
+
type: 'object',
|
|
2188
|
+
required: ['id'],
|
|
2189
|
+
properties: {
|
|
2190
|
+
id: {
|
|
2191
|
+
type: 'string',
|
|
2192
|
+
description: 'The ID of the created draft.',
|
|
2193
|
+
},
|
|
2194
|
+
},
|
|
2195
|
+
},
|
|
2196
|
+
},
|
|
2197
|
+
errors: [
|
|
2198
|
+
{
|
|
2199
|
+
name: 'DraftLimitReached',
|
|
2200
|
+
description: 'Trying to insert a new draft when the limit was already reached.',
|
|
2201
|
+
},
|
|
2202
|
+
],
|
|
2203
|
+
},
|
|
2204
|
+
},
|
|
2205
|
+
},
|
|
2206
|
+
AppBskyDraftDefs: {
|
|
2207
|
+
lexicon: 1,
|
|
2208
|
+
id: 'app.bsky.draft.defs',
|
|
2209
|
+
defs: {
|
|
2210
|
+
draftWithId: {
|
|
2211
|
+
description: 'A draft with an identifier, used to store drafts in private storage (stash).',
|
|
2212
|
+
type: 'object',
|
|
2213
|
+
required: ['id', 'draft'],
|
|
2214
|
+
properties: {
|
|
2215
|
+
id: {
|
|
2216
|
+
description: 'A TID to be used as a draft identifier.',
|
|
2217
|
+
type: 'string',
|
|
2218
|
+
format: 'tid',
|
|
2219
|
+
},
|
|
2220
|
+
draft: {
|
|
2221
|
+
type: 'ref',
|
|
2222
|
+
ref: 'lex:app.bsky.draft.defs#draft',
|
|
2223
|
+
},
|
|
2224
|
+
},
|
|
2225
|
+
},
|
|
2226
|
+
draft: {
|
|
2227
|
+
description: 'A draft containing an array of draft posts.',
|
|
2228
|
+
type: 'object',
|
|
2229
|
+
required: ['posts'],
|
|
2230
|
+
properties: {
|
|
2231
|
+
deviceId: {
|
|
2232
|
+
type: 'string',
|
|
2233
|
+
description: 'UUIDv4 identifier of the device that created this draft.',
|
|
2234
|
+
maxLength: 100,
|
|
2235
|
+
},
|
|
2236
|
+
deviceName: {
|
|
2237
|
+
type: 'string',
|
|
2238
|
+
description: 'The device and/or platform on which the draft was created.',
|
|
2239
|
+
maxLength: 100,
|
|
2240
|
+
},
|
|
2241
|
+
posts: {
|
|
2242
|
+
description: 'Array of draft posts that compose this draft.',
|
|
2243
|
+
type: 'array',
|
|
2244
|
+
minLength: 1,
|
|
2245
|
+
maxLength: 100,
|
|
2246
|
+
items: {
|
|
2247
|
+
type: 'ref',
|
|
2248
|
+
ref: 'lex:app.bsky.draft.defs#draftPost',
|
|
2249
|
+
},
|
|
2250
|
+
},
|
|
2251
|
+
langs: {
|
|
2252
|
+
type: 'array',
|
|
2253
|
+
description: 'Indicates human language of posts primary text content.',
|
|
2254
|
+
maxLength: 3,
|
|
2255
|
+
items: {
|
|
2256
|
+
type: 'string',
|
|
2257
|
+
format: 'language',
|
|
2258
|
+
},
|
|
2259
|
+
},
|
|
2260
|
+
postgateEmbeddingRules: {
|
|
2261
|
+
description: 'Embedding rules for the postgates to be created when this draft is published.',
|
|
2262
|
+
type: 'array',
|
|
2263
|
+
maxLength: 5,
|
|
2264
|
+
items: {
|
|
2265
|
+
type: 'union',
|
|
2266
|
+
refs: ['lex:app.bsky.feed.postgate#disableRule'],
|
|
2267
|
+
},
|
|
2268
|
+
},
|
|
2269
|
+
threadgateAllow: {
|
|
2270
|
+
description: 'Allow-rules for the threadgate to be created when this draft is published.',
|
|
2271
|
+
type: 'array',
|
|
2272
|
+
maxLength: 5,
|
|
2273
|
+
items: {
|
|
2274
|
+
type: 'union',
|
|
2275
|
+
refs: [
|
|
2276
|
+
'lex:app.bsky.feed.threadgate#mentionRule',
|
|
2277
|
+
'lex:app.bsky.feed.threadgate#followerRule',
|
|
2278
|
+
'lex:app.bsky.feed.threadgate#followingRule',
|
|
2279
|
+
'lex:app.bsky.feed.threadgate#listRule',
|
|
2280
|
+
],
|
|
2281
|
+
},
|
|
2282
|
+
},
|
|
2283
|
+
},
|
|
2284
|
+
},
|
|
2285
|
+
draftPost: {
|
|
2286
|
+
description: 'One of the posts that compose a draft.',
|
|
2287
|
+
type: 'object',
|
|
2288
|
+
required: ['text'],
|
|
2289
|
+
properties: {
|
|
2290
|
+
text: {
|
|
2291
|
+
type: 'string',
|
|
2292
|
+
maxLength: 3000,
|
|
2293
|
+
maxGraphemes: 300,
|
|
2294
|
+
description: 'The primary post content.',
|
|
2295
|
+
},
|
|
2296
|
+
labels: {
|
|
2297
|
+
type: 'union',
|
|
2298
|
+
description: 'Self-label values for this post. Effectively content warnings.',
|
|
2299
|
+
refs: ['lex:com.atproto.label.defs#selfLabels'],
|
|
2300
|
+
},
|
|
2301
|
+
embedImages: {
|
|
2302
|
+
type: 'array',
|
|
2303
|
+
items: {
|
|
2304
|
+
type: 'ref',
|
|
2305
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedImage',
|
|
2306
|
+
},
|
|
2307
|
+
maxLength: 4,
|
|
2308
|
+
},
|
|
2309
|
+
embedVideos: {
|
|
2310
|
+
type: 'array',
|
|
2311
|
+
items: {
|
|
2312
|
+
type: 'ref',
|
|
2313
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedVideo',
|
|
2314
|
+
},
|
|
2315
|
+
maxLength: 1,
|
|
2316
|
+
},
|
|
2317
|
+
embedExternals: {
|
|
2318
|
+
type: 'array',
|
|
2319
|
+
items: {
|
|
2320
|
+
type: 'ref',
|
|
2321
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedExternal',
|
|
2322
|
+
},
|
|
2323
|
+
maxLength: 1,
|
|
2324
|
+
},
|
|
2325
|
+
embedRecords: {
|
|
2326
|
+
type: 'array',
|
|
2327
|
+
items: {
|
|
2328
|
+
type: 'ref',
|
|
2329
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedRecord',
|
|
2330
|
+
},
|
|
2331
|
+
maxLength: 1,
|
|
2332
|
+
},
|
|
2333
|
+
},
|
|
2334
|
+
},
|
|
2335
|
+
draftView: {
|
|
2336
|
+
description: 'View to present drafts data to users.',
|
|
2337
|
+
type: 'object',
|
|
2338
|
+
required: ['id', 'draft', 'createdAt', 'updatedAt'],
|
|
2339
|
+
properties: {
|
|
2340
|
+
id: {
|
|
2341
|
+
description: 'A TID to be used as a draft identifier.',
|
|
2342
|
+
type: 'string',
|
|
2343
|
+
format: 'tid',
|
|
2344
|
+
},
|
|
2345
|
+
draft: {
|
|
2346
|
+
type: 'ref',
|
|
2347
|
+
ref: 'lex:app.bsky.draft.defs#draft',
|
|
2348
|
+
},
|
|
2349
|
+
createdAt: {
|
|
2350
|
+
description: 'The time the draft was created.',
|
|
2351
|
+
type: 'string',
|
|
2352
|
+
format: 'datetime',
|
|
2353
|
+
},
|
|
2354
|
+
updatedAt: {
|
|
2355
|
+
description: 'The time the draft was last updated.',
|
|
2356
|
+
type: 'string',
|
|
2357
|
+
format: 'datetime',
|
|
2358
|
+
},
|
|
2359
|
+
},
|
|
2360
|
+
},
|
|
2361
|
+
draftEmbedLocalRef: {
|
|
2362
|
+
type: 'object',
|
|
2363
|
+
required: ['path'],
|
|
2364
|
+
properties: {
|
|
2365
|
+
path: {
|
|
2366
|
+
type: 'string',
|
|
2367
|
+
description: 'Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.',
|
|
2368
|
+
minLength: 1,
|
|
2369
|
+
maxLength: 1024,
|
|
2370
|
+
},
|
|
2371
|
+
},
|
|
2372
|
+
},
|
|
2373
|
+
draftEmbedCaption: {
|
|
2374
|
+
type: 'object',
|
|
2375
|
+
required: ['lang', 'content'],
|
|
2376
|
+
properties: {
|
|
2377
|
+
lang: {
|
|
2378
|
+
type: 'string',
|
|
2379
|
+
format: 'language',
|
|
2380
|
+
},
|
|
2381
|
+
content: {
|
|
2382
|
+
type: 'string',
|
|
2383
|
+
maxLength: 10000,
|
|
2384
|
+
},
|
|
2385
|
+
},
|
|
2386
|
+
},
|
|
2387
|
+
draftEmbedImage: {
|
|
2388
|
+
type: 'object',
|
|
2389
|
+
required: ['localRef'],
|
|
2390
|
+
properties: {
|
|
2391
|
+
localRef: {
|
|
2392
|
+
type: 'ref',
|
|
2393
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedLocalRef',
|
|
2394
|
+
},
|
|
2395
|
+
alt: {
|
|
2396
|
+
type: 'string',
|
|
2397
|
+
maxGraphemes: 2000,
|
|
2398
|
+
},
|
|
2399
|
+
},
|
|
2400
|
+
},
|
|
2401
|
+
draftEmbedVideo: {
|
|
2402
|
+
type: 'object',
|
|
2403
|
+
required: ['localRef'],
|
|
2404
|
+
properties: {
|
|
2405
|
+
localRef: {
|
|
2406
|
+
type: 'ref',
|
|
2407
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedLocalRef',
|
|
2408
|
+
},
|
|
2409
|
+
alt: {
|
|
2410
|
+
type: 'string',
|
|
2411
|
+
maxGraphemes: 2000,
|
|
2412
|
+
},
|
|
2413
|
+
captions: {
|
|
2414
|
+
type: 'array',
|
|
2415
|
+
items: {
|
|
2416
|
+
type: 'ref',
|
|
2417
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedCaption',
|
|
2418
|
+
},
|
|
2419
|
+
maxLength: 20,
|
|
2420
|
+
},
|
|
2421
|
+
},
|
|
2422
|
+
},
|
|
2423
|
+
draftEmbedExternal: {
|
|
2424
|
+
type: 'object',
|
|
2425
|
+
required: ['uri'],
|
|
2426
|
+
properties: {
|
|
2427
|
+
uri: {
|
|
2428
|
+
type: 'string',
|
|
2429
|
+
format: 'uri',
|
|
2430
|
+
},
|
|
2431
|
+
},
|
|
2432
|
+
},
|
|
2433
|
+
draftEmbedRecord: {
|
|
2434
|
+
type: 'object',
|
|
2435
|
+
required: ['record'],
|
|
2436
|
+
properties: {
|
|
2437
|
+
record: {
|
|
2438
|
+
type: 'ref',
|
|
2439
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2440
|
+
},
|
|
2441
|
+
},
|
|
2442
|
+
},
|
|
2443
|
+
},
|
|
2444
|
+
},
|
|
2445
|
+
AppBskyDraftDeleteDraft: {
|
|
2446
|
+
lexicon: 1,
|
|
2447
|
+
id: 'app.bsky.draft.deleteDraft',
|
|
2448
|
+
defs: {
|
|
2449
|
+
main: {
|
|
2450
|
+
type: 'procedure',
|
|
2451
|
+
description: 'Deletes a draft by ID. Requires authentication.',
|
|
2452
|
+
input: {
|
|
2453
|
+
encoding: 'application/json',
|
|
2454
|
+
schema: {
|
|
2455
|
+
type: 'object',
|
|
2456
|
+
required: ['id'],
|
|
2457
|
+
properties: {
|
|
2458
|
+
id: {
|
|
2459
|
+
type: 'string',
|
|
2460
|
+
format: 'tid',
|
|
2461
|
+
},
|
|
2462
|
+
},
|
|
2463
|
+
},
|
|
2464
|
+
},
|
|
2465
|
+
},
|
|
2466
|
+
},
|
|
2467
|
+
},
|
|
2468
|
+
AppBskyDraftGetDrafts: {
|
|
2469
|
+
lexicon: 1,
|
|
2470
|
+
id: 'app.bsky.draft.getDrafts',
|
|
2471
|
+
defs: {
|
|
2472
|
+
main: {
|
|
2473
|
+
type: 'query',
|
|
2474
|
+
description: 'Gets views of user drafts. Requires authentication.',
|
|
2475
|
+
parameters: {
|
|
2476
|
+
type: 'params',
|
|
2477
|
+
properties: {
|
|
2478
|
+
limit: {
|
|
2479
|
+
type: 'integer',
|
|
2480
|
+
minimum: 1,
|
|
2481
|
+
maximum: 100,
|
|
2482
|
+
default: 50,
|
|
2483
|
+
},
|
|
2484
|
+
cursor: {
|
|
2485
|
+
type: 'string',
|
|
2486
|
+
},
|
|
2487
|
+
},
|
|
2488
|
+
},
|
|
2489
|
+
output: {
|
|
2490
|
+
encoding: 'application/json',
|
|
2491
|
+
schema: {
|
|
2492
|
+
type: 'object',
|
|
2493
|
+
required: ['drafts'],
|
|
2494
|
+
properties: {
|
|
2495
|
+
cursor: {
|
|
2496
|
+
type: 'string',
|
|
2497
|
+
},
|
|
2498
|
+
drafts: {
|
|
2499
|
+
type: 'array',
|
|
2500
|
+
items: {
|
|
2501
|
+
type: 'ref',
|
|
2502
|
+
ref: 'lex:app.bsky.draft.defs#draftView',
|
|
2503
|
+
},
|
|
2504
|
+
},
|
|
2505
|
+
},
|
|
2506
|
+
},
|
|
2507
|
+
},
|
|
2508
|
+
},
|
|
2509
|
+
},
|
|
2510
|
+
},
|
|
2511
|
+
AppBskyDraftUpdateDraft: {
|
|
2512
|
+
lexicon: 1,
|
|
2513
|
+
id: 'app.bsky.draft.updateDraft',
|
|
2514
|
+
defs: {
|
|
2515
|
+
main: {
|
|
2516
|
+
type: 'procedure',
|
|
2517
|
+
description: "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.",
|
|
2518
|
+
input: {
|
|
2519
|
+
encoding: 'application/json',
|
|
2520
|
+
schema: {
|
|
2521
|
+
type: 'object',
|
|
2522
|
+
required: ['draft'],
|
|
2523
|
+
properties: {
|
|
2524
|
+
draft: {
|
|
2525
|
+
type: 'ref',
|
|
2526
|
+
ref: 'lex:app.bsky.draft.defs#draftWithId',
|
|
2527
|
+
},
|
|
2528
|
+
},
|
|
2529
|
+
},
|
|
2530
|
+
},
|
|
2531
|
+
},
|
|
2532
|
+
},
|
|
2533
|
+
},
|
|
2111
2534
|
AppBskyEmbedDefs: {
|
|
2112
2535
|
lexicon: 1,
|
|
2113
2536
|
id: 'app.bsky.embed.defs',
|
|
@@ -2491,6 +2914,11 @@ exports.schemaDict = {
|
|
|
2491
2914
|
type: 'ref',
|
|
2492
2915
|
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
2493
2916
|
},
|
|
2917
|
+
presentation: {
|
|
2918
|
+
type: 'string',
|
|
2919
|
+
description: 'A hint to the client about how to present the video.',
|
|
2920
|
+
knownValues: ['default', 'gif'],
|
|
2921
|
+
},
|
|
2494
2922
|
},
|
|
2495
2923
|
},
|
|
2496
2924
|
caption: {
|
|
@@ -2533,6 +2961,11 @@ exports.schemaDict = {
|
|
|
2533
2961
|
type: 'ref',
|
|
2534
2962
|
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
2535
2963
|
},
|
|
2964
|
+
presentation: {
|
|
2965
|
+
type: 'string',
|
|
2966
|
+
description: 'A hint to the client about how to present the video.',
|
|
2967
|
+
knownValues: ['default', 'gif'],
|
|
2968
|
+
},
|
|
2536
2969
|
},
|
|
2537
2970
|
},
|
|
2538
2971
|
},
|
|
@@ -7747,6 +8180,10 @@ exports.schemaDict = {
|
|
|
7747
8180
|
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
7748
8181
|
},
|
|
7749
8182
|
},
|
|
8183
|
+
recId: {
|
|
8184
|
+
type: 'string',
|
|
8185
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8186
|
+
},
|
|
7750
8187
|
},
|
|
7751
8188
|
},
|
|
7752
8189
|
},
|
|
@@ -7793,6 +8230,10 @@ exports.schemaDict = {
|
|
|
7793
8230
|
format: 'did',
|
|
7794
8231
|
},
|
|
7795
8232
|
},
|
|
8233
|
+
recId: {
|
|
8234
|
+
type: 'string',
|
|
8235
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8236
|
+
},
|
|
7796
8237
|
},
|
|
7797
8238
|
},
|
|
7798
8239
|
},
|
|
@@ -12599,7 +13040,15 @@ exports.schemaDict = {
|
|
|
12599
13040
|
defs: {
|
|
12600
13041
|
main: {
|
|
12601
13042
|
type: 'procedure',
|
|
12602
|
-
description:
|
|
13043
|
+
description: "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
13044
|
+
errors: [
|
|
13045
|
+
{
|
|
13046
|
+
name: 'InvalidToken',
|
|
13047
|
+
},
|
|
13048
|
+
{
|
|
13049
|
+
name: 'ExpiredToken',
|
|
13050
|
+
},
|
|
13051
|
+
],
|
|
12603
13052
|
},
|
|
12604
13053
|
},
|
|
12605
13054
|
},
|
|
@@ -12786,6 +13235,9 @@ exports.schemaDict = {
|
|
|
12786
13235
|
type: 'string',
|
|
12787
13236
|
format: 'did',
|
|
12788
13237
|
},
|
|
13238
|
+
didDoc: {
|
|
13239
|
+
type: 'unknown',
|
|
13240
|
+
},
|
|
12789
13241
|
email: {
|
|
12790
13242
|
type: 'string',
|
|
12791
13243
|
},
|
|
@@ -12795,9 +13247,6 @@ exports.schemaDict = {
|
|
|
12795
13247
|
emailAuthFactor: {
|
|
12796
13248
|
type: 'boolean',
|
|
12797
13249
|
},
|
|
12798
|
-
didDoc: {
|
|
12799
|
-
type: 'unknown',
|
|
12800
|
-
},
|
|
12801
13250
|
active: {
|
|
12802
13251
|
type: 'boolean',
|
|
12803
13252
|
},
|
|
@@ -12889,6 +13338,15 @@ exports.schemaDict = {
|
|
|
12889
13338
|
didDoc: {
|
|
12890
13339
|
type: 'unknown',
|
|
12891
13340
|
},
|
|
13341
|
+
email: {
|
|
13342
|
+
type: 'string',
|
|
13343
|
+
},
|
|
13344
|
+
emailConfirmed: {
|
|
13345
|
+
type: 'boolean',
|
|
13346
|
+
},
|
|
13347
|
+
emailAuthFactor: {
|
|
13348
|
+
type: 'boolean',
|
|
13349
|
+
},
|
|
12892
13350
|
active: {
|
|
12893
13351
|
type: 'boolean',
|
|
12894
13352
|
},
|
|
@@ -12904,6 +13362,12 @@ exports.schemaDict = {
|
|
|
12904
13362
|
{
|
|
12905
13363
|
name: 'AccountTakedown',
|
|
12906
13364
|
},
|
|
13365
|
+
{
|
|
13366
|
+
name: 'InvalidToken',
|
|
13367
|
+
},
|
|
13368
|
+
{
|
|
13369
|
+
name: 'ExpiredToken',
|
|
13370
|
+
},
|
|
12907
13371
|
],
|
|
12908
13372
|
},
|
|
12909
13373
|
},
|
|
@@ -19385,6 +19849,11 @@ exports.ids = {
|
|
|
19385
19849
|
AppBskyContactSendNotification: 'app.bsky.contact.sendNotification',
|
|
19386
19850
|
AppBskyContactStartPhoneVerification: 'app.bsky.contact.startPhoneVerification',
|
|
19387
19851
|
AppBskyContactVerifyPhone: 'app.bsky.contact.verifyPhone',
|
|
19852
|
+
AppBskyDraftCreateDraft: 'app.bsky.draft.createDraft',
|
|
19853
|
+
AppBskyDraftDefs: 'app.bsky.draft.defs',
|
|
19854
|
+
AppBskyDraftDeleteDraft: 'app.bsky.draft.deleteDraft',
|
|
19855
|
+
AppBskyDraftGetDrafts: 'app.bsky.draft.getDrafts',
|
|
19856
|
+
AppBskyDraftUpdateDraft: 'app.bsky.draft.updateDraft',
|
|
19388
19857
|
AppBskyEmbedDefs: 'app.bsky.embed.defs',
|
|
19389
19858
|
AppBskyEmbedExternal: 'app.bsky.embed.external',
|
|
19390
19859
|
AppBskyEmbedImages: 'app.bsky.embed.images',
|