@atproto/ozone 0.1.41 → 0.1.42
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 +7 -0
- 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 +236 -15
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +247 -18
- 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/package.json +3 -3
- package/src/lexicon/index.ts +46 -0
- package/src/lexicon/lexicons.ts +250 -19
- 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/dist/lexicon/lexicons.js
CHANGED
|
@@ -4638,6 +4638,27 @@ exports.schemaDict = {
|
|
|
4638
4638
|
},
|
|
4639
4639
|
},
|
|
4640
4640
|
},
|
|
4641
|
+
AppBskyEmbedDefs: {
|
|
4642
|
+
lexicon: 1,
|
|
4643
|
+
id: 'app.bsky.embed.defs',
|
|
4644
|
+
defs: {
|
|
4645
|
+
aspectRatio: {
|
|
4646
|
+
type: 'object',
|
|
4647
|
+
description: 'width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.',
|
|
4648
|
+
required: ['width', 'height'],
|
|
4649
|
+
properties: {
|
|
4650
|
+
width: {
|
|
4651
|
+
type: 'integer',
|
|
4652
|
+
minimum: 1,
|
|
4653
|
+
},
|
|
4654
|
+
height: {
|
|
4655
|
+
type: 'integer',
|
|
4656
|
+
minimum: 1,
|
|
4657
|
+
},
|
|
4658
|
+
},
|
|
4659
|
+
},
|
|
4660
|
+
},
|
|
4661
|
+
},
|
|
4641
4662
|
AppBskyEmbedExternal: {
|
|
4642
4663
|
lexicon: 1,
|
|
4643
4664
|
id: 'app.bsky.embed.external',
|
|
@@ -4740,22 +4761,7 @@ exports.schemaDict = {
|
|
|
4740
4761
|
},
|
|
4741
4762
|
aspectRatio: {
|
|
4742
4763
|
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,
|
|
4764
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
4759
4765
|
},
|
|
4760
4766
|
},
|
|
4761
4767
|
},
|
|
@@ -4793,7 +4799,7 @@ exports.schemaDict = {
|
|
|
4793
4799
|
},
|
|
4794
4800
|
aspectRatio: {
|
|
4795
4801
|
type: 'ref',
|
|
4796
|
-
ref: 'lex:app.bsky.embed.
|
|
4802
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
4797
4803
|
},
|
|
4798
4804
|
},
|
|
4799
4805
|
},
|
|
@@ -4878,6 +4884,7 @@ exports.schemaDict = {
|
|
|
4878
4884
|
type: 'union',
|
|
4879
4885
|
refs: [
|
|
4880
4886
|
'lex:app.bsky.embed.images#view',
|
|
4887
|
+
'lex:app.bsky.embed.video#view',
|
|
4881
4888
|
'lex:app.bsky.embed.external#view',
|
|
4882
4889
|
'lex:app.bsky.embed.record#view',
|
|
4883
4890
|
'lex:app.bsky.embed.recordWithMedia#view',
|
|
@@ -4953,7 +4960,11 @@ exports.schemaDict = {
|
|
|
4953
4960
|
},
|
|
4954
4961
|
media: {
|
|
4955
4962
|
type: 'union',
|
|
4956
|
-
refs: [
|
|
4963
|
+
refs: [
|
|
4964
|
+
'lex:app.bsky.embed.images',
|
|
4965
|
+
'lex:app.bsky.embed.video',
|
|
4966
|
+
'lex:app.bsky.embed.external',
|
|
4967
|
+
],
|
|
4957
4968
|
},
|
|
4958
4969
|
},
|
|
4959
4970
|
},
|
|
@@ -4969,6 +4980,7 @@ exports.schemaDict = {
|
|
|
4969
4980
|
type: 'union',
|
|
4970
4981
|
refs: [
|
|
4971
4982
|
'lex:app.bsky.embed.images#view',
|
|
4983
|
+
'lex:app.bsky.embed.video#view',
|
|
4972
4984
|
'lex:app.bsky.embed.external#view',
|
|
4973
4985
|
],
|
|
4974
4986
|
},
|
|
@@ -4976,6 +4988,84 @@ exports.schemaDict = {
|
|
|
4976
4988
|
},
|
|
4977
4989
|
},
|
|
4978
4990
|
},
|
|
4991
|
+
AppBskyEmbedVideo: {
|
|
4992
|
+
lexicon: 1,
|
|
4993
|
+
id: 'app.bsky.embed.video',
|
|
4994
|
+
description: 'A video embedded in a Bluesky record (eg, a post).',
|
|
4995
|
+
defs: {
|
|
4996
|
+
main: {
|
|
4997
|
+
type: 'object',
|
|
4998
|
+
required: ['video'],
|
|
4999
|
+
properties: {
|
|
5000
|
+
video: {
|
|
5001
|
+
type: 'blob',
|
|
5002
|
+
accept: ['video/mp4'],
|
|
5003
|
+
maxSize: 50000000,
|
|
5004
|
+
},
|
|
5005
|
+
captions: {
|
|
5006
|
+
type: 'array',
|
|
5007
|
+
items: {
|
|
5008
|
+
type: 'ref',
|
|
5009
|
+
ref: 'lex:app.bsky.embed.video#caption',
|
|
5010
|
+
},
|
|
5011
|
+
maxLength: 20,
|
|
5012
|
+
},
|
|
5013
|
+
alt: {
|
|
5014
|
+
type: 'string',
|
|
5015
|
+
description: 'Alt text description of the video, for accessibility.',
|
|
5016
|
+
maxGraphemes: 1000,
|
|
5017
|
+
maxLength: 10000,
|
|
5018
|
+
},
|
|
5019
|
+
aspectRatio: {
|
|
5020
|
+
type: 'ref',
|
|
5021
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
5022
|
+
},
|
|
5023
|
+
},
|
|
5024
|
+
},
|
|
5025
|
+
caption: {
|
|
5026
|
+
type: 'object',
|
|
5027
|
+
required: ['lang', 'file'],
|
|
5028
|
+
properties: {
|
|
5029
|
+
lang: {
|
|
5030
|
+
type: 'string',
|
|
5031
|
+
format: 'language',
|
|
5032
|
+
},
|
|
5033
|
+
file: {
|
|
5034
|
+
type: 'blob',
|
|
5035
|
+
accept: ['text/vtt'],
|
|
5036
|
+
maxSize: 20000,
|
|
5037
|
+
},
|
|
5038
|
+
},
|
|
5039
|
+
},
|
|
5040
|
+
view: {
|
|
5041
|
+
type: 'object',
|
|
5042
|
+
required: ['cid', 'playlist'],
|
|
5043
|
+
properties: {
|
|
5044
|
+
cid: {
|
|
5045
|
+
type: 'string',
|
|
5046
|
+
format: 'cid',
|
|
5047
|
+
},
|
|
5048
|
+
playlist: {
|
|
5049
|
+
type: 'string',
|
|
5050
|
+
format: 'uri',
|
|
5051
|
+
},
|
|
5052
|
+
thumbnail: {
|
|
5053
|
+
type: 'string',
|
|
5054
|
+
format: 'uri',
|
|
5055
|
+
},
|
|
5056
|
+
alt: {
|
|
5057
|
+
type: 'string',
|
|
5058
|
+
maxGraphemes: 1000,
|
|
5059
|
+
maxLength: 10000,
|
|
5060
|
+
},
|
|
5061
|
+
aspectRatio: {
|
|
5062
|
+
type: 'ref',
|
|
5063
|
+
ref: 'lex:app.bsky.embed.defs#aspectRatio',
|
|
5064
|
+
},
|
|
5065
|
+
},
|
|
5066
|
+
},
|
|
5067
|
+
},
|
|
5068
|
+
},
|
|
4979
5069
|
AppBskyFeedDefs: {
|
|
4980
5070
|
lexicon: 1,
|
|
4981
5071
|
id: 'app.bsky.feed.defs',
|
|
@@ -5003,6 +5093,7 @@ exports.schemaDict = {
|
|
|
5003
5093
|
type: 'union',
|
|
5004
5094
|
refs: [
|
|
5005
5095
|
'lex:app.bsky.embed.images#view',
|
|
5096
|
+
'lex:app.bsky.embed.video#view',
|
|
5006
5097
|
'lex:app.bsky.embed.external#view',
|
|
5007
5098
|
'lex:app.bsky.embed.record#view',
|
|
5008
5099
|
'lex:app.bsky.embed.recordWithMedia#view',
|
|
@@ -6395,6 +6486,7 @@ exports.schemaDict = {
|
|
|
6395
6486
|
type: 'union',
|
|
6396
6487
|
refs: [
|
|
6397
6488
|
'lex:app.bsky.embed.images',
|
|
6489
|
+
'lex:app.bsky.embed.video',
|
|
6398
6490
|
'lex:app.bsky.embed.external',
|
|
6399
6491
|
'lex:app.bsky.embed.record',
|
|
6400
6492
|
'lex:app.bsky.embed.recordWithMedia',
|
|
@@ -8914,6 +9006,137 @@ exports.schemaDict = {
|
|
|
8914
9006
|
},
|
|
8915
9007
|
},
|
|
8916
9008
|
},
|
|
9009
|
+
AppBskyVideoDefs: {
|
|
9010
|
+
lexicon: 1,
|
|
9011
|
+
id: 'app.bsky.video.defs',
|
|
9012
|
+
defs: {
|
|
9013
|
+
jobStatus: {
|
|
9014
|
+
type: 'object',
|
|
9015
|
+
required: ['jobId', 'did', 'state'],
|
|
9016
|
+
properties: {
|
|
9017
|
+
jobId: {
|
|
9018
|
+
type: 'string',
|
|
9019
|
+
},
|
|
9020
|
+
did: {
|
|
9021
|
+
type: 'string',
|
|
9022
|
+
format: 'did',
|
|
9023
|
+
},
|
|
9024
|
+
state: {
|
|
9025
|
+
type: 'string',
|
|
9026
|
+
description: 'The state of the video processing job. All values not listed as a known value indicate that the job is in process.',
|
|
9027
|
+
knownValues: ['JOB_STATE_COMPLETED', 'JOB_STATE_FAILED'],
|
|
9028
|
+
},
|
|
9029
|
+
progress: {
|
|
9030
|
+
type: 'integer',
|
|
9031
|
+
minimum: 0,
|
|
9032
|
+
maximum: 100,
|
|
9033
|
+
description: 'Progress within the current processing state.',
|
|
9034
|
+
},
|
|
9035
|
+
blob: {
|
|
9036
|
+
type: 'blob',
|
|
9037
|
+
},
|
|
9038
|
+
error: {
|
|
9039
|
+
type: 'string',
|
|
9040
|
+
},
|
|
9041
|
+
message: {
|
|
9042
|
+
type: 'string',
|
|
9043
|
+
},
|
|
9044
|
+
},
|
|
9045
|
+
},
|
|
9046
|
+
},
|
|
9047
|
+
},
|
|
9048
|
+
AppBskyVideoGetJobStatus: {
|
|
9049
|
+
lexicon: 1,
|
|
9050
|
+
id: 'app.bsky.video.getJobStatus',
|
|
9051
|
+
defs: {
|
|
9052
|
+
main: {
|
|
9053
|
+
type: 'query',
|
|
9054
|
+
description: 'Get status details for a video processing job.',
|
|
9055
|
+
parameters: {
|
|
9056
|
+
type: 'params',
|
|
9057
|
+
required: ['jobId'],
|
|
9058
|
+
properties: {
|
|
9059
|
+
jobId: {
|
|
9060
|
+
type: 'string',
|
|
9061
|
+
},
|
|
9062
|
+
},
|
|
9063
|
+
},
|
|
9064
|
+
output: {
|
|
9065
|
+
encoding: 'application/json',
|
|
9066
|
+
schema: {
|
|
9067
|
+
type: 'object',
|
|
9068
|
+
required: ['jobStatus'],
|
|
9069
|
+
properties: {
|
|
9070
|
+
jobStatus: {
|
|
9071
|
+
type: 'ref',
|
|
9072
|
+
ref: 'lex:app.bsky.video.defs#jobStatus',
|
|
9073
|
+
},
|
|
9074
|
+
},
|
|
9075
|
+
},
|
|
9076
|
+
},
|
|
9077
|
+
},
|
|
9078
|
+
},
|
|
9079
|
+
},
|
|
9080
|
+
AppBskyVideoGetUploadLimits: {
|
|
9081
|
+
lexicon: 1,
|
|
9082
|
+
id: 'app.bsky.video.getUploadLimits',
|
|
9083
|
+
defs: {
|
|
9084
|
+
main: {
|
|
9085
|
+
type: 'query',
|
|
9086
|
+
description: 'Get video upload limits for the authenticated user.',
|
|
9087
|
+
output: {
|
|
9088
|
+
encoding: 'application/json',
|
|
9089
|
+
schema: {
|
|
9090
|
+
type: 'object',
|
|
9091
|
+
required: ['canUpload'],
|
|
9092
|
+
properties: {
|
|
9093
|
+
canUpload: {
|
|
9094
|
+
type: 'boolean',
|
|
9095
|
+
},
|
|
9096
|
+
remainingDailyVideos: {
|
|
9097
|
+
type: 'integer',
|
|
9098
|
+
},
|
|
9099
|
+
remainingDailyBytes: {
|
|
9100
|
+
type: 'integer',
|
|
9101
|
+
},
|
|
9102
|
+
message: {
|
|
9103
|
+
type: 'string',
|
|
9104
|
+
},
|
|
9105
|
+
error: {
|
|
9106
|
+
type: 'string',
|
|
9107
|
+
},
|
|
9108
|
+
},
|
|
9109
|
+
},
|
|
9110
|
+
},
|
|
9111
|
+
},
|
|
9112
|
+
},
|
|
9113
|
+
},
|
|
9114
|
+
AppBskyVideoUploadVideo: {
|
|
9115
|
+
lexicon: 1,
|
|
9116
|
+
id: 'app.bsky.video.uploadVideo',
|
|
9117
|
+
defs: {
|
|
9118
|
+
main: {
|
|
9119
|
+
type: 'procedure',
|
|
9120
|
+
description: 'Upload a video to be processed then stored on the PDS.',
|
|
9121
|
+
input: {
|
|
9122
|
+
encoding: 'video/mp4',
|
|
9123
|
+
},
|
|
9124
|
+
output: {
|
|
9125
|
+
encoding: 'application/json',
|
|
9126
|
+
schema: {
|
|
9127
|
+
type: 'object',
|
|
9128
|
+
required: ['jobStatus'],
|
|
9129
|
+
properties: {
|
|
9130
|
+
jobStatus: {
|
|
9131
|
+
type: 'ref',
|
|
9132
|
+
ref: 'lex:app.bsky.video.defs#jobStatus',
|
|
9133
|
+
},
|
|
9134
|
+
},
|
|
9135
|
+
},
|
|
9136
|
+
},
|
|
9137
|
+
},
|
|
9138
|
+
},
|
|
9139
|
+
},
|
|
8917
9140
|
ChatBskyActorDeclaration: {
|
|
8918
9141
|
lexicon: 1,
|
|
8919
9142
|
id: 'chat.bsky.actor.declaration',
|
|
@@ -11595,10 +11818,12 @@ exports.ids = {
|
|
|
11595
11818
|
AppBskyActorPutPreferences: 'app.bsky.actor.putPreferences',
|
|
11596
11819
|
AppBskyActorSearchActors: 'app.bsky.actor.searchActors',
|
|
11597
11820
|
AppBskyActorSearchActorsTypeahead: 'app.bsky.actor.searchActorsTypeahead',
|
|
11821
|
+
AppBskyEmbedDefs: 'app.bsky.embed.defs',
|
|
11598
11822
|
AppBskyEmbedExternal: 'app.bsky.embed.external',
|
|
11599
11823
|
AppBskyEmbedImages: 'app.bsky.embed.images',
|
|
11600
11824
|
AppBskyEmbedRecord: 'app.bsky.embed.record',
|
|
11601
11825
|
AppBskyEmbedRecordWithMedia: 'app.bsky.embed.recordWithMedia',
|
|
11826
|
+
AppBskyEmbedVideo: 'app.bsky.embed.video',
|
|
11602
11827
|
AppBskyFeedDefs: 'app.bsky.feed.defs',
|
|
11603
11828
|
AppBskyFeedDescribeFeedGenerator: 'app.bsky.feed.describeFeedGenerator',
|
|
11604
11829
|
AppBskyFeedGenerator: 'app.bsky.feed.generator',
|
|
@@ -11666,6 +11891,10 @@ exports.ids = {
|
|
|
11666
11891
|
AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
11667
11892
|
AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
|
|
11668
11893
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|
|
11894
|
+
AppBskyVideoDefs: 'app.bsky.video.defs',
|
|
11895
|
+
AppBskyVideoGetJobStatus: 'app.bsky.video.getJobStatus',
|
|
11896
|
+
AppBskyVideoGetUploadLimits: 'app.bsky.video.getUploadLimits',
|
|
11897
|
+
AppBskyVideoUploadVideo: 'app.bsky.video.uploadVideo',
|
|
11669
11898
|
ChatBskyActorDeclaration: 'chat.bsky.actor.declaration',
|
|
11670
11899
|
ChatBskyActorDefs: 'chat.bsky.actor.defs',
|
|
11671
11900
|
ChatBskyActorDeleteAccount: 'chat.bsky.actor.deleteAccount',
|