@shotstack/schemas 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.bundled.json +18 -0
- package/dist/schema.d.ts +14 -0
- package/dist/zod/zod.gen.cjs +7 -0
- package/dist/zod/zod.gen.d.ts +242 -77
- package/dist/zod/zod.gen.js +7 -0
- package/dist/zod/zod.gen.ts +4 -0
- package/package.json +1 -1
package/dist/zod/zod.gen.js
CHANGED
|
@@ -68,6 +68,10 @@ export const captionpropertiesCaptionMarginSchema = z.object({
|
|
|
68
68
|
return undefined; if (Array.isArray(v))
|
|
69
69
|
return v; if (typeof v === 'string')
|
|
70
70
|
return Number(v); return v; }), z.preprocess(((v) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()))),
|
|
71
|
+
bottom: z.optional(z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
72
|
+
return undefined; if (Array.isArray(v))
|
|
73
|
+
return v; if (typeof v === 'string')
|
|
74
|
+
return Number(v); return v; }), z.preprocess(((v) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()))),
|
|
71
75
|
left: z.optional(z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
|
72
76
|
return undefined; if (Array.isArray(v))
|
|
73
77
|
return v; if (typeof v === 'string')
|
|
@@ -2741,6 +2745,9 @@ export const editEditSchema = z.object({
|
|
|
2741
2745
|
merge: z.optional(z.array(mergefieldMergeFieldSchema)),
|
|
2742
2746
|
callback: z.optional(z.string()),
|
|
2743
2747
|
disk: z.optional(z.enum(["local", "mount"])),
|
|
2748
|
+
instance: z.optional(z.string()),
|
|
2749
|
+
poster: z.optional(posterPosterSchema),
|
|
2750
|
+
thumbnail: z.optional(thumbnailThumbnailSchema),
|
|
2744
2751
|
}).strict();
|
|
2745
2752
|
export const editSchema = editEditSchema;
|
|
2746
2753
|
/**
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -66,6 +66,7 @@ export const captionFontSchema = captionpropertiesCaptionFontSchema;
|
|
|
66
66
|
*/
|
|
67
67
|
export const captionpropertiesCaptionMarginSchema = z.object({
|
|
68
68
|
top: z.optional(z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()))),
|
|
69
|
+
bottom: z.optional(z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()))),
|
|
69
70
|
left: z.optional(z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()))),
|
|
70
71
|
right: z.optional(z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') return Number(v); return v; }), z.number()))),
|
|
71
72
|
}).strict();
|
|
@@ -2759,6 +2760,9 @@ export const editEditSchema = z.object({
|
|
|
2759
2760
|
merge: z.optional(z.array(mergefieldMergeFieldSchema)),
|
|
2760
2761
|
callback: z.optional(z.string()),
|
|
2761
2762
|
disk: z.optional(z.enum(["local", "mount"])),
|
|
2763
|
+
instance: z.optional(z.string()),
|
|
2764
|
+
poster: z.optional(posterPosterSchema),
|
|
2765
|
+
thumbnail: z.optional(thumbnailThumbnailSchema),
|
|
2762
2766
|
}).strict();
|
|
2763
2767
|
|
|
2764
2768
|
export const editSchema = editEditSchema;
|