mulmocast 0.0.6 → 0.0.8
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 +39 -2
- package/assets/templates/business.json +2 -181
- package/assets/templates/children_book.json +1 -128
- package/assets/templates/coding.json +2 -136
- package/assets/templates/comic_strips.json +1 -30
- package/assets/templates/ghibli_strips.json +1 -30
- package/assets/templates/sensei_and_taro.json +1 -118
- package/lib/actions/audio.js +41 -31
- package/lib/actions/captions.js +39 -26
- package/lib/actions/images.js +31 -11
- package/lib/actions/movie.js +30 -21
- package/lib/actions/pdf.js +11 -1
- package/lib/actions/translate.js +33 -18
- package/lib/agents/combine_audio_files_agent.js +19 -8
- package/lib/cli/commands/tool/scripting/builder.d.ts +1 -1
- package/lib/cli/commands/tool/scripting/builder.js +4 -4
- package/lib/cli/commands/tool/scripting/handler.d.ts +2 -1
- package/lib/cli/commands/tool/scripting/handler.js +3 -3
- package/lib/cli/commands/tool/story_to_script/builder.d.ts +3 -1
- package/lib/cli/commands/tool/story_to_script/builder.js +12 -4
- package/lib/cli/commands/tool/story_to_script/handler.d.ts +3 -1
- package/lib/cli/commands/tool/story_to_script/handler.js +4 -3
- package/lib/methods/mulmo_script_template.d.ts +2 -2
- package/lib/methods/mulmo_script_template.js +2 -2
- package/lib/methods/mulmo_studio.d.ts +8 -0
- package/lib/methods/mulmo_studio.js +24 -0
- package/lib/tools/create_mulmo_script_from_url.d.ts +1 -1
- package/lib/tools/create_mulmo_script_from_url.js +7 -7
- package/lib/tools/create_mulmo_script_interactively.d.ts +1 -1
- package/lib/tools/create_mulmo_script_interactively.js +8 -8
- package/lib/tools/story_to_script.d.ts +5 -3
- package/lib/tools/story_to_script.js +90 -16
- package/lib/types/schema.d.ts +320 -1766
- package/lib/types/schema.js +41 -2
- package/lib/types/type.d.ts +4 -2
- package/lib/utils/const.d.ts +4 -0
- package/lib/utils/const.js +4 -0
- package/lib/utils/file.d.ts +1 -0
- package/lib/utils/file.js +16 -4
- package/lib/utils/filters.js +16 -11
- package/lib/utils/markdown.js +0 -2
- package/lib/utils/preprocess.d.ts +34 -15
- package/lib/utils/preprocess.js +3 -2
- package/lib/utils/prompt.d.ts +2 -1
- package/lib/utils/prompt.js +20 -3
- package/lib/utils/utils.d.ts +8 -5
- package/lib/utils/utils.js +27 -17
- package/package.json +3 -2
- package/scripts/templates/business.json +201 -0
- package/scripts/templates/children_book.json +97 -0
- package/scripts/templates/coding.json +130 -0
- package/scripts/templates/comic_strips.json +30 -0
- package/scripts/templates/ghibli_strips.json +30 -0
- package/scripts/templates/sensei_and_taro.json +127 -0
package/lib/types/schema.d.ts
CHANGED
|
@@ -844,19 +844,26 @@ export declare const textSlideParamsSchema: z.ZodObject<{
|
|
|
844
844
|
}, {
|
|
845
845
|
cssStyles: string | string[];
|
|
846
846
|
}>;
|
|
847
|
+
export declare const beatAudioParamsSchema: z.ZodObject<{
|
|
848
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
849
|
+
}, "strict", z.ZodTypeAny, {
|
|
850
|
+
padding?: number | undefined;
|
|
851
|
+
}, {
|
|
852
|
+
padding?: number | undefined;
|
|
853
|
+
}>;
|
|
847
854
|
export declare const audioParamsSchema: z.ZodObject<{
|
|
848
|
-
introPadding: z.ZodNumber;
|
|
849
855
|
padding: z.ZodNumber;
|
|
856
|
+
introPadding: z.ZodNumber;
|
|
850
857
|
closingPadding: z.ZodNumber;
|
|
851
858
|
outroPadding: z.ZodNumber;
|
|
852
859
|
}, "strict", z.ZodTypeAny, {
|
|
853
|
-
introPadding: number;
|
|
854
860
|
padding: number;
|
|
861
|
+
introPadding: number;
|
|
855
862
|
closingPadding: number;
|
|
856
863
|
outroPadding: number;
|
|
857
864
|
}, {
|
|
858
|
-
introPadding: number;
|
|
859
865
|
padding: number;
|
|
866
|
+
introPadding: number;
|
|
860
867
|
closingPadding: number;
|
|
861
868
|
outroPadding: number;
|
|
862
869
|
}>;
|
|
@@ -1379,6 +1386,13 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1379
1386
|
style?: string | undefined;
|
|
1380
1387
|
moderation?: string | undefined;
|
|
1381
1388
|
}>>;
|
|
1389
|
+
audioParams: z.ZodOptional<z.ZodObject<{
|
|
1390
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
+
}, "strict", z.ZodTypeAny, {
|
|
1392
|
+
padding?: number | undefined;
|
|
1393
|
+
}, {
|
|
1394
|
+
padding?: number | undefined;
|
|
1395
|
+
}>>;
|
|
1382
1396
|
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
1383
1397
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
1384
1398
|
instruction: z.ZodOptional<z.ZodString>;
|
|
@@ -1528,6 +1542,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1528
1542
|
style?: string | undefined;
|
|
1529
1543
|
moderation?: string | undefined;
|
|
1530
1544
|
} | undefined;
|
|
1545
|
+
audioParams?: {
|
|
1546
|
+
padding?: number | undefined;
|
|
1547
|
+
} | undefined;
|
|
1531
1548
|
textSlideParams?: {
|
|
1532
1549
|
cssStyles: string | string[];
|
|
1533
1550
|
} | undefined;
|
|
@@ -1663,6 +1680,9 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1663
1680
|
style?: string | undefined;
|
|
1664
1681
|
moderation?: string | undefined;
|
|
1665
1682
|
} | undefined;
|
|
1683
|
+
audioParams?: {
|
|
1684
|
+
padding?: number | undefined;
|
|
1685
|
+
} | undefined;
|
|
1666
1686
|
textSlideParams?: {
|
|
1667
1687
|
cssStyles: string | string[];
|
|
1668
1688
|
} | undefined;
|
|
@@ -1841,23 +1861,29 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1841
1861
|
cssStyles: string | string[];
|
|
1842
1862
|
}>>;
|
|
1843
1863
|
audioParams: z.ZodDefault<z.ZodObject<{
|
|
1844
|
-
introPadding: z.ZodNumber;
|
|
1845
1864
|
padding: z.ZodNumber;
|
|
1865
|
+
introPadding: z.ZodNumber;
|
|
1846
1866
|
closingPadding: z.ZodNumber;
|
|
1847
1867
|
outroPadding: z.ZodNumber;
|
|
1848
1868
|
}, "strict", z.ZodTypeAny, {
|
|
1849
|
-
introPadding: number;
|
|
1850
1869
|
padding: number;
|
|
1870
|
+
introPadding: number;
|
|
1851
1871
|
closingPadding: number;
|
|
1852
1872
|
outroPadding: number;
|
|
1853
1873
|
}, {
|
|
1854
|
-
introPadding: number;
|
|
1855
1874
|
padding: number;
|
|
1875
|
+
introPadding: number;
|
|
1856
1876
|
closingPadding: number;
|
|
1857
1877
|
outroPadding: number;
|
|
1858
1878
|
}>>;
|
|
1859
1879
|
omitCaptions: z.ZodOptional<z.ZodBoolean>;
|
|
1860
1880
|
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
audioParams: {
|
|
1882
|
+
padding: number;
|
|
1883
|
+
introPadding: number;
|
|
1884
|
+
closingPadding: number;
|
|
1885
|
+
outroPadding: number;
|
|
1886
|
+
};
|
|
1861
1887
|
$mulmocast: {
|
|
1862
1888
|
version: "1.0";
|
|
1863
1889
|
credit?: "closing" | undefined;
|
|
@@ -1877,12 +1903,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1877
1903
|
} | undefined;
|
|
1878
1904
|
}>;
|
|
1879
1905
|
};
|
|
1880
|
-
audioParams: {
|
|
1881
|
-
introPadding: number;
|
|
1882
|
-
padding: number;
|
|
1883
|
-
closingPadding: number;
|
|
1884
|
-
outroPadding: number;
|
|
1885
|
-
};
|
|
1886
1906
|
imageParams?: {
|
|
1887
1907
|
provider: "openai" | "google";
|
|
1888
1908
|
model?: string | undefined;
|
|
@@ -1906,6 +1926,12 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1906
1926
|
moderation?: string | undefined;
|
|
1907
1927
|
provider?: "openai" | "google" | undefined;
|
|
1908
1928
|
} | undefined;
|
|
1929
|
+
audioParams?: {
|
|
1930
|
+
padding: number;
|
|
1931
|
+
introPadding: number;
|
|
1932
|
+
closingPadding: number;
|
|
1933
|
+
outroPadding: number;
|
|
1934
|
+
} | undefined;
|
|
1909
1935
|
textSlideParams?: {
|
|
1910
1936
|
cssStyles: string | string[];
|
|
1911
1937
|
} | undefined;
|
|
@@ -1924,12 +1950,6 @@ export declare const mulmoPresentationStyleSchema: z.ZodObject<{
|
|
|
1924
1950
|
}>;
|
|
1925
1951
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
1926
1952
|
} | undefined;
|
|
1927
|
-
audioParams?: {
|
|
1928
|
-
introPadding: number;
|
|
1929
|
-
padding: number;
|
|
1930
|
-
closingPadding: number;
|
|
1931
|
-
outroPadding: number;
|
|
1932
|
-
} | undefined;
|
|
1933
1953
|
omitCaptions?: boolean | undefined;
|
|
1934
1954
|
}>;
|
|
1935
1955
|
export declare const mulmoReferenceSchema: z.ZodObject<{
|
|
@@ -2048,18 +2068,18 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2048
2068
|
cssStyles: string | string[];
|
|
2049
2069
|
}>>;
|
|
2050
2070
|
audioParams: z.ZodDefault<z.ZodObject<{
|
|
2051
|
-
introPadding: z.ZodNumber;
|
|
2052
2071
|
padding: z.ZodNumber;
|
|
2072
|
+
introPadding: z.ZodNumber;
|
|
2053
2073
|
closingPadding: z.ZodNumber;
|
|
2054
2074
|
outroPadding: z.ZodNumber;
|
|
2055
2075
|
}, "strict", z.ZodTypeAny, {
|
|
2056
|
-
introPadding: number;
|
|
2057
2076
|
padding: number;
|
|
2077
|
+
introPadding: number;
|
|
2058
2078
|
closingPadding: number;
|
|
2059
2079
|
outroPadding: number;
|
|
2060
2080
|
}, {
|
|
2061
|
-
introPadding: number;
|
|
2062
2081
|
padding: number;
|
|
2082
|
+
introPadding: number;
|
|
2063
2083
|
closingPadding: number;
|
|
2064
2084
|
outroPadding: number;
|
|
2065
2085
|
}>>;
|
|
@@ -2603,6 +2623,13 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2603
2623
|
style?: string | undefined;
|
|
2604
2624
|
moderation?: string | undefined;
|
|
2605
2625
|
}>>;
|
|
2626
|
+
audioParams: z.ZodOptional<z.ZodObject<{
|
|
2627
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
2628
|
+
}, "strict", z.ZodTypeAny, {
|
|
2629
|
+
padding?: number | undefined;
|
|
2630
|
+
}, {
|
|
2631
|
+
padding?: number | undefined;
|
|
2632
|
+
}>>;
|
|
2606
2633
|
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
2607
2634
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
2608
2635
|
instruction: z.ZodOptional<z.ZodString>;
|
|
@@ -2752,6 +2779,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2752
2779
|
style?: string | undefined;
|
|
2753
2780
|
moderation?: string | undefined;
|
|
2754
2781
|
} | undefined;
|
|
2782
|
+
audioParams?: {
|
|
2783
|
+
padding?: number | undefined;
|
|
2784
|
+
} | undefined;
|
|
2755
2785
|
textSlideParams?: {
|
|
2756
2786
|
cssStyles: string | string[];
|
|
2757
2787
|
} | undefined;
|
|
@@ -2887,6 +2917,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2887
2917
|
style?: string | undefined;
|
|
2888
2918
|
moderation?: string | undefined;
|
|
2889
2919
|
} | undefined;
|
|
2920
|
+
audioParams?: {
|
|
2921
|
+
padding?: number | undefined;
|
|
2922
|
+
} | undefined;
|
|
2890
2923
|
textSlideParams?: {
|
|
2891
2924
|
cssStyles: string | string[];
|
|
2892
2925
|
} | undefined;
|
|
@@ -2895,6 +2928,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2895
2928
|
imagePath: z.ZodOptional<z.ZodString>;
|
|
2896
2929
|
__test_invalid__: z.ZodOptional<z.ZodBoolean>;
|
|
2897
2930
|
}, "strict", z.ZodTypeAny, {
|
|
2931
|
+
audioParams: {
|
|
2932
|
+
padding: number;
|
|
2933
|
+
introPadding: number;
|
|
2934
|
+
closingPadding: number;
|
|
2935
|
+
outroPadding: number;
|
|
2936
|
+
};
|
|
2898
2937
|
$mulmocast: {
|
|
2899
2938
|
version: "1.0";
|
|
2900
2939
|
credit?: "closing" | undefined;
|
|
@@ -2914,12 +2953,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
2914
2953
|
} | undefined;
|
|
2915
2954
|
}>;
|
|
2916
2955
|
};
|
|
2917
|
-
audioParams: {
|
|
2918
|
-
introPadding: number;
|
|
2919
|
-
padding: number;
|
|
2920
|
-
closingPadding: number;
|
|
2921
|
-
outroPadding: number;
|
|
2922
|
-
};
|
|
2923
2956
|
beats: {
|
|
2924
2957
|
text: string;
|
|
2925
2958
|
speaker: string;
|
|
@@ -3051,6 +3084,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3051
3084
|
style?: string | undefined;
|
|
3052
3085
|
moderation?: string | undefined;
|
|
3053
3086
|
} | undefined;
|
|
3087
|
+
audioParams?: {
|
|
3088
|
+
padding?: number | undefined;
|
|
3089
|
+
} | undefined;
|
|
3054
3090
|
textSlideParams?: {
|
|
3055
3091
|
cssStyles: string | string[];
|
|
3056
3092
|
} | undefined;
|
|
@@ -3214,6 +3250,9 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3214
3250
|
style?: string | undefined;
|
|
3215
3251
|
moderation?: string | undefined;
|
|
3216
3252
|
} | undefined;
|
|
3253
|
+
audioParams?: {
|
|
3254
|
+
padding?: number | undefined;
|
|
3255
|
+
} | undefined;
|
|
3217
3256
|
textSlideParams?: {
|
|
3218
3257
|
cssStyles: string | string[];
|
|
3219
3258
|
} | undefined;
|
|
@@ -3228,6 +3267,12 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3228
3267
|
moderation?: string | undefined;
|
|
3229
3268
|
provider?: "openai" | "google" | undefined;
|
|
3230
3269
|
} | undefined;
|
|
3270
|
+
audioParams?: {
|
|
3271
|
+
padding: number;
|
|
3272
|
+
introPadding: number;
|
|
3273
|
+
closingPadding: number;
|
|
3274
|
+
outroPadding: number;
|
|
3275
|
+
} | undefined;
|
|
3231
3276
|
textSlideParams?: {
|
|
3232
3277
|
cssStyles: string | string[];
|
|
3233
3278
|
} | undefined;
|
|
@@ -3246,12 +3291,6 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
3246
3291
|
}>;
|
|
3247
3292
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
3248
3293
|
} | undefined;
|
|
3249
|
-
audioParams?: {
|
|
3250
|
-
introPadding: number;
|
|
3251
|
-
padding: number;
|
|
3252
|
-
closingPadding: number;
|
|
3253
|
-
outroPadding: number;
|
|
3254
|
-
} | undefined;
|
|
3255
3294
|
omitCaptions?: boolean | undefined;
|
|
3256
3295
|
description?: string | undefined;
|
|
3257
3296
|
references?: {
|
|
@@ -3356,6 +3395,76 @@ export declare const mulmoStudioMultiLingualSchema: z.ZodArray<z.ZodObject<{
|
|
|
3356
3395
|
duration?: number | undefined;
|
|
3357
3396
|
}>;
|
|
3358
3397
|
}>, "many">;
|
|
3398
|
+
export declare const mulmoSessionStateSchema: z.ZodObject<{
|
|
3399
|
+
inSession: z.ZodObject<{
|
|
3400
|
+
audio: z.ZodBoolean;
|
|
3401
|
+
image: z.ZodBoolean;
|
|
3402
|
+
video: z.ZodBoolean;
|
|
3403
|
+
multiLingual: z.ZodBoolean;
|
|
3404
|
+
caption: z.ZodBoolean;
|
|
3405
|
+
pdf: z.ZodBoolean;
|
|
3406
|
+
}, "strip", z.ZodTypeAny, {
|
|
3407
|
+
pdf: boolean;
|
|
3408
|
+
image: boolean;
|
|
3409
|
+
audio: boolean;
|
|
3410
|
+
video: boolean;
|
|
3411
|
+
multiLingual: boolean;
|
|
3412
|
+
caption: boolean;
|
|
3413
|
+
}, {
|
|
3414
|
+
pdf: boolean;
|
|
3415
|
+
image: boolean;
|
|
3416
|
+
audio: boolean;
|
|
3417
|
+
video: boolean;
|
|
3418
|
+
multiLingual: boolean;
|
|
3419
|
+
caption: boolean;
|
|
3420
|
+
}>;
|
|
3421
|
+
inBeatSession: z.ZodObject<{
|
|
3422
|
+
audio: z.ZodSet<z.ZodNumber>;
|
|
3423
|
+
image: z.ZodSet<z.ZodNumber>;
|
|
3424
|
+
multiLingual: z.ZodSet<z.ZodNumber>;
|
|
3425
|
+
caption: z.ZodSet<z.ZodNumber>;
|
|
3426
|
+
}, "strip", z.ZodTypeAny, {
|
|
3427
|
+
image: Set<number>;
|
|
3428
|
+
audio: Set<number>;
|
|
3429
|
+
multiLingual: Set<number>;
|
|
3430
|
+
caption: Set<number>;
|
|
3431
|
+
}, {
|
|
3432
|
+
image: Set<number>;
|
|
3433
|
+
audio: Set<number>;
|
|
3434
|
+
multiLingual: Set<number>;
|
|
3435
|
+
caption: Set<number>;
|
|
3436
|
+
}>;
|
|
3437
|
+
}, "strip", z.ZodTypeAny, {
|
|
3438
|
+
inSession: {
|
|
3439
|
+
pdf: boolean;
|
|
3440
|
+
image: boolean;
|
|
3441
|
+
audio: boolean;
|
|
3442
|
+
video: boolean;
|
|
3443
|
+
multiLingual: boolean;
|
|
3444
|
+
caption: boolean;
|
|
3445
|
+
};
|
|
3446
|
+
inBeatSession: {
|
|
3447
|
+
image: Set<number>;
|
|
3448
|
+
audio: Set<number>;
|
|
3449
|
+
multiLingual: Set<number>;
|
|
3450
|
+
caption: Set<number>;
|
|
3451
|
+
};
|
|
3452
|
+
}, {
|
|
3453
|
+
inSession: {
|
|
3454
|
+
pdf: boolean;
|
|
3455
|
+
image: boolean;
|
|
3456
|
+
audio: boolean;
|
|
3457
|
+
video: boolean;
|
|
3458
|
+
multiLingual: boolean;
|
|
3459
|
+
caption: boolean;
|
|
3460
|
+
};
|
|
3461
|
+
inBeatSession: {
|
|
3462
|
+
image: Set<number>;
|
|
3463
|
+
audio: Set<number>;
|
|
3464
|
+
multiLingual: Set<number>;
|
|
3465
|
+
caption: Set<number>;
|
|
3466
|
+
};
|
|
3467
|
+
}>;
|
|
3359
3468
|
export declare const mulmoStudioSchema: z.ZodObject<{
|
|
3360
3469
|
script: z.ZodObject<{
|
|
3361
3470
|
$mulmocast: z.ZodObject<{
|
|
@@ -3457,18 +3566,18 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
3457
3566
|
cssStyles: string | string[];
|
|
3458
3567
|
}>>;
|
|
3459
3568
|
audioParams: z.ZodDefault<z.ZodObject<{
|
|
3460
|
-
introPadding: z.ZodNumber;
|
|
3461
3569
|
padding: z.ZodNumber;
|
|
3570
|
+
introPadding: z.ZodNumber;
|
|
3462
3571
|
closingPadding: z.ZodNumber;
|
|
3463
3572
|
outroPadding: z.ZodNumber;
|
|
3464
3573
|
}, "strict", z.ZodTypeAny, {
|
|
3465
|
-
introPadding: number;
|
|
3466
3574
|
padding: number;
|
|
3575
|
+
introPadding: number;
|
|
3467
3576
|
closingPadding: number;
|
|
3468
3577
|
outroPadding: number;
|
|
3469
3578
|
}, {
|
|
3470
|
-
introPadding: number;
|
|
3471
3579
|
padding: number;
|
|
3580
|
+
introPadding: number;
|
|
3472
3581
|
closingPadding: number;
|
|
3473
3582
|
outroPadding: number;
|
|
3474
3583
|
}>>;
|
|
@@ -4012,6 +4121,13 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4012
4121
|
style?: string | undefined;
|
|
4013
4122
|
moderation?: string | undefined;
|
|
4014
4123
|
}>>;
|
|
4124
|
+
audioParams: z.ZodOptional<z.ZodObject<{
|
|
4125
|
+
padding: z.ZodOptional<z.ZodNumber>;
|
|
4126
|
+
}, "strict", z.ZodTypeAny, {
|
|
4127
|
+
padding?: number | undefined;
|
|
4128
|
+
}, {
|
|
4129
|
+
padding?: number | undefined;
|
|
4130
|
+
}>>;
|
|
4015
4131
|
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
4016
4132
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
4017
4133
|
instruction: z.ZodOptional<z.ZodString>;
|
|
@@ -4161,6 +4277,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4161
4277
|
style?: string | undefined;
|
|
4162
4278
|
moderation?: string | undefined;
|
|
4163
4279
|
} | undefined;
|
|
4280
|
+
audioParams?: {
|
|
4281
|
+
padding?: number | undefined;
|
|
4282
|
+
} | undefined;
|
|
4164
4283
|
textSlideParams?: {
|
|
4165
4284
|
cssStyles: string | string[];
|
|
4166
4285
|
} | undefined;
|
|
@@ -4296,6 +4415,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4296
4415
|
style?: string | undefined;
|
|
4297
4416
|
moderation?: string | undefined;
|
|
4298
4417
|
} | undefined;
|
|
4418
|
+
audioParams?: {
|
|
4419
|
+
padding?: number | undefined;
|
|
4420
|
+
} | undefined;
|
|
4299
4421
|
textSlideParams?: {
|
|
4300
4422
|
cssStyles: string | string[];
|
|
4301
4423
|
} | undefined;
|
|
@@ -4304,6 +4426,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4304
4426
|
imagePath: z.ZodOptional<z.ZodString>;
|
|
4305
4427
|
__test_invalid__: z.ZodOptional<z.ZodBoolean>;
|
|
4306
4428
|
}, "strict", z.ZodTypeAny, {
|
|
4429
|
+
audioParams: {
|
|
4430
|
+
padding: number;
|
|
4431
|
+
introPadding: number;
|
|
4432
|
+
closingPadding: number;
|
|
4433
|
+
outroPadding: number;
|
|
4434
|
+
};
|
|
4307
4435
|
$mulmocast: {
|
|
4308
4436
|
version: "1.0";
|
|
4309
4437
|
credit?: "closing" | undefined;
|
|
@@ -4323,12 +4451,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4323
4451
|
} | undefined;
|
|
4324
4452
|
}>;
|
|
4325
4453
|
};
|
|
4326
|
-
audioParams: {
|
|
4327
|
-
introPadding: number;
|
|
4328
|
-
padding: number;
|
|
4329
|
-
closingPadding: number;
|
|
4330
|
-
outroPadding: number;
|
|
4331
|
-
};
|
|
4332
4454
|
beats: {
|
|
4333
4455
|
text: string;
|
|
4334
4456
|
speaker: string;
|
|
@@ -4460,6 +4582,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4460
4582
|
style?: string | undefined;
|
|
4461
4583
|
moderation?: string | undefined;
|
|
4462
4584
|
} | undefined;
|
|
4585
|
+
audioParams?: {
|
|
4586
|
+
padding?: number | undefined;
|
|
4587
|
+
} | undefined;
|
|
4463
4588
|
textSlideParams?: {
|
|
4464
4589
|
cssStyles: string | string[];
|
|
4465
4590
|
} | undefined;
|
|
@@ -4623,6 +4748,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4623
4748
|
style?: string | undefined;
|
|
4624
4749
|
moderation?: string | undefined;
|
|
4625
4750
|
} | undefined;
|
|
4751
|
+
audioParams?: {
|
|
4752
|
+
padding?: number | undefined;
|
|
4753
|
+
} | undefined;
|
|
4626
4754
|
textSlideParams?: {
|
|
4627
4755
|
cssStyles: string | string[];
|
|
4628
4756
|
} | undefined;
|
|
@@ -4637,6 +4765,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4637
4765
|
moderation?: string | undefined;
|
|
4638
4766
|
provider?: "openai" | "google" | undefined;
|
|
4639
4767
|
} | undefined;
|
|
4768
|
+
audioParams?: {
|
|
4769
|
+
padding: number;
|
|
4770
|
+
introPadding: number;
|
|
4771
|
+
closingPadding: number;
|
|
4772
|
+
outroPadding: number;
|
|
4773
|
+
} | undefined;
|
|
4640
4774
|
textSlideParams?: {
|
|
4641
4775
|
cssStyles: string | string[];
|
|
4642
4776
|
} | undefined;
|
|
@@ -4655,12 +4789,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4655
4789
|
}>;
|
|
4656
4790
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
4657
4791
|
} | undefined;
|
|
4658
|
-
audioParams?: {
|
|
4659
|
-
introPadding: number;
|
|
4660
|
-
padding: number;
|
|
4661
|
-
closingPadding: number;
|
|
4662
|
-
outroPadding: number;
|
|
4663
|
-
} | undefined;
|
|
4664
4792
|
omitCaptions?: boolean | undefined;
|
|
4665
4793
|
description?: string | undefined;
|
|
4666
4794
|
references?: {
|
|
@@ -4729,6 +4857,76 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4729
4857
|
duration?: number | undefined;
|
|
4730
4858
|
}>;
|
|
4731
4859
|
}>, "many">;
|
|
4860
|
+
state: z.ZodDefault<z.ZodObject<{
|
|
4861
|
+
inSession: z.ZodObject<{
|
|
4862
|
+
audio: z.ZodBoolean;
|
|
4863
|
+
image: z.ZodBoolean;
|
|
4864
|
+
video: z.ZodBoolean;
|
|
4865
|
+
multiLingual: z.ZodBoolean;
|
|
4866
|
+
caption: z.ZodBoolean;
|
|
4867
|
+
pdf: z.ZodBoolean;
|
|
4868
|
+
}, "strip", z.ZodTypeAny, {
|
|
4869
|
+
pdf: boolean;
|
|
4870
|
+
image: boolean;
|
|
4871
|
+
audio: boolean;
|
|
4872
|
+
video: boolean;
|
|
4873
|
+
multiLingual: boolean;
|
|
4874
|
+
caption: boolean;
|
|
4875
|
+
}, {
|
|
4876
|
+
pdf: boolean;
|
|
4877
|
+
image: boolean;
|
|
4878
|
+
audio: boolean;
|
|
4879
|
+
video: boolean;
|
|
4880
|
+
multiLingual: boolean;
|
|
4881
|
+
caption: boolean;
|
|
4882
|
+
}>;
|
|
4883
|
+
inBeatSession: z.ZodObject<{
|
|
4884
|
+
audio: z.ZodSet<z.ZodNumber>;
|
|
4885
|
+
image: z.ZodSet<z.ZodNumber>;
|
|
4886
|
+
multiLingual: z.ZodSet<z.ZodNumber>;
|
|
4887
|
+
caption: z.ZodSet<z.ZodNumber>;
|
|
4888
|
+
}, "strip", z.ZodTypeAny, {
|
|
4889
|
+
image: Set<number>;
|
|
4890
|
+
audio: Set<number>;
|
|
4891
|
+
multiLingual: Set<number>;
|
|
4892
|
+
caption: Set<number>;
|
|
4893
|
+
}, {
|
|
4894
|
+
image: Set<number>;
|
|
4895
|
+
audio: Set<number>;
|
|
4896
|
+
multiLingual: Set<number>;
|
|
4897
|
+
caption: Set<number>;
|
|
4898
|
+
}>;
|
|
4899
|
+
}, "strip", z.ZodTypeAny, {
|
|
4900
|
+
inSession: {
|
|
4901
|
+
pdf: boolean;
|
|
4902
|
+
image: boolean;
|
|
4903
|
+
audio: boolean;
|
|
4904
|
+
video: boolean;
|
|
4905
|
+
multiLingual: boolean;
|
|
4906
|
+
caption: boolean;
|
|
4907
|
+
};
|
|
4908
|
+
inBeatSession: {
|
|
4909
|
+
image: Set<number>;
|
|
4910
|
+
audio: Set<number>;
|
|
4911
|
+
multiLingual: Set<number>;
|
|
4912
|
+
caption: Set<number>;
|
|
4913
|
+
};
|
|
4914
|
+
}, {
|
|
4915
|
+
inSession: {
|
|
4916
|
+
pdf: boolean;
|
|
4917
|
+
image: boolean;
|
|
4918
|
+
audio: boolean;
|
|
4919
|
+
video: boolean;
|
|
4920
|
+
multiLingual: boolean;
|
|
4921
|
+
caption: boolean;
|
|
4922
|
+
};
|
|
4923
|
+
inBeatSession: {
|
|
4924
|
+
image: Set<number>;
|
|
4925
|
+
audio: Set<number>;
|
|
4926
|
+
multiLingual: Set<number>;
|
|
4927
|
+
caption: Set<number>;
|
|
4928
|
+
};
|
|
4929
|
+
}>>;
|
|
4732
4930
|
}, "strict", z.ZodTypeAny, {
|
|
4733
4931
|
beats: {
|
|
4734
4932
|
duration?: number | undefined;
|
|
@@ -4737,7 +4935,22 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4737
4935
|
imageFile?: string | undefined;
|
|
4738
4936
|
captionFile?: string | undefined;
|
|
4739
4937
|
}[];
|
|
4938
|
+
multiLingual: {
|
|
4939
|
+
multiLingualTexts: Record<string, {
|
|
4940
|
+
text: string;
|
|
4941
|
+
lang: string;
|
|
4942
|
+
texts?: string[] | undefined;
|
|
4943
|
+
ttsTexts?: string[] | undefined;
|
|
4944
|
+
duration?: number | undefined;
|
|
4945
|
+
}>;
|
|
4946
|
+
}[];
|
|
4740
4947
|
script: {
|
|
4948
|
+
audioParams: {
|
|
4949
|
+
padding: number;
|
|
4950
|
+
introPadding: number;
|
|
4951
|
+
closingPadding: number;
|
|
4952
|
+
outroPadding: number;
|
|
4953
|
+
};
|
|
4741
4954
|
$mulmocast: {
|
|
4742
4955
|
version: "1.0";
|
|
4743
4956
|
credit?: "closing" | undefined;
|
|
@@ -4757,12 +4970,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4757
4970
|
} | undefined;
|
|
4758
4971
|
}>;
|
|
4759
4972
|
};
|
|
4760
|
-
audioParams: {
|
|
4761
|
-
introPadding: number;
|
|
4762
|
-
padding: number;
|
|
4763
|
-
closingPadding: number;
|
|
4764
|
-
outroPadding: number;
|
|
4765
|
-
};
|
|
4766
4973
|
beats: {
|
|
4767
4974
|
text: string;
|
|
4768
4975
|
speaker: string;
|
|
@@ -4894,6 +5101,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4894
5101
|
style?: string | undefined;
|
|
4895
5102
|
moderation?: string | undefined;
|
|
4896
5103
|
} | undefined;
|
|
5104
|
+
audioParams?: {
|
|
5105
|
+
padding?: number | undefined;
|
|
5106
|
+
} | undefined;
|
|
4897
5107
|
textSlideParams?: {
|
|
4898
5108
|
cssStyles: string | string[];
|
|
4899
5109
|
} | undefined;
|
|
@@ -4923,6 +5133,30 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4923
5133
|
__test_invalid__?: boolean | undefined;
|
|
4924
5134
|
};
|
|
4925
5135
|
filename: string;
|
|
5136
|
+
state: {
|
|
5137
|
+
inSession: {
|
|
5138
|
+
pdf: boolean;
|
|
5139
|
+
image: boolean;
|
|
5140
|
+
audio: boolean;
|
|
5141
|
+
video: boolean;
|
|
5142
|
+
multiLingual: boolean;
|
|
5143
|
+
caption: boolean;
|
|
5144
|
+
};
|
|
5145
|
+
inBeatSession: {
|
|
5146
|
+
image: Set<number>;
|
|
5147
|
+
audio: Set<number>;
|
|
5148
|
+
multiLingual: Set<number>;
|
|
5149
|
+
caption: Set<number>;
|
|
5150
|
+
};
|
|
5151
|
+
};
|
|
5152
|
+
}, {
|
|
5153
|
+
beats: {
|
|
5154
|
+
duration?: number | undefined;
|
|
5155
|
+
hash?: string | undefined;
|
|
5156
|
+
audioFile?: string | undefined;
|
|
5157
|
+
imageFile?: string | undefined;
|
|
5158
|
+
captionFile?: string | undefined;
|
|
5159
|
+
}[];
|
|
4926
5160
|
multiLingual: {
|
|
4927
5161
|
multiLingualTexts: Record<string, {
|
|
4928
5162
|
text: string;
|
|
@@ -4932,14 +5166,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
4932
5166
|
duration?: number | undefined;
|
|
4933
5167
|
}>;
|
|
4934
5168
|
}[];
|
|
4935
|
-
}, {
|
|
4936
|
-
beats: {
|
|
4937
|
-
duration?: number | undefined;
|
|
4938
|
-
hash?: string | undefined;
|
|
4939
|
-
audioFile?: string | undefined;
|
|
4940
|
-
imageFile?: string | undefined;
|
|
4941
|
-
captionFile?: string | undefined;
|
|
4942
|
-
}[];
|
|
4943
5169
|
script: {
|
|
4944
5170
|
$mulmocast: {
|
|
4945
5171
|
version: "1.0";
|
|
@@ -5076,6 +5302,9 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5076
5302
|
style?: string | undefined;
|
|
5077
5303
|
moderation?: string | undefined;
|
|
5078
5304
|
} | undefined;
|
|
5305
|
+
audioParams?: {
|
|
5306
|
+
padding?: number | undefined;
|
|
5307
|
+
} | undefined;
|
|
5079
5308
|
textSlideParams?: {
|
|
5080
5309
|
cssStyles: string | string[];
|
|
5081
5310
|
} | undefined;
|
|
@@ -5090,6 +5319,12 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5090
5319
|
moderation?: string | undefined;
|
|
5091
5320
|
provider?: "openai" | "google" | undefined;
|
|
5092
5321
|
} | undefined;
|
|
5322
|
+
audioParams?: {
|
|
5323
|
+
padding: number;
|
|
5324
|
+
introPadding: number;
|
|
5325
|
+
closingPadding: number;
|
|
5326
|
+
outroPadding: number;
|
|
5327
|
+
} | undefined;
|
|
5093
5328
|
textSlideParams?: {
|
|
5094
5329
|
cssStyles: string | string[];
|
|
5095
5330
|
} | undefined;
|
|
@@ -5108,12 +5343,6 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5108
5343
|
}>;
|
|
5109
5344
|
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
5110
5345
|
} | undefined;
|
|
5111
|
-
audioParams?: {
|
|
5112
|
-
introPadding: number;
|
|
5113
|
-
padding: number;
|
|
5114
|
-
closingPadding: number;
|
|
5115
|
-
outroPadding: number;
|
|
5116
|
-
} | undefined;
|
|
5117
5346
|
omitCaptions?: boolean | undefined;
|
|
5118
5347
|
description?: string | undefined;
|
|
5119
5348
|
references?: {
|
|
@@ -5126,1713 +5355,38 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
5126
5355
|
__test_invalid__?: boolean | undefined;
|
|
5127
5356
|
};
|
|
5128
5357
|
filename: string;
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5358
|
+
state?: {
|
|
5359
|
+
inSession: {
|
|
5360
|
+
pdf: boolean;
|
|
5361
|
+
image: boolean;
|
|
5362
|
+
audio: boolean;
|
|
5363
|
+
video: boolean;
|
|
5364
|
+
multiLingual: boolean;
|
|
5365
|
+
caption: boolean;
|
|
5366
|
+
};
|
|
5367
|
+
inBeatSession: {
|
|
5368
|
+
image: Set<number>;
|
|
5369
|
+
audio: Set<number>;
|
|
5370
|
+
multiLingual: Set<number>;
|
|
5371
|
+
caption: Set<number>;
|
|
5372
|
+
};
|
|
5373
|
+
} | undefined;
|
|
5138
5374
|
}>;
|
|
5139
5375
|
export declare const mulmoScriptTemplateSchema: z.ZodObject<{
|
|
5140
5376
|
title: z.ZodString;
|
|
5141
5377
|
description: z.ZodString;
|
|
5142
5378
|
systemPrompt: z.ZodString;
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
credit?: "closing" | undefined;
|
|
5150
|
-
}, {
|
|
5151
|
-
version: "1.0";
|
|
5152
|
-
credit?: "closing" | undefined;
|
|
5153
|
-
}>;
|
|
5154
|
-
canvasSize: z.ZodDefault<z.ZodObject<{
|
|
5155
|
-
width: z.ZodNumber;
|
|
5156
|
-
height: z.ZodNumber;
|
|
5157
|
-
}, "strip", z.ZodTypeAny, {
|
|
5158
|
-
width: number;
|
|
5159
|
-
height: number;
|
|
5160
|
-
}, {
|
|
5161
|
-
width: number;
|
|
5162
|
-
height: number;
|
|
5163
|
-
}>>;
|
|
5164
|
-
speechParams: z.ZodDefault<z.ZodObject<{
|
|
5165
|
-
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"nijivoice">, z.ZodLiteral<"google">]>>;
|
|
5166
|
-
speakers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5167
|
-
displayName: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5168
|
-
voiceId: z.ZodString;
|
|
5169
|
-
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
5170
|
-
speed: z.ZodOptional<z.ZodNumber>;
|
|
5171
|
-
instruction: z.ZodOptional<z.ZodString>;
|
|
5172
|
-
}, "strict", z.ZodTypeAny, {
|
|
5173
|
-
speed?: number | undefined;
|
|
5174
|
-
instruction?: string | undefined;
|
|
5175
|
-
}, {
|
|
5176
|
-
speed?: number | undefined;
|
|
5177
|
-
instruction?: string | undefined;
|
|
5178
|
-
}>>;
|
|
5179
|
-
}, "strict", z.ZodTypeAny, {
|
|
5180
|
-
voiceId: string;
|
|
5181
|
-
displayName?: Record<string, string> | undefined;
|
|
5182
|
-
speechOptions?: {
|
|
5183
|
-
speed?: number | undefined;
|
|
5184
|
-
instruction?: string | undefined;
|
|
5185
|
-
} | undefined;
|
|
5186
|
-
}, {
|
|
5187
|
-
voiceId: string;
|
|
5188
|
-
displayName?: Record<string, string> | undefined;
|
|
5189
|
-
speechOptions?: {
|
|
5190
|
-
speed?: number | undefined;
|
|
5191
|
-
instruction?: string | undefined;
|
|
5192
|
-
} | undefined;
|
|
5193
|
-
}>>;
|
|
5194
|
-
}, "strict", z.ZodTypeAny, {
|
|
5195
|
-
provider: "openai" | "nijivoice" | "google";
|
|
5196
|
-
speakers: Record<string, {
|
|
5197
|
-
voiceId: string;
|
|
5198
|
-
displayName?: Record<string, string> | undefined;
|
|
5199
|
-
speechOptions?: {
|
|
5200
|
-
speed?: number | undefined;
|
|
5201
|
-
instruction?: string | undefined;
|
|
5202
|
-
} | undefined;
|
|
5203
|
-
}>;
|
|
5204
|
-
}, {
|
|
5205
|
-
speakers: Record<string, {
|
|
5206
|
-
voiceId: string;
|
|
5207
|
-
displayName?: Record<string, string> | undefined;
|
|
5208
|
-
speechOptions?: {
|
|
5209
|
-
speed?: number | undefined;
|
|
5210
|
-
instruction?: string | undefined;
|
|
5211
|
-
} | undefined;
|
|
5212
|
-
}>;
|
|
5213
|
-
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
5214
|
-
}>>;
|
|
5215
|
-
imageParams: z.ZodOptional<z.ZodObject<{
|
|
5216
|
-
model: z.ZodOptional<z.ZodString>;
|
|
5217
|
-
size: z.ZodOptional<z.ZodString>;
|
|
5218
|
-
style: z.ZodOptional<z.ZodString>;
|
|
5219
|
-
moderation: z.ZodOptional<z.ZodString>;
|
|
5220
|
-
} & {
|
|
5221
|
-
provider: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"google">]>>;
|
|
5222
|
-
}, "strict", z.ZodTypeAny, {
|
|
5223
|
-
provider: "openai" | "google";
|
|
5224
|
-
model?: string | undefined;
|
|
5225
|
-
size?: string | undefined;
|
|
5226
|
-
style?: string | undefined;
|
|
5227
|
-
moderation?: string | undefined;
|
|
5228
|
-
}, {
|
|
5229
|
-
model?: string | undefined;
|
|
5230
|
-
size?: string | undefined;
|
|
5231
|
-
style?: string | undefined;
|
|
5232
|
-
moderation?: string | undefined;
|
|
5233
|
-
provider?: "openai" | "google" | undefined;
|
|
5234
|
-
}>>;
|
|
5235
|
-
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
5236
|
-
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
5237
|
-
}, "strict", z.ZodTypeAny, {
|
|
5238
|
-
cssStyles: string | string[];
|
|
5239
|
-
}, {
|
|
5240
|
-
cssStyles: string | string[];
|
|
5241
|
-
}>>;
|
|
5242
|
-
audioParams: z.ZodDefault<z.ZodObject<{
|
|
5243
|
-
introPadding: z.ZodNumber;
|
|
5244
|
-
padding: z.ZodNumber;
|
|
5245
|
-
closingPadding: z.ZodNumber;
|
|
5246
|
-
outroPadding: z.ZodNumber;
|
|
5247
|
-
}, "strict", z.ZodTypeAny, {
|
|
5248
|
-
introPadding: number;
|
|
5249
|
-
padding: number;
|
|
5250
|
-
closingPadding: number;
|
|
5251
|
-
outroPadding: number;
|
|
5252
|
-
}, {
|
|
5253
|
-
introPadding: number;
|
|
5254
|
-
padding: number;
|
|
5255
|
-
closingPadding: number;
|
|
5256
|
-
outroPadding: number;
|
|
5257
|
-
}>>;
|
|
5258
|
-
omitCaptions: z.ZodOptional<z.ZodBoolean>;
|
|
5259
|
-
} & {
|
|
5260
|
-
title: z.ZodOptional<z.ZodString>;
|
|
5261
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5262
|
-
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5263
|
-
url: z.ZodString;
|
|
5264
|
-
title: z.ZodOptional<z.ZodString>;
|
|
5265
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5266
|
-
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"article">, z.ZodLiteral<"image">, z.ZodLiteral<"video">, z.ZodLiteral<"audio">]>>;
|
|
5267
|
-
}, "strip", z.ZodTypeAny, {
|
|
5268
|
-
type: "image" | "audio" | "article" | "video";
|
|
5269
|
-
url: string;
|
|
5270
|
-
title?: string | undefined;
|
|
5271
|
-
description?: string | undefined;
|
|
5272
|
-
}, {
|
|
5273
|
-
url: string;
|
|
5274
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
5275
|
-
title?: string | undefined;
|
|
5276
|
-
description?: string | undefined;
|
|
5277
|
-
}>, "many">>;
|
|
5278
|
-
lang: z.ZodOptional<z.ZodString>;
|
|
5279
|
-
beats: z.ZodArray<z.ZodObject<{
|
|
5280
|
-
speaker: z.ZodDefault<z.ZodString>;
|
|
5281
|
-
text: z.ZodString;
|
|
5282
|
-
image: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
5283
|
-
type: z.ZodLiteral<"markdown">;
|
|
5284
|
-
markdown: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
5285
|
-
}, "strict", z.ZodTypeAny, {
|
|
5286
|
-
type: "markdown";
|
|
5287
|
-
markdown: string | string[];
|
|
5288
|
-
}, {
|
|
5289
|
-
type: "markdown";
|
|
5290
|
-
markdown: string | string[];
|
|
5291
|
-
}>, z.ZodObject<{
|
|
5292
|
-
type: z.ZodLiteral<"web">;
|
|
5293
|
-
url: z.ZodString;
|
|
5294
|
-
}, "strict", z.ZodTypeAny, {
|
|
5295
|
-
type: "web";
|
|
5296
|
-
url: string;
|
|
5297
|
-
}, {
|
|
5298
|
-
type: "web";
|
|
5299
|
-
url: string;
|
|
5300
|
-
}>, z.ZodObject<{
|
|
5301
|
-
type: z.ZodLiteral<"pdf">;
|
|
5302
|
-
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5303
|
-
kind: z.ZodLiteral<"url">;
|
|
5304
|
-
url: z.ZodString;
|
|
5305
|
-
}, "strict", z.ZodTypeAny, {
|
|
5306
|
-
url: string;
|
|
5307
|
-
kind: "url";
|
|
5308
|
-
}, {
|
|
5309
|
-
url: string;
|
|
5310
|
-
kind: "url";
|
|
5311
|
-
}>, z.ZodObject<{
|
|
5312
|
-
kind: z.ZodLiteral<"base64">;
|
|
5313
|
-
data: z.ZodString;
|
|
5314
|
-
}, "strict", z.ZodTypeAny, {
|
|
5315
|
-
kind: "base64";
|
|
5316
|
-
data: string;
|
|
5317
|
-
}, {
|
|
5318
|
-
kind: "base64";
|
|
5319
|
-
data: string;
|
|
5320
|
-
}>, z.ZodObject<{
|
|
5321
|
-
kind: z.ZodLiteral<"text">;
|
|
5322
|
-
text: z.ZodString;
|
|
5323
|
-
}, "strict", z.ZodTypeAny, {
|
|
5324
|
-
text: string;
|
|
5325
|
-
kind: "text";
|
|
5326
|
-
}, {
|
|
5327
|
-
text: string;
|
|
5328
|
-
kind: "text";
|
|
5329
|
-
}>, z.ZodObject<{
|
|
5330
|
-
kind: z.ZodLiteral<"path">;
|
|
5331
|
-
path: z.ZodString;
|
|
5332
|
-
}, "strict", z.ZodTypeAny, {
|
|
5333
|
-
path: string;
|
|
5334
|
-
kind: "path";
|
|
5335
|
-
}, {
|
|
5336
|
-
path: string;
|
|
5337
|
-
kind: "path";
|
|
5338
|
-
}>]>;
|
|
5339
|
-
}, "strict", z.ZodTypeAny, {
|
|
5340
|
-
type: "pdf";
|
|
5341
|
-
source: {
|
|
5342
|
-
url: string;
|
|
5343
|
-
kind: "url";
|
|
5344
|
-
} | {
|
|
5345
|
-
kind: "base64";
|
|
5346
|
-
data: string;
|
|
5347
|
-
} | {
|
|
5348
|
-
text: string;
|
|
5349
|
-
kind: "text";
|
|
5350
|
-
} | {
|
|
5351
|
-
path: string;
|
|
5352
|
-
kind: "path";
|
|
5353
|
-
};
|
|
5354
|
-
}, {
|
|
5355
|
-
type: "pdf";
|
|
5356
|
-
source: {
|
|
5357
|
-
url: string;
|
|
5358
|
-
kind: "url";
|
|
5359
|
-
} | {
|
|
5360
|
-
kind: "base64";
|
|
5361
|
-
data: string;
|
|
5362
|
-
} | {
|
|
5363
|
-
text: string;
|
|
5364
|
-
kind: "text";
|
|
5365
|
-
} | {
|
|
5366
|
-
path: string;
|
|
5367
|
-
kind: "path";
|
|
5368
|
-
};
|
|
5369
|
-
}>, z.ZodObject<{
|
|
5370
|
-
type: z.ZodLiteral<"image">;
|
|
5371
|
-
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5372
|
-
kind: z.ZodLiteral<"url">;
|
|
5373
|
-
url: z.ZodString;
|
|
5374
|
-
}, "strict", z.ZodTypeAny, {
|
|
5375
|
-
url: string;
|
|
5376
|
-
kind: "url";
|
|
5377
|
-
}, {
|
|
5378
|
-
url: string;
|
|
5379
|
-
kind: "url";
|
|
5380
|
-
}>, z.ZodObject<{
|
|
5381
|
-
kind: z.ZodLiteral<"base64">;
|
|
5382
|
-
data: z.ZodString;
|
|
5383
|
-
}, "strict", z.ZodTypeAny, {
|
|
5384
|
-
kind: "base64";
|
|
5385
|
-
data: string;
|
|
5386
|
-
}, {
|
|
5387
|
-
kind: "base64";
|
|
5388
|
-
data: string;
|
|
5389
|
-
}>, z.ZodObject<{
|
|
5390
|
-
kind: z.ZodLiteral<"text">;
|
|
5391
|
-
text: z.ZodString;
|
|
5392
|
-
}, "strict", z.ZodTypeAny, {
|
|
5393
|
-
text: string;
|
|
5394
|
-
kind: "text";
|
|
5395
|
-
}, {
|
|
5396
|
-
text: string;
|
|
5397
|
-
kind: "text";
|
|
5398
|
-
}>, z.ZodObject<{
|
|
5399
|
-
kind: z.ZodLiteral<"path">;
|
|
5400
|
-
path: z.ZodString;
|
|
5401
|
-
}, "strict", z.ZodTypeAny, {
|
|
5402
|
-
path: string;
|
|
5403
|
-
kind: "path";
|
|
5404
|
-
}, {
|
|
5405
|
-
path: string;
|
|
5406
|
-
kind: "path";
|
|
5407
|
-
}>]>;
|
|
5408
|
-
}, "strict", z.ZodTypeAny, {
|
|
5409
|
-
type: "image";
|
|
5410
|
-
source: {
|
|
5411
|
-
url: string;
|
|
5412
|
-
kind: "url";
|
|
5413
|
-
} | {
|
|
5414
|
-
kind: "base64";
|
|
5415
|
-
data: string;
|
|
5416
|
-
} | {
|
|
5417
|
-
text: string;
|
|
5418
|
-
kind: "text";
|
|
5419
|
-
} | {
|
|
5420
|
-
path: string;
|
|
5421
|
-
kind: "path";
|
|
5422
|
-
};
|
|
5423
|
-
}, {
|
|
5424
|
-
type: "image";
|
|
5425
|
-
source: {
|
|
5426
|
-
url: string;
|
|
5427
|
-
kind: "url";
|
|
5428
|
-
} | {
|
|
5429
|
-
kind: "base64";
|
|
5430
|
-
data: string;
|
|
5431
|
-
} | {
|
|
5432
|
-
text: string;
|
|
5433
|
-
kind: "text";
|
|
5434
|
-
} | {
|
|
5435
|
-
path: string;
|
|
5436
|
-
kind: "path";
|
|
5437
|
-
};
|
|
5438
|
-
}>, z.ZodObject<{
|
|
5439
|
-
type: z.ZodLiteral<"svg">;
|
|
5440
|
-
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5441
|
-
kind: z.ZodLiteral<"url">;
|
|
5442
|
-
url: z.ZodString;
|
|
5443
|
-
}, "strict", z.ZodTypeAny, {
|
|
5444
|
-
url: string;
|
|
5445
|
-
kind: "url";
|
|
5446
|
-
}, {
|
|
5447
|
-
url: string;
|
|
5448
|
-
kind: "url";
|
|
5449
|
-
}>, z.ZodObject<{
|
|
5450
|
-
kind: z.ZodLiteral<"base64">;
|
|
5451
|
-
data: z.ZodString;
|
|
5452
|
-
}, "strict", z.ZodTypeAny, {
|
|
5453
|
-
kind: "base64";
|
|
5454
|
-
data: string;
|
|
5455
|
-
}, {
|
|
5456
|
-
kind: "base64";
|
|
5457
|
-
data: string;
|
|
5458
|
-
}>, z.ZodObject<{
|
|
5459
|
-
kind: z.ZodLiteral<"text">;
|
|
5460
|
-
text: z.ZodString;
|
|
5461
|
-
}, "strict", z.ZodTypeAny, {
|
|
5462
|
-
text: string;
|
|
5463
|
-
kind: "text";
|
|
5464
|
-
}, {
|
|
5465
|
-
text: string;
|
|
5466
|
-
kind: "text";
|
|
5467
|
-
}>, z.ZodObject<{
|
|
5468
|
-
kind: z.ZodLiteral<"path">;
|
|
5469
|
-
path: z.ZodString;
|
|
5470
|
-
}, "strict", z.ZodTypeAny, {
|
|
5471
|
-
path: string;
|
|
5472
|
-
kind: "path";
|
|
5473
|
-
}, {
|
|
5474
|
-
path: string;
|
|
5475
|
-
kind: "path";
|
|
5476
|
-
}>]>;
|
|
5477
|
-
}, "strict", z.ZodTypeAny, {
|
|
5478
|
-
type: "svg";
|
|
5479
|
-
source: {
|
|
5480
|
-
url: string;
|
|
5481
|
-
kind: "url";
|
|
5482
|
-
} | {
|
|
5483
|
-
kind: "base64";
|
|
5484
|
-
data: string;
|
|
5485
|
-
} | {
|
|
5486
|
-
text: string;
|
|
5487
|
-
kind: "text";
|
|
5488
|
-
} | {
|
|
5489
|
-
path: string;
|
|
5490
|
-
kind: "path";
|
|
5491
|
-
};
|
|
5492
|
-
}, {
|
|
5493
|
-
type: "svg";
|
|
5494
|
-
source: {
|
|
5495
|
-
url: string;
|
|
5496
|
-
kind: "url";
|
|
5497
|
-
} | {
|
|
5498
|
-
kind: "base64";
|
|
5499
|
-
data: string;
|
|
5500
|
-
} | {
|
|
5501
|
-
text: string;
|
|
5502
|
-
kind: "text";
|
|
5503
|
-
} | {
|
|
5504
|
-
path: string;
|
|
5505
|
-
kind: "path";
|
|
5506
|
-
};
|
|
5507
|
-
}>, z.ZodObject<{
|
|
5508
|
-
type: z.ZodLiteral<"movie">;
|
|
5509
|
-
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5510
|
-
kind: z.ZodLiteral<"url">;
|
|
5511
|
-
url: z.ZodString;
|
|
5512
|
-
}, "strict", z.ZodTypeAny, {
|
|
5513
|
-
url: string;
|
|
5514
|
-
kind: "url";
|
|
5515
|
-
}, {
|
|
5516
|
-
url: string;
|
|
5517
|
-
kind: "url";
|
|
5518
|
-
}>, z.ZodObject<{
|
|
5519
|
-
kind: z.ZodLiteral<"base64">;
|
|
5520
|
-
data: z.ZodString;
|
|
5521
|
-
}, "strict", z.ZodTypeAny, {
|
|
5522
|
-
kind: "base64";
|
|
5523
|
-
data: string;
|
|
5524
|
-
}, {
|
|
5525
|
-
kind: "base64";
|
|
5526
|
-
data: string;
|
|
5527
|
-
}>, z.ZodObject<{
|
|
5528
|
-
kind: z.ZodLiteral<"text">;
|
|
5529
|
-
text: z.ZodString;
|
|
5530
|
-
}, "strict", z.ZodTypeAny, {
|
|
5531
|
-
text: string;
|
|
5532
|
-
kind: "text";
|
|
5533
|
-
}, {
|
|
5534
|
-
text: string;
|
|
5535
|
-
kind: "text";
|
|
5536
|
-
}>, z.ZodObject<{
|
|
5537
|
-
kind: z.ZodLiteral<"path">;
|
|
5538
|
-
path: z.ZodString;
|
|
5539
|
-
}, "strict", z.ZodTypeAny, {
|
|
5540
|
-
path: string;
|
|
5541
|
-
kind: "path";
|
|
5542
|
-
}, {
|
|
5543
|
-
path: string;
|
|
5544
|
-
kind: "path";
|
|
5545
|
-
}>]>;
|
|
5546
|
-
}, "strict", z.ZodTypeAny, {
|
|
5547
|
-
type: "movie";
|
|
5548
|
-
source: {
|
|
5549
|
-
url: string;
|
|
5550
|
-
kind: "url";
|
|
5551
|
-
} | {
|
|
5552
|
-
kind: "base64";
|
|
5553
|
-
data: string;
|
|
5554
|
-
} | {
|
|
5555
|
-
text: string;
|
|
5556
|
-
kind: "text";
|
|
5557
|
-
} | {
|
|
5558
|
-
path: string;
|
|
5559
|
-
kind: "path";
|
|
5560
|
-
};
|
|
5561
|
-
}, {
|
|
5562
|
-
type: "movie";
|
|
5563
|
-
source: {
|
|
5564
|
-
url: string;
|
|
5565
|
-
kind: "url";
|
|
5566
|
-
} | {
|
|
5567
|
-
kind: "base64";
|
|
5568
|
-
data: string;
|
|
5569
|
-
} | {
|
|
5570
|
-
text: string;
|
|
5571
|
-
kind: "text";
|
|
5572
|
-
} | {
|
|
5573
|
-
path: string;
|
|
5574
|
-
kind: "path";
|
|
5575
|
-
};
|
|
5576
|
-
}>, z.ZodObject<{
|
|
5577
|
-
type: z.ZodLiteral<"textSlide">;
|
|
5578
|
-
slide: z.ZodObject<{
|
|
5579
|
-
title: z.ZodString;
|
|
5580
|
-
subtitle: z.ZodOptional<z.ZodString>;
|
|
5581
|
-
bullets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5582
|
-
}, "strip", z.ZodTypeAny, {
|
|
5583
|
-
title: string;
|
|
5584
|
-
subtitle?: string | undefined;
|
|
5585
|
-
bullets?: string[] | undefined;
|
|
5586
|
-
}, {
|
|
5587
|
-
title: string;
|
|
5588
|
-
subtitle?: string | undefined;
|
|
5589
|
-
bullets?: string[] | undefined;
|
|
5590
|
-
}>;
|
|
5591
|
-
}, "strict", z.ZodTypeAny, {
|
|
5592
|
-
type: "textSlide";
|
|
5593
|
-
slide: {
|
|
5594
|
-
title: string;
|
|
5595
|
-
subtitle?: string | undefined;
|
|
5596
|
-
bullets?: string[] | undefined;
|
|
5597
|
-
};
|
|
5598
|
-
}, {
|
|
5599
|
-
type: "textSlide";
|
|
5600
|
-
slide: {
|
|
5601
|
-
title: string;
|
|
5602
|
-
subtitle?: string | undefined;
|
|
5603
|
-
bullets?: string[] | undefined;
|
|
5604
|
-
};
|
|
5605
|
-
}>, z.ZodObject<{
|
|
5606
|
-
type: z.ZodLiteral<"chart">;
|
|
5607
|
-
title: z.ZodString;
|
|
5608
|
-
chartData: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5609
|
-
}, "strict", z.ZodTypeAny, {
|
|
5610
|
-
type: "chart";
|
|
5611
|
-
title: string;
|
|
5612
|
-
chartData: Record<string, any>;
|
|
5613
|
-
}, {
|
|
5614
|
-
type: "chart";
|
|
5615
|
-
title: string;
|
|
5616
|
-
chartData: Record<string, any>;
|
|
5617
|
-
}>, z.ZodObject<{
|
|
5618
|
-
type: z.ZodLiteral<"mermaid">;
|
|
5619
|
-
title: z.ZodString;
|
|
5620
|
-
code: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5621
|
-
kind: z.ZodLiteral<"url">;
|
|
5622
|
-
url: z.ZodString;
|
|
5623
|
-
}, "strict", z.ZodTypeAny, {
|
|
5624
|
-
url: string;
|
|
5625
|
-
kind: "url";
|
|
5626
|
-
}, {
|
|
5627
|
-
url: string;
|
|
5628
|
-
kind: "url";
|
|
5629
|
-
}>, z.ZodObject<{
|
|
5630
|
-
kind: z.ZodLiteral<"base64">;
|
|
5631
|
-
data: z.ZodString;
|
|
5632
|
-
}, "strict", z.ZodTypeAny, {
|
|
5633
|
-
kind: "base64";
|
|
5634
|
-
data: string;
|
|
5635
|
-
}, {
|
|
5636
|
-
kind: "base64";
|
|
5637
|
-
data: string;
|
|
5638
|
-
}>, z.ZodObject<{
|
|
5639
|
-
kind: z.ZodLiteral<"text">;
|
|
5640
|
-
text: z.ZodString;
|
|
5641
|
-
}, "strict", z.ZodTypeAny, {
|
|
5642
|
-
text: string;
|
|
5643
|
-
kind: "text";
|
|
5644
|
-
}, {
|
|
5645
|
-
text: string;
|
|
5646
|
-
kind: "text";
|
|
5647
|
-
}>, z.ZodObject<{
|
|
5648
|
-
kind: z.ZodLiteral<"path">;
|
|
5649
|
-
path: z.ZodString;
|
|
5650
|
-
}, "strict", z.ZodTypeAny, {
|
|
5651
|
-
path: string;
|
|
5652
|
-
kind: "path";
|
|
5653
|
-
}, {
|
|
5654
|
-
path: string;
|
|
5655
|
-
kind: "path";
|
|
5656
|
-
}>]>;
|
|
5657
|
-
appendix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5658
|
-
}, "strict", z.ZodTypeAny, {
|
|
5659
|
-
code: {
|
|
5660
|
-
url: string;
|
|
5661
|
-
kind: "url";
|
|
5662
|
-
} | {
|
|
5663
|
-
kind: "base64";
|
|
5664
|
-
data: string;
|
|
5665
|
-
} | {
|
|
5666
|
-
text: string;
|
|
5667
|
-
kind: "text";
|
|
5668
|
-
} | {
|
|
5669
|
-
path: string;
|
|
5670
|
-
kind: "path";
|
|
5671
|
-
};
|
|
5672
|
-
type: "mermaid";
|
|
5673
|
-
title: string;
|
|
5674
|
-
appendix?: string[] | undefined;
|
|
5675
|
-
}, {
|
|
5676
|
-
code: {
|
|
5677
|
-
url: string;
|
|
5678
|
-
kind: "url";
|
|
5679
|
-
} | {
|
|
5680
|
-
kind: "base64";
|
|
5681
|
-
data: string;
|
|
5682
|
-
} | {
|
|
5683
|
-
text: string;
|
|
5684
|
-
kind: "text";
|
|
5685
|
-
} | {
|
|
5686
|
-
path: string;
|
|
5687
|
-
kind: "path";
|
|
5688
|
-
};
|
|
5689
|
-
type: "mermaid";
|
|
5690
|
-
title: string;
|
|
5691
|
-
appendix?: string[] | undefined;
|
|
5692
|
-
}>, z.ZodObject<{
|
|
5693
|
-
type: z.ZodLiteral<"html_tailwind">;
|
|
5694
|
-
html: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
5695
|
-
}, "strict", z.ZodTypeAny, {
|
|
5696
|
-
type: "html_tailwind";
|
|
5697
|
-
html: string | string[];
|
|
5698
|
-
}, {
|
|
5699
|
-
type: "html_tailwind";
|
|
5700
|
-
html: string | string[];
|
|
5701
|
-
}>]>>;
|
|
5702
|
-
audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
5703
|
-
type: z.ZodLiteral<"audio">;
|
|
5704
|
-
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5705
|
-
kind: z.ZodLiteral<"url">;
|
|
5706
|
-
url: z.ZodString;
|
|
5707
|
-
}, "strict", z.ZodTypeAny, {
|
|
5708
|
-
url: string;
|
|
5709
|
-
kind: "url";
|
|
5710
|
-
}, {
|
|
5711
|
-
url: string;
|
|
5712
|
-
kind: "url";
|
|
5713
|
-
}>, z.ZodObject<{
|
|
5714
|
-
kind: z.ZodLiteral<"base64">;
|
|
5715
|
-
data: z.ZodString;
|
|
5716
|
-
}, "strict", z.ZodTypeAny, {
|
|
5717
|
-
kind: "base64";
|
|
5718
|
-
data: string;
|
|
5719
|
-
}, {
|
|
5720
|
-
kind: "base64";
|
|
5721
|
-
data: string;
|
|
5722
|
-
}>, z.ZodObject<{
|
|
5723
|
-
kind: z.ZodLiteral<"text">;
|
|
5724
|
-
text: z.ZodString;
|
|
5725
|
-
}, "strict", z.ZodTypeAny, {
|
|
5726
|
-
text: string;
|
|
5727
|
-
kind: "text";
|
|
5728
|
-
}, {
|
|
5729
|
-
text: string;
|
|
5730
|
-
kind: "text";
|
|
5731
|
-
}>, z.ZodObject<{
|
|
5732
|
-
kind: z.ZodLiteral<"path">;
|
|
5733
|
-
path: z.ZodString;
|
|
5734
|
-
}, "strict", z.ZodTypeAny, {
|
|
5735
|
-
path: string;
|
|
5736
|
-
kind: "path";
|
|
5737
|
-
}, {
|
|
5738
|
-
path: string;
|
|
5739
|
-
kind: "path";
|
|
5740
|
-
}>]>;
|
|
5741
|
-
}, "strict", z.ZodTypeAny, {
|
|
5742
|
-
type: "audio";
|
|
5743
|
-
source: {
|
|
5744
|
-
url: string;
|
|
5745
|
-
kind: "url";
|
|
5746
|
-
} | {
|
|
5747
|
-
kind: "base64";
|
|
5748
|
-
data: string;
|
|
5749
|
-
} | {
|
|
5750
|
-
text: string;
|
|
5751
|
-
kind: "text";
|
|
5752
|
-
} | {
|
|
5753
|
-
path: string;
|
|
5754
|
-
kind: "path";
|
|
5755
|
-
};
|
|
5756
|
-
}, {
|
|
5757
|
-
type: "audio";
|
|
5758
|
-
source: {
|
|
5759
|
-
url: string;
|
|
5760
|
-
kind: "url";
|
|
5761
|
-
} | {
|
|
5762
|
-
kind: "base64";
|
|
5763
|
-
data: string;
|
|
5764
|
-
} | {
|
|
5765
|
-
text: string;
|
|
5766
|
-
kind: "text";
|
|
5767
|
-
} | {
|
|
5768
|
-
path: string;
|
|
5769
|
-
kind: "path";
|
|
5770
|
-
};
|
|
5771
|
-
}>, z.ZodObject<{
|
|
5772
|
-
type: z.ZodLiteral<"midi">;
|
|
5773
|
-
source: z.ZodString;
|
|
5774
|
-
}, "strict", z.ZodTypeAny, {
|
|
5775
|
-
type: "midi";
|
|
5776
|
-
source: string;
|
|
5777
|
-
}, {
|
|
5778
|
-
type: "midi";
|
|
5779
|
-
source: string;
|
|
5780
|
-
}>]>>;
|
|
5781
|
-
duration: z.ZodOptional<z.ZodNumber>;
|
|
5782
|
-
imageParams: z.ZodOptional<z.ZodObject<{
|
|
5783
|
-
model: z.ZodOptional<z.ZodString>;
|
|
5784
|
-
size: z.ZodOptional<z.ZodString>;
|
|
5785
|
-
style: z.ZodOptional<z.ZodString>;
|
|
5786
|
-
moderation: z.ZodOptional<z.ZodString>;
|
|
5787
|
-
}, "strict", z.ZodTypeAny, {
|
|
5788
|
-
model?: string | undefined;
|
|
5789
|
-
size?: string | undefined;
|
|
5790
|
-
style?: string | undefined;
|
|
5791
|
-
moderation?: string | undefined;
|
|
5792
|
-
}, {
|
|
5793
|
-
model?: string | undefined;
|
|
5794
|
-
size?: string | undefined;
|
|
5795
|
-
style?: string | undefined;
|
|
5796
|
-
moderation?: string | undefined;
|
|
5797
|
-
}>>;
|
|
5798
|
-
speechOptions: z.ZodOptional<z.ZodObject<{
|
|
5799
|
-
speed: z.ZodOptional<z.ZodNumber>;
|
|
5800
|
-
instruction: z.ZodOptional<z.ZodString>;
|
|
5801
|
-
}, "strict", z.ZodTypeAny, {
|
|
5802
|
-
speed?: number | undefined;
|
|
5803
|
-
instruction?: string | undefined;
|
|
5804
|
-
}, {
|
|
5805
|
-
speed?: number | undefined;
|
|
5806
|
-
instruction?: string | undefined;
|
|
5807
|
-
}>>;
|
|
5808
|
-
textSlideParams: z.ZodOptional<z.ZodObject<{
|
|
5809
|
-
cssStyles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
5810
|
-
}, "strict", z.ZodTypeAny, {
|
|
5811
|
-
cssStyles: string | string[];
|
|
5812
|
-
}, {
|
|
5813
|
-
cssStyles: string | string[];
|
|
5814
|
-
}>>;
|
|
5815
|
-
imagePrompt: z.ZodOptional<z.ZodString>;
|
|
5816
|
-
}, "strict", z.ZodTypeAny, {
|
|
5817
|
-
text: string;
|
|
5818
|
-
speaker: string;
|
|
5819
|
-
duration?: number | undefined;
|
|
5820
|
-
speechOptions?: {
|
|
5821
|
-
speed?: number | undefined;
|
|
5822
|
-
instruction?: string | undefined;
|
|
5823
|
-
} | undefined;
|
|
5824
|
-
image?: {
|
|
5825
|
-
type: "markdown";
|
|
5826
|
-
markdown: string | string[];
|
|
5827
|
-
} | {
|
|
5828
|
-
type: "web";
|
|
5829
|
-
url: string;
|
|
5830
|
-
} | {
|
|
5831
|
-
type: "pdf";
|
|
5832
|
-
source: {
|
|
5833
|
-
url: string;
|
|
5834
|
-
kind: "url";
|
|
5835
|
-
} | {
|
|
5836
|
-
kind: "base64";
|
|
5837
|
-
data: string;
|
|
5838
|
-
} | {
|
|
5839
|
-
text: string;
|
|
5840
|
-
kind: "text";
|
|
5841
|
-
} | {
|
|
5842
|
-
path: string;
|
|
5843
|
-
kind: "path";
|
|
5844
|
-
};
|
|
5845
|
-
} | {
|
|
5846
|
-
type: "image";
|
|
5847
|
-
source: {
|
|
5848
|
-
url: string;
|
|
5849
|
-
kind: "url";
|
|
5850
|
-
} | {
|
|
5851
|
-
kind: "base64";
|
|
5852
|
-
data: string;
|
|
5853
|
-
} | {
|
|
5854
|
-
text: string;
|
|
5855
|
-
kind: "text";
|
|
5856
|
-
} | {
|
|
5857
|
-
path: string;
|
|
5858
|
-
kind: "path";
|
|
5859
|
-
};
|
|
5860
|
-
} | {
|
|
5861
|
-
type: "svg";
|
|
5862
|
-
source: {
|
|
5863
|
-
url: string;
|
|
5864
|
-
kind: "url";
|
|
5865
|
-
} | {
|
|
5866
|
-
kind: "base64";
|
|
5867
|
-
data: string;
|
|
5868
|
-
} | {
|
|
5869
|
-
text: string;
|
|
5870
|
-
kind: "text";
|
|
5871
|
-
} | {
|
|
5872
|
-
path: string;
|
|
5873
|
-
kind: "path";
|
|
5874
|
-
};
|
|
5875
|
-
} | {
|
|
5876
|
-
type: "movie";
|
|
5877
|
-
source: {
|
|
5878
|
-
url: string;
|
|
5879
|
-
kind: "url";
|
|
5880
|
-
} | {
|
|
5881
|
-
kind: "base64";
|
|
5882
|
-
data: string;
|
|
5883
|
-
} | {
|
|
5884
|
-
text: string;
|
|
5885
|
-
kind: "text";
|
|
5886
|
-
} | {
|
|
5887
|
-
path: string;
|
|
5888
|
-
kind: "path";
|
|
5889
|
-
};
|
|
5890
|
-
} | {
|
|
5891
|
-
type: "textSlide";
|
|
5892
|
-
slide: {
|
|
5893
|
-
title: string;
|
|
5894
|
-
subtitle?: string | undefined;
|
|
5895
|
-
bullets?: string[] | undefined;
|
|
5896
|
-
};
|
|
5897
|
-
} | {
|
|
5898
|
-
type: "chart";
|
|
5899
|
-
title: string;
|
|
5900
|
-
chartData: Record<string, any>;
|
|
5901
|
-
} | {
|
|
5902
|
-
code: {
|
|
5903
|
-
url: string;
|
|
5904
|
-
kind: "url";
|
|
5905
|
-
} | {
|
|
5906
|
-
kind: "base64";
|
|
5907
|
-
data: string;
|
|
5908
|
-
} | {
|
|
5909
|
-
text: string;
|
|
5910
|
-
kind: "text";
|
|
5911
|
-
} | {
|
|
5912
|
-
path: string;
|
|
5913
|
-
kind: "path";
|
|
5914
|
-
};
|
|
5915
|
-
type: "mermaid";
|
|
5916
|
-
title: string;
|
|
5917
|
-
appendix?: string[] | undefined;
|
|
5918
|
-
} | {
|
|
5919
|
-
type: "html_tailwind";
|
|
5920
|
-
html: string | string[];
|
|
5921
|
-
} | undefined;
|
|
5922
|
-
audio?: {
|
|
5923
|
-
type: "audio";
|
|
5924
|
-
source: {
|
|
5925
|
-
url: string;
|
|
5926
|
-
kind: "url";
|
|
5927
|
-
} | {
|
|
5928
|
-
kind: "base64";
|
|
5929
|
-
data: string;
|
|
5930
|
-
} | {
|
|
5931
|
-
text: string;
|
|
5932
|
-
kind: "text";
|
|
5933
|
-
} | {
|
|
5934
|
-
path: string;
|
|
5935
|
-
kind: "path";
|
|
5936
|
-
};
|
|
5937
|
-
} | {
|
|
5938
|
-
type: "midi";
|
|
5939
|
-
source: string;
|
|
5940
|
-
} | undefined;
|
|
5941
|
-
imageParams?: {
|
|
5942
|
-
model?: string | undefined;
|
|
5943
|
-
size?: string | undefined;
|
|
5944
|
-
style?: string | undefined;
|
|
5945
|
-
moderation?: string | undefined;
|
|
5946
|
-
} | undefined;
|
|
5947
|
-
textSlideParams?: {
|
|
5948
|
-
cssStyles: string | string[];
|
|
5949
|
-
} | undefined;
|
|
5950
|
-
imagePrompt?: string | undefined;
|
|
5951
|
-
}, {
|
|
5952
|
-
text: string;
|
|
5953
|
-
duration?: number | undefined;
|
|
5954
|
-
speechOptions?: {
|
|
5955
|
-
speed?: number | undefined;
|
|
5956
|
-
instruction?: string | undefined;
|
|
5957
|
-
} | undefined;
|
|
5958
|
-
image?: {
|
|
5959
|
-
type: "markdown";
|
|
5960
|
-
markdown: string | string[];
|
|
5961
|
-
} | {
|
|
5962
|
-
type: "web";
|
|
5963
|
-
url: string;
|
|
5964
|
-
} | {
|
|
5965
|
-
type: "pdf";
|
|
5966
|
-
source: {
|
|
5967
|
-
url: string;
|
|
5968
|
-
kind: "url";
|
|
5969
|
-
} | {
|
|
5970
|
-
kind: "base64";
|
|
5971
|
-
data: string;
|
|
5972
|
-
} | {
|
|
5973
|
-
text: string;
|
|
5974
|
-
kind: "text";
|
|
5975
|
-
} | {
|
|
5976
|
-
path: string;
|
|
5977
|
-
kind: "path";
|
|
5978
|
-
};
|
|
5979
|
-
} | {
|
|
5980
|
-
type: "image";
|
|
5981
|
-
source: {
|
|
5982
|
-
url: string;
|
|
5983
|
-
kind: "url";
|
|
5984
|
-
} | {
|
|
5985
|
-
kind: "base64";
|
|
5986
|
-
data: string;
|
|
5987
|
-
} | {
|
|
5988
|
-
text: string;
|
|
5989
|
-
kind: "text";
|
|
5990
|
-
} | {
|
|
5991
|
-
path: string;
|
|
5992
|
-
kind: "path";
|
|
5993
|
-
};
|
|
5994
|
-
} | {
|
|
5995
|
-
type: "svg";
|
|
5996
|
-
source: {
|
|
5997
|
-
url: string;
|
|
5998
|
-
kind: "url";
|
|
5999
|
-
} | {
|
|
6000
|
-
kind: "base64";
|
|
6001
|
-
data: string;
|
|
6002
|
-
} | {
|
|
6003
|
-
text: string;
|
|
6004
|
-
kind: "text";
|
|
6005
|
-
} | {
|
|
6006
|
-
path: string;
|
|
6007
|
-
kind: "path";
|
|
6008
|
-
};
|
|
6009
|
-
} | {
|
|
6010
|
-
type: "movie";
|
|
6011
|
-
source: {
|
|
6012
|
-
url: string;
|
|
6013
|
-
kind: "url";
|
|
6014
|
-
} | {
|
|
6015
|
-
kind: "base64";
|
|
6016
|
-
data: string;
|
|
6017
|
-
} | {
|
|
6018
|
-
text: string;
|
|
6019
|
-
kind: "text";
|
|
6020
|
-
} | {
|
|
6021
|
-
path: string;
|
|
6022
|
-
kind: "path";
|
|
6023
|
-
};
|
|
6024
|
-
} | {
|
|
6025
|
-
type: "textSlide";
|
|
6026
|
-
slide: {
|
|
6027
|
-
title: string;
|
|
6028
|
-
subtitle?: string | undefined;
|
|
6029
|
-
bullets?: string[] | undefined;
|
|
6030
|
-
};
|
|
6031
|
-
} | {
|
|
6032
|
-
type: "chart";
|
|
6033
|
-
title: string;
|
|
6034
|
-
chartData: Record<string, any>;
|
|
6035
|
-
} | {
|
|
6036
|
-
code: {
|
|
6037
|
-
url: string;
|
|
6038
|
-
kind: "url";
|
|
6039
|
-
} | {
|
|
6040
|
-
kind: "base64";
|
|
6041
|
-
data: string;
|
|
6042
|
-
} | {
|
|
6043
|
-
text: string;
|
|
6044
|
-
kind: "text";
|
|
6045
|
-
} | {
|
|
6046
|
-
path: string;
|
|
6047
|
-
kind: "path";
|
|
6048
|
-
};
|
|
6049
|
-
type: "mermaid";
|
|
6050
|
-
title: string;
|
|
6051
|
-
appendix?: string[] | undefined;
|
|
6052
|
-
} | {
|
|
6053
|
-
type: "html_tailwind";
|
|
6054
|
-
html: string | string[];
|
|
6055
|
-
} | undefined;
|
|
6056
|
-
audio?: {
|
|
6057
|
-
type: "audio";
|
|
6058
|
-
source: {
|
|
6059
|
-
url: string;
|
|
6060
|
-
kind: "url";
|
|
6061
|
-
} | {
|
|
6062
|
-
kind: "base64";
|
|
6063
|
-
data: string;
|
|
6064
|
-
} | {
|
|
6065
|
-
text: string;
|
|
6066
|
-
kind: "text";
|
|
6067
|
-
} | {
|
|
6068
|
-
path: string;
|
|
6069
|
-
kind: "path";
|
|
6070
|
-
};
|
|
6071
|
-
} | {
|
|
6072
|
-
type: "midi";
|
|
6073
|
-
source: string;
|
|
6074
|
-
} | undefined;
|
|
6075
|
-
speaker?: string | undefined;
|
|
6076
|
-
imageParams?: {
|
|
6077
|
-
model?: string | undefined;
|
|
6078
|
-
size?: string | undefined;
|
|
6079
|
-
style?: string | undefined;
|
|
6080
|
-
moderation?: string | undefined;
|
|
6081
|
-
} | undefined;
|
|
6082
|
-
textSlideParams?: {
|
|
6083
|
-
cssStyles: string | string[];
|
|
6084
|
-
} | undefined;
|
|
6085
|
-
imagePrompt?: string | undefined;
|
|
6086
|
-
}>, "many">;
|
|
6087
|
-
imagePath: z.ZodOptional<z.ZodString>;
|
|
6088
|
-
__test_invalid__: z.ZodOptional<z.ZodBoolean>;
|
|
6089
|
-
}, "strict", z.ZodTypeAny, {
|
|
6090
|
-
$mulmocast: {
|
|
6091
|
-
version: "1.0";
|
|
6092
|
-
credit?: "closing" | undefined;
|
|
6093
|
-
};
|
|
6094
|
-
canvasSize: {
|
|
6095
|
-
width: number;
|
|
6096
|
-
height: number;
|
|
6097
|
-
};
|
|
6098
|
-
speechParams: {
|
|
6099
|
-
provider: "openai" | "nijivoice" | "google";
|
|
6100
|
-
speakers: Record<string, {
|
|
6101
|
-
voiceId: string;
|
|
6102
|
-
displayName?: Record<string, string> | undefined;
|
|
6103
|
-
speechOptions?: {
|
|
6104
|
-
speed?: number | undefined;
|
|
6105
|
-
instruction?: string | undefined;
|
|
6106
|
-
} | undefined;
|
|
6107
|
-
}>;
|
|
6108
|
-
};
|
|
6109
|
-
audioParams: {
|
|
6110
|
-
introPadding: number;
|
|
6111
|
-
padding: number;
|
|
6112
|
-
closingPadding: number;
|
|
6113
|
-
outroPadding: number;
|
|
6114
|
-
};
|
|
6115
|
-
beats: {
|
|
6116
|
-
text: string;
|
|
6117
|
-
speaker: string;
|
|
6118
|
-
duration?: number | undefined;
|
|
6119
|
-
speechOptions?: {
|
|
6120
|
-
speed?: number | undefined;
|
|
6121
|
-
instruction?: string | undefined;
|
|
6122
|
-
} | undefined;
|
|
6123
|
-
image?: {
|
|
6124
|
-
type: "markdown";
|
|
6125
|
-
markdown: string | string[];
|
|
6126
|
-
} | {
|
|
6127
|
-
type: "web";
|
|
6128
|
-
url: string;
|
|
6129
|
-
} | {
|
|
6130
|
-
type: "pdf";
|
|
6131
|
-
source: {
|
|
6132
|
-
url: string;
|
|
6133
|
-
kind: "url";
|
|
6134
|
-
} | {
|
|
6135
|
-
kind: "base64";
|
|
6136
|
-
data: string;
|
|
6137
|
-
} | {
|
|
6138
|
-
text: string;
|
|
6139
|
-
kind: "text";
|
|
6140
|
-
} | {
|
|
6141
|
-
path: string;
|
|
6142
|
-
kind: "path";
|
|
6143
|
-
};
|
|
6144
|
-
} | {
|
|
6145
|
-
type: "image";
|
|
6146
|
-
source: {
|
|
6147
|
-
url: string;
|
|
6148
|
-
kind: "url";
|
|
6149
|
-
} | {
|
|
6150
|
-
kind: "base64";
|
|
6151
|
-
data: string;
|
|
6152
|
-
} | {
|
|
6153
|
-
text: string;
|
|
6154
|
-
kind: "text";
|
|
6155
|
-
} | {
|
|
6156
|
-
path: string;
|
|
6157
|
-
kind: "path";
|
|
6158
|
-
};
|
|
6159
|
-
} | {
|
|
6160
|
-
type: "svg";
|
|
6161
|
-
source: {
|
|
6162
|
-
url: string;
|
|
6163
|
-
kind: "url";
|
|
6164
|
-
} | {
|
|
6165
|
-
kind: "base64";
|
|
6166
|
-
data: string;
|
|
6167
|
-
} | {
|
|
6168
|
-
text: string;
|
|
6169
|
-
kind: "text";
|
|
6170
|
-
} | {
|
|
6171
|
-
path: string;
|
|
6172
|
-
kind: "path";
|
|
6173
|
-
};
|
|
6174
|
-
} | {
|
|
6175
|
-
type: "movie";
|
|
6176
|
-
source: {
|
|
6177
|
-
url: string;
|
|
6178
|
-
kind: "url";
|
|
6179
|
-
} | {
|
|
6180
|
-
kind: "base64";
|
|
6181
|
-
data: string;
|
|
6182
|
-
} | {
|
|
6183
|
-
text: string;
|
|
6184
|
-
kind: "text";
|
|
6185
|
-
} | {
|
|
6186
|
-
path: string;
|
|
6187
|
-
kind: "path";
|
|
6188
|
-
};
|
|
6189
|
-
} | {
|
|
6190
|
-
type: "textSlide";
|
|
6191
|
-
slide: {
|
|
6192
|
-
title: string;
|
|
6193
|
-
subtitle?: string | undefined;
|
|
6194
|
-
bullets?: string[] | undefined;
|
|
6195
|
-
};
|
|
6196
|
-
} | {
|
|
6197
|
-
type: "chart";
|
|
6198
|
-
title: string;
|
|
6199
|
-
chartData: Record<string, any>;
|
|
6200
|
-
} | {
|
|
6201
|
-
code: {
|
|
6202
|
-
url: string;
|
|
6203
|
-
kind: "url";
|
|
6204
|
-
} | {
|
|
6205
|
-
kind: "base64";
|
|
6206
|
-
data: string;
|
|
6207
|
-
} | {
|
|
6208
|
-
text: string;
|
|
6209
|
-
kind: "text";
|
|
6210
|
-
} | {
|
|
6211
|
-
path: string;
|
|
6212
|
-
kind: "path";
|
|
6213
|
-
};
|
|
6214
|
-
type: "mermaid";
|
|
6215
|
-
title: string;
|
|
6216
|
-
appendix?: string[] | undefined;
|
|
6217
|
-
} | {
|
|
6218
|
-
type: "html_tailwind";
|
|
6219
|
-
html: string | string[];
|
|
6220
|
-
} | undefined;
|
|
6221
|
-
audio?: {
|
|
6222
|
-
type: "audio";
|
|
6223
|
-
source: {
|
|
6224
|
-
url: string;
|
|
6225
|
-
kind: "url";
|
|
6226
|
-
} | {
|
|
6227
|
-
kind: "base64";
|
|
6228
|
-
data: string;
|
|
6229
|
-
} | {
|
|
6230
|
-
text: string;
|
|
6231
|
-
kind: "text";
|
|
6232
|
-
} | {
|
|
6233
|
-
path: string;
|
|
6234
|
-
kind: "path";
|
|
6235
|
-
};
|
|
6236
|
-
} | {
|
|
6237
|
-
type: "midi";
|
|
6238
|
-
source: string;
|
|
6239
|
-
} | undefined;
|
|
6240
|
-
imageParams?: {
|
|
6241
|
-
model?: string | undefined;
|
|
6242
|
-
size?: string | undefined;
|
|
6243
|
-
style?: string | undefined;
|
|
6244
|
-
moderation?: string | undefined;
|
|
6245
|
-
} | undefined;
|
|
6246
|
-
textSlideParams?: {
|
|
6247
|
-
cssStyles: string | string[];
|
|
6248
|
-
} | undefined;
|
|
6249
|
-
imagePrompt?: string | undefined;
|
|
6250
|
-
}[];
|
|
6251
|
-
lang?: string | undefined;
|
|
6252
|
-
title?: string | undefined;
|
|
6253
|
-
imageParams?: {
|
|
6254
|
-
provider: "openai" | "google";
|
|
6255
|
-
model?: string | undefined;
|
|
6256
|
-
size?: string | undefined;
|
|
6257
|
-
style?: string | undefined;
|
|
6258
|
-
moderation?: string | undefined;
|
|
6259
|
-
} | undefined;
|
|
6260
|
-
textSlideParams?: {
|
|
6261
|
-
cssStyles: string | string[];
|
|
6262
|
-
} | undefined;
|
|
6263
|
-
omitCaptions?: boolean | undefined;
|
|
6264
|
-
description?: string | undefined;
|
|
6265
|
-
references?: {
|
|
6266
|
-
type: "image" | "audio" | "article" | "video";
|
|
6267
|
-
url: string;
|
|
6268
|
-
title?: string | undefined;
|
|
6269
|
-
description?: string | undefined;
|
|
6270
|
-
}[] | undefined;
|
|
6271
|
-
imagePath?: string | undefined;
|
|
6272
|
-
__test_invalid__?: boolean | undefined;
|
|
6273
|
-
}, {
|
|
6274
|
-
$mulmocast: {
|
|
6275
|
-
version: "1.0";
|
|
6276
|
-
credit?: "closing" | undefined;
|
|
6277
|
-
};
|
|
6278
|
-
beats: {
|
|
6279
|
-
text: string;
|
|
6280
|
-
duration?: number | undefined;
|
|
6281
|
-
speechOptions?: {
|
|
6282
|
-
speed?: number | undefined;
|
|
6283
|
-
instruction?: string | undefined;
|
|
6284
|
-
} | undefined;
|
|
6285
|
-
image?: {
|
|
6286
|
-
type: "markdown";
|
|
6287
|
-
markdown: string | string[];
|
|
6288
|
-
} | {
|
|
6289
|
-
type: "web";
|
|
6290
|
-
url: string;
|
|
6291
|
-
} | {
|
|
6292
|
-
type: "pdf";
|
|
6293
|
-
source: {
|
|
6294
|
-
url: string;
|
|
6295
|
-
kind: "url";
|
|
6296
|
-
} | {
|
|
6297
|
-
kind: "base64";
|
|
6298
|
-
data: string;
|
|
6299
|
-
} | {
|
|
6300
|
-
text: string;
|
|
6301
|
-
kind: "text";
|
|
6302
|
-
} | {
|
|
6303
|
-
path: string;
|
|
6304
|
-
kind: "path";
|
|
6305
|
-
};
|
|
6306
|
-
} | {
|
|
6307
|
-
type: "image";
|
|
6308
|
-
source: {
|
|
6309
|
-
url: string;
|
|
6310
|
-
kind: "url";
|
|
6311
|
-
} | {
|
|
6312
|
-
kind: "base64";
|
|
6313
|
-
data: string;
|
|
6314
|
-
} | {
|
|
6315
|
-
text: string;
|
|
6316
|
-
kind: "text";
|
|
6317
|
-
} | {
|
|
6318
|
-
path: string;
|
|
6319
|
-
kind: "path";
|
|
6320
|
-
};
|
|
6321
|
-
} | {
|
|
6322
|
-
type: "svg";
|
|
6323
|
-
source: {
|
|
6324
|
-
url: string;
|
|
6325
|
-
kind: "url";
|
|
6326
|
-
} | {
|
|
6327
|
-
kind: "base64";
|
|
6328
|
-
data: string;
|
|
6329
|
-
} | {
|
|
6330
|
-
text: string;
|
|
6331
|
-
kind: "text";
|
|
6332
|
-
} | {
|
|
6333
|
-
path: string;
|
|
6334
|
-
kind: "path";
|
|
6335
|
-
};
|
|
6336
|
-
} | {
|
|
6337
|
-
type: "movie";
|
|
6338
|
-
source: {
|
|
6339
|
-
url: string;
|
|
6340
|
-
kind: "url";
|
|
6341
|
-
} | {
|
|
6342
|
-
kind: "base64";
|
|
6343
|
-
data: string;
|
|
6344
|
-
} | {
|
|
6345
|
-
text: string;
|
|
6346
|
-
kind: "text";
|
|
6347
|
-
} | {
|
|
6348
|
-
path: string;
|
|
6349
|
-
kind: "path";
|
|
6350
|
-
};
|
|
6351
|
-
} | {
|
|
6352
|
-
type: "textSlide";
|
|
6353
|
-
slide: {
|
|
6354
|
-
title: string;
|
|
6355
|
-
subtitle?: string | undefined;
|
|
6356
|
-
bullets?: string[] | undefined;
|
|
6357
|
-
};
|
|
6358
|
-
} | {
|
|
6359
|
-
type: "chart";
|
|
6360
|
-
title: string;
|
|
6361
|
-
chartData: Record<string, any>;
|
|
6362
|
-
} | {
|
|
6363
|
-
code: {
|
|
6364
|
-
url: string;
|
|
6365
|
-
kind: "url";
|
|
6366
|
-
} | {
|
|
6367
|
-
kind: "base64";
|
|
6368
|
-
data: string;
|
|
6369
|
-
} | {
|
|
6370
|
-
text: string;
|
|
6371
|
-
kind: "text";
|
|
6372
|
-
} | {
|
|
6373
|
-
path: string;
|
|
6374
|
-
kind: "path";
|
|
6375
|
-
};
|
|
6376
|
-
type: "mermaid";
|
|
6377
|
-
title: string;
|
|
6378
|
-
appendix?: string[] | undefined;
|
|
6379
|
-
} | {
|
|
6380
|
-
type: "html_tailwind";
|
|
6381
|
-
html: string | string[];
|
|
6382
|
-
} | undefined;
|
|
6383
|
-
audio?: {
|
|
6384
|
-
type: "audio";
|
|
6385
|
-
source: {
|
|
6386
|
-
url: string;
|
|
6387
|
-
kind: "url";
|
|
6388
|
-
} | {
|
|
6389
|
-
kind: "base64";
|
|
6390
|
-
data: string;
|
|
6391
|
-
} | {
|
|
6392
|
-
text: string;
|
|
6393
|
-
kind: "text";
|
|
6394
|
-
} | {
|
|
6395
|
-
path: string;
|
|
6396
|
-
kind: "path";
|
|
6397
|
-
};
|
|
6398
|
-
} | {
|
|
6399
|
-
type: "midi";
|
|
6400
|
-
source: string;
|
|
6401
|
-
} | undefined;
|
|
6402
|
-
speaker?: string | undefined;
|
|
6403
|
-
imageParams?: {
|
|
6404
|
-
model?: string | undefined;
|
|
6405
|
-
size?: string | undefined;
|
|
6406
|
-
style?: string | undefined;
|
|
6407
|
-
moderation?: string | undefined;
|
|
6408
|
-
} | undefined;
|
|
6409
|
-
textSlideParams?: {
|
|
6410
|
-
cssStyles: string | string[];
|
|
6411
|
-
} | undefined;
|
|
6412
|
-
imagePrompt?: string | undefined;
|
|
6413
|
-
}[];
|
|
6414
|
-
lang?: string | undefined;
|
|
6415
|
-
title?: string | undefined;
|
|
6416
|
-
imageParams?: {
|
|
6417
|
-
model?: string | undefined;
|
|
6418
|
-
size?: string | undefined;
|
|
6419
|
-
style?: string | undefined;
|
|
6420
|
-
moderation?: string | undefined;
|
|
6421
|
-
provider?: "openai" | "google" | undefined;
|
|
6422
|
-
} | undefined;
|
|
6423
|
-
textSlideParams?: {
|
|
6424
|
-
cssStyles: string | string[];
|
|
6425
|
-
} | undefined;
|
|
6426
|
-
canvasSize?: {
|
|
6427
|
-
width: number;
|
|
6428
|
-
height: number;
|
|
6429
|
-
} | undefined;
|
|
6430
|
-
speechParams?: {
|
|
6431
|
-
speakers: Record<string, {
|
|
6432
|
-
voiceId: string;
|
|
6433
|
-
displayName?: Record<string, string> | undefined;
|
|
6434
|
-
speechOptions?: {
|
|
6435
|
-
speed?: number | undefined;
|
|
6436
|
-
instruction?: string | undefined;
|
|
6437
|
-
} | undefined;
|
|
6438
|
-
}>;
|
|
6439
|
-
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6440
|
-
} | undefined;
|
|
6441
|
-
audioParams?: {
|
|
6442
|
-
introPadding: number;
|
|
6443
|
-
padding: number;
|
|
6444
|
-
closingPadding: number;
|
|
6445
|
-
outroPadding: number;
|
|
6446
|
-
} | undefined;
|
|
6447
|
-
omitCaptions?: boolean | undefined;
|
|
6448
|
-
description?: string | undefined;
|
|
6449
|
-
references?: {
|
|
6450
|
-
url: string;
|
|
6451
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6452
|
-
title?: string | undefined;
|
|
6453
|
-
description?: string | undefined;
|
|
6454
|
-
}[] | undefined;
|
|
6455
|
-
imagePath?: string | undefined;
|
|
6456
|
-
__test_invalid__?: boolean | undefined;
|
|
6457
|
-
}>>;
|
|
6458
|
-
}, "strict", z.ZodTypeAny, {
|
|
6459
|
-
title: string;
|
|
6460
|
-
description: string;
|
|
6461
|
-
systemPrompt: string;
|
|
6462
|
-
script?: {
|
|
6463
|
-
$mulmocast: {
|
|
6464
|
-
version: "1.0";
|
|
6465
|
-
credit?: "closing" | undefined;
|
|
6466
|
-
};
|
|
6467
|
-
canvasSize: {
|
|
6468
|
-
width: number;
|
|
6469
|
-
height: number;
|
|
6470
|
-
};
|
|
6471
|
-
speechParams: {
|
|
6472
|
-
provider: "openai" | "nijivoice" | "google";
|
|
6473
|
-
speakers: Record<string, {
|
|
6474
|
-
voiceId: string;
|
|
6475
|
-
displayName?: Record<string, string> | undefined;
|
|
6476
|
-
speechOptions?: {
|
|
6477
|
-
speed?: number | undefined;
|
|
6478
|
-
instruction?: string | undefined;
|
|
6479
|
-
} | undefined;
|
|
6480
|
-
}>;
|
|
6481
|
-
};
|
|
6482
|
-
audioParams: {
|
|
6483
|
-
introPadding: number;
|
|
6484
|
-
padding: number;
|
|
6485
|
-
closingPadding: number;
|
|
6486
|
-
outroPadding: number;
|
|
6487
|
-
};
|
|
6488
|
-
beats: {
|
|
6489
|
-
text: string;
|
|
6490
|
-
speaker: string;
|
|
6491
|
-
duration?: number | undefined;
|
|
6492
|
-
speechOptions?: {
|
|
6493
|
-
speed?: number | undefined;
|
|
6494
|
-
instruction?: string | undefined;
|
|
6495
|
-
} | undefined;
|
|
6496
|
-
image?: {
|
|
6497
|
-
type: "markdown";
|
|
6498
|
-
markdown: string | string[];
|
|
6499
|
-
} | {
|
|
6500
|
-
type: "web";
|
|
6501
|
-
url: string;
|
|
6502
|
-
} | {
|
|
6503
|
-
type: "pdf";
|
|
6504
|
-
source: {
|
|
6505
|
-
url: string;
|
|
6506
|
-
kind: "url";
|
|
6507
|
-
} | {
|
|
6508
|
-
kind: "base64";
|
|
6509
|
-
data: string;
|
|
6510
|
-
} | {
|
|
6511
|
-
text: string;
|
|
6512
|
-
kind: "text";
|
|
6513
|
-
} | {
|
|
6514
|
-
path: string;
|
|
6515
|
-
kind: "path";
|
|
6516
|
-
};
|
|
6517
|
-
} | {
|
|
6518
|
-
type: "image";
|
|
6519
|
-
source: {
|
|
6520
|
-
url: string;
|
|
6521
|
-
kind: "url";
|
|
6522
|
-
} | {
|
|
6523
|
-
kind: "base64";
|
|
6524
|
-
data: string;
|
|
6525
|
-
} | {
|
|
6526
|
-
text: string;
|
|
6527
|
-
kind: "text";
|
|
6528
|
-
} | {
|
|
6529
|
-
path: string;
|
|
6530
|
-
kind: "path";
|
|
6531
|
-
};
|
|
6532
|
-
} | {
|
|
6533
|
-
type: "svg";
|
|
6534
|
-
source: {
|
|
6535
|
-
url: string;
|
|
6536
|
-
kind: "url";
|
|
6537
|
-
} | {
|
|
6538
|
-
kind: "base64";
|
|
6539
|
-
data: string;
|
|
6540
|
-
} | {
|
|
6541
|
-
text: string;
|
|
6542
|
-
kind: "text";
|
|
6543
|
-
} | {
|
|
6544
|
-
path: string;
|
|
6545
|
-
kind: "path";
|
|
6546
|
-
};
|
|
6547
|
-
} | {
|
|
6548
|
-
type: "movie";
|
|
6549
|
-
source: {
|
|
6550
|
-
url: string;
|
|
6551
|
-
kind: "url";
|
|
6552
|
-
} | {
|
|
6553
|
-
kind: "base64";
|
|
6554
|
-
data: string;
|
|
6555
|
-
} | {
|
|
6556
|
-
text: string;
|
|
6557
|
-
kind: "text";
|
|
6558
|
-
} | {
|
|
6559
|
-
path: string;
|
|
6560
|
-
kind: "path";
|
|
6561
|
-
};
|
|
6562
|
-
} | {
|
|
6563
|
-
type: "textSlide";
|
|
6564
|
-
slide: {
|
|
6565
|
-
title: string;
|
|
6566
|
-
subtitle?: string | undefined;
|
|
6567
|
-
bullets?: string[] | undefined;
|
|
6568
|
-
};
|
|
6569
|
-
} | {
|
|
6570
|
-
type: "chart";
|
|
6571
|
-
title: string;
|
|
6572
|
-
chartData: Record<string, any>;
|
|
6573
|
-
} | {
|
|
6574
|
-
code: {
|
|
6575
|
-
url: string;
|
|
6576
|
-
kind: "url";
|
|
6577
|
-
} | {
|
|
6578
|
-
kind: "base64";
|
|
6579
|
-
data: string;
|
|
6580
|
-
} | {
|
|
6581
|
-
text: string;
|
|
6582
|
-
kind: "text";
|
|
6583
|
-
} | {
|
|
6584
|
-
path: string;
|
|
6585
|
-
kind: "path";
|
|
6586
|
-
};
|
|
6587
|
-
type: "mermaid";
|
|
6588
|
-
title: string;
|
|
6589
|
-
appendix?: string[] | undefined;
|
|
6590
|
-
} | {
|
|
6591
|
-
type: "html_tailwind";
|
|
6592
|
-
html: string | string[];
|
|
6593
|
-
} | undefined;
|
|
6594
|
-
audio?: {
|
|
6595
|
-
type: "audio";
|
|
6596
|
-
source: {
|
|
6597
|
-
url: string;
|
|
6598
|
-
kind: "url";
|
|
6599
|
-
} | {
|
|
6600
|
-
kind: "base64";
|
|
6601
|
-
data: string;
|
|
6602
|
-
} | {
|
|
6603
|
-
text: string;
|
|
6604
|
-
kind: "text";
|
|
6605
|
-
} | {
|
|
6606
|
-
path: string;
|
|
6607
|
-
kind: "path";
|
|
6608
|
-
};
|
|
6609
|
-
} | {
|
|
6610
|
-
type: "midi";
|
|
6611
|
-
source: string;
|
|
6612
|
-
} | undefined;
|
|
6613
|
-
imageParams?: {
|
|
6614
|
-
model?: string | undefined;
|
|
6615
|
-
size?: string | undefined;
|
|
6616
|
-
style?: string | undefined;
|
|
6617
|
-
moderation?: string | undefined;
|
|
6618
|
-
} | undefined;
|
|
6619
|
-
textSlideParams?: {
|
|
6620
|
-
cssStyles: string | string[];
|
|
6621
|
-
} | undefined;
|
|
6622
|
-
imagePrompt?: string | undefined;
|
|
6623
|
-
}[];
|
|
6624
|
-
lang?: string | undefined;
|
|
6625
|
-
title?: string | undefined;
|
|
6626
|
-
imageParams?: {
|
|
6627
|
-
provider: "openai" | "google";
|
|
6628
|
-
model?: string | undefined;
|
|
6629
|
-
size?: string | undefined;
|
|
6630
|
-
style?: string | undefined;
|
|
6631
|
-
moderation?: string | undefined;
|
|
6632
|
-
} | undefined;
|
|
6633
|
-
textSlideParams?: {
|
|
6634
|
-
cssStyles: string | string[];
|
|
6635
|
-
} | undefined;
|
|
6636
|
-
omitCaptions?: boolean | undefined;
|
|
6637
|
-
description?: string | undefined;
|
|
6638
|
-
references?: {
|
|
6639
|
-
type: "image" | "audio" | "article" | "video";
|
|
6640
|
-
url: string;
|
|
6641
|
-
title?: string | undefined;
|
|
6642
|
-
description?: string | undefined;
|
|
6643
|
-
}[] | undefined;
|
|
6644
|
-
imagePath?: string | undefined;
|
|
6645
|
-
__test_invalid__?: boolean | undefined;
|
|
6646
|
-
} | undefined;
|
|
5379
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
5380
|
+
}, "strict", z.ZodTypeAny, {
|
|
5381
|
+
title: string;
|
|
5382
|
+
description: string;
|
|
5383
|
+
systemPrompt: string;
|
|
5384
|
+
scriptName?: string | undefined;
|
|
6647
5385
|
}, {
|
|
6648
5386
|
title: string;
|
|
6649
5387
|
description: string;
|
|
6650
5388
|
systemPrompt: string;
|
|
6651
|
-
|
|
6652
|
-
$mulmocast: {
|
|
6653
|
-
version: "1.0";
|
|
6654
|
-
credit?: "closing" | undefined;
|
|
6655
|
-
};
|
|
6656
|
-
beats: {
|
|
6657
|
-
text: string;
|
|
6658
|
-
duration?: number | undefined;
|
|
6659
|
-
speechOptions?: {
|
|
6660
|
-
speed?: number | undefined;
|
|
6661
|
-
instruction?: string | undefined;
|
|
6662
|
-
} | undefined;
|
|
6663
|
-
image?: {
|
|
6664
|
-
type: "markdown";
|
|
6665
|
-
markdown: string | string[];
|
|
6666
|
-
} | {
|
|
6667
|
-
type: "web";
|
|
6668
|
-
url: string;
|
|
6669
|
-
} | {
|
|
6670
|
-
type: "pdf";
|
|
6671
|
-
source: {
|
|
6672
|
-
url: string;
|
|
6673
|
-
kind: "url";
|
|
6674
|
-
} | {
|
|
6675
|
-
kind: "base64";
|
|
6676
|
-
data: string;
|
|
6677
|
-
} | {
|
|
6678
|
-
text: string;
|
|
6679
|
-
kind: "text";
|
|
6680
|
-
} | {
|
|
6681
|
-
path: string;
|
|
6682
|
-
kind: "path";
|
|
6683
|
-
};
|
|
6684
|
-
} | {
|
|
6685
|
-
type: "image";
|
|
6686
|
-
source: {
|
|
6687
|
-
url: string;
|
|
6688
|
-
kind: "url";
|
|
6689
|
-
} | {
|
|
6690
|
-
kind: "base64";
|
|
6691
|
-
data: string;
|
|
6692
|
-
} | {
|
|
6693
|
-
text: string;
|
|
6694
|
-
kind: "text";
|
|
6695
|
-
} | {
|
|
6696
|
-
path: string;
|
|
6697
|
-
kind: "path";
|
|
6698
|
-
};
|
|
6699
|
-
} | {
|
|
6700
|
-
type: "svg";
|
|
6701
|
-
source: {
|
|
6702
|
-
url: string;
|
|
6703
|
-
kind: "url";
|
|
6704
|
-
} | {
|
|
6705
|
-
kind: "base64";
|
|
6706
|
-
data: string;
|
|
6707
|
-
} | {
|
|
6708
|
-
text: string;
|
|
6709
|
-
kind: "text";
|
|
6710
|
-
} | {
|
|
6711
|
-
path: string;
|
|
6712
|
-
kind: "path";
|
|
6713
|
-
};
|
|
6714
|
-
} | {
|
|
6715
|
-
type: "movie";
|
|
6716
|
-
source: {
|
|
6717
|
-
url: string;
|
|
6718
|
-
kind: "url";
|
|
6719
|
-
} | {
|
|
6720
|
-
kind: "base64";
|
|
6721
|
-
data: string;
|
|
6722
|
-
} | {
|
|
6723
|
-
text: string;
|
|
6724
|
-
kind: "text";
|
|
6725
|
-
} | {
|
|
6726
|
-
path: string;
|
|
6727
|
-
kind: "path";
|
|
6728
|
-
};
|
|
6729
|
-
} | {
|
|
6730
|
-
type: "textSlide";
|
|
6731
|
-
slide: {
|
|
6732
|
-
title: string;
|
|
6733
|
-
subtitle?: string | undefined;
|
|
6734
|
-
bullets?: string[] | undefined;
|
|
6735
|
-
};
|
|
6736
|
-
} | {
|
|
6737
|
-
type: "chart";
|
|
6738
|
-
title: string;
|
|
6739
|
-
chartData: Record<string, any>;
|
|
6740
|
-
} | {
|
|
6741
|
-
code: {
|
|
6742
|
-
url: string;
|
|
6743
|
-
kind: "url";
|
|
6744
|
-
} | {
|
|
6745
|
-
kind: "base64";
|
|
6746
|
-
data: string;
|
|
6747
|
-
} | {
|
|
6748
|
-
text: string;
|
|
6749
|
-
kind: "text";
|
|
6750
|
-
} | {
|
|
6751
|
-
path: string;
|
|
6752
|
-
kind: "path";
|
|
6753
|
-
};
|
|
6754
|
-
type: "mermaid";
|
|
6755
|
-
title: string;
|
|
6756
|
-
appendix?: string[] | undefined;
|
|
6757
|
-
} | {
|
|
6758
|
-
type: "html_tailwind";
|
|
6759
|
-
html: string | string[];
|
|
6760
|
-
} | undefined;
|
|
6761
|
-
audio?: {
|
|
6762
|
-
type: "audio";
|
|
6763
|
-
source: {
|
|
6764
|
-
url: string;
|
|
6765
|
-
kind: "url";
|
|
6766
|
-
} | {
|
|
6767
|
-
kind: "base64";
|
|
6768
|
-
data: string;
|
|
6769
|
-
} | {
|
|
6770
|
-
text: string;
|
|
6771
|
-
kind: "text";
|
|
6772
|
-
} | {
|
|
6773
|
-
path: string;
|
|
6774
|
-
kind: "path";
|
|
6775
|
-
};
|
|
6776
|
-
} | {
|
|
6777
|
-
type: "midi";
|
|
6778
|
-
source: string;
|
|
6779
|
-
} | undefined;
|
|
6780
|
-
speaker?: string | undefined;
|
|
6781
|
-
imageParams?: {
|
|
6782
|
-
model?: string | undefined;
|
|
6783
|
-
size?: string | undefined;
|
|
6784
|
-
style?: string | undefined;
|
|
6785
|
-
moderation?: string | undefined;
|
|
6786
|
-
} | undefined;
|
|
6787
|
-
textSlideParams?: {
|
|
6788
|
-
cssStyles: string | string[];
|
|
6789
|
-
} | undefined;
|
|
6790
|
-
imagePrompt?: string | undefined;
|
|
6791
|
-
}[];
|
|
6792
|
-
lang?: string | undefined;
|
|
6793
|
-
title?: string | undefined;
|
|
6794
|
-
imageParams?: {
|
|
6795
|
-
model?: string | undefined;
|
|
6796
|
-
size?: string | undefined;
|
|
6797
|
-
style?: string | undefined;
|
|
6798
|
-
moderation?: string | undefined;
|
|
6799
|
-
provider?: "openai" | "google" | undefined;
|
|
6800
|
-
} | undefined;
|
|
6801
|
-
textSlideParams?: {
|
|
6802
|
-
cssStyles: string | string[];
|
|
6803
|
-
} | undefined;
|
|
6804
|
-
canvasSize?: {
|
|
6805
|
-
width: number;
|
|
6806
|
-
height: number;
|
|
6807
|
-
} | undefined;
|
|
6808
|
-
speechParams?: {
|
|
6809
|
-
speakers: Record<string, {
|
|
6810
|
-
voiceId: string;
|
|
6811
|
-
displayName?: Record<string, string> | undefined;
|
|
6812
|
-
speechOptions?: {
|
|
6813
|
-
speed?: number | undefined;
|
|
6814
|
-
instruction?: string | undefined;
|
|
6815
|
-
} | undefined;
|
|
6816
|
-
}>;
|
|
6817
|
-
provider?: "openai" | "nijivoice" | "google" | undefined;
|
|
6818
|
-
} | undefined;
|
|
6819
|
-
audioParams?: {
|
|
6820
|
-
introPadding: number;
|
|
6821
|
-
padding: number;
|
|
6822
|
-
closingPadding: number;
|
|
6823
|
-
outroPadding: number;
|
|
6824
|
-
} | undefined;
|
|
6825
|
-
omitCaptions?: boolean | undefined;
|
|
6826
|
-
description?: string | undefined;
|
|
6827
|
-
references?: {
|
|
6828
|
-
url: string;
|
|
6829
|
-
type?: "image" | "audio" | "article" | "video" | undefined;
|
|
6830
|
-
title?: string | undefined;
|
|
6831
|
-
description?: string | undefined;
|
|
6832
|
-
}[] | undefined;
|
|
6833
|
-
imagePath?: string | undefined;
|
|
6834
|
-
__test_invalid__?: boolean | undefined;
|
|
6835
|
-
} | undefined;
|
|
5389
|
+
scriptName?: string | undefined;
|
|
6836
5390
|
}>;
|
|
6837
5391
|
export declare const mulmoStoryboardSceneSchema: z.ZodObject<{
|
|
6838
5392
|
description: z.ZodString;
|