@video-editor/protocol 0.0.1-beta.3 → 0.0.1-beta.4
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/dist/index.d.ts +18 -0
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -214,6 +214,9 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol): {
|
|
|
214
214
|
readonly [x: string]: never;
|
|
215
215
|
} | null | undefined;
|
|
216
216
|
})[];
|
|
217
|
+
readonly extra?: {
|
|
218
|
+
readonly [x: string]: never;
|
|
219
|
+
} | null | undefined;
|
|
217
220
|
readonly isMain?: boolean | undefined;
|
|
218
221
|
}[];
|
|
219
222
|
text: readonly {
|
|
@@ -270,6 +273,9 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol): {
|
|
|
270
273
|
readonly [x: string]: never;
|
|
271
274
|
} | null | undefined;
|
|
272
275
|
}[];
|
|
276
|
+
readonly extra?: {
|
|
277
|
+
readonly [x: string]: never;
|
|
278
|
+
} | null | undefined;
|
|
273
279
|
}[];
|
|
274
280
|
image: readonly {
|
|
275
281
|
readonly trackId: string;
|
|
@@ -312,6 +318,9 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol): {
|
|
|
312
318
|
readonly [x: string]: never;
|
|
313
319
|
} | null | undefined;
|
|
314
320
|
}[];
|
|
321
|
+
readonly extra?: {
|
|
322
|
+
readonly [x: string]: never;
|
|
323
|
+
} | null | undefined;
|
|
315
324
|
}[];
|
|
316
325
|
audio: readonly {
|
|
317
326
|
readonly trackId: string;
|
|
@@ -331,6 +340,9 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol): {
|
|
|
331
340
|
readonly [x: string]: never;
|
|
332
341
|
} | null | undefined;
|
|
333
342
|
}[];
|
|
343
|
+
readonly extra?: {
|
|
344
|
+
readonly [x: string]: never;
|
|
345
|
+
} | null | undefined;
|
|
334
346
|
}[];
|
|
335
347
|
effect: readonly {
|
|
336
348
|
readonly trackId: string;
|
|
@@ -347,6 +359,9 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol): {
|
|
|
347
359
|
readonly [x: string]: never;
|
|
348
360
|
} | null | undefined;
|
|
349
361
|
}[];
|
|
362
|
+
readonly extra?: {
|
|
363
|
+
readonly [x: string]: never;
|
|
364
|
+
} | null | undefined;
|
|
350
365
|
}[];
|
|
351
366
|
filter: readonly {
|
|
352
367
|
readonly trackId: string;
|
|
@@ -364,6 +379,9 @@ export declare function createVideoProtocolManager(protocol: IVideoProtocol): {
|
|
|
364
379
|
readonly [x: string]: never;
|
|
365
380
|
} | null | undefined;
|
|
366
381
|
}[];
|
|
382
|
+
readonly extra?: {
|
|
383
|
+
readonly [x: string]: never;
|
|
384
|
+
} | null | undefined;
|
|
367
385
|
}[];
|
|
368
386
|
}>;
|
|
369
387
|
segmentMap: ComputedRef<Record<string, DeepReadonly<SegmentUnion | undefined>>>;
|
package/dist/index.js
CHANGED
|
@@ -6536,7 +6536,8 @@ const kd = /* @__PURE__ */ vt(Bd), Xe = "data must be", bt = "must be >= 0", St
|
|
|
6536
6536
|
width: { type: "number", minimum: 0 },
|
|
6537
6537
|
height: { type: "number", minimum: 0 },
|
|
6538
6538
|
fps: { type: "number", minimum: 1 },
|
|
6539
|
-
tracks: { type: "array", items: { type: "object" } }
|
|
6539
|
+
tracks: { type: "array", items: { type: "object" } },
|
|
6540
|
+
extra: { type: "object", nullable: !0, additionalProperties: !0 }
|
|
6540
6541
|
},
|
|
6541
6542
|
required: ["version", "width", "height", "fps", "tracks"],
|
|
6542
6543
|
errorMessage: {
|
|
@@ -6854,7 +6855,8 @@ const kd = /* @__PURE__ */ vt(Bd), Xe = "data must be", bt = "must be >= 0", St
|
|
|
6854
6855
|
trackId: { type: "string" },
|
|
6855
6856
|
trackType: { type: "string", enum: ["frames", "image", "text", "audio", "effect", "filter"] },
|
|
6856
6857
|
children: { type: "array", items: { type: "object" } },
|
|
6857
|
-
isMain: { type: "boolean", nullable: !0 }
|
|
6858
|
+
isMain: { type: "boolean", nullable: !0 },
|
|
6859
|
+
extra: { type: "object", nullable: !0, additionalProperties: !0 }
|
|
6858
6860
|
},
|
|
6859
6861
|
required: ["trackId", "trackType", "children"],
|
|
6860
6862
|
errorMessage: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@video-editor/protocol",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.4",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"import": "./dist/index.js"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"ajv-keywords": "^5.1.0",
|
|
25
25
|
"immer": "^11.0.0",
|
|
26
26
|
"opfs-tools": "^0.7.4",
|
|
27
|
-
"@video-editor/shared": "0.0.1-beta.
|
|
27
|
+
"@video-editor/shared": "0.0.1-beta.4"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build:types": "vue-tsc --declaration --emitDeclarationOnly",
|