mulmocast 1.2.22 → 1.2.23
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/lib/types/schema.d.ts
CHANGED
|
@@ -467,16 +467,16 @@ export declare const mulmoVoiceOverMediaSchema: z.ZodObject<{
|
|
|
467
467
|
}>;
|
|
468
468
|
export declare const mulmoVisionMediaSchema: z.ZodObject<{
|
|
469
469
|
type: z.ZodLiteral<"vision">;
|
|
470
|
-
|
|
470
|
+
style: z.ZodString;
|
|
471
471
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
472
472
|
}, "strict", z.ZodTypeAny, {
|
|
473
473
|
type: "vision";
|
|
474
474
|
data: Record<string, any>;
|
|
475
|
-
|
|
475
|
+
style: string;
|
|
476
476
|
}, {
|
|
477
477
|
type: "vision";
|
|
478
478
|
data: Record<string, any>;
|
|
479
|
-
|
|
479
|
+
style: string;
|
|
480
480
|
}>;
|
|
481
481
|
export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
482
482
|
type: z.ZodLiteral<"markdown">;
|
|
@@ -917,16 +917,16 @@ export declare const mulmoImageAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
917
917
|
startAt?: number | undefined;
|
|
918
918
|
}>, z.ZodObject<{
|
|
919
919
|
type: z.ZodLiteral<"vision">;
|
|
920
|
-
|
|
920
|
+
style: z.ZodString;
|
|
921
921
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
922
922
|
}, "strict", z.ZodTypeAny, {
|
|
923
923
|
type: "vision";
|
|
924
924
|
data: Record<string, any>;
|
|
925
|
-
|
|
925
|
+
style: string;
|
|
926
926
|
}, {
|
|
927
927
|
type: "vision";
|
|
928
928
|
data: Record<string, any>;
|
|
929
|
-
|
|
929
|
+
style: string;
|
|
930
930
|
}>]>;
|
|
931
931
|
export declare const mulmoAudioAssetSchema: z.ZodUnion<[z.ZodObject<{
|
|
932
932
|
type: z.ZodLiteral<"audio">;
|
|
@@ -1857,16 +1857,16 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
1857
1857
|
startAt?: number | undefined;
|
|
1858
1858
|
}>, z.ZodObject<{
|
|
1859
1859
|
type: z.ZodLiteral<"vision">;
|
|
1860
|
-
|
|
1860
|
+
style: z.ZodString;
|
|
1861
1861
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1862
1862
|
}, "strict", z.ZodTypeAny, {
|
|
1863
1863
|
type: "vision";
|
|
1864
1864
|
data: Record<string, any>;
|
|
1865
|
-
|
|
1865
|
+
style: string;
|
|
1866
1866
|
}, {
|
|
1867
1867
|
type: "vision";
|
|
1868
1868
|
data: Record<string, any>;
|
|
1869
|
-
|
|
1869
|
+
style: string;
|
|
1870
1870
|
}>]>>;
|
|
1871
1871
|
audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1872
1872
|
type: z.ZodLiteral<"audio">;
|
|
@@ -2303,7 +2303,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2303
2303
|
} | {
|
|
2304
2304
|
type: "vision";
|
|
2305
2305
|
data: Record<string, any>;
|
|
2306
|
-
|
|
2306
|
+
style: string;
|
|
2307
2307
|
} | undefined;
|
|
2308
2308
|
audio?: {
|
|
2309
2309
|
type: "audio";
|
|
@@ -2506,7 +2506,7 @@ export declare const mulmoBeatSchema: z.ZodObject<{
|
|
|
2506
2506
|
} | {
|
|
2507
2507
|
type: "vision";
|
|
2508
2508
|
data: Record<string, any>;
|
|
2509
|
-
|
|
2509
|
+
style: string;
|
|
2510
2510
|
} | undefined;
|
|
2511
2511
|
audio?: {
|
|
2512
2512
|
type: "audio";
|
|
@@ -4357,16 +4357,16 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4357
4357
|
startAt?: number | undefined;
|
|
4358
4358
|
}>, z.ZodObject<{
|
|
4359
4359
|
type: z.ZodLiteral<"vision">;
|
|
4360
|
-
|
|
4360
|
+
style: z.ZodString;
|
|
4361
4361
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4362
4362
|
}, "strict", z.ZodTypeAny, {
|
|
4363
4363
|
type: "vision";
|
|
4364
4364
|
data: Record<string, any>;
|
|
4365
|
-
|
|
4365
|
+
style: string;
|
|
4366
4366
|
}, {
|
|
4367
4367
|
type: "vision";
|
|
4368
4368
|
data: Record<string, any>;
|
|
4369
|
-
|
|
4369
|
+
style: string;
|
|
4370
4370
|
}>]>>;
|
|
4371
4371
|
audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
4372
4372
|
type: z.ZodLiteral<"audio">;
|
|
@@ -4803,7 +4803,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
4803
4803
|
} | {
|
|
4804
4804
|
type: "vision";
|
|
4805
4805
|
data: Record<string, any>;
|
|
4806
|
-
|
|
4806
|
+
style: string;
|
|
4807
4807
|
} | undefined;
|
|
4808
4808
|
audio?: {
|
|
4809
4809
|
type: "audio";
|
|
@@ -5006,7 +5006,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5006
5006
|
} | {
|
|
5007
5007
|
type: "vision";
|
|
5008
5008
|
data: Record<string, any>;
|
|
5009
|
-
|
|
5009
|
+
style: string;
|
|
5010
5010
|
} | undefined;
|
|
5011
5011
|
audio?: {
|
|
5012
5012
|
type: "audio";
|
|
@@ -5311,7 +5311,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5311
5311
|
} | {
|
|
5312
5312
|
type: "vision";
|
|
5313
5313
|
data: Record<string, any>;
|
|
5314
|
-
|
|
5314
|
+
style: string;
|
|
5315
5315
|
} | undefined;
|
|
5316
5316
|
audio?: {
|
|
5317
5317
|
type: "audio";
|
|
@@ -5546,7 +5546,7 @@ export declare const mulmoScriptSchema: z.ZodObject<{
|
|
|
5546
5546
|
} | {
|
|
5547
5547
|
type: "vision";
|
|
5548
5548
|
data: Record<string, any>;
|
|
5549
|
-
|
|
5549
|
+
style: string;
|
|
5550
5550
|
} | undefined;
|
|
5551
5551
|
audio?: {
|
|
5552
5552
|
type: "audio";
|
|
@@ -7058,16 +7058,16 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7058
7058
|
startAt?: number | undefined;
|
|
7059
7059
|
}>, z.ZodObject<{
|
|
7060
7060
|
type: z.ZodLiteral<"vision">;
|
|
7061
|
-
|
|
7061
|
+
style: z.ZodString;
|
|
7062
7062
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
7063
7063
|
}, "strict", z.ZodTypeAny, {
|
|
7064
7064
|
type: "vision";
|
|
7065
7065
|
data: Record<string, any>;
|
|
7066
|
-
|
|
7066
|
+
style: string;
|
|
7067
7067
|
}, {
|
|
7068
7068
|
type: "vision";
|
|
7069
7069
|
data: Record<string, any>;
|
|
7070
|
-
|
|
7070
|
+
style: string;
|
|
7071
7071
|
}>]>>;
|
|
7072
7072
|
audio: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7073
7073
|
type: z.ZodLiteral<"audio">;
|
|
@@ -7504,7 +7504,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7504
7504
|
} | {
|
|
7505
7505
|
type: "vision";
|
|
7506
7506
|
data: Record<string, any>;
|
|
7507
|
-
|
|
7507
|
+
style: string;
|
|
7508
7508
|
} | undefined;
|
|
7509
7509
|
audio?: {
|
|
7510
7510
|
type: "audio";
|
|
@@ -7707,7 +7707,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
7707
7707
|
} | {
|
|
7708
7708
|
type: "vision";
|
|
7709
7709
|
data: Record<string, any>;
|
|
7710
|
-
|
|
7710
|
+
style: string;
|
|
7711
7711
|
} | undefined;
|
|
7712
7712
|
audio?: {
|
|
7713
7713
|
type: "audio";
|
|
@@ -8012,7 +8012,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8012
8012
|
} | {
|
|
8013
8013
|
type: "vision";
|
|
8014
8014
|
data: Record<string, any>;
|
|
8015
|
-
|
|
8015
|
+
style: string;
|
|
8016
8016
|
} | undefined;
|
|
8017
8017
|
audio?: {
|
|
8018
8018
|
type: "audio";
|
|
@@ -8247,7 +8247,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8247
8247
|
} | {
|
|
8248
8248
|
type: "vision";
|
|
8249
8249
|
data: Record<string, any>;
|
|
8250
|
-
|
|
8250
|
+
style: string;
|
|
8251
8251
|
} | undefined;
|
|
8252
8252
|
audio?: {
|
|
8253
8253
|
type: "audio";
|
|
@@ -8735,7 +8735,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8735
8735
|
} | {
|
|
8736
8736
|
type: "vision";
|
|
8737
8737
|
data: Record<string, any>;
|
|
8738
|
-
|
|
8738
|
+
style: string;
|
|
8739
8739
|
} | undefined;
|
|
8740
8740
|
audio?: {
|
|
8741
8741
|
type: "audio";
|
|
@@ -8990,7 +8990,7 @@ export declare const mulmoStudioSchema: z.ZodObject<{
|
|
|
8990
8990
|
} | {
|
|
8991
8991
|
type: "vision";
|
|
8992
8992
|
data: Record<string, any>;
|
|
8993
|
-
|
|
8993
|
+
style: string;
|
|
8994
8994
|
} | undefined;
|
|
8995
8995
|
audio?: {
|
|
8996
8996
|
type: "audio";
|
package/lib/types/schema.js
CHANGED
package/lib/utils/context.d.ts
CHANGED
|
@@ -222,7 +222,7 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
222
222
|
} | {
|
|
223
223
|
type: "vision";
|
|
224
224
|
data: Record<string, any>;
|
|
225
|
-
|
|
225
|
+
style: string;
|
|
226
226
|
} | undefined;
|
|
227
227
|
audio?: {
|
|
228
228
|
type: "audio";
|
|
@@ -574,7 +574,7 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
574
574
|
} | {
|
|
575
575
|
type: "vision";
|
|
576
576
|
data: Record<string, any>;
|
|
577
|
-
|
|
577
|
+
style: string;
|
|
578
578
|
} | undefined;
|
|
579
579
|
audio?: {
|
|
580
580
|
type: "audio";
|
|
@@ -11,8 +11,8 @@ const processVision = async (params) => {
|
|
|
11
11
|
if (!beat?.image || beat.image.type !== imageType)
|
|
12
12
|
return;
|
|
13
13
|
const handler = new htmlPlugin({ rootDir });
|
|
14
|
-
await handler[toCreateName(beat.image.
|
|
15
|
-
name: beat.image.
|
|
14
|
+
await handler[toCreateName(beat.image.style)](beat.image.data, {
|
|
15
|
+
name: beat.image.style,
|
|
16
16
|
imageFilePath: imagePath,
|
|
17
17
|
htmlFilePath: imagePath.replace(/\.png$/, ".html"),
|
|
18
18
|
});
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"text": "",
|
|
12
12
|
"image": {
|
|
13
13
|
"type": "vision",
|
|
14
|
-
"
|
|
14
|
+
"style": "sectionDividerPage",
|
|
15
15
|
"data": {
|
|
16
16
|
"heading": "How AI Is Reshaping Referencing",
|
|
17
17
|
"subheading": "From sources to systems: reliability, traceability, and credit in the age of models"
|