@mulmocast/extended-types 0.2.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
@@ -189,7 +189,7 @@ export type BeatMeta = z.infer<typeof beatMetaSchema>;
189
189
  /**
190
190
  * Extended Beat - beat with variants and meta fields
191
191
  */
192
- export declare const extendedBeatSchema: z.ZodObject<{
192
+ export declare const extendedMulmoBeatSchema: z.ZodObject<{
193
193
  speaker: z.ZodOptional<z.ZodString>;
194
194
  text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
195
195
  texts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -853,7 +853,7 @@ export declare const extendedBeatSchema: z.ZodObject<{
853
853
  expectedQuestions: z.ZodOptional<z.ZodArray<z.ZodString>>;
854
854
  }, z.core.$strip>>;
855
855
  }, z.core.$strict>;
856
- export type ExtendedBeat = z.infer<typeof extendedBeatSchema>;
856
+ export type ExtendedMulmoBeat = z.infer<typeof extendedMulmoBeatSchema>;
857
857
  /**
858
858
  * Output Profile - profile display information
859
859
  */
@@ -918,7 +918,7 @@ export type ScriptMeta = z.infer<typeof scriptMetaSchema>;
918
918
  /**
919
919
  * Extended Script - script with variants, meta, and outputProfiles
920
920
  */
921
- export declare const extendedScriptSchema: z.ZodObject<{
921
+ export declare const extendedMulmoScriptSchema: z.ZodObject<{
922
922
  $mulmocast: z.ZodObject<{
923
923
  version: z.ZodLiteral<"1.1">;
924
924
  credit: z.ZodOptional<z.ZodLiteral<"closing">>;
@@ -2006,4 +2006,4 @@ export declare const extendedScriptSchema: z.ZodObject<{
2006
2006
  version: z.ZodOptional<z.ZodString>;
2007
2007
  }, z.core.$strip>>;
2008
2008
  }, z.core.$strict>;
2009
- export type ExtendedScript = z.infer<typeof extendedScriptSchema>;
2009
+ export type ExtendedMulmoScript = z.infer<typeof extendedMulmoScriptSchema>;
package/lib/index.js CHANGED
@@ -23,7 +23,7 @@ export const beatMetaSchema = z.object({
23
23
  /**
24
24
  * Extended Beat - beat with variants and meta fields
25
25
  */
26
- export const extendedBeatSchema = mulmoBeatSchema.extend({
26
+ export const extendedMulmoBeatSchema = mulmoBeatSchema.extend({
27
27
  variants: z.record(z.string(), beatVariantSchema).optional(),
28
28
  meta: beatMetaSchema.optional(),
29
29
  });
@@ -73,8 +73,8 @@ export const scriptMetaSchema = z.object({
73
73
  /**
74
74
  * Extended Script - script with variants, meta, and outputProfiles
75
75
  */
76
- export const extendedScriptSchema = mulmoScriptSchema.extend({
77
- beats: z.array(extendedBeatSchema),
76
+ export const extendedMulmoScriptSchema = mulmoScriptSchema.extend({
77
+ beats: z.array(extendedMulmoBeatSchema),
78
78
  outputProfiles: z.record(z.string(), outputProfileSchema).optional(),
79
79
  scriptMeta: scriptMetaSchema.optional(),
80
80
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mulmocast/extended-types",
3
- "version": "0.2.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",