@koda-sl/baker-cli 0.113.2 → 0.114.1
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/README.md +22 -0
- package/dist/{chunk-7K2YAWUT.js → chunk-ZWMMCLJ4.js} +165 -17
- package/dist/chunk-ZWMMCLJ4.js.map +1 -0
- package/dist/cli.js +51 -7
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.d.ts +14 -0
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7K2YAWUT.js.map +0 -1
package/dist/engine/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ type ValidationIssue = {
|
|
|
54
54
|
path: string;
|
|
55
55
|
code: string;
|
|
56
56
|
message: string;
|
|
57
|
+
severity?: "error" | "warning";
|
|
57
58
|
received?: unknown;
|
|
58
59
|
expected?: string;
|
|
59
60
|
did_you_mean?: string[];
|
|
@@ -99,6 +100,16 @@ declare const CanvasSchema: z.ZodObject<{
|
|
|
99
100
|
tts_over_native: z.ZodArray<z.ZodString>;
|
|
100
101
|
}, z.core.$strip>>>;
|
|
101
102
|
motion_board: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
103
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
+
ref: z.ZodString;
|
|
105
|
+
label: z.ZodString;
|
|
106
|
+
type: z.ZodString;
|
|
107
|
+
description: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>>>;
|
|
109
|
+
clip_spans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
+
node: z.ZodString;
|
|
111
|
+
span_s: z.ZodNumber;
|
|
112
|
+
}, z.core.$strip>>>;
|
|
102
113
|
}, z.core.$strict>>;
|
|
103
114
|
}, z.core.$strict>>;
|
|
104
115
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -355,6 +366,7 @@ declare class Engine$1 {
|
|
|
355
366
|
ok: true;
|
|
356
367
|
canvas: Canvas;
|
|
357
368
|
estimatedCredits: number;
|
|
369
|
+
warnings?: ValidationIssue[];
|
|
358
370
|
} | {
|
|
359
371
|
ok: false;
|
|
360
372
|
issues: ValidationIssue[];
|
|
@@ -364,6 +376,7 @@ declare class Engine$1 {
|
|
|
364
376
|
ok: true;
|
|
365
377
|
canvas: Canvas;
|
|
366
378
|
estimatedCredits: number;
|
|
379
|
+
warnings?: ValidationIssue[];
|
|
367
380
|
} | {
|
|
368
381
|
ok: false;
|
|
369
382
|
issues: ValidationIssue[];
|
|
@@ -392,6 +405,7 @@ type ValidationResult = {
|
|
|
392
405
|
ok: true;
|
|
393
406
|
canvas: Canvas;
|
|
394
407
|
estimatedCredits: number;
|
|
408
|
+
warnings?: ValidationIssue[];
|
|
395
409
|
} | {
|
|
396
410
|
ok: false;
|
|
397
411
|
issues: ValidationIssue[];
|
package/dist/engine/index.js
CHANGED