@atproto/ozone 0.1.161 → 0.1.162
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 +9 -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 +894 -12
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +464 -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 +106 -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/package.json +7 -7
- package/src/daemon/materialized-view-refresher.ts +9 -3
- package/src/lexicon/index.ts +62 -0
- package/src/lexicon/lexicons.ts +479 -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 +208 -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/tests/query-labels.test.ts +0 -2
- 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,366 @@ 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
|
+
posts: {
|
|
2232
|
+
description: 'Array of draft posts that compose this draft.',
|
|
2233
|
+
type: 'array',
|
|
2234
|
+
minLength: 1,
|
|
2235
|
+
maxLength: 100,
|
|
2236
|
+
items: {
|
|
2237
|
+
type: 'ref',
|
|
2238
|
+
ref: 'lex:app.bsky.draft.defs#draftPost',
|
|
2239
|
+
},
|
|
2240
|
+
},
|
|
2241
|
+
langs: {
|
|
2242
|
+
type: 'array',
|
|
2243
|
+
description: 'Indicates human language of posts primary text content.',
|
|
2244
|
+
maxLength: 3,
|
|
2245
|
+
items: {
|
|
2246
|
+
type: 'string',
|
|
2247
|
+
format: 'language',
|
|
2248
|
+
},
|
|
2249
|
+
},
|
|
2250
|
+
postgateEmbeddingRules: {
|
|
2251
|
+
description: 'Embedding rules for the postgates to be created when this draft is published.',
|
|
2252
|
+
type: 'array',
|
|
2253
|
+
maxLength: 5,
|
|
2254
|
+
items: {
|
|
2255
|
+
type: 'union',
|
|
2256
|
+
refs: ['lex:app.bsky.feed.postgate#disableRule'],
|
|
2257
|
+
},
|
|
2258
|
+
},
|
|
2259
|
+
threadgateAllow: {
|
|
2260
|
+
description: 'Allow-rules for the threadgate to be created when this draft is published.',
|
|
2261
|
+
type: 'array',
|
|
2262
|
+
maxLength: 5,
|
|
2263
|
+
items: {
|
|
2264
|
+
type: 'union',
|
|
2265
|
+
refs: [
|
|
2266
|
+
'lex:app.bsky.feed.threadgate#mentionRule',
|
|
2267
|
+
'lex:app.bsky.feed.threadgate#followerRule',
|
|
2268
|
+
'lex:app.bsky.feed.threadgate#followingRule',
|
|
2269
|
+
'lex:app.bsky.feed.threadgate#listRule',
|
|
2270
|
+
],
|
|
2271
|
+
},
|
|
2272
|
+
},
|
|
2273
|
+
},
|
|
2274
|
+
},
|
|
2275
|
+
draftPost: {
|
|
2276
|
+
description: 'One of the posts that compose a draft.',
|
|
2277
|
+
type: 'object',
|
|
2278
|
+
required: ['text'],
|
|
2279
|
+
properties: {
|
|
2280
|
+
text: {
|
|
2281
|
+
type: 'string',
|
|
2282
|
+
maxLength: 3000,
|
|
2283
|
+
maxGraphemes: 300,
|
|
2284
|
+
description: 'The primary post content.',
|
|
2285
|
+
},
|
|
2286
|
+
labels: {
|
|
2287
|
+
type: 'union',
|
|
2288
|
+
description: 'Self-label values for this post. Effectively content warnings.',
|
|
2289
|
+
refs: ['lex:com.atproto.label.defs#selfLabels'],
|
|
2290
|
+
},
|
|
2291
|
+
embedImages: {
|
|
2292
|
+
type: 'array',
|
|
2293
|
+
items: {
|
|
2294
|
+
type: 'ref',
|
|
2295
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedImage',
|
|
2296
|
+
},
|
|
2297
|
+
maxLength: 4,
|
|
2298
|
+
},
|
|
2299
|
+
embedVideos: {
|
|
2300
|
+
type: 'array',
|
|
2301
|
+
items: {
|
|
2302
|
+
type: 'ref',
|
|
2303
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedVideo',
|
|
2304
|
+
},
|
|
2305
|
+
maxLength: 1,
|
|
2306
|
+
},
|
|
2307
|
+
embedExternals: {
|
|
2308
|
+
type: 'array',
|
|
2309
|
+
items: {
|
|
2310
|
+
type: 'ref',
|
|
2311
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedExternal',
|
|
2312
|
+
},
|
|
2313
|
+
maxLength: 1,
|
|
2314
|
+
},
|
|
2315
|
+
embedRecords: {
|
|
2316
|
+
type: 'array',
|
|
2317
|
+
items: {
|
|
2318
|
+
type: 'ref',
|
|
2319
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedRecord',
|
|
2320
|
+
},
|
|
2321
|
+
maxLength: 1,
|
|
2322
|
+
},
|
|
2323
|
+
},
|
|
2324
|
+
},
|
|
2325
|
+
draftView: {
|
|
2326
|
+
description: 'View to present drafts data to users.',
|
|
2327
|
+
type: 'object',
|
|
2328
|
+
required: ['id', 'draft', 'createdAt', 'updatedAt'],
|
|
2329
|
+
properties: {
|
|
2330
|
+
id: {
|
|
2331
|
+
description: 'A TID to be used as a draft identifier.',
|
|
2332
|
+
type: 'string',
|
|
2333
|
+
format: 'tid',
|
|
2334
|
+
},
|
|
2335
|
+
draft: {
|
|
2336
|
+
type: 'ref',
|
|
2337
|
+
ref: 'lex:app.bsky.draft.defs#draft',
|
|
2338
|
+
},
|
|
2339
|
+
createdAt: {
|
|
2340
|
+
description: 'The time the draft was created.',
|
|
2341
|
+
type: 'string',
|
|
2342
|
+
format: 'datetime',
|
|
2343
|
+
},
|
|
2344
|
+
updatedAt: {
|
|
2345
|
+
description: 'The time the draft was last updated.',
|
|
2346
|
+
type: 'string',
|
|
2347
|
+
format: 'datetime',
|
|
2348
|
+
},
|
|
2349
|
+
},
|
|
2350
|
+
},
|
|
2351
|
+
draftEmbedLocalRef: {
|
|
2352
|
+
type: 'object',
|
|
2353
|
+
required: ['path'],
|
|
2354
|
+
properties: {
|
|
2355
|
+
path: {
|
|
2356
|
+
type: 'string',
|
|
2357
|
+
description: 'Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.',
|
|
2358
|
+
minLength: 1,
|
|
2359
|
+
maxLength: 1024,
|
|
2360
|
+
},
|
|
2361
|
+
},
|
|
2362
|
+
},
|
|
2363
|
+
draftEmbedCaption: {
|
|
2364
|
+
type: 'object',
|
|
2365
|
+
required: ['lang', 'content'],
|
|
2366
|
+
properties: {
|
|
2367
|
+
lang: {
|
|
2368
|
+
type: 'string',
|
|
2369
|
+
format: 'language',
|
|
2370
|
+
},
|
|
2371
|
+
content: {
|
|
2372
|
+
type: 'string',
|
|
2373
|
+
maxLength: 10000,
|
|
2374
|
+
},
|
|
2375
|
+
},
|
|
2376
|
+
},
|
|
2377
|
+
draftEmbedImage: {
|
|
2378
|
+
type: 'object',
|
|
2379
|
+
required: ['localRef'],
|
|
2380
|
+
properties: {
|
|
2381
|
+
localRef: {
|
|
2382
|
+
type: 'ref',
|
|
2383
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedLocalRef',
|
|
2384
|
+
},
|
|
2385
|
+
alt: {
|
|
2386
|
+
type: 'string',
|
|
2387
|
+
maxGraphemes: 2000,
|
|
2388
|
+
},
|
|
2389
|
+
},
|
|
2390
|
+
},
|
|
2391
|
+
draftEmbedVideo: {
|
|
2392
|
+
type: 'object',
|
|
2393
|
+
required: ['localRef'],
|
|
2394
|
+
properties: {
|
|
2395
|
+
localRef: {
|
|
2396
|
+
type: 'ref',
|
|
2397
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedLocalRef',
|
|
2398
|
+
},
|
|
2399
|
+
alt: {
|
|
2400
|
+
type: 'string',
|
|
2401
|
+
maxGraphemes: 2000,
|
|
2402
|
+
},
|
|
2403
|
+
captions: {
|
|
2404
|
+
type: 'array',
|
|
2405
|
+
items: {
|
|
2406
|
+
type: 'ref',
|
|
2407
|
+
ref: 'lex:app.bsky.draft.defs#draftEmbedCaption',
|
|
2408
|
+
},
|
|
2409
|
+
maxLength: 20,
|
|
2410
|
+
},
|
|
2411
|
+
},
|
|
2412
|
+
},
|
|
2413
|
+
draftEmbedExternal: {
|
|
2414
|
+
type: 'object',
|
|
2415
|
+
required: ['uri'],
|
|
2416
|
+
properties: {
|
|
2417
|
+
uri: {
|
|
2418
|
+
type: 'string',
|
|
2419
|
+
format: 'uri',
|
|
2420
|
+
},
|
|
2421
|
+
},
|
|
2422
|
+
},
|
|
2423
|
+
draftEmbedRecord: {
|
|
2424
|
+
type: 'object',
|
|
2425
|
+
required: ['record'],
|
|
2426
|
+
properties: {
|
|
2427
|
+
record: {
|
|
2428
|
+
type: 'ref',
|
|
2429
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2430
|
+
},
|
|
2431
|
+
},
|
|
2432
|
+
},
|
|
2433
|
+
},
|
|
2434
|
+
},
|
|
2435
|
+
AppBskyDraftDeleteDraft: {
|
|
2436
|
+
lexicon: 1,
|
|
2437
|
+
id: 'app.bsky.draft.deleteDraft',
|
|
2438
|
+
defs: {
|
|
2439
|
+
main: {
|
|
2440
|
+
type: 'procedure',
|
|
2441
|
+
description: 'Deletes a draft by ID. Requires authentication.',
|
|
2442
|
+
input: {
|
|
2443
|
+
encoding: 'application/json',
|
|
2444
|
+
schema: {
|
|
2445
|
+
type: 'object',
|
|
2446
|
+
required: ['id'],
|
|
2447
|
+
properties: {
|
|
2448
|
+
id: {
|
|
2449
|
+
type: 'string',
|
|
2450
|
+
format: 'tid',
|
|
2451
|
+
},
|
|
2452
|
+
},
|
|
2453
|
+
},
|
|
2454
|
+
},
|
|
2455
|
+
},
|
|
2456
|
+
},
|
|
2457
|
+
},
|
|
2458
|
+
AppBskyDraftGetDrafts: {
|
|
2459
|
+
lexicon: 1,
|
|
2460
|
+
id: 'app.bsky.draft.getDrafts',
|
|
2461
|
+
defs: {
|
|
2462
|
+
main: {
|
|
2463
|
+
type: 'query',
|
|
2464
|
+
description: 'Gets views of user drafts. Requires authentication.',
|
|
2465
|
+
parameters: {
|
|
2466
|
+
type: 'params',
|
|
2467
|
+
properties: {
|
|
2468
|
+
limit: {
|
|
2469
|
+
type: 'integer',
|
|
2470
|
+
minimum: 1,
|
|
2471
|
+
maximum: 100,
|
|
2472
|
+
default: 50,
|
|
2473
|
+
},
|
|
2474
|
+
cursor: {
|
|
2475
|
+
type: 'string',
|
|
2476
|
+
},
|
|
2477
|
+
},
|
|
2478
|
+
},
|
|
2479
|
+
output: {
|
|
2480
|
+
encoding: 'application/json',
|
|
2481
|
+
schema: {
|
|
2482
|
+
type: 'object',
|
|
2483
|
+
required: ['drafts'],
|
|
2484
|
+
properties: {
|
|
2485
|
+
cursor: {
|
|
2486
|
+
type: 'string',
|
|
2487
|
+
},
|
|
2488
|
+
drafts: {
|
|
2489
|
+
type: 'array',
|
|
2490
|
+
items: {
|
|
2491
|
+
type: 'ref',
|
|
2492
|
+
ref: 'lex:app.bsky.draft.defs#draftView',
|
|
2493
|
+
},
|
|
2494
|
+
},
|
|
2495
|
+
},
|
|
2496
|
+
},
|
|
2497
|
+
},
|
|
2498
|
+
},
|
|
2499
|
+
},
|
|
2500
|
+
},
|
|
2501
|
+
AppBskyDraftUpdateDraft: {
|
|
2502
|
+
lexicon: 1,
|
|
2503
|
+
id: 'app.bsky.draft.updateDraft',
|
|
2504
|
+
defs: {
|
|
2505
|
+
main: {
|
|
2506
|
+
type: 'procedure',
|
|
2507
|
+
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.",
|
|
2508
|
+
input: {
|
|
2509
|
+
encoding: 'application/json',
|
|
2510
|
+
schema: {
|
|
2511
|
+
type: 'object',
|
|
2512
|
+
required: ['draft'],
|
|
2513
|
+
properties: {
|
|
2514
|
+
draft: {
|
|
2515
|
+
type: 'ref',
|
|
2516
|
+
ref: 'lex:app.bsky.draft.defs#draftWithId',
|
|
2517
|
+
},
|
|
2518
|
+
},
|
|
2519
|
+
},
|
|
2520
|
+
},
|
|
2521
|
+
},
|
|
2522
|
+
},
|
|
2523
|
+
},
|
|
2111
2524
|
AppBskyEmbedDefs: {
|
|
2112
2525
|
lexicon: 1,
|
|
2113
2526
|
id: 'app.bsky.embed.defs',
|
|
@@ -2491,6 +2904,11 @@ exports.schemaDict = {
|
|
|
2491
2904
|
type: 'ref',
|
|
2492
2905
|
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
2493
2906
|
},
|
|
2907
|
+
presentation: {
|
|
2908
|
+
type: 'string',
|
|
2909
|
+
description: 'A hint to the client about how to present the video.',
|
|
2910
|
+
knownValues: ['default', 'gif'],
|
|
2911
|
+
},
|
|
2494
2912
|
},
|
|
2495
2913
|
},
|
|
2496
2914
|
caption: {
|
|
@@ -2533,6 +2951,11 @@ exports.schemaDict = {
|
|
|
2533
2951
|
type: 'ref',
|
|
2534
2952
|
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
2535
2953
|
},
|
|
2954
|
+
presentation: {
|
|
2955
|
+
type: 'string',
|
|
2956
|
+
description: 'A hint to the client about how to present the video.',
|
|
2957
|
+
knownValues: ['default', 'gif'],
|
|
2958
|
+
},
|
|
2536
2959
|
},
|
|
2537
2960
|
},
|
|
2538
2961
|
},
|
|
@@ -7747,6 +8170,10 @@ exports.schemaDict = {
|
|
|
7747
8170
|
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
7748
8171
|
},
|
|
7749
8172
|
},
|
|
8173
|
+
recId: {
|
|
8174
|
+
type: 'string',
|
|
8175
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8176
|
+
},
|
|
7750
8177
|
},
|
|
7751
8178
|
},
|
|
7752
8179
|
},
|
|
@@ -7793,6 +8220,10 @@ exports.schemaDict = {
|
|
|
7793
8220
|
format: 'did',
|
|
7794
8221
|
},
|
|
7795
8222
|
},
|
|
8223
|
+
recId: {
|
|
8224
|
+
type: 'string',
|
|
8225
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8226
|
+
},
|
|
7796
8227
|
},
|
|
7797
8228
|
},
|
|
7798
8229
|
},
|
|
@@ -12599,7 +13030,15 @@ exports.schemaDict = {
|
|
|
12599
13030
|
defs: {
|
|
12600
13031
|
main: {
|
|
12601
13032
|
type: 'procedure',
|
|
12602
|
-
description:
|
|
13033
|
+
description: "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
13034
|
+
errors: [
|
|
13035
|
+
{
|
|
13036
|
+
name: 'InvalidToken',
|
|
13037
|
+
},
|
|
13038
|
+
{
|
|
13039
|
+
name: 'ExpiredToken',
|
|
13040
|
+
},
|
|
13041
|
+
],
|
|
12603
13042
|
},
|
|
12604
13043
|
},
|
|
12605
13044
|
},
|
|
@@ -12786,6 +13225,9 @@ exports.schemaDict = {
|
|
|
12786
13225
|
type: 'string',
|
|
12787
13226
|
format: 'did',
|
|
12788
13227
|
},
|
|
13228
|
+
didDoc: {
|
|
13229
|
+
type: 'unknown',
|
|
13230
|
+
},
|
|
12789
13231
|
email: {
|
|
12790
13232
|
type: 'string',
|
|
12791
13233
|
},
|
|
@@ -12795,9 +13237,6 @@ exports.schemaDict = {
|
|
|
12795
13237
|
emailAuthFactor: {
|
|
12796
13238
|
type: 'boolean',
|
|
12797
13239
|
},
|
|
12798
|
-
didDoc: {
|
|
12799
|
-
type: 'unknown',
|
|
12800
|
-
},
|
|
12801
13240
|
active: {
|
|
12802
13241
|
type: 'boolean',
|
|
12803
13242
|
},
|
|
@@ -12889,6 +13328,15 @@ exports.schemaDict = {
|
|
|
12889
13328
|
didDoc: {
|
|
12890
13329
|
type: 'unknown',
|
|
12891
13330
|
},
|
|
13331
|
+
email: {
|
|
13332
|
+
type: 'string',
|
|
13333
|
+
},
|
|
13334
|
+
emailConfirmed: {
|
|
13335
|
+
type: 'boolean',
|
|
13336
|
+
},
|
|
13337
|
+
emailAuthFactor: {
|
|
13338
|
+
type: 'boolean',
|
|
13339
|
+
},
|
|
12892
13340
|
active: {
|
|
12893
13341
|
type: 'boolean',
|
|
12894
13342
|
},
|
|
@@ -12904,6 +13352,12 @@ exports.schemaDict = {
|
|
|
12904
13352
|
{
|
|
12905
13353
|
name: 'AccountTakedown',
|
|
12906
13354
|
},
|
|
13355
|
+
{
|
|
13356
|
+
name: 'InvalidToken',
|
|
13357
|
+
},
|
|
13358
|
+
{
|
|
13359
|
+
name: 'ExpiredToken',
|
|
13360
|
+
},
|
|
12907
13361
|
],
|
|
12908
13362
|
},
|
|
12909
13363
|
},
|
|
@@ -19385,6 +19839,11 @@ exports.ids = {
|
|
|
19385
19839
|
AppBskyContactSendNotification: 'app.bsky.contact.sendNotification',
|
|
19386
19840
|
AppBskyContactStartPhoneVerification: 'app.bsky.contact.startPhoneVerification',
|
|
19387
19841
|
AppBskyContactVerifyPhone: 'app.bsky.contact.verifyPhone',
|
|
19842
|
+
AppBskyDraftCreateDraft: 'app.bsky.draft.createDraft',
|
|
19843
|
+
AppBskyDraftDefs: 'app.bsky.draft.defs',
|
|
19844
|
+
AppBskyDraftDeleteDraft: 'app.bsky.draft.deleteDraft',
|
|
19845
|
+
AppBskyDraftGetDrafts: 'app.bsky.draft.getDrafts',
|
|
19846
|
+
AppBskyDraftUpdateDraft: 'app.bsky.draft.updateDraft',
|
|
19388
19847
|
AppBskyEmbedDefs: 'app.bsky.embed.defs',
|
|
19389
19848
|
AppBskyEmbedExternal: 'app.bsky.embed.external',
|
|
19390
19849
|
AppBskyEmbedImages: 'app.bsky.embed.images',
|