@editframe/api 0.10.0-beta.5 → 0.10.0-beta.6
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.
|
@@ -265,6 +265,8 @@ export interface CreateISOBMFFTrackResult {
|
|
|
265
265
|
byte_size: number;
|
|
266
266
|
track_id: number;
|
|
267
267
|
file_id: string;
|
|
268
|
+
asset_id: string;
|
|
269
|
+
complete: boolean;
|
|
268
270
|
}
|
|
269
271
|
export declare const createISOBMFFTrack: (client: Client, payload: z.infer<typeof CreateISOBMFFTrackPayload>) => Promise<CreateISOBMFFTrackResult>;
|
|
270
272
|
export declare const uploadISOBMFFTrack: (client: Client, fileId: string, trackId: number, fileStream: Readable, trackSize: number) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@editframe/api",
|
|
3
|
-
"version": "0.10.0-beta.
|
|
3
|
+
"version": "0.10.0-beta.6",
|
|
4
4
|
"description": "API functions for EditFrame",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"vite-tsconfig-paths": "^4.3.2"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@editframe/assets": "0.10.0-beta.
|
|
31
|
+
"@editframe/assets": "0.10.0-beta.6",
|
|
32
32
|
"debug": "^4.3.5",
|
|
33
33
|
"jsonwebtoken": "^9.0.2",
|
|
34
34
|
"node-fetch": "^3.3.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Readable } from "node:stream";
|
|
2
2
|
|
|
3
|
-
import { z } from "zod";
|
|
4
3
|
import debug from "debug";
|
|
4
|
+
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
import { AudioStreamSchema, VideoStreamSchema } from "@editframe/assets";
|
|
7
7
|
|
|
@@ -38,6 +38,8 @@ export interface CreateISOBMFFTrackResult {
|
|
|
38
38
|
byte_size: number;
|
|
39
39
|
track_id: number;
|
|
40
40
|
file_id: string;
|
|
41
|
+
asset_id: string;
|
|
42
|
+
complete: boolean;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
export const createISOBMFFTrack = async (
|