@atproto/bsky 0.0.79 → 0.0.81
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 +16 -0
- package/dist/api/app/bsky/feed/getQuotes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.js +3 -1
- package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/config.d.ts +4 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +12 -0
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +11 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +32 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +346 -18
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +364 -24
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/defs.d.ts +13 -0
- package/dist/lexicon/types/app/bsky/embed/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/defs.js +16 -0
- package/dist/lexicon/types/app/bsky/embed/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/images.d.ts +3 -10
- package/dist/lexicon/types/app/bsky/embed/images.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/images.js +1 -11
- package/dist/lexicon/types/app/bsky/embed/images.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts +2 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts +3 -2
- package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/video.d.ts +33 -0
- package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/video.js +35 -0
- package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +2 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/post.d.ts +2 -1
- package/dist/lexicon/types/app/bsky/feed/post.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/post.js.map +1 -1
- package/dist/lexicon/types/app/bsky/video/defs.d.ts +19 -0
- package/dist/lexicon/types/app/bsky/video/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/defs.js +16 -0
- package/dist/lexicon/types/app/bsky/video/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/getJobStatus.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/video/getJobStatus.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/getJobStatus.js +3 -0
- package/dist/lexicon/types/app/bsky/video/getJobStatus.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/getUploadLimits.d.ts +38 -0
- package/dist/lexicon/types/app/bsky/video/getUploadLimits.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/getUploadLimits.js +3 -0
- package/dist/lexicon/types/app/bsky/video/getUploadLimits.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts +41 -0
- package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/uploadVideo.js +3 -0
- package/dist/lexicon/types/app/bsky/video/uploadVideo.js.map +1 -0
- package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +38 -4
- package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.js +31 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts +5 -2
- package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/defs.d.ts +12 -0
- package/dist/lexicon/types/com/atproto/repo/defs.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/repo/defs.js +16 -0
- package/dist/lexicon/types/com/atproto/repo/defs.js.map +1 -0
- package/dist/lexicon/types/com/atproto/repo/deleteRecord.d.ts +14 -2
- package/dist/lexicon/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts +5 -2
- package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/views/index.d.ts +5 -2
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +24 -1
- package/dist/views/index.js.map +1 -1
- package/dist/views/types.d.ts +5 -2
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/types.js +3 -1
- package/dist/views/types.js.map +1 -1
- package/dist/views/util.d.ts +15 -0
- package/dist/views/util.d.ts.map +1 -1
- package/dist/views/util.js +42 -1
- package/dist/views/util.js.map +1 -1
- package/package.json +4 -4
- package/src/api/app/bsky/feed/getQuotes.ts +4 -1
- package/src/config.ts +17 -0
- package/src/index.ts +10 -1
- package/src/lexicon/index.ts +46 -0
- package/src/lexicon/lexicons.ts +367 -25
- package/src/lexicon/types/app/bsky/embed/defs.ts +26 -0
- package/src/lexicon/types/app/bsky/embed/images.ts +3 -21
- package/src/lexicon/types/app/bsky/embed/record.ts +2 -0
- package/src/lexicon/types/app/bsky/embed/recordWithMedia.ts +3 -0
- package/src/lexicon/types/app/bsky/embed/video.ts +67 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/feed/post.ts +2 -0
- package/src/lexicon/types/app/bsky/video/defs.ts +32 -0
- package/src/lexicon/types/app/bsky/video/getJobStatus.ts +46 -0
- package/src/lexicon/types/app/bsky/video/getUploadLimits.ts +47 -0
- package/src/lexicon/types/app/bsky/video/uploadVideo.ts +48 -0
- package/src/lexicon/types/com/atproto/repo/applyWrites.ts +70 -3
- package/src/lexicon/types/com/atproto/repo/createRecord.ts +5 -2
- package/src/lexicon/types/com/atproto/repo/defs.ts +25 -0
- package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +13 -1
- package/src/lexicon/types/com/atproto/repo/putRecord.ts +5 -2
- package/src/views/index.ts +30 -3
- package/src/views/types.ts +16 -1
- package/src/views/util.ts +24 -0
- package/tests/_util.ts +9 -0
- package/tests/views/__snapshots__/posts.test.ts.snap +190 -0
- package/tests/views/posts.test.ts +75 -0
- package/tests/views/quotes.test.ts +15 -0
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -1216,8 +1216,7 @@ exports.schemaDict = {
|
|
|
1216
1216
|
},
|
|
1217
1217
|
validate: {
|
|
1218
1218
|
type: 'boolean',
|
|
1219
|
-
|
|
1220
|
-
description: "Can be set to 'false' to skip Lexicon schema validation of record data, for all operations.",
|
|
1219
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons.",
|
|
1221
1220
|
},
|
|
1222
1221
|
writes: {
|
|
1223
1222
|
type: 'array',
|
|
@@ -1239,6 +1238,31 @@ exports.schemaDict = {
|
|
|
1239
1238
|
},
|
|
1240
1239
|
},
|
|
1241
1240
|
},
|
|
1241
|
+
output: {
|
|
1242
|
+
encoding: 'application/json',
|
|
1243
|
+
schema: {
|
|
1244
|
+
type: 'object',
|
|
1245
|
+
required: [],
|
|
1246
|
+
properties: {
|
|
1247
|
+
commit: {
|
|
1248
|
+
type: 'ref',
|
|
1249
|
+
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1250
|
+
},
|
|
1251
|
+
results: {
|
|
1252
|
+
type: 'array',
|
|
1253
|
+
items: {
|
|
1254
|
+
type: 'union',
|
|
1255
|
+
refs: [
|
|
1256
|
+
'lex:com.atproto.repo.applyWrites#createResult',
|
|
1257
|
+
'lex:com.atproto.repo.applyWrites#updateResult',
|
|
1258
|
+
'lex:com.atproto.repo.applyWrites#deleteResult',
|
|
1259
|
+
],
|
|
1260
|
+
closed: true,
|
|
1261
|
+
},
|
|
1262
|
+
},
|
|
1263
|
+
},
|
|
1264
|
+
},
|
|
1265
|
+
},
|
|
1242
1266
|
errors: [
|
|
1243
1267
|
{
|
|
1244
1268
|
name: 'InvalidSwap',
|
|
@@ -1295,6 +1319,47 @@ exports.schemaDict = {
|
|
|
1295
1319
|
},
|
|
1296
1320
|
},
|
|
1297
1321
|
},
|
|
1322
|
+
createResult: {
|
|
1323
|
+
type: 'object',
|
|
1324
|
+
required: ['uri', 'cid'],
|
|
1325
|
+
properties: {
|
|
1326
|
+
uri: {
|
|
1327
|
+
type: 'string',
|
|
1328
|
+
format: 'at-uri',
|
|
1329
|
+
},
|
|
1330
|
+
cid: {
|
|
1331
|
+
type: 'string',
|
|
1332
|
+
format: 'cid',
|
|
1333
|
+
},
|
|
1334
|
+
validationStatus: {
|
|
1335
|
+
type: 'string',
|
|
1336
|
+
knownValues: ['valid', 'unknown'],
|
|
1337
|
+
},
|
|
1338
|
+
},
|
|
1339
|
+
},
|
|
1340
|
+
updateResult: {
|
|
1341
|
+
type: 'object',
|
|
1342
|
+
required: ['uri', 'cid'],
|
|
1343
|
+
properties: {
|
|
1344
|
+
uri: {
|
|
1345
|
+
type: 'string',
|
|
1346
|
+
format: 'at-uri',
|
|
1347
|
+
},
|
|
1348
|
+
cid: {
|
|
1349
|
+
type: 'string',
|
|
1350
|
+
format: 'cid',
|
|
1351
|
+
},
|
|
1352
|
+
validationStatus: {
|
|
1353
|
+
type: 'string',
|
|
1354
|
+
knownValues: ['valid', 'unknown'],
|
|
1355
|
+
},
|
|
1356
|
+
},
|
|
1357
|
+
},
|
|
1358
|
+
deleteResult: {
|
|
1359
|
+
type: 'object',
|
|
1360
|
+
required: [],
|
|
1361
|
+
properties: {},
|
|
1362
|
+
},
|
|
1298
1363
|
},
|
|
1299
1364
|
},
|
|
1300
1365
|
ComAtprotoRepoCreateRecord: {
|
|
@@ -1327,8 +1392,7 @@ exports.schemaDict = {
|
|
|
1327
1392
|
},
|
|
1328
1393
|
validate: {
|
|
1329
1394
|
type: 'boolean',
|
|
1330
|
-
|
|
1331
|
-
description: "Can be set to 'false' to skip Lexicon schema validation of record data.",
|
|
1395
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.",
|
|
1332
1396
|
},
|
|
1333
1397
|
record: {
|
|
1334
1398
|
type: 'unknown',
|
|
@@ -1356,6 +1420,14 @@ exports.schemaDict = {
|
|
|
1356
1420
|
type: 'string',
|
|
1357
1421
|
format: 'cid',
|
|
1358
1422
|
},
|
|
1423
|
+
commit: {
|
|
1424
|
+
type: 'ref',
|
|
1425
|
+
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1426
|
+
},
|
|
1427
|
+
validationStatus: {
|
|
1428
|
+
type: 'string',
|
|
1429
|
+
knownValues: ['valid', 'unknown'],
|
|
1430
|
+
},
|
|
1359
1431
|
},
|
|
1360
1432
|
},
|
|
1361
1433
|
},
|
|
@@ -1368,6 +1440,25 @@ exports.schemaDict = {
|
|
|
1368
1440
|
},
|
|
1369
1441
|
},
|
|
1370
1442
|
},
|
|
1443
|
+
ComAtprotoRepoDefs: {
|
|
1444
|
+
lexicon: 1,
|
|
1445
|
+
id: 'com.atproto.repo.defs',
|
|
1446
|
+
defs: {
|
|
1447
|
+
commitMeta: {
|
|
1448
|
+
type: 'object',
|
|
1449
|
+
required: ['cid', 'rev'],
|
|
1450
|
+
properties: {
|
|
1451
|
+
cid: {
|
|
1452
|
+
type: 'string',
|
|
1453
|
+
format: 'cid',
|
|
1454
|
+
},
|
|
1455
|
+
rev: {
|
|
1456
|
+
type: 'string',
|
|
1457
|
+
},
|
|
1458
|
+
},
|
|
1459
|
+
},
|
|
1460
|
+
},
|
|
1461
|
+
},
|
|
1371
1462
|
ComAtprotoRepoDeleteRecord: {
|
|
1372
1463
|
lexicon: 1,
|
|
1373
1464
|
id: 'com.atproto.repo.deleteRecord',
|
|
@@ -1408,6 +1499,18 @@ exports.schemaDict = {
|
|
|
1408
1499
|
},
|
|
1409
1500
|
},
|
|
1410
1501
|
},
|
|
1502
|
+
output: {
|
|
1503
|
+
encoding: 'application/json',
|
|
1504
|
+
schema: {
|
|
1505
|
+
type: 'object',
|
|
1506
|
+
properties: {
|
|
1507
|
+
commit: {
|
|
1508
|
+
type: 'ref',
|
|
1509
|
+
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1510
|
+
},
|
|
1511
|
+
},
|
|
1512
|
+
},
|
|
1513
|
+
},
|
|
1411
1514
|
errors: [
|
|
1412
1515
|
{
|
|
1413
1516
|
name: 'InvalidSwap',
|
|
@@ -1716,8 +1819,7 @@ exports.schemaDict = {
|
|
|
1716
1819
|
},
|
|
1717
1820
|
validate: {
|
|
1718
1821
|
type: 'boolean',
|
|
1719
|
-
|
|
1720
|
-
description: "Can be set to 'false' to skip Lexicon schema validation of record data.",
|
|
1822
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.",
|
|
1721
1823
|
},
|
|
1722
1824
|
record: {
|
|
1723
1825
|
type: 'unknown',
|
|
@@ -1750,6 +1852,14 @@ exports.schemaDict = {
|
|
|
1750
1852
|
type: 'string',
|
|
1751
1853
|
format: 'cid',
|
|
1752
1854
|
},
|
|
1855
|
+
commit: {
|
|
1856
|
+
type: 'ref',
|
|
1857
|
+
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1858
|
+
},
|
|
1859
|
+
validationStatus: {
|
|
1860
|
+
type: 'string',
|
|
1861
|
+
knownValues: ['valid', 'unknown'],
|
|
1862
|
+
},
|
|
1753
1863
|
},
|
|
1754
1864
|
},
|
|
1755
1865
|
},
|
|
@@ -4638,6 +4748,27 @@ exports.schemaDict = {
|
|
|
4638
4748
|
},
|
|
4639
4749
|
},
|
|
4640
4750
|
},
|
|
4751
|
+
AppBskyEmbedDefs: {
|
|
4752
|
+
lexicon: 1,
|
|
4753
|
+
id: 'app.bsky.embed.defs',
|
|
4754
|
+
defs: {
|
|
4755
|
+
aspectRatio: {
|
|
4756
|
+
type: 'object',
|
|
4757
|
+
description: 'width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.',
|
|
4758
|
+
required: ['width', 'height'],
|
|
4759
|
+
properties: {
|
|
4760
|
+
width: {
|
|
4761
|
+
type: 'integer',
|
|
4762
|
+
minimum: 1,
|
|
4763
|
+
},
|
|
4764
|
+
height: {
|
|
4765
|
+
type: 'integer',
|
|
4766
|
+
minimum: 1,
|
|
4767
|
+
},
|
|
4768
|
+
},
|
|
4769
|
+
},
|
|
4770
|
+
},
|
|
4771
|
+
},
|
|
4641
4772
|
AppBskyEmbedExternal: {
|
|
4642
4773
|
lexicon: 1,
|
|
4643
4774
|
id: 'app.bsky.embed.external',
|
|
@@ -4740,22 +4871,7 @@ exports.schemaDict = {
|
|
|
4740
4871
|
},
|
|
4741
4872
|
aspectRatio: {
|
|
4742
4873
|
type: 'ref',
|
|
4743
|
-
ref: 'lex:app.bsky.embed.
|
|
4744
|
-
},
|
|
4745
|
-
},
|
|
4746
|
-
},
|
|
4747
|
-
aspectRatio: {
|
|
4748
|
-
type: 'object',
|
|
4749
|
-
description: 'width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.',
|
|
4750
|
-
required: ['width', 'height'],
|
|
4751
|
-
properties: {
|
|
4752
|
-
width: {
|
|
4753
|
-
type: 'integer',
|
|
4754
|
-
minimum: 1,
|
|
4755
|
-
},
|
|
4756
|
-
height: {
|
|
4757
|
-
type: 'integer',
|
|
4758
|
-
minimum: 1,
|
|
4874
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
4759
4875
|
},
|
|
4760
4876
|
},
|
|
4761
4877
|
},
|
|
@@ -4793,7 +4909,7 @@ exports.schemaDict = {
|
|
|
4793
4909
|
},
|
|
4794
4910
|
aspectRatio: {
|
|
4795
4911
|
type: 'ref',
|
|
4796
|
-
ref: 'lex:app.bsky.embed.
|
|
4912
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
4797
4913
|
},
|
|
4798
4914
|
},
|
|
4799
4915
|
},
|
|
@@ -4878,6 +4994,7 @@ exports.schemaDict = {
|
|
|
4878
4994
|
type: 'union',
|
|
4879
4995
|
refs: [
|
|
4880
4996
|
'lex:app.bsky.embed.images#view',
|
|
4997
|
+
'lex:app.bsky.embed.video#view',
|
|
4881
4998
|
'lex:app.bsky.embed.external#view',
|
|
4882
4999
|
'lex:app.bsky.embed.record#view',
|
|
4883
5000
|
'lex:app.bsky.embed.recordWithMedia#view',
|
|
@@ -4953,7 +5070,11 @@ exports.schemaDict = {
|
|
|
4953
5070
|
},
|
|
4954
5071
|
media: {
|
|
4955
5072
|
type: 'union',
|
|
4956
|
-
refs: [
|
|
5073
|
+
refs: [
|
|
5074
|
+
'lex:app.bsky.embed.images',
|
|
5075
|
+
'lex:app.bsky.embed.video',
|
|
5076
|
+
'lex:app.bsky.embed.external',
|
|
5077
|
+
],
|
|
4957
5078
|
},
|
|
4958
5079
|
},
|
|
4959
5080
|
},
|
|
@@ -4969,6 +5090,7 @@ exports.schemaDict = {
|
|
|
4969
5090
|
type: 'union',
|
|
4970
5091
|
refs: [
|
|
4971
5092
|
'lex:app.bsky.embed.images#view',
|
|
5093
|
+
'lex:app.bsky.embed.video#view',
|
|
4972
5094
|
'lex:app.bsky.embed.external#view',
|
|
4973
5095
|
],
|
|
4974
5096
|
},
|
|
@@ -4976,6 +5098,84 @@ exports.schemaDict = {
|
|
|
4976
5098
|
},
|
|
4977
5099
|
},
|
|
4978
5100
|
},
|
|
5101
|
+
AppBskyEmbedVideo: {
|
|
5102
|
+
lexicon: 1,
|
|
5103
|
+
id: 'app.bsky.embed.video',
|
|
5104
|
+
description: 'A video embedded in a Bluesky record (eg, a post).',
|
|
5105
|
+
defs: {
|
|
5106
|
+
main: {
|
|
5107
|
+
type: 'object',
|
|
5108
|
+
required: ['video'],
|
|
5109
|
+
properties: {
|
|
5110
|
+
video: {
|
|
5111
|
+
type: 'blob',
|
|
5112
|
+
accept: ['video/mp4'],
|
|
5113
|
+
maxSize: 50000000,
|
|
5114
|
+
},
|
|
5115
|
+
captions: {
|
|
5116
|
+
type: 'array',
|
|
5117
|
+
items: {
|
|
5118
|
+
type: 'ref',
|
|
5119
|
+
ref: 'lex:app.bsky.embed.video#caption',
|
|
5120
|
+
},
|
|
5121
|
+
maxLength: 20,
|
|
5122
|
+
},
|
|
5123
|
+
alt: {
|
|
5124
|
+
type: 'string',
|
|
5125
|
+
description: 'Alt text description of the video, for accessibility.',
|
|
5126
|
+
maxGraphemes: 1000,
|
|
5127
|
+
maxLength: 10000,
|
|
5128
|
+
},
|
|
5129
|
+
aspectRatio: {
|
|
5130
|
+
type: 'ref',
|
|
5131
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
5132
|
+
},
|
|
5133
|
+
},
|
|
5134
|
+
},
|
|
5135
|
+
caption: {
|
|
5136
|
+
type: 'object',
|
|
5137
|
+
required: ['lang', 'file'],
|
|
5138
|
+
properties: {
|
|
5139
|
+
lang: {
|
|
5140
|
+
type: 'string',
|
|
5141
|
+
format: 'language',
|
|
5142
|
+
},
|
|
5143
|
+
file: {
|
|
5144
|
+
type: 'blob',
|
|
5145
|
+
accept: ['text/vtt'],
|
|
5146
|
+
maxSize: 20000,
|
|
5147
|
+
},
|
|
5148
|
+
},
|
|
5149
|
+
},
|
|
5150
|
+
view: {
|
|
5151
|
+
type: 'object',
|
|
5152
|
+
required: ['cid', 'playlist'],
|
|
5153
|
+
properties: {
|
|
5154
|
+
cid: {
|
|
5155
|
+
type: 'string',
|
|
5156
|
+
format: 'cid',
|
|
5157
|
+
},
|
|
5158
|
+
playlist: {
|
|
5159
|
+
type: 'string',
|
|
5160
|
+
format: 'uri',
|
|
5161
|
+
},
|
|
5162
|
+
thumbnail: {
|
|
5163
|
+
type: 'string',
|
|
5164
|
+
format: 'uri',
|
|
5165
|
+
},
|
|
5166
|
+
alt: {
|
|
5167
|
+
type: 'string',
|
|
5168
|
+
maxGraphemes: 1000,
|
|
5169
|
+
maxLength: 10000,
|
|
5170
|
+
},
|
|
5171
|
+
aspectRatio: {
|
|
5172
|
+
type: 'ref',
|
|
5173
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
5174
|
+
},
|
|
5175
|
+
},
|
|
5176
|
+
},
|
|
5177
|
+
},
|
|
5178
|
+
},
|
|
4979
5179
|
AppBskyFeedDefs: {
|
|
4980
5180
|
lexicon: 1,
|
|
4981
5181
|
id: 'app.bsky.feed.defs',
|
|
@@ -5003,6 +5203,7 @@ exports.schemaDict = {
|
|
|
5003
5203
|
type: 'union',
|
|
5004
5204
|
refs: [
|
|
5005
5205
|
'lex:app.bsky.embed.images#view',
|
|
5206
|
+
'lex:app.bsky.embed.video#view',
|
|
5006
5207
|
'lex:app.bsky.embed.external#view',
|
|
5007
5208
|
'lex:app.bsky.embed.record#view',
|
|
5008
5209
|
'lex:app.bsky.embed.recordWithMedia#view',
|
|
@@ -6395,6 +6596,7 @@ exports.schemaDict = {
|
|
|
6395
6596
|
type: 'union',
|
|
6396
6597
|
refs: [
|
|
6397
6598
|
'lex:app.bsky.embed.images',
|
|
6599
|
+
'lex:app.bsky.embed.video',
|
|
6398
6600
|
'lex:app.bsky.embed.external',
|
|
6399
6601
|
'lex:app.bsky.embed.record',
|
|
6400
6602
|
'lex:app.bsky.embed.recordWithMedia',
|
|
@@ -8914,6 +9116,137 @@ exports.schemaDict = {
|
|
|
8914
9116
|
},
|
|
8915
9117
|
},
|
|
8916
9118
|
},
|
|
9119
|
+
AppBskyVideoDefs: {
|
|
9120
|
+
lexicon: 1,
|
|
9121
|
+
id: 'app.bsky.video.defs',
|
|
9122
|
+
defs: {
|
|
9123
|
+
jobStatus: {
|
|
9124
|
+
type: 'object',
|
|
9125
|
+
required: ['jobId', 'did', 'state'],
|
|
9126
|
+
properties: {
|
|
9127
|
+
jobId: {
|
|
9128
|
+
type: 'string',
|
|
9129
|
+
},
|
|
9130
|
+
did: {
|
|
9131
|
+
type: 'string',
|
|
9132
|
+
format: 'did',
|
|
9133
|
+
},
|
|
9134
|
+
state: {
|
|
9135
|
+
type: 'string',
|
|
9136
|
+
description: 'The state of the video processing job. All values not listed as a known value indicate that the job is in process.',
|
|
9137
|
+
knownValues: ['JOB_STATE_COMPLETED', 'JOB_STATE_FAILED'],
|
|
9138
|
+
},
|
|
9139
|
+
progress: {
|
|
9140
|
+
type: 'integer',
|
|
9141
|
+
minimum: 0,
|
|
9142
|
+
maximum: 100,
|
|
9143
|
+
description: 'Progress within the current processing state.',
|
|
9144
|
+
},
|
|
9145
|
+
blob: {
|
|
9146
|
+
type: 'blob',
|
|
9147
|
+
},
|
|
9148
|
+
error: {
|
|
9149
|
+
type: 'string',
|
|
9150
|
+
},
|
|
9151
|
+
message: {
|
|
9152
|
+
type: 'string',
|
|
9153
|
+
},
|
|
9154
|
+
},
|
|
9155
|
+
},
|
|
9156
|
+
},
|
|
9157
|
+
},
|
|
9158
|
+
AppBskyVideoGetJobStatus: {
|
|
9159
|
+
lexicon: 1,
|
|
9160
|
+
id: 'app.bsky.video.getJobStatus',
|
|
9161
|
+
defs: {
|
|
9162
|
+
main: {
|
|
9163
|
+
type: 'query',
|
|
9164
|
+
description: 'Get status details for a video processing job.',
|
|
9165
|
+
parameters: {
|
|
9166
|
+
type: 'params',
|
|
9167
|
+
required: ['jobId'],
|
|
9168
|
+
properties: {
|
|
9169
|
+
jobId: {
|
|
9170
|
+
type: 'string',
|
|
9171
|
+
},
|
|
9172
|
+
},
|
|
9173
|
+
},
|
|
9174
|
+
output: {
|
|
9175
|
+
encoding: 'application/json',
|
|
9176
|
+
schema: {
|
|
9177
|
+
type: 'object',
|
|
9178
|
+
required: ['jobStatus'],
|
|
9179
|
+
properties: {
|
|
9180
|
+
jobStatus: {
|
|
9181
|
+
type: 'ref',
|
|
9182
|
+
ref: 'lex:app.bsky.video.defs#jobStatus',
|
|
9183
|
+
},
|
|
9184
|
+
},
|
|
9185
|
+
},
|
|
9186
|
+
},
|
|
9187
|
+
},
|
|
9188
|
+
},
|
|
9189
|
+
},
|
|
9190
|
+
AppBskyVideoGetUploadLimits: {
|
|
9191
|
+
lexicon: 1,
|
|
9192
|
+
id: 'app.bsky.video.getUploadLimits',
|
|
9193
|
+
defs: {
|
|
9194
|
+
main: {
|
|
9195
|
+
type: 'query',
|
|
9196
|
+
description: 'Get video upload limits for the authenticated user.',
|
|
9197
|
+
output: {
|
|
9198
|
+
encoding: 'application/json',
|
|
9199
|
+
schema: {
|
|
9200
|
+
type: 'object',
|
|
9201
|
+
required: ['canUpload'],
|
|
9202
|
+
properties: {
|
|
9203
|
+
canUpload: {
|
|
9204
|
+
type: 'boolean',
|
|
9205
|
+
},
|
|
9206
|
+
remainingDailyVideos: {
|
|
9207
|
+
type: 'integer',
|
|
9208
|
+
},
|
|
9209
|
+
remainingDailyBytes: {
|
|
9210
|
+
type: 'integer',
|
|
9211
|
+
},
|
|
9212
|
+
message: {
|
|
9213
|
+
type: 'string',
|
|
9214
|
+
},
|
|
9215
|
+
error: {
|
|
9216
|
+
type: 'string',
|
|
9217
|
+
},
|
|
9218
|
+
},
|
|
9219
|
+
},
|
|
9220
|
+
},
|
|
9221
|
+
},
|
|
9222
|
+
},
|
|
9223
|
+
},
|
|
9224
|
+
AppBskyVideoUploadVideo: {
|
|
9225
|
+
lexicon: 1,
|
|
9226
|
+
id: 'app.bsky.video.uploadVideo',
|
|
9227
|
+
defs: {
|
|
9228
|
+
main: {
|
|
9229
|
+
type: 'procedure',
|
|
9230
|
+
description: 'Upload a video to be processed then stored on the PDS.',
|
|
9231
|
+
input: {
|
|
9232
|
+
encoding: 'video/mp4',
|
|
9233
|
+
},
|
|
9234
|
+
output: {
|
|
9235
|
+
encoding: 'application/json',
|
|
9236
|
+
schema: {
|
|
9237
|
+
type: 'object',
|
|
9238
|
+
required: ['jobStatus'],
|
|
9239
|
+
properties: {
|
|
9240
|
+
jobStatus: {
|
|
9241
|
+
type: 'ref',
|
|
9242
|
+
ref: 'lex:app.bsky.video.defs#jobStatus',
|
|
9243
|
+
},
|
|
9244
|
+
},
|
|
9245
|
+
},
|
|
9246
|
+
},
|
|
9247
|
+
},
|
|
9248
|
+
},
|
|
9249
|
+
},
|
|
8917
9250
|
ChatBskyActorDeclaration: {
|
|
8918
9251
|
lexicon: 1,
|
|
8919
9252
|
id: 'chat.bsky.actor.declaration',
|
|
@@ -9849,6 +10182,7 @@ exports.ids = {
|
|
|
9849
10182
|
ComAtprotoModerationDefs: 'com.atproto.moderation.defs',
|
|
9850
10183
|
ComAtprotoRepoApplyWrites: 'com.atproto.repo.applyWrites',
|
|
9851
10184
|
ComAtprotoRepoCreateRecord: 'com.atproto.repo.createRecord',
|
|
10185
|
+
ComAtprotoRepoDefs: 'com.atproto.repo.defs',
|
|
9852
10186
|
ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
|
|
9853
10187
|
ComAtprotoRepoDescribeRepo: 'com.atproto.repo.describeRepo',
|
|
9854
10188
|
ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord',
|
|
@@ -9909,10 +10243,12 @@ exports.ids = {
|
|
|
9909
10243
|
AppBskyActorPutPreferences: 'app.bsky.actor.putPreferences',
|
|
9910
10244
|
AppBskyActorSearchActors: 'app.bsky.actor.searchActors',
|
|
9911
10245
|
AppBskyActorSearchActorsTypeahead: 'app.bsky.actor.searchActorsTypeahead',
|
|
10246
|
+
AppBskyEmbedDefs: 'app.bsky.embed.defs',
|
|
9912
10247
|
AppBskyEmbedExternal: 'app.bsky.embed.external',
|
|
9913
10248
|
AppBskyEmbedImages: 'app.bsky.embed.images',
|
|
9914
10249
|
AppBskyEmbedRecord: 'app.bsky.embed.record',
|
|
9915
10250
|
AppBskyEmbedRecordWithMedia: 'app.bsky.embed.recordWithMedia',
|
|
10251
|
+
AppBskyEmbedVideo: 'app.bsky.embed.video',
|
|
9916
10252
|
AppBskyFeedDefs: 'app.bsky.feed.defs',
|
|
9917
10253
|
AppBskyFeedDescribeFeedGenerator: 'app.bsky.feed.describeFeedGenerator',
|
|
9918
10254
|
AppBskyFeedGenerator: 'app.bsky.feed.generator',
|
|
@@ -9980,6 +10316,10 @@ exports.ids = {
|
|
|
9980
10316
|
AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
9981
10317
|
AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
|
|
9982
10318
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|
|
10319
|
+
AppBskyVideoDefs: 'app.bsky.video.defs',
|
|
10320
|
+
AppBskyVideoGetJobStatus: 'app.bsky.video.getJobStatus',
|
|
10321
|
+
AppBskyVideoGetUploadLimits: 'app.bsky.video.getUploadLimits',
|
|
10322
|
+
AppBskyVideoUploadVideo: 'app.bsky.video.uploadVideo',
|
|
9983
10323
|
ChatBskyActorDeclaration: 'chat.bsky.actor.declaration',
|
|
9984
10324
|
ChatBskyActorDefs: 'chat.bsky.actor.defs',
|
|
9985
10325
|
ChatBskyActorDeleteAccount: 'chat.bsky.actor.deleteAccount',
|