@atproto/pds 0.4.55 → 0.4.57
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.js +43 -7
- package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.js +10 -2
- package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.js +11 -0
- package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js +7 -0
- package/dist/api/com/atproto/repo/putRecord.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 +367 -18
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +390 -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/lexicon/types/tools/ozone/communication/createTemplate.d.ts +3 -0
- package/dist/lexicon/types/tools/ozone/communication/createTemplate.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/communication/defs.d.ts +2 -0
- package/dist/lexicon/types/tools/ozone/communication/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/communication/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/communication/updateTemplate.d.ts +3 -0
- package/dist/lexicon/types/tools/ozone/communication/updateTemplate.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/read-after-write/viewer.d.ts +4 -4
- package/dist/repo/prepare.d.ts +4 -2
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +30 -14
- package/dist/repo/prepare.js.map +1 -1
- package/dist/repo/types.d.ts +3 -0
- package/dist/repo/types.d.ts.map +1 -1
- package/dist/repo/types.js.map +1 -1
- package/dist/sequencer/events.d.ts +2 -2
- package/package.json +4 -4
- package/src/api/com/atproto/repo/applyWrites.ts +41 -0
- package/src/api/com/atproto/repo/createRecord.ts +16 -7
- package/src/api/com/atproto/repo/deleteRecord.ts +11 -0
- package/src/api/com/atproto/repo/putRecord.ts +7 -0
- package/src/lexicon/index.ts +46 -0
- package/src/lexicon/lexicons.ts +393 -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/lexicon/types/tools/ozone/communication/createTemplate.ts +3 -0
- package/src/lexicon/types/tools/ozone/communication/defs.ts +2 -0
- package/src/lexicon/types/tools/ozone/communication/updateTemplate.ts +3 -0
- package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +1 -0
- package/src/repo/prepare.ts +31 -13
- package/src/repo/types.ts +4 -0
- package/tests/crud.test.ts +131 -14
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult } from '@atproto/lexicon';
|
5
|
+
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
|
6
|
+
export interface AspectRatio {
|
7
|
+
width: number;
|
8
|
+
height: number;
|
9
|
+
[k: string]: unknown;
|
10
|
+
}
|
11
|
+
export declare function isAspectRatio(v: unknown): v is AspectRatio;
|
12
|
+
export declare function validateAspectRatio(v: unknown): ValidationResult;
|
13
|
+
//# sourceMappingURL=defs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,uIAAuI;AACvI,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,WAAW,CAM1D;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEhE"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateAspectRatio = exports.isAspectRatio = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isAspectRatio(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
v.$type === 'app.bsky.embed.defs#aspectRatio');
|
10
|
+
}
|
11
|
+
exports.isAspectRatio = isAspectRatio;
|
12
|
+
function validateAspectRatio(v) {
|
13
|
+
return lexicons_1.lexicons.validate('app.bsky.embed.defs#aspectRatio', v);
|
14
|
+
}
|
15
|
+
exports.validateAspectRatio = validateAspectRatio;
|
16
|
+
//# sourceMappingURL=defs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAUjD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iCAAiC,CAC9C,CAAA;AACH,CAAC;AAND,sCAMC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kDAEC"}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
3
3
|
*/
|
4
4
|
import { ValidationResult, BlobRef } from '@atproto/lexicon';
|
5
|
+
import * as AppBskyEmbedDefs from './defs';
|
5
6
|
export interface Main {
|
6
7
|
images: Image[];
|
7
8
|
[k: string]: unknown;
|
@@ -12,19 +13,11 @@ export interface Image {
|
|
12
13
|
image: BlobRef;
|
13
14
|
/** Alt text description of the image, for accessibility. */
|
14
15
|
alt: string;
|
15
|
-
aspectRatio?: AspectRatio;
|
16
|
+
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
16
17
|
[k: string]: unknown;
|
17
18
|
}
|
18
19
|
export declare function isImage(v: unknown): v is Image;
|
19
20
|
export declare function validateImage(v: unknown): ValidationResult;
|
20
|
-
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
|
21
|
-
export interface AspectRatio {
|
22
|
-
width: number;
|
23
|
-
height: number;
|
24
|
-
[k: string]: unknown;
|
25
|
-
}
|
26
|
-
export declare function isAspectRatio(v: unknown): v is AspectRatio;
|
27
|
-
export declare function validateAspectRatio(v: unknown): ValidationResult;
|
28
21
|
export interface View {
|
29
22
|
images: ViewImage[];
|
30
23
|
[k: string]: unknown;
|
@@ -38,7 +31,7 @@ export interface ViewImage {
|
|
38
31
|
fullsize: string;
|
39
32
|
/** Alt text description of the image, for accessibility. */
|
40
33
|
alt: string;
|
41
|
-
aspectRatio?: AspectRatio;
|
34
|
+
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
42
35
|
[k: string]: unknown;
|
43
36
|
}
|
44
37
|
export declare function isViewImage(v: unknown): v is ViewImage;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/images.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/images.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAO5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,OAAO,CAAA;IACd,4DAA4D;IAC5D,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,KAAK,CAI9C;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE1D;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,SAAS,EAAE,CAAA;IACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAI5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,MAAM,WAAW,SAAS;IACxB,6HAA6H;IAC7H,KAAK,EAAE,MAAM,CAAA;IACb,4KAA4K;IAC5K,QAAQ,EAAE,MAAM,CAAA;IAChB,4DAA4D;IAC5D,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,SAAS,CAMtD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE9D"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateViewImage = exports.isViewImage = exports.validateView = exports.isView = exports.
|
3
|
+
exports.validateViewImage = exports.isViewImage = exports.validateView = exports.isView = exports.validateImage = exports.isImage = exports.validateMain = exports.isMain = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isMain(v) {
|
@@ -22,16 +22,6 @@ function validateImage(v) {
|
|
22
22
|
return lexicons_1.lexicons.validate('app.bsky.embed.images#image', v);
|
23
23
|
}
|
24
24
|
exports.validateImage = validateImage;
|
25
|
-
function isAspectRatio(v) {
|
26
|
-
return ((0, util_1.isObj)(v) &&
|
27
|
-
(0, util_1.hasProp)(v, '$type') &&
|
28
|
-
v.$type === 'app.bsky.embed.images#aspectRatio');
|
29
|
-
}
|
30
|
-
exports.isAspectRatio = isAspectRatio;
|
31
|
-
function validateAspectRatio(v) {
|
32
|
-
return lexicons_1.lexicons.validate('app.bsky.embed.images#aspectRatio', v);
|
33
|
-
}
|
34
|
-
exports.validateAspectRatio = validateAspectRatio;
|
35
25
|
function isView(v) {
|
36
26
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.embed.images#view');
|
37
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"images.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/images.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"images.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/images.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,4BAA4B;YACvC,CAAC,CAAC,KAAK,KAAK,uBAAuB,CAAC,CACvC,CAAA;AACH,CAAC;AAPD,wBAOC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,oCAEC;AAUD,SAAgB,OAAO,CAAC,CAAU;IAChC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAJD,0BAIC;AAED,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,sCAEC;AAOD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,4BAA4B,CAC5E,CAAA;AACH,CAAC;AAJD,wBAIC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,oCAEC;AAaD,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iCAAiC,CAC9C,CAAA;AACH,CAAC;AAND,kCAMC;AAED,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,8CAEC"}
|
@@ -9,6 +9,7 @@ import * as AppBskyLabelerDefs from '../labeler/defs';
|
|
9
9
|
import * as AppBskyActorDefs from '../actor/defs';
|
10
10
|
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
11
11
|
import * as AppBskyEmbedImages from './images';
|
12
|
+
import * as AppBskyEmbedVideo from './video';
|
12
13
|
import * as AppBskyEmbedExternal from './external';
|
13
14
|
import * as AppBskyEmbedRecordWithMedia from './recordWithMedia';
|
14
15
|
export interface Main {
|
@@ -37,7 +38,7 @@ export interface ViewRecord {
|
|
37
38
|
repostCount?: number;
|
38
39
|
likeCount?: number;
|
39
40
|
quoteCount?: number;
|
40
|
-
embeds?: (AppBskyEmbedImages.View | AppBskyEmbedExternal.View | View | AppBskyEmbedRecordWithMedia.View | {
|
41
|
+
embeds?: (AppBskyEmbedImages.View | AppBskyEmbedVideo.View | AppBskyEmbedExternal.View | View | AppBskyEmbedRecordWithMedia.View | {
|
41
42
|
$type: string;
|
42
43
|
[k: string]: unknown;
|
43
44
|
})[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,uBAAuB,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAAK,eAAe,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,oBAAoB,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,2BAA2B,MAAM,mBAAmB,CAAA;AAEhE,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAO5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EACF,UAAU,GACV,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,eAAe,CAAC,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G,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,IAAI,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,YAAY,CAM5D;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEjE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAkBjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,4BAA4B;YACvC,CAAC,CAAC,KAAK,KAAK,uBAAuB,CAAC,CACvC,CAAA;AACH,CAAC;AAPD,wBAOC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,oCAEC;AAgBD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,4BAA4B,CAC5E,CAAA;AACH,CAAC;AAJD,wBAIC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,oCAEC;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O,mBAAQ,CAAC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,oDAEC"}
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import { ValidationResult } from '@atproto/lexicon';
|
5
5
|
import * as AppBskyEmbedRecord from './record';
|
6
6
|
import * as AppBskyEmbedImages from './images';
|
7
|
+
import * as AppBskyEmbedVideo from './video';
|
7
8
|
import * as AppBskyEmbedExternal from './external';
|
8
9
|
export interface Main {
|
9
10
|
record: AppBskyEmbedRecord.Main;
|
10
|
-
media: AppBskyEmbedImages.Main | AppBskyEmbedExternal.Main | {
|
11
|
+
media: AppBskyEmbedImages.Main | AppBskyEmbedVideo.Main | AppBskyEmbedExternal.Main | {
|
11
12
|
$type: string;
|
12
13
|
[k: string]: unknown;
|
13
14
|
};
|
@@ -17,7 +18,7 @@ export declare function isMain(v: unknown): v is Main;
|
|
17
18
|
export declare function validateMain(v: unknown): ValidationResult;
|
18
19
|
export interface View {
|
19
20
|
record: AppBskyEmbedRecord.View;
|
20
|
-
media: AppBskyEmbedImages.View | AppBskyEmbedExternal.View | {
|
21
|
+
media: AppBskyEmbedImages.View | AppBskyEmbedVideo.View | AppBskyEmbedExternal.View | {
|
21
22
|
$type: string;
|
22
23
|
[k: string]: unknown;
|
23
24
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"recordWithMedia.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/recordWithMedia.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,oBAAoB,MAAM,YAAY,CAAA;AAElD,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,kBAAkB,CAAC,IAAI,CAAA;IAC/B,KAAK,EACD,kBA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BAAiB,CAAC,IAAI,GACtB,oBAAoB,CAAC,IAAI,GACzB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAO5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,kBAAkB,CAAC,IAAI,CAAA;IAC/B,KAAK,EACD,kBAAkB,CAAC,IAAI,GACvB,iBAAiB,CAAC,IAAI,GACtB,oBAAoB,CAAC,IAAI,GACzB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAM5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"recordWithMedia.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/recordWithMedia.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"recordWithMedia.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/recordWithMedia.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAiBjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,qCAAqC;YAChD,CAAC,CAAC,KAAK,KAAK,gCAAgC,CAAC,CAChD,CAAA;AACH,CAAC;AAPD,wBAOC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,oCAEC;AAYD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,qCAAqC,CAClD,CAAA;AACH,CAAC;AAND,wBAMC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,oCAEC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult, BlobRef } from '@atproto/lexicon';
|
5
|
+
import * as AppBskyEmbedDefs from './defs';
|
6
|
+
export interface Main {
|
7
|
+
video: BlobRef;
|
8
|
+
captions?: Caption[];
|
9
|
+
/** Alt text description of the video, for accessibility. */
|
10
|
+
alt?: string;
|
11
|
+
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
12
|
+
[k: string]: unknown;
|
13
|
+
}
|
14
|
+
export declare function isMain(v: unknown): v is Main;
|
15
|
+
export declare function validateMain(v: unknown): ValidationResult;
|
16
|
+
export interface Caption {
|
17
|
+
lang: string;
|
18
|
+
file: BlobRef;
|
19
|
+
[k: string]: unknown;
|
20
|
+
}
|
21
|
+
export declare function isCaption(v: unknown): v is Caption;
|
22
|
+
export declare function validateCaption(v: unknown): ValidationResult;
|
23
|
+
export interface View {
|
24
|
+
cid: string;
|
25
|
+
playlist: string;
|
26
|
+
thumbnail?: string;
|
27
|
+
alt?: string;
|
28
|
+
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
29
|
+
[k: string]: unknown;
|
30
|
+
}
|
31
|
+
export declare function isView(v: unknown): v is View;
|
32
|
+
export declare function validateView(v: unknown): ValidationResult;
|
33
|
+
//# sourceMappingURL=video.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/video.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAO5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,OAAO,CAAA;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,OAAO,CAMlD;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE5D;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAI5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateView = exports.isView = exports.validateCaption = exports.isCaption = exports.validateMain = exports.isMain = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isMain(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
(v.$type === 'app.bsky.embed.video#main' ||
|
10
|
+
v.$type === 'app.bsky.embed.video'));
|
11
|
+
}
|
12
|
+
exports.isMain = isMain;
|
13
|
+
function validateMain(v) {
|
14
|
+
return lexicons_1.lexicons.validate('app.bsky.embed.video#main', v);
|
15
|
+
}
|
16
|
+
exports.validateMain = validateMain;
|
17
|
+
function isCaption(v) {
|
18
|
+
return ((0, util_1.isObj)(v) &&
|
19
|
+
(0, util_1.hasProp)(v, '$type') &&
|
20
|
+
v.$type === 'app.bsky.embed.video#caption');
|
21
|
+
}
|
22
|
+
exports.isCaption = isCaption;
|
23
|
+
function validateCaption(v) {
|
24
|
+
return lexicons_1.lexicons.validate('app.bsky.embed.video#caption', v);
|
25
|
+
}
|
26
|
+
exports.validateCaption = validateCaption;
|
27
|
+
function isView(v) {
|
28
|
+
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.embed.video#view');
|
29
|
+
}
|
30
|
+
exports.isView = isView;
|
31
|
+
function validateView(v) {
|
32
|
+
return lexicons_1.lexicons.validate('app.bsky.embed.video#view', v);
|
33
|
+
}
|
34
|
+
exports.validateView = validateView;
|
35
|
+
//# sourceMappingURL=video.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/video.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAajD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,2BAA2B;YACtC,CAAC,CAAC,KAAK,KAAK,sBAAsB,CAAC,CACtC,CAAA;AACH,CAAC;AAPD,wBAOC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC;AAQD,SAAgB,SAAS,CAAC,CAAU;IAClC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAND,8BAMC;AAED,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC;AAWD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,2BAA2B,CAC3E,CAAA;AACH,CAAC;AAJD,wBAIC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
import { ValidationResult } from '@atproto/lexicon';
|
5
5
|
import * as AppBskyActorDefs from '../actor/defs';
|
6
6
|
import * as AppBskyEmbedImages from '../embed/images';
|
7
|
+
import * as AppBskyEmbedVideo from '../embed/video';
|
7
8
|
import * as AppBskyEmbedExternal from '../embed/external';
|
8
9
|
import * as AppBskyEmbedRecord from '../embed/record';
|
9
10
|
import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia';
|
@@ -15,7 +16,7 @@ export interface PostView {
|
|
15
16
|
cid: string;
|
16
17
|
author: AppBskyActorDefs.ProfileViewBasic;
|
17
18
|
record: {};
|
18
|
-
embed?: AppBskyEmbedImages.View | AppBskyEmbedExternal.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View | {
|
19
|
+
embed?: AppBskyEmbedImages.View | AppBskyEmbedVideo.View | AppBskyEmbedExternal.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View | {
|
19
20
|
$type: string;
|
20
21
|
[k: string]: unknown;
|
21
22
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,2BAA2B,MAAM,0BAA0B,CAAA;AACvE,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,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eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,0CAA0C,CAAA;AACzE,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,4CAA4C,CAAA;AAC7E,oEAAoE;AACpE,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,iCAAiC;AACjC,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,+BAA+B;AAC/B,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,kCAAkC;AAClC,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAmCjD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAJD,gCAIC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,4CAEC;AAYD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA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AG,oCAAoC,CAAA;AACnE,+BAA+B;AAClB,QAAA,eAAe,GAAG,oCAAoC,CAAA;AACnE,kCAAkC;AACrB,QAAA,iBAAiB,GAAG,sCAAsC,CAAA;AACvE,oCAAoC;AACvB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA"}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
import { ValidationResult } from '@atproto/lexicon';
|
5
5
|
import * as AppBskyRichtextFacet from '../richtext/facet';
|
6
6
|
import * as AppBskyEmbedImages from '../embed/images';
|
7
|
+
import * as AppBskyEmbedVideo from '../embed/video';
|
7
8
|
import * as AppBskyEmbedExternal from '../embed/external';
|
8
9
|
import * as AppBskyEmbedRecord from '../embed/record';
|
9
10
|
import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia';
|
@@ -17,7 +18,7 @@ export interface Record {
|
|
17
18
|
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
18
19
|
facets?: AppBskyRichtextFacet.Main[];
|
19
20
|
reply?: ReplyRef;
|
20
|
-
embed?: AppBskyEmbedImages.Main | AppBskyEmbedExternal.Main | AppBskyEmbedRecord.Main | AppBskyEmbedRecordWithMedia.Main | {
|
21
|
+
embed?: AppBskyEmbedImages.Main | AppBskyEmbedVideo.Main | AppBskyEmbedExternal.Main | AppBskyEmbedRecord.Main | AppBskyEmbedRecordWithMedia.Main | {
|
21
22
|
$type: string;
|
22
23
|
[k: string]: unknown;
|
23
24
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/post.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;A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MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAA;IAClC,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,QAAQ,CAIpD;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE7D;AAED,sCAAsC;AACtC,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,SAAS,CAAA;IAChB,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAIhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D;AAED,gJAAgJ;AAChJ,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,SAAS,CAMtD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE9D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/post.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/post.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAsCjD,SAAgB,QAAQ,CAA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BAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,8CAEC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult, BlobRef } from '@atproto/lexicon';
|
5
|
+
export interface JobStatus {
|
6
|
+
jobId: string;
|
7
|
+
did: string;
|
8
|
+
/** The state of the video processing job. All values not listed as a known value indicate that the job is in process. */
|
9
|
+
state: 'JOB_STATE_COMPLETED' | 'JOB_STATE_FAILED' | (string & {});
|
10
|
+
/** Progress within the current processing state. */
|
11
|
+
progress?: number;
|
12
|
+
blob?: BlobRef;
|
13
|
+
error?: string;
|
14
|
+
message?: string;
|
15
|
+
[k: string]: unknown;
|
16
|
+
}
|
17
|
+
export declare function isJobStatus(v: unknown): v is JobStatus;
|
18
|
+
export declare function validateJobStatus(v: unknown): ValidationResult;
|
19
|
+
//# sourceMappingURL=defs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,yHAAyH;IACzH,KAAK,EAAE,qBAAqB,GAAG,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjE,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,SAAS,CAMtD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE9D"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateJobStatus = exports.isJobStatus = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isJobStatus(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
v.$type === 'app.bsky.video.defs#jobStatus');
|
10
|
+
}
|
11
|
+
exports.isJobStatus = isJobStatus;
|
12
|
+
function validateJobStatus(v) {
|
13
|
+
return lexicons_1.lexicons.validate('app.bsky.video.defs#jobStatus', v);
|
14
|
+
}
|
15
|
+
exports.validateJobStatus = validateJobStatus;
|
16
|
+
//# sourceMappingURL=defs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgBjD,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,+BAA+B,CAC5C,CAAA;AACH,CAAC;AAND,kCAMC;AAED,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8CAEC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as AppBskyVideoDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
jobId: string;
|
9
|
+
}
|
10
|
+
export type InputSchema = undefined;
|
11
|
+
export interface OutputSchema {
|
12
|
+
jobStatus: AppBskyVideoDefs.JobStatus;
|
13
|
+
[k: string]: unknown;
|
14
|
+
}
|
15
|
+
export type HandlerInput = undefined;
|
16
|
+
export interface HandlerSuccess {
|
17
|
+
encoding: 'application/json';
|
18
|
+
body: OutputSchema;
|
19
|
+
headers?: {
|
20
|
+
[key: string]: string;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export interface HandlerError {
|
24
|
+
status: number;
|
25
|
+
message?: string;
|
26
|
+
}
|
27
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
28
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
29
|
+
auth: HA;
|
30
|
+
params: QueryParams;
|
31
|
+
input: HandlerInput;
|
32
|
+
req: express.Request;
|
33
|
+
res: express.Response;
|
34
|
+
};
|
35
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
36
|
+
//# sourceMappingURL=getJobStatus.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getJobStatus.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/getJobStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,gBAAgB,CAAC,SAAS,CAAA;IACrC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getJobStatus.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/getJobStatus.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
export interface QueryParams {
|
7
|
+
}
|
8
|
+
export type InputSchema = undefined;
|
9
|
+
export interface OutputSchema {
|
10
|
+
canUpload: boolean;
|
11
|
+
remainingDailyVideos?: number;
|
12
|
+
remainingDailyBytes?: number;
|
13
|
+
message?: string;
|
14
|
+
error?: string;
|
15
|
+
[k: string]: unknown;
|
16
|
+
}
|
17
|
+
export type HandlerInput = undefined;
|
18
|
+
export interface HandlerSuccess {
|
19
|
+
encoding: 'application/json';
|
20
|
+
body: OutputSchema;
|
21
|
+
headers?: {
|
22
|
+
[key: string]: string;
|
23
|
+
};
|
24
|
+
}
|
25
|
+
export interface HandlerError {
|
26
|
+
status: number;
|
27
|
+
message?: string;
|
28
|
+
}
|
29
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
30
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
31
|
+
auth: HA;
|
32
|
+
params: QueryParams;
|
33
|
+
input: HandlerInput;
|
34
|
+
req: express.Request;
|
35
|
+
res: express.Response;
|
36
|
+
};
|
37
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
38
|
+
//# sourceMappingURL=getUploadLimits.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getUploadLimits.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/getUploadLimits.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getUploadLimits.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/getUploadLimits.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
/// <reference types="node" />
|
3
|
+
/**
|
4
|
+
* GENERATED CODE - DO NOT MODIFY
|
5
|
+
*/
|
6
|
+
import express from 'express';
|
7
|
+
import stream from 'stream';
|
8
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
9
|
+
import * as AppBskyVideoDefs from './defs';
|
10
|
+
export interface QueryParams {
|
11
|
+
}
|
12
|
+
export type InputSchema = string | Uint8Array | Blob;
|
13
|
+
export interface OutputSchema {
|
14
|
+
jobStatus: AppBskyVideoDefs.JobStatus;
|
15
|
+
[k: string]: unknown;
|
16
|
+
}
|
17
|
+
export interface HandlerInput {
|
18
|
+
encoding: 'video/mp4';
|
19
|
+
body: stream.Readable;
|
20
|
+
}
|
21
|
+
export interface HandlerSuccess {
|
22
|
+
encoding: 'application/json';
|
23
|
+
body: OutputSchema;
|
24
|
+
headers?: {
|
25
|
+
[key: string]: string;
|
26
|
+
};
|
27
|
+
}
|
28
|
+
export interface HandlerError {
|
29
|
+
status: number;
|
30
|
+
message?: string;
|
31
|
+
}
|
32
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
33
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
34
|
+
auth: HA;
|
35
|
+
params: QueryParams;
|
36
|
+
input: HandlerInput;
|
37
|
+
req: express.Request;
|
38
|
+
res: express.Response;
|
39
|
+
};
|
40
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
41
|
+
//# sourceMappingURL=uploadVideo.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"uploadVideo.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/video/uploadVideo.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,MAAM,MAAM,QAAQ,CAAA;AAK3B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,MAAM,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