@mulmocast/extended-types 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export type { MulmoImageAsset } from "mulmocast";
2
+ export type { MulmoImageAsset } from "@mulmocast/types";
3
3
  /**
4
4
  * Beat Variant - profile-specific content overrides
5
5
  */
@@ -31,10 +31,10 @@ export declare const beatVariantSchema: z.ZodObject<{
31
31
  path: z.ZodString;
32
32
  }, z.core.$strict>], "kind">;
33
33
  size: z.ZodOptional<z.ZodEnum<{
34
+ auto: "auto";
34
35
  cover: "cover";
35
36
  contain: "contain";
36
37
  fill: "fill";
37
- auto: "auto";
38
38
  }>>;
39
39
  opacity: z.ZodOptional<z.ZodNumber>;
40
40
  }, z.core.$strip>]>>>;
@@ -109,10 +109,10 @@ export declare const beatVariantSchema: z.ZodObject<{
109
109
  path: z.ZodString;
110
110
  }, z.core.$strict>], "kind">;
111
111
  size: z.ZodOptional<z.ZodEnum<{
112
+ auto: "auto";
112
113
  cover: "cover";
113
114
  contain: "contain";
114
115
  fill: "fill";
115
- auto: "auto";
116
116
  }>>;
117
117
  opacity: z.ZodOptional<z.ZodNumber>;
118
118
  }, z.core.$strip>]>>>;
@@ -150,10 +150,10 @@ export declare const beatVariantSchema: z.ZodObject<{
150
150
  path: z.ZodString;
151
151
  }, z.core.$strict>], "kind">;
152
152
  size: z.ZodOptional<z.ZodEnum<{
153
+ auto: "auto";
153
154
  cover: "cover";
154
155
  contain: "contain";
155
156
  fill: "fill";
156
- auto: "auto";
157
157
  }>>;
158
158
  opacity: z.ZodOptional<z.ZodNumber>;
159
159
  }, z.core.$strip>]>>>;
@@ -181,6 +181,7 @@ export declare const beatMetaSchema: z.ZodObject<{
181
181
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
182
182
  section: z.ZodOptional<z.ZodString>;
183
183
  context: z.ZodOptional<z.ZodString>;
184
+ notes: z.ZodOptional<z.ZodString>;
184
185
  keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
185
186
  expectedQuestions: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
187
  }, z.core.$strip>;
@@ -188,7 +189,7 @@ export type BeatMeta = z.infer<typeof beatMetaSchema>;
188
189
  /**
189
190
  * Extended Beat - beat with variants and meta fields
190
191
  */
191
- export declare const extendedBeatSchema: z.ZodObject<{
192
+ export declare const extendedMulmoBeatSchema: z.ZodObject<{
192
193
  speaker: z.ZodOptional<z.ZodString>;
193
194
  text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
194
195
  texts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -219,10 +220,10 @@ export declare const extendedBeatSchema: z.ZodObject<{
219
220
  path: z.ZodString;
220
221
  }, z.core.$strict>], "kind">;
221
222
  size: z.ZodOptional<z.ZodEnum<{
223
+ auto: "auto";
222
224
  cover: "cover";
223
225
  contain: "contain";
224
226
  fill: "fill";
225
- auto: "auto";
226
227
  }>>;
227
228
  opacity: z.ZodOptional<z.ZodNumber>;
228
229
  }, z.core.$strip>]>>>;
@@ -297,10 +298,10 @@ export declare const extendedBeatSchema: z.ZodObject<{
297
298
  path: z.ZodString;
298
299
  }, z.core.$strict>], "kind">;
299
300
  size: z.ZodOptional<z.ZodEnum<{
301
+ auto: "auto";
300
302
  cover: "cover";
301
303
  contain: "contain";
302
304
  fill: "fill";
303
- auto: "auto";
304
305
  }>>;
305
306
  opacity: z.ZodOptional<z.ZodNumber>;
306
307
  }, z.core.$strip>]>>>;
@@ -338,10 +339,10 @@ export declare const extendedBeatSchema: z.ZodObject<{
338
339
  path: z.ZodString;
339
340
  }, z.core.$strict>], "kind">;
340
341
  size: z.ZodOptional<z.ZodEnum<{
342
+ auto: "auto";
341
343
  cover: "cover";
342
344
  contain: "contain";
343
345
  fill: "fill";
344
- auto: "auto";
345
346
  }>>;
346
347
  opacity: z.ZodOptional<z.ZodNumber>;
347
348
  }, z.core.$strip>]>>>;
@@ -701,10 +702,10 @@ export declare const extendedBeatSchema: z.ZodObject<{
701
702
  path: z.ZodString;
702
703
  }, z.core.$strict>], "kind">;
703
704
  size: z.ZodOptional<z.ZodEnum<{
705
+ auto: "auto";
704
706
  cover: "cover";
705
707
  contain: "contain";
706
708
  fill: "fill";
707
- auto: "auto";
708
709
  }>>;
709
710
  opacity: z.ZodOptional<z.ZodNumber>;
710
711
  }, z.core.$strip>]>>>;
@@ -779,10 +780,10 @@ export declare const extendedBeatSchema: z.ZodObject<{
779
780
  path: z.ZodString;
780
781
  }, z.core.$strict>], "kind">;
781
782
  size: z.ZodOptional<z.ZodEnum<{
783
+ auto: "auto";
782
784
  cover: "cover";
783
785
  contain: "contain";
784
786
  fill: "fill";
785
- auto: "auto";
786
787
  }>>;
787
788
  opacity: z.ZodOptional<z.ZodNumber>;
788
789
  }, z.core.$strip>]>>>;
@@ -820,10 +821,10 @@ export declare const extendedBeatSchema: z.ZodObject<{
820
821
  path: z.ZodString;
821
822
  }, z.core.$strict>], "kind">;
822
823
  size: z.ZodOptional<z.ZodEnum<{
824
+ auto: "auto";
823
825
  cover: "cover";
824
826
  contain: "contain";
825
827
  fill: "fill";
826
- auto: "auto";
827
828
  }>>;
828
829
  opacity: z.ZodOptional<z.ZodNumber>;
829
830
  }, z.core.$strip>]>>>;
@@ -847,11 +848,12 @@ export declare const extendedBeatSchema: z.ZodObject<{
847
848
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
848
849
  section: z.ZodOptional<z.ZodString>;
849
850
  context: z.ZodOptional<z.ZodString>;
851
+ notes: z.ZodOptional<z.ZodString>;
850
852
  keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
851
853
  expectedQuestions: z.ZodOptional<z.ZodArray<z.ZodString>>;
852
854
  }, z.core.$strip>>;
853
855
  }, z.core.$strict>;
854
- export type ExtendedBeat = z.infer<typeof extendedBeatSchema>;
856
+ export type ExtendedMulmoBeat = z.infer<typeof extendedMulmoBeatSchema>;
855
857
  /**
856
858
  * Output Profile - profile display information
857
859
  */
@@ -916,7 +918,7 @@ export type ScriptMeta = z.infer<typeof scriptMetaSchema>;
916
918
  /**
917
919
  * Extended Script - script with variants, meta, and outputProfiles
918
920
  */
919
- export declare const extendedScriptSchema: z.ZodObject<{
921
+ export declare const extendedMulmoScriptSchema: z.ZodObject<{
920
922
  $mulmocast: z.ZodObject<{
921
923
  version: z.ZodLiteral<"1.1">;
922
924
  credit: z.ZodOptional<z.ZodLiteral<"closing">>;
@@ -1003,10 +1005,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1003
1005
  path: z.ZodString;
1004
1006
  }, z.core.$strict>], "kind">;
1005
1007
  size: z.ZodOptional<z.ZodEnum<{
1008
+ auto: "auto";
1006
1009
  cover: "cover";
1007
1010
  contain: "contain";
1008
1011
  fill: "fill";
1009
- auto: "auto";
1010
1012
  }>>;
1011
1013
  opacity: z.ZodOptional<z.ZodNumber>;
1012
1014
  }, z.core.$strip>]>>>;
@@ -1300,9 +1302,9 @@ export declare const extendedScriptSchema: z.ZodObject<{
1300
1302
  title: z.ZodOptional<z.ZodString>;
1301
1303
  description: z.ZodOptional<z.ZodString>;
1302
1304
  type: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1305
+ audio: "audio";
1303
1306
  image: "image";
1304
1307
  video: "video";
1305
- audio: "audio";
1306
1308
  article: "article";
1307
1309
  paper: "paper";
1308
1310
  }>, z.ZodString]>>>;
@@ -1341,10 +1343,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1341
1343
  path: z.ZodString;
1342
1344
  }, z.core.$strict>], "kind">;
1343
1345
  size: z.ZodOptional<z.ZodEnum<{
1346
+ auto: "auto";
1344
1347
  cover: "cover";
1345
1348
  contain: "contain";
1346
1349
  fill: "fill";
1347
- auto: "auto";
1348
1350
  }>>;
1349
1351
  opacity: z.ZodOptional<z.ZodNumber>;
1350
1352
  }, z.core.$strip>]>>>;
@@ -1419,10 +1421,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1419
1421
  path: z.ZodString;
1420
1422
  }, z.core.$strict>], "kind">;
1421
1423
  size: z.ZodOptional<z.ZodEnum<{
1424
+ auto: "auto";
1422
1425
  cover: "cover";
1423
1426
  contain: "contain";
1424
1427
  fill: "fill";
1425
- auto: "auto";
1426
1428
  }>>;
1427
1429
  opacity: z.ZodOptional<z.ZodNumber>;
1428
1430
  }, z.core.$strip>]>>>;
@@ -1460,10 +1462,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1460
1462
  path: z.ZodString;
1461
1463
  }, z.core.$strict>], "kind">;
1462
1464
  size: z.ZodOptional<z.ZodEnum<{
1465
+ auto: "auto";
1463
1466
  cover: "cover";
1464
1467
  contain: "contain";
1465
1468
  fill: "fill";
1466
- auto: "auto";
1467
1469
  }>>;
1468
1470
  opacity: z.ZodOptional<z.ZodNumber>;
1469
1471
  }, z.core.$strip>]>>>;
@@ -1823,10 +1825,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1823
1825
  path: z.ZodString;
1824
1826
  }, z.core.$strict>], "kind">;
1825
1827
  size: z.ZodOptional<z.ZodEnum<{
1828
+ auto: "auto";
1826
1829
  cover: "cover";
1827
1830
  contain: "contain";
1828
1831
  fill: "fill";
1829
- auto: "auto";
1830
1832
  }>>;
1831
1833
  opacity: z.ZodOptional<z.ZodNumber>;
1832
1834
  }, z.core.$strip>]>>>;
@@ -1901,10 +1903,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1901
1903
  path: z.ZodString;
1902
1904
  }, z.core.$strict>], "kind">;
1903
1905
  size: z.ZodOptional<z.ZodEnum<{
1906
+ auto: "auto";
1904
1907
  cover: "cover";
1905
1908
  contain: "contain";
1906
1909
  fill: "fill";
1907
- auto: "auto";
1908
1910
  }>>;
1909
1911
  opacity: z.ZodOptional<z.ZodNumber>;
1910
1912
  }, z.core.$strip>]>>>;
@@ -1942,10 +1944,10 @@ export declare const extendedScriptSchema: z.ZodObject<{
1942
1944
  path: z.ZodString;
1943
1945
  }, z.core.$strict>], "kind">;
1944
1946
  size: z.ZodOptional<z.ZodEnum<{
1947
+ auto: "auto";
1945
1948
  cover: "cover";
1946
1949
  contain: "contain";
1947
1950
  fill: "fill";
1948
- auto: "auto";
1949
1951
  }>>;
1950
1952
  opacity: z.ZodOptional<z.ZodNumber>;
1951
1953
  }, z.core.$strip>]>>>;
@@ -1969,6 +1971,7 @@ export declare const extendedScriptSchema: z.ZodObject<{
1969
1971
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1970
1972
  section: z.ZodOptional<z.ZodString>;
1971
1973
  context: z.ZodOptional<z.ZodString>;
1974
+ notes: z.ZodOptional<z.ZodString>;
1972
1975
  keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1973
1976
  expectedQuestions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1974
1977
  }, z.core.$strip>>;
@@ -2003,4 +2006,4 @@ export declare const extendedScriptSchema: z.ZodObject<{
2003
2006
  version: z.ZodOptional<z.ZodString>;
2004
2007
  }, z.core.$strip>>;
2005
2008
  }, z.core.$strict>;
2006
- export type ExtendedScript = z.infer<typeof extendedScriptSchema>;
2009
+ export type ExtendedMulmoScript = z.infer<typeof extendedMulmoScriptSchema>;
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { mulmoBeatSchema, mulmoScriptSchema, mulmoImageAssetSchema } from "mulmocast";
2
+ import { mulmoBeatSchema, mulmoScriptSchema, mulmoImageAssetSchema } from "@mulmocast/types";
3
3
  /**
4
4
  * Beat Variant - profile-specific content overrides
5
5
  */
@@ -16,13 +16,14 @@ export const beatMetaSchema = z.object({
16
16
  tags: z.array(z.string()).optional(),
17
17
  section: z.string().optional(),
18
18
  context: z.string().optional(),
19
+ notes: z.string().optional(),
19
20
  keywords: z.array(z.string()).optional(),
20
21
  expectedQuestions: z.array(z.string()).optional(),
21
22
  });
22
23
  /**
23
24
  * Extended Beat - beat with variants and meta fields
24
25
  */
25
- export const extendedBeatSchema = mulmoBeatSchema.extend({
26
+ export const extendedMulmoBeatSchema = mulmoBeatSchema.extend({
26
27
  variants: z.record(z.string(), beatVariantSchema).optional(),
27
28
  meta: beatMetaSchema.optional(),
28
29
  });
@@ -72,8 +73,8 @@ export const scriptMetaSchema = z.object({
72
73
  /**
73
74
  * Extended Script - script with variants, meta, and outputProfiles
74
75
  */
75
- export const extendedScriptSchema = mulmoScriptSchema.extend({
76
- beats: z.array(extendedBeatSchema),
76
+ export const extendedMulmoScriptSchema = mulmoScriptSchema.extend({
77
+ beats: z.array(extendedMulmoBeatSchema),
77
78
  outputProfiles: z.record(z.string(), outputProfileSchema).optional(),
78
79
  scriptMeta: scriptMetaSchema.optional(),
79
80
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mulmocast/extended-types",
3
- "version": "0.1.0",
4
- "description": "Type definitions and Zod schemas for MulmoScript ExtendedScript format",
3
+ "version": "0.3.0",
4
+ "description": "Type definitions and Zod schemas for MulmoScript ExtendedMulmoScript format",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "homepage": "https://github.com/receptron/mulmocast-plus#readme",
33
33
  "dependencies": {
34
- "mulmocast": "^2.1.35",
34
+ "@mulmocast/types": "^2.1.35",
35
35
  "zod": "^4.3.6"
36
36
  }
37
37
  }