@editframe/vite-plugin 0.25.0-beta.0 → 0.25.1-beta.0
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 +14 -0
- package/package.json +23 -6
- package/tsdown.config.ts +0 -1
- package/dist/api/src/resources/caption-file.d.ts +0 -73
- package/dist/api/src/resources/image-file.d.ts +0 -111
- package/dist/api/src/resources/isobmff-file.d.ts +0 -68
- package/dist/api/src/resources/isobmff-track.d.ts +0 -761
- package/dist/api/src/resources/process-isobmff.d.ts +0 -12
- package/dist/api/src/resources/renders.d.ts +0 -422
- package/dist/api/src/resources/transcriptions.d.ts +0 -25
- package/dist/api/src/resources/unprocessed-file.d.ts +0 -41
- package/dist/api/src/resources/url-token.d.ts +0 -5
- package/dist/api/src/utils/assertTypesMatch.d.ts +0 -3
- package/dist/assets/src/tasks/cacheImage.d.ts +0 -1
- package/dist/assets/src/tasks/findOrCreateCaptions.d.ts +0 -2
- package/dist/assets/src/tasks/generateTrack.d.ts +0 -3
- package/dist/assets/src/tasks/generateTrackFragmentIndex.d.ts +0 -3
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Client } from "../client.js";
|
|
2
|
-
import { ProgressIterator } from "../ProgressIterator.js";
|
|
3
|
-
export interface IsobmffProcessInfoResult {
|
|
4
|
-
id: string;
|
|
5
|
-
created_at: string;
|
|
6
|
-
completed_at: string | null;
|
|
7
|
-
failed_at: string | null;
|
|
8
|
-
isobmff_file_id: string | null;
|
|
9
|
-
unprocessed_file_id: string | null;
|
|
10
|
-
}
|
|
11
|
-
export declare const getIsobmffProcessProgress: (client: Client, id: string) => Promise<ProgressIterator>;
|
|
12
|
-
export declare const getIsobmffProcessInfo: (client: Client, id: string) => Promise<IsobmffProcessInfoResult>;
|
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import type { Client } from "../client.js";
|
|
3
|
-
import { CompletionIterator } from "../ProgressIterator.js";
|
|
4
|
-
export declare const RenderOutputConfiguration: z.ZodDiscriminatedUnion<"container", [z.ZodObject<{
|
|
5
|
-
container: z.ZodLiteral<"mp4">;
|
|
6
|
-
video: z.ZodObject<{
|
|
7
|
-
codec: z.ZodLiteral<"h264">;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
codec: "h264";
|
|
10
|
-
}, {
|
|
11
|
-
codec: "h264";
|
|
12
|
-
}>;
|
|
13
|
-
audio: z.ZodObject<{
|
|
14
|
-
codec: z.ZodLiteral<"aac">;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
codec: "aac";
|
|
17
|
-
}, {
|
|
18
|
-
codec: "aac";
|
|
19
|
-
}>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
audio: {
|
|
22
|
-
codec: "aac";
|
|
23
|
-
};
|
|
24
|
-
video: {
|
|
25
|
-
codec: "h264";
|
|
26
|
-
};
|
|
27
|
-
container: "mp4";
|
|
28
|
-
}, {
|
|
29
|
-
audio: {
|
|
30
|
-
codec: "aac";
|
|
31
|
-
};
|
|
32
|
-
video: {
|
|
33
|
-
codec: "h264";
|
|
34
|
-
};
|
|
35
|
-
container: "mp4";
|
|
36
|
-
}>, z.ZodObject<{
|
|
37
|
-
container: z.ZodLiteral<"jpeg">;
|
|
38
|
-
quality: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
container: "jpeg";
|
|
41
|
-
quality?: number | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
container: "jpeg";
|
|
44
|
-
quality?: number | undefined;
|
|
45
|
-
}>, z.ZodObject<{
|
|
46
|
-
container: z.ZodLiteral<"png">;
|
|
47
|
-
compression: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
48
|
-
transparency: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
container: "png";
|
|
51
|
-
compression?: number | undefined;
|
|
52
|
-
transparency?: boolean | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
container: "png";
|
|
55
|
-
compression?: number | undefined;
|
|
56
|
-
transparency?: boolean | undefined;
|
|
57
|
-
}>, z.ZodObject<{
|
|
58
|
-
container: z.ZodLiteral<"webp">;
|
|
59
|
-
quality: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
60
|
-
compression: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
61
|
-
transparency: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
62
|
-
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
container: "webp";
|
|
64
|
-
quality?: number | undefined;
|
|
65
|
-
compression?: number | undefined;
|
|
66
|
-
transparency?: boolean | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
container: "webp";
|
|
69
|
-
quality?: number | undefined;
|
|
70
|
-
compression?: number | undefined;
|
|
71
|
-
transparency?: boolean | undefined;
|
|
72
|
-
}>]>;
|
|
73
|
-
export type RenderOutputConfiguration = z.infer<typeof RenderOutputConfiguration>;
|
|
74
|
-
export declare const CreateRenderPayload: z.ZodObject<{
|
|
75
|
-
md5: z.ZodOptional<z.ZodString>;
|
|
76
|
-
fps: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
77
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
79
|
-
work_slice_ms: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
80
|
-
html: z.ZodOptional<z.ZodString>;
|
|
81
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
82
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
83
|
-
strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["v1"]>>>;
|
|
84
|
-
output: z.ZodOptional<z.ZodDefault<z.ZodDiscriminatedUnion<"container", [z.ZodObject<{
|
|
85
|
-
container: z.ZodLiteral<"mp4">;
|
|
86
|
-
video: z.ZodObject<{
|
|
87
|
-
codec: z.ZodLiteral<"h264">;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
codec: "h264";
|
|
90
|
-
}, {
|
|
91
|
-
codec: "h264";
|
|
92
|
-
}>;
|
|
93
|
-
audio: z.ZodObject<{
|
|
94
|
-
codec: z.ZodLiteral<"aac">;
|
|
95
|
-
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
codec: "aac";
|
|
97
|
-
}, {
|
|
98
|
-
codec: "aac";
|
|
99
|
-
}>;
|
|
100
|
-
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
audio: {
|
|
102
|
-
codec: "aac";
|
|
103
|
-
};
|
|
104
|
-
video: {
|
|
105
|
-
codec: "h264";
|
|
106
|
-
};
|
|
107
|
-
container: "mp4";
|
|
108
|
-
}, {
|
|
109
|
-
audio: {
|
|
110
|
-
codec: "aac";
|
|
111
|
-
};
|
|
112
|
-
video: {
|
|
113
|
-
codec: "h264";
|
|
114
|
-
};
|
|
115
|
-
container: "mp4";
|
|
116
|
-
}>, z.ZodObject<{
|
|
117
|
-
container: z.ZodLiteral<"jpeg">;
|
|
118
|
-
quality: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
119
|
-
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
container: "jpeg";
|
|
121
|
-
quality?: number | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
container: "jpeg";
|
|
124
|
-
quality?: number | undefined;
|
|
125
|
-
}>, z.ZodObject<{
|
|
126
|
-
container: z.ZodLiteral<"png">;
|
|
127
|
-
compression: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
128
|
-
transparency: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
129
|
-
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
container: "png";
|
|
131
|
-
compression?: number | undefined;
|
|
132
|
-
transparency?: boolean | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
container: "png";
|
|
135
|
-
compression?: number | undefined;
|
|
136
|
-
transparency?: boolean | undefined;
|
|
137
|
-
}>, z.ZodObject<{
|
|
138
|
-
container: z.ZodLiteral<"webp">;
|
|
139
|
-
quality: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
140
|
-
compression: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
141
|
-
transparency: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
container: "webp";
|
|
144
|
-
quality?: number | undefined;
|
|
145
|
-
compression?: number | undefined;
|
|
146
|
-
transparency?: boolean | undefined;
|
|
147
|
-
}, {
|
|
148
|
-
container: "webp";
|
|
149
|
-
quality?: number | undefined;
|
|
150
|
-
compression?: number | undefined;
|
|
151
|
-
transparency?: boolean | undefined;
|
|
152
|
-
}>]>>>;
|
|
153
|
-
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
md5?: string | undefined;
|
|
155
|
-
height?: number | undefined;
|
|
156
|
-
width?: number | undefined;
|
|
157
|
-
duration_ms?: number | undefined;
|
|
158
|
-
fps?: number | undefined;
|
|
159
|
-
work_slice_ms?: number | undefined;
|
|
160
|
-
html?: string | undefined;
|
|
161
|
-
metadata?: Record<string, string> | undefined;
|
|
162
|
-
strategy?: "v1" | undefined;
|
|
163
|
-
output?: {
|
|
164
|
-
audio: {
|
|
165
|
-
codec: "aac";
|
|
166
|
-
};
|
|
167
|
-
video: {
|
|
168
|
-
codec: "h264";
|
|
169
|
-
};
|
|
170
|
-
container: "mp4";
|
|
171
|
-
} | {
|
|
172
|
-
container: "jpeg";
|
|
173
|
-
quality?: number | undefined;
|
|
174
|
-
} | {
|
|
175
|
-
container: "png";
|
|
176
|
-
compression?: number | undefined;
|
|
177
|
-
transparency?: boolean | undefined;
|
|
178
|
-
} | {
|
|
179
|
-
container: "webp";
|
|
180
|
-
quality?: number | undefined;
|
|
181
|
-
compression?: number | undefined;
|
|
182
|
-
transparency?: boolean | undefined;
|
|
183
|
-
} | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
md5?: string | undefined;
|
|
186
|
-
height?: number | undefined;
|
|
187
|
-
width?: number | undefined;
|
|
188
|
-
duration_ms?: number | undefined;
|
|
189
|
-
fps?: number | undefined;
|
|
190
|
-
work_slice_ms?: number | undefined;
|
|
191
|
-
html?: string | undefined;
|
|
192
|
-
metadata?: Record<string, string> | undefined;
|
|
193
|
-
strategy?: "v1" | undefined;
|
|
194
|
-
output?: {
|
|
195
|
-
audio: {
|
|
196
|
-
codec: "aac";
|
|
197
|
-
};
|
|
198
|
-
video: {
|
|
199
|
-
codec: "h264";
|
|
200
|
-
};
|
|
201
|
-
container: "mp4";
|
|
202
|
-
} | {
|
|
203
|
-
container: "jpeg";
|
|
204
|
-
quality?: number | undefined;
|
|
205
|
-
} | {
|
|
206
|
-
container: "png";
|
|
207
|
-
compression?: number | undefined;
|
|
208
|
-
transparency?: boolean | undefined;
|
|
209
|
-
} | {
|
|
210
|
-
container: "webp";
|
|
211
|
-
quality?: number | undefined;
|
|
212
|
-
compression?: number | undefined;
|
|
213
|
-
transparency?: boolean | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
}>;
|
|
216
|
-
export declare const CreateRenderPayloadWithOutput: z.ZodObject<{
|
|
217
|
-
md5: z.ZodOptional<z.ZodString>;
|
|
218
|
-
fps: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
219
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
220
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
221
|
-
work_slice_ms: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
222
|
-
html: z.ZodOptional<z.ZodString>;
|
|
223
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
224
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
225
|
-
strategy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["v1"]>>>;
|
|
226
|
-
} & {
|
|
227
|
-
output: z.ZodDiscriminatedUnion<"container", [z.ZodObject<{
|
|
228
|
-
container: z.ZodLiteral<"mp4">;
|
|
229
|
-
video: z.ZodObject<{
|
|
230
|
-
codec: z.ZodLiteral<"h264">;
|
|
231
|
-
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
codec: "h264";
|
|
233
|
-
}, {
|
|
234
|
-
codec: "h264";
|
|
235
|
-
}>;
|
|
236
|
-
audio: z.ZodObject<{
|
|
237
|
-
codec: z.ZodLiteral<"aac">;
|
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
codec: "aac";
|
|
240
|
-
}, {
|
|
241
|
-
codec: "aac";
|
|
242
|
-
}>;
|
|
243
|
-
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
audio: {
|
|
245
|
-
codec: "aac";
|
|
246
|
-
};
|
|
247
|
-
video: {
|
|
248
|
-
codec: "h264";
|
|
249
|
-
};
|
|
250
|
-
container: "mp4";
|
|
251
|
-
}, {
|
|
252
|
-
audio: {
|
|
253
|
-
codec: "aac";
|
|
254
|
-
};
|
|
255
|
-
video: {
|
|
256
|
-
codec: "h264";
|
|
257
|
-
};
|
|
258
|
-
container: "mp4";
|
|
259
|
-
}>, z.ZodObject<{
|
|
260
|
-
container: z.ZodLiteral<"jpeg">;
|
|
261
|
-
quality: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
262
|
-
}, "strip", z.ZodTypeAny, {
|
|
263
|
-
container: "jpeg";
|
|
264
|
-
quality?: number | undefined;
|
|
265
|
-
}, {
|
|
266
|
-
container: "jpeg";
|
|
267
|
-
quality?: number | undefined;
|
|
268
|
-
}>, z.ZodObject<{
|
|
269
|
-
container: z.ZodLiteral<"png">;
|
|
270
|
-
compression: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
271
|
-
transparency: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
272
|
-
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
container: "png";
|
|
274
|
-
compression?: number | undefined;
|
|
275
|
-
transparency?: boolean | undefined;
|
|
276
|
-
}, {
|
|
277
|
-
container: "png";
|
|
278
|
-
compression?: number | undefined;
|
|
279
|
-
transparency?: boolean | undefined;
|
|
280
|
-
}>, z.ZodObject<{
|
|
281
|
-
container: z.ZodLiteral<"webp">;
|
|
282
|
-
quality: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
283
|
-
compression: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
284
|
-
transparency: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
285
|
-
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
container: "webp";
|
|
287
|
-
quality?: number | undefined;
|
|
288
|
-
compression?: number | undefined;
|
|
289
|
-
transparency?: boolean | undefined;
|
|
290
|
-
}, {
|
|
291
|
-
container: "webp";
|
|
292
|
-
quality?: number | undefined;
|
|
293
|
-
compression?: number | undefined;
|
|
294
|
-
transparency?: boolean | undefined;
|
|
295
|
-
}>]>;
|
|
296
|
-
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
output: {
|
|
298
|
-
audio: {
|
|
299
|
-
codec: "aac";
|
|
300
|
-
};
|
|
301
|
-
video: {
|
|
302
|
-
codec: "h264";
|
|
303
|
-
};
|
|
304
|
-
container: "mp4";
|
|
305
|
-
} | {
|
|
306
|
-
container: "jpeg";
|
|
307
|
-
quality?: number | undefined;
|
|
308
|
-
} | {
|
|
309
|
-
container: "png";
|
|
310
|
-
compression?: number | undefined;
|
|
311
|
-
transparency?: boolean | undefined;
|
|
312
|
-
} | {
|
|
313
|
-
container: "webp";
|
|
314
|
-
quality?: number | undefined;
|
|
315
|
-
compression?: number | undefined;
|
|
316
|
-
transparency?: boolean | undefined;
|
|
317
|
-
};
|
|
318
|
-
md5?: string | undefined;
|
|
319
|
-
height?: number | undefined;
|
|
320
|
-
width?: number | undefined;
|
|
321
|
-
duration_ms?: number | undefined;
|
|
322
|
-
fps?: number | undefined;
|
|
323
|
-
work_slice_ms?: number | undefined;
|
|
324
|
-
html?: string | undefined;
|
|
325
|
-
metadata?: Record<string, string> | undefined;
|
|
326
|
-
strategy?: "v1" | undefined;
|
|
327
|
-
}, {
|
|
328
|
-
output: {
|
|
329
|
-
audio: {
|
|
330
|
-
codec: "aac";
|
|
331
|
-
};
|
|
332
|
-
video: {
|
|
333
|
-
codec: "h264";
|
|
334
|
-
};
|
|
335
|
-
container: "mp4";
|
|
336
|
-
} | {
|
|
337
|
-
container: "jpeg";
|
|
338
|
-
quality?: number | undefined;
|
|
339
|
-
} | {
|
|
340
|
-
container: "png";
|
|
341
|
-
compression?: number | undefined;
|
|
342
|
-
transparency?: boolean | undefined;
|
|
343
|
-
} | {
|
|
344
|
-
container: "webp";
|
|
345
|
-
quality?: number | undefined;
|
|
346
|
-
compression?: number | undefined;
|
|
347
|
-
transparency?: boolean | undefined;
|
|
348
|
-
};
|
|
349
|
-
md5?: string | undefined;
|
|
350
|
-
height?: number | undefined;
|
|
351
|
-
width?: number | undefined;
|
|
352
|
-
duration_ms?: number | undefined;
|
|
353
|
-
fps?: number | undefined;
|
|
354
|
-
work_slice_ms?: number | undefined;
|
|
355
|
-
html?: string | undefined;
|
|
356
|
-
metadata?: Record<string, string> | undefined;
|
|
357
|
-
strategy?: "v1" | undefined;
|
|
358
|
-
}>;
|
|
359
|
-
export declare class OutputConfiguration {
|
|
360
|
-
readonly output: RenderOutputConfiguration;
|
|
361
|
-
static parse(input?: any): OutputConfiguration;
|
|
362
|
-
constructor(output: RenderOutputConfiguration);
|
|
363
|
-
get isStill(): boolean;
|
|
364
|
-
get isVideo(): boolean;
|
|
365
|
-
get fileExtension(): "mp4" | "jpeg" | "png" | "webp";
|
|
366
|
-
get contentType(): string;
|
|
367
|
-
get container(): "mp4" | "jpeg" | "png" | "webp";
|
|
368
|
-
get jpegConfig(): {
|
|
369
|
-
container: "jpeg";
|
|
370
|
-
quality?: number | undefined;
|
|
371
|
-
} | null;
|
|
372
|
-
get pngConfig(): {
|
|
373
|
-
container: "png";
|
|
374
|
-
compression?: number | undefined;
|
|
375
|
-
transparency?: boolean | undefined;
|
|
376
|
-
} | null;
|
|
377
|
-
get webpConfig(): {
|
|
378
|
-
container: "webp";
|
|
379
|
-
quality?: number | undefined;
|
|
380
|
-
compression?: number | undefined;
|
|
381
|
-
transparency?: boolean | undefined;
|
|
382
|
-
} | null;
|
|
383
|
-
get mp4Config(): {
|
|
384
|
-
audio: {
|
|
385
|
-
codec: "aac";
|
|
386
|
-
};
|
|
387
|
-
video: {
|
|
388
|
-
codec: "h264";
|
|
389
|
-
};
|
|
390
|
-
container: "mp4";
|
|
391
|
-
} | null;
|
|
392
|
-
}
|
|
393
|
-
export interface CreateRenderPayload {
|
|
394
|
-
md5?: string;
|
|
395
|
-
fps?: number;
|
|
396
|
-
width?: number;
|
|
397
|
-
height?: number;
|
|
398
|
-
work_slice_ms?: number;
|
|
399
|
-
html?: string;
|
|
400
|
-
duration_ms?: number;
|
|
401
|
-
metadata?: Record<string, string>;
|
|
402
|
-
strategy?: "v1";
|
|
403
|
-
output?: z.infer<typeof RenderOutputConfiguration>;
|
|
404
|
-
}
|
|
405
|
-
export interface CreateRenderResult {
|
|
406
|
-
id: string;
|
|
407
|
-
md5: string | null;
|
|
408
|
-
status: "complete" | "created" | "failed" | "pending" | "rendering" | string;
|
|
409
|
-
metadata: Record<string, string>;
|
|
410
|
-
}
|
|
411
|
-
export interface LookupRenderByMd5Result {
|
|
412
|
-
id: string;
|
|
413
|
-
md5: string | null;
|
|
414
|
-
status: "complete" | "created" | "failed" | "pending" | "rendering" | string;
|
|
415
|
-
metadata: Record<string, string>;
|
|
416
|
-
}
|
|
417
|
-
export declare const createRender: (client: Client, payload: CreateRenderPayload) => Promise<CreateRenderResult>;
|
|
418
|
-
export declare const uploadRender: (client: Client, renderId: string, fileStream: ReadableStream) => Promise<any>;
|
|
419
|
-
export declare const getRenderInfo: (client: Client, id: string) => Promise<LookupRenderByMd5Result>;
|
|
420
|
-
export declare const lookupRenderByMd5: (client: Client, md5: string) => Promise<LookupRenderByMd5Result | null>;
|
|
421
|
-
export declare const getRenderProgress: (client: Client, id: string) => Promise<CompletionIterator>;
|
|
422
|
-
export declare const downloadRender: (client: Client, id: string) => Promise<Response>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import type { Client } from "../client.js";
|
|
3
|
-
import { CompletionIterator } from "../ProgressIterator.js";
|
|
4
|
-
export declare const CreateTranscriptionPayload: z.ZodObject<{
|
|
5
|
-
file_id: z.ZodString;
|
|
6
|
-
track_id: z.ZodNumber;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
file_id: string;
|
|
9
|
-
track_id: number;
|
|
10
|
-
}, {
|
|
11
|
-
file_id: string;
|
|
12
|
-
track_id: number;
|
|
13
|
-
}>;
|
|
14
|
-
export type CreateTranscriptionPayload = z.infer<typeof CreateTranscriptionPayload>;
|
|
15
|
-
export interface CreateTranscriptionResult {
|
|
16
|
-
id: string;
|
|
17
|
-
status: "complete" | "created" | "failed" | "pending" | "transcribing";
|
|
18
|
-
}
|
|
19
|
-
export interface TranscriptionInfoResult {
|
|
20
|
-
id: string;
|
|
21
|
-
status: "complete" | "created" | "failed" | "pending" | "transcribing";
|
|
22
|
-
}
|
|
23
|
-
export declare const createTranscription: (client: Client, payload: CreateTranscriptionPayload) => Promise<CreateTranscriptionResult>;
|
|
24
|
-
export declare const getTranscriptionProgress: (client: Client, id: string) => Promise<CompletionIterator>;
|
|
25
|
-
export declare const getTranscriptionInfo: (client: Client, id: string) => Promise<TranscriptionInfoResult>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import type { Client } from "../client.js";
|
|
3
|
-
export declare const CreateUnprocessedFilePayload: z.ZodObject<{
|
|
4
|
-
md5: z.ZodString;
|
|
5
|
-
filename: z.ZodString;
|
|
6
|
-
byte_size: z.ZodNumber;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
md5: string;
|
|
9
|
-
filename: string;
|
|
10
|
-
byte_size: number;
|
|
11
|
-
}, {
|
|
12
|
-
md5: string;
|
|
13
|
-
filename: string;
|
|
14
|
-
byte_size: number;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const UpdateUnprocessedFilePayload: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
17
|
-
export type CreateUnprocessedFilePayload = z.infer<typeof CreateUnprocessedFilePayload>;
|
|
18
|
-
export interface UnprocessedFile {
|
|
19
|
-
byte_size: number;
|
|
20
|
-
next_byte: number;
|
|
21
|
-
complete: boolean;
|
|
22
|
-
id: string;
|
|
23
|
-
md5: string;
|
|
24
|
-
}
|
|
25
|
-
export interface UnprocessedFileUploadDetails {
|
|
26
|
-
id: string;
|
|
27
|
-
byte_size: number;
|
|
28
|
-
}
|
|
29
|
-
export interface CreateUnprocessedFileResult extends UnprocessedFile {
|
|
30
|
-
}
|
|
31
|
-
export interface LookupUnprocessedFileByMd5Result extends UnprocessedFile {
|
|
32
|
-
}
|
|
33
|
-
export interface UpdateUnprocessedFileResult extends UnprocessedFile {
|
|
34
|
-
}
|
|
35
|
-
export interface ProcessIsobmffFileResult {
|
|
36
|
-
id: string;
|
|
37
|
-
}
|
|
38
|
-
export declare const createUnprocessedFile: (client: Client, payload: CreateUnprocessedFilePayload) => Promise<CreateUnprocessedFileResult>;
|
|
39
|
-
export declare const uploadUnprocessedReadableStream: (client: Client, uploadDetails: UnprocessedFileUploadDetails, fileStream: ReadableStream) => import("../uploadChunks.js").IteratorWithPromise<import("../uploadChunks.js").UploadChunkEvent>;
|
|
40
|
-
export declare const lookupUnprocessedFileByMd5: (client: Client, md5: string) => Promise<LookupUnprocessedFileByMd5Result | null>;
|
|
41
|
-
export declare const processIsobmffFile: (client: Client, id: string) => Promise<ProcessIsobmffFileResult>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const cacheImage: (cacheRoot: string, absolutePath: string) => Promise<import("../idempotentTask.js").TaskResult>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const generateTrackFromPath: (absolutePath: string, trackId: number) => Promise<import("stream").PassThrough>;
|
|
2
|
-
export declare const generateTrackTask: (rootDir: string, absolutePath: string, trackId: number) => Promise<import("../idempotentTask.js").TaskResult>;
|
|
3
|
-
export declare const generateTrack: (cacheRoot: string, absolutePath: string, url: string) => Promise<import("../idempotentTask.js").TaskResult>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { TrackFragmentIndex } from "../Probe.js";
|
|
2
|
-
export declare const generateTrackFragmentIndexFromPath: (absolutePath: string) => Promise<Record<number, TrackFragmentIndex>>;
|
|
3
|
-
export declare const generateTrackFragmentIndex: (cacheRoot: string, absolutePath: string) => Promise<import("../idempotentTask.js").TaskResult>;
|