@pixerate/schemas 1.7.0 → 1.9.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/README.md +23 -0
- package/dist/index.cjs +230 -2
- package/dist/index.d.cts +1871 -79
- package/dist/index.d.ts +1871 -79
- package/dist/index.js +207 -2
- package/package.json +10 -5
package/README.md
CHANGED
|
@@ -69,3 +69,26 @@ npm run build
|
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
The compiled bundles and types will reside in the `dist/` directory.
|
|
72
|
+
|
|
73
|
+
## Contributing & Releases
|
|
74
|
+
|
|
75
|
+
This repository mandates [Changesets](https://github.com/changesets/changesets) for tracking versioning and generating changelogs.
|
|
76
|
+
|
|
77
|
+
### Creating a Changeset
|
|
78
|
+
|
|
79
|
+
When submitting a pull request that introduces changes, generate a changeset:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
npm run changeset
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
1. Select the bump type (`patch`, `minor`, or `major`).
|
|
86
|
+
2. Provide a summary message describing the changes.
|
|
87
|
+
3. Commit the generated `.changeset/*.md` file with your pull request.
|
|
88
|
+
|
|
89
|
+
If a PR does not require a release bump (e.g. CI adjustments or documentation fixes), generate an empty changeset:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
npx changeset --empty
|
|
93
|
+
```
|
|
94
|
+
|
package/dist/index.cjs
CHANGED
|
@@ -33,9 +33,17 @@ __export(index_exports, {
|
|
|
33
33
|
AgentNetworkTransformRuleSchema: () => AgentNetworkTransformRuleSchema,
|
|
34
34
|
AgentToolSchema: () => AgentToolSchema,
|
|
35
35
|
AgentToolTypeSchema: () => AgentToolTypeSchema,
|
|
36
|
+
AnimatedGifCompositeSchema: () => AnimatedGifCompositeSchema,
|
|
37
|
+
ArcDistortSchema: () => ArcDistortSchema,
|
|
36
38
|
AspectRatioSchema: () => AspectRatioSchema,
|
|
39
|
+
AudioDuckingOptionsSchema: () => AudioDuckingOptionsSchema,
|
|
37
40
|
AudioMixOptionsSchema: () => AudioMixOptionsSchema,
|
|
38
41
|
AudioMixTrackSchema: () => AudioMixTrackSchema,
|
|
42
|
+
AudioNormalizationOptionsSchema: () => AudioNormalizationOptionsSchema,
|
|
43
|
+
AudioSilenceTrimOptionsSchema: () => AudioSilenceTrimOptionsSchema,
|
|
44
|
+
AudioVisualizerOptionsSchema: () => AudioVisualizerOptionsSchema,
|
|
45
|
+
AudioVisualizerTypeSchema: () => AudioVisualizerTypeSchema,
|
|
46
|
+
AutoFitCaptionSchema: () => AutoFitCaptionSchema,
|
|
39
47
|
CodeGenerationSchema: () => CodeGenerationSchema,
|
|
40
48
|
ComponentDocsSchema: () => ComponentDocsSchema,
|
|
41
49
|
ComponentPackageSchema: () => ComponentPackageSchema,
|
|
@@ -51,6 +59,8 @@ __export(index_exports, {
|
|
|
51
59
|
DecisionGateKindSchema: () => DecisionGateKindSchema,
|
|
52
60
|
DecisionGateSchema: () => DecisionGateSchema,
|
|
53
61
|
DimensionScoreSchema: () => DimensionScoreSchema,
|
|
62
|
+
DisplacementMapSchema: () => DisplacementMapSchema,
|
|
63
|
+
DocumentGenerationOptionsSchema: () => DocumentGenerationOptionsSchema,
|
|
54
64
|
DropShadowSchema: () => DropShadowSchema,
|
|
55
65
|
FORM_SCHEMA_JSON_SCHEMA: () => FORM_SCHEMA_JSON_SCHEMA,
|
|
56
66
|
FidelitySchema: () => FidelitySchema,
|
|
@@ -66,12 +76,21 @@ __export(index_exports, {
|
|
|
66
76
|
GenerateHarnessOptionsSchema: () => GenerateHarnessOptionsSchema,
|
|
67
77
|
ImageCompositingSchema: () => ImageCompositingSchema,
|
|
68
78
|
ImageGenerationSchema: () => ImageGenerationSchema,
|
|
79
|
+
ImageOverlayOptionsSchema: () => ImageOverlayOptionsSchema,
|
|
80
|
+
ImagePipelineSchema: () => ImagePipelineSchema,
|
|
69
81
|
ImageTextOverlaySchema: () => ImageTextOverlaySchema,
|
|
70
82
|
ImageTransformationSchema: () => ImageTransformationSchema,
|
|
71
83
|
ImageWatermarkSchema: () => ImageWatermarkSchema,
|
|
72
84
|
IngestionInputSchema: () => IngestionInputSchema,
|
|
73
85
|
JsonGenerationSchema: () => JsonGenerationSchema,
|
|
86
|
+
KenBurnsOptionsSchema: () => KenBurnsOptionsSchema,
|
|
87
|
+
MediaProbeResultSchema: () => MediaProbeResultSchema,
|
|
88
|
+
PerceptualHashAlgorithmSchema: () => PerceptualHashAlgorithmSchema,
|
|
89
|
+
PerceptualHashOptionsSchema: () => PerceptualHashOptionsSchema,
|
|
90
|
+
PerspectiveQuadSchema: () => PerspectiveQuadSchema,
|
|
91
|
+
PerspectiveWarpSchema: () => PerspectiveWarpSchema,
|
|
74
92
|
PlatformLanguageSchema: () => PlatformLanguageSchema,
|
|
93
|
+
Point2DSchema: () => Point2DSchema,
|
|
75
94
|
PreviewHarnessSchema: () => PreviewHarnessSchema,
|
|
76
95
|
QueueJobSchema: () => QueueJobSchema,
|
|
77
96
|
QueueJobStatusSchema: () => QueueJobStatusSchema,
|
|
@@ -87,6 +106,8 @@ __export(index_exports, {
|
|
|
87
106
|
ServiceClientSchema: () => ServiceClientSchema,
|
|
88
107
|
SocialVideoGenerationSchema: () => SocialVideoGenerationSchema,
|
|
89
108
|
SubmissionScoreSchema: () => SubmissionScoreSchema,
|
|
109
|
+
SubtitleBurnOptionsSchema: () => SubtitleBurnOptionsSchema,
|
|
110
|
+
SubtitleFormatSchema: () => SubtitleFormatSchema,
|
|
90
111
|
TechnicalFormSchema: () => TechnicalFormSchema,
|
|
91
112
|
TextAlignmentSchema: () => TextAlignmentSchema,
|
|
92
113
|
TextOverlayPositionSchema: () => TextOverlayPositionSchema,
|
|
@@ -103,6 +124,7 @@ __export(index_exports, {
|
|
|
103
124
|
UIGenerationOptionsSchema: () => UIGenerationOptionsSchema,
|
|
104
125
|
UIGenerationResultSchema: () => UIGenerationResultSchema,
|
|
105
126
|
UIValidationResultSchema: () => UIValidationResultSchema,
|
|
127
|
+
VectorTraceOptionsSchema: () => VectorTraceOptionsSchema,
|
|
106
128
|
VideoAnalysisCategorySchema: () => VideoAnalysisCategorySchema,
|
|
107
129
|
VideoAnalysisSchema: () => VideoAnalysisSchema,
|
|
108
130
|
VideoAspectRatioSchema: () => VideoAspectRatioSchema,
|
|
@@ -110,6 +132,7 @@ __export(index_exports, {
|
|
|
110
132
|
VideoCompressionSchema: () => VideoCompressionSchema,
|
|
111
133
|
VideoFrameImageSchema: () => VideoFrameImageSchema,
|
|
112
134
|
VideoGenerationSchema: () => VideoGenerationSchema,
|
|
135
|
+
VideoModificationSchema: () => VideoModificationSchema,
|
|
113
136
|
VideoOverlayOptionsSchema: () => VideoOverlayOptionsSchema,
|
|
114
137
|
VideoOverlayStyleSchema: () => VideoOverlayStyleSchema,
|
|
115
138
|
VideoPipelineSchema: () => VideoPipelineSchema,
|
|
@@ -310,6 +333,10 @@ var VideoPipelineSchema = import_zod.z.object({
|
|
|
310
333
|
options: VideoOverlayOptionsSchema.optional()
|
|
311
334
|
})).optional(),
|
|
312
335
|
audioMix: AudioMixOptionsSchema.optional(),
|
|
336
|
+
subtitles: import_zod.z.lazy(() => SubtitleBurnOptionsSchema).optional(),
|
|
337
|
+
visualizer: import_zod.z.lazy(() => AudioVisualizerOptionsSchema).optional(),
|
|
338
|
+
kenBurns: import_zod.z.lazy(() => KenBurnsOptionsSchema).optional(),
|
|
339
|
+
ducking: import_zod.z.lazy(() => AudioDuckingOptionsSchema).optional(),
|
|
313
340
|
compress: VideoTranscodeSchema.optional()
|
|
314
341
|
});
|
|
315
342
|
var VideoCompositingSchema = VideoPipelineSchema;
|
|
@@ -325,14 +352,95 @@ var ImageTransformationSchema = import_zod.z.object({
|
|
|
325
352
|
aspectRatio: AspectRatioSchema.optional(),
|
|
326
353
|
seed: import_zod.z.number().int().optional()
|
|
327
354
|
});
|
|
355
|
+
var Point2DSchema = import_zod.z.tuple([import_zod.z.number(), import_zod.z.number()]);
|
|
356
|
+
var PerspectiveQuadSchema = import_zod.z.tuple([
|
|
357
|
+
Point2DSchema,
|
|
358
|
+
Point2DSchema,
|
|
359
|
+
Point2DSchema,
|
|
360
|
+
Point2DSchema
|
|
361
|
+
]);
|
|
362
|
+
var PerspectiveWarpSchema = import_zod.z.object({
|
|
363
|
+
srcQuad: PerspectiveQuadSchema.optional(),
|
|
364
|
+
dstQuad: PerspectiveQuadSchema,
|
|
365
|
+
resample: import_zod.z.enum(["ewa", "bicubic", "bilinear", "point"]).optional().default("ewa"),
|
|
366
|
+
background: import_zod.z.string().optional()
|
|
367
|
+
});
|
|
368
|
+
var DisplacementMapSchema = import_zod.z.object({
|
|
369
|
+
mapImage: import_zod.z.string().describe("Path, URL, or base64 data URI of the displacement map image"),
|
|
370
|
+
xScale: import_zod.z.number().describe("Horizontal displacement scale in pixels"),
|
|
371
|
+
yScale: import_zod.z.number().describe("Vertical displacement scale in pixels")
|
|
372
|
+
});
|
|
373
|
+
var ArcDistortSchema = import_zod.z.object({
|
|
374
|
+
angle: import_zod.z.number().describe("Arc angle in degrees (e.g. 60, 180, 360)"),
|
|
375
|
+
rotation: import_zod.z.number().optional().default(0).describe("Starting angle rotation in degrees"),
|
|
376
|
+
radius: import_zod.z.number().optional().describe("Top radius in pixels"),
|
|
377
|
+
background: import_zod.z.string().optional()
|
|
378
|
+
});
|
|
379
|
+
var AutoFitCaptionSchema = import_zod.z.object({
|
|
380
|
+
text: import_zod.z.string(),
|
|
381
|
+
width: import_zod.z.number().int().positive(),
|
|
382
|
+
height: import_zod.z.number().int().positive(),
|
|
383
|
+
font: import_zod.z.string().optional(),
|
|
384
|
+
textColor: import_zod.z.string().optional(),
|
|
385
|
+
backgroundColor: import_zod.z.string().optional(),
|
|
386
|
+
gravity: import_zod.z.enum(["NorthWest", "North", "NorthEast", "West", "Center", "East", "SouthWest", "South", "SouthEast"]).optional().default("Center"),
|
|
387
|
+
position: import_zod.z.object({
|
|
388
|
+
x: import_zod.z.number().optional(),
|
|
389
|
+
y: import_zod.z.number().optional()
|
|
390
|
+
}).optional()
|
|
391
|
+
});
|
|
392
|
+
var AnimatedGifCompositeSchema = import_zod.z.object({
|
|
393
|
+
delayMs: import_zod.z.number().int().positive().optional(),
|
|
394
|
+
loop: import_zod.z.number().int().min(0).optional().default(0),
|
|
395
|
+
dither: import_zod.z.enum(["FloydSteinberg", "Riemersma", "None"]).optional().default("FloydSteinberg"),
|
|
396
|
+
coalesce: import_zod.z.boolean().optional().default(true)
|
|
397
|
+
});
|
|
398
|
+
var ImageOverlayOptionsSchema = import_zod.z.object({
|
|
399
|
+
x: import_zod.z.union([import_zod.z.number(), import_zod.z.string()]).optional(),
|
|
400
|
+
y: import_zod.z.union([import_zod.z.number(), import_zod.z.string()]).optional(),
|
|
401
|
+
gravity: import_zod.z.enum(["northwest", "north", "northeast", "west", "center", "east", "southwest", "south", "southeast"]).optional(),
|
|
402
|
+
blend: import_zod.z.enum(["over", "in", "out", "atop", "xor", "multiply", "screen", "overlay", "darken", "lighten"]).optional(),
|
|
403
|
+
opacity: import_zod.z.number().min(0).max(1).optional()
|
|
404
|
+
});
|
|
405
|
+
var ImagePipelineSchema = import_zod.z.object({
|
|
406
|
+
fit: import_zod.z.object({
|
|
407
|
+
width: import_zod.z.number().int().positive().optional(),
|
|
408
|
+
height: import_zod.z.number().int().positive().optional(),
|
|
409
|
+
aspectRatio: AspectRatioSchema.optional(),
|
|
410
|
+
fit: import_zod.z.enum(["cover", "contain", "fill", "inside", "outside"]).optional(),
|
|
411
|
+
background: import_zod.z.string().optional()
|
|
412
|
+
}).optional(),
|
|
413
|
+
textOverlay: TextOverlaySchema.optional(),
|
|
414
|
+
watermark: import_zod.z.union([WatermarkSchema, import_zod.z.string()]).optional(),
|
|
415
|
+
imageOverlays: import_zod.z.array(import_zod.z.object({
|
|
416
|
+
image: import_zod.z.string(),
|
|
417
|
+
options: ImageOverlayOptionsSchema.optional()
|
|
418
|
+
})).optional(),
|
|
419
|
+
perspectiveWarp: PerspectiveWarpSchema.optional(),
|
|
420
|
+
displacementMap: DisplacementMapSchema.optional(),
|
|
421
|
+
arcDistort: ArcDistortSchema.optional(),
|
|
422
|
+
autoFitCaption: AutoFitCaptionSchema.optional(),
|
|
423
|
+
animatedGif: AnimatedGifCompositeSchema.optional(),
|
|
424
|
+
traceVector: import_zod.z.lazy(() => VectorTraceOptionsSchema).optional(),
|
|
425
|
+
output: import_zod.z.object({
|
|
426
|
+
format: import_zod.z.enum(["png", "jpeg", "webp", "avif", "gif", "svg"]).optional(),
|
|
427
|
+
quality: import_zod.z.number().int().min(1).max(100).optional()
|
|
428
|
+
}).optional()
|
|
429
|
+
});
|
|
328
430
|
var ImageCompositingSchema = import_zod.z.object({
|
|
329
431
|
textOverlay: TextOverlaySchema.optional(),
|
|
330
432
|
watermark: WatermarkSchema.optional(),
|
|
331
433
|
fit: import_zod.z.enum(["cover", "contain", "fill", "inside", "outside"]).optional(),
|
|
332
434
|
targetWidth: import_zod.z.number().int().optional(),
|
|
333
435
|
targetHeight: import_zod.z.number().int().optional(),
|
|
334
|
-
format: import_zod.z.enum(["png", "jpeg", "webp", "avif"]).optional(),
|
|
335
|
-
quality: import_zod.z.number().int().min(1).max(100).optional()
|
|
436
|
+
format: import_zod.z.enum(["png", "jpeg", "webp", "avif", "gif", "svg"]).optional(),
|
|
437
|
+
quality: import_zod.z.number().int().min(1).max(100).optional(),
|
|
438
|
+
perspectiveWarp: PerspectiveWarpSchema.optional(),
|
|
439
|
+
displacementMap: DisplacementMapSchema.optional(),
|
|
440
|
+
arcDistort: ArcDistortSchema.optional(),
|
|
441
|
+
autoFitCaption: AutoFitCaptionSchema.optional(),
|
|
442
|
+
animatedGif: AnimatedGifCompositeSchema.optional(),
|
|
443
|
+
traceVector: import_zod.z.lazy(() => VectorTraceOptionsSchema).optional()
|
|
336
444
|
});
|
|
337
445
|
var VideoAnalysisCategorySchema = import_zod.z.enum([
|
|
338
446
|
"Scenes",
|
|
@@ -351,6 +459,13 @@ var VideoAnalysisSchema = import_zod.z.object({
|
|
|
351
459
|
category: VideoAnalysisCategorySchema,
|
|
352
460
|
fidelity: FidelitySchema
|
|
353
461
|
});
|
|
462
|
+
var VideoModificationSchema = import_zod.z.object({
|
|
463
|
+
prompt: import_zod.z.string(),
|
|
464
|
+
changes: import_zod.z.string().optional(),
|
|
465
|
+
aspectRatio: VideoAspectRatioSchema.optional(),
|
|
466
|
+
durationSeconds: import_zod.z.number().optional(),
|
|
467
|
+
seed: import_zod.z.number().int().optional()
|
|
468
|
+
});
|
|
354
469
|
var CodeGenerationSchema = import_zod.z.object({
|
|
355
470
|
prompt: import_zod.z.string(),
|
|
356
471
|
language: import_zod.z.string()
|
|
@@ -1113,6 +1228,96 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1113
1228
|
},
|
|
1114
1229
|
required: ["version", "stages"]
|
|
1115
1230
|
};
|
|
1231
|
+
var SubtitleFormatSchema = import_zod.z.enum(["srt", "vtt", "ass"]);
|
|
1232
|
+
var SubtitleBurnOptionsSchema = import_zod.z.object({
|
|
1233
|
+
subtitlePath: import_zod.z.string().optional(),
|
|
1234
|
+
subtitleContent: import_zod.z.string().optional(),
|
|
1235
|
+
format: SubtitleFormatSchema.optional(),
|
|
1236
|
+
fontSize: import_zod.z.number().optional(),
|
|
1237
|
+
fontName: import_zod.z.string().optional(),
|
|
1238
|
+
primaryColor: import_zod.z.string().optional(),
|
|
1239
|
+
outlineColor: import_zod.z.string().optional(),
|
|
1240
|
+
outlineWidth: import_zod.z.number().optional(),
|
|
1241
|
+
alignment: import_zod.z.number().int().optional(),
|
|
1242
|
+
marginV: import_zod.z.number().int().optional(),
|
|
1243
|
+
karaoke: import_zod.z.boolean().optional()
|
|
1244
|
+
});
|
|
1245
|
+
var AudioVisualizerTypeSchema = import_zod.z.enum(["waves", "spectrum", "bars"]);
|
|
1246
|
+
var AudioVisualizerOptionsSchema = import_zod.z.object({
|
|
1247
|
+
type: AudioVisualizerTypeSchema.optional().default("waves"),
|
|
1248
|
+
width: import_zod.z.number().int().positive().optional().default(1280),
|
|
1249
|
+
height: import_zod.z.number().int().positive().optional().default(720),
|
|
1250
|
+
fps: import_zod.z.number().int().positive().optional().default(30),
|
|
1251
|
+
colors: import_zod.z.string().optional(),
|
|
1252
|
+
mode: import_zod.z.enum(["point", "line", "p2p", "cline"]).optional(),
|
|
1253
|
+
scale: import_zod.z.enum(["lin", "sqrt", "cbrt", "log"]).optional(),
|
|
1254
|
+
background: import_zod.z.string().optional()
|
|
1255
|
+
});
|
|
1256
|
+
var KenBurnsOptionsSchema = import_zod.z.object({
|
|
1257
|
+
durationSeconds: import_zod.z.number().positive().optional().default(5),
|
|
1258
|
+
fps: import_zod.z.number().int().positive().optional().default(30),
|
|
1259
|
+
width: import_zod.z.number().int().positive().optional().default(1920),
|
|
1260
|
+
height: import_zod.z.number().int().positive().optional().default(1080),
|
|
1261
|
+
zoomDirection: import_zod.z.enum(["in", "out", "none"]).optional().default("in"),
|
|
1262
|
+
panDirection: import_zod.z.enum(["top-to-bottom", "bottom-to-top", "left-to-right", "right-to-left", "center", "none"]).optional().default("center"),
|
|
1263
|
+
maxZoom: import_zod.z.number().min(1).max(3).optional().default(1.2)
|
|
1264
|
+
});
|
|
1265
|
+
var AudioDuckingOptionsSchema = import_zod.z.object({
|
|
1266
|
+
duckingDb: import_zod.z.number().optional().default(14),
|
|
1267
|
+
attackMs: import_zod.z.number().optional().default(20),
|
|
1268
|
+
releaseMs: import_zod.z.number().optional().default(250),
|
|
1269
|
+
threshold: import_zod.z.number().optional().default(0.125)
|
|
1270
|
+
});
|
|
1271
|
+
var AudioNormalizationOptionsSchema = import_zod.z.object({
|
|
1272
|
+
targetLufs: import_zod.z.number().optional().default(-14),
|
|
1273
|
+
truePeak: import_zod.z.number().optional().default(-1.5),
|
|
1274
|
+
loudnessRange: import_zod.z.number().optional().default(11),
|
|
1275
|
+
audioCodec: import_zod.z.string().optional().default("aac")
|
|
1276
|
+
});
|
|
1277
|
+
var AudioSilenceTrimOptionsSchema = import_zod.z.object({
|
|
1278
|
+
silenceThresholdDb: import_zod.z.number().optional().default(-50),
|
|
1279
|
+
minSilenceDuration: import_zod.z.number().optional().default(0.5)
|
|
1280
|
+
});
|
|
1281
|
+
var MediaProbeResultSchema = import_zod.z.object({
|
|
1282
|
+
format: import_zod.z.string().optional(),
|
|
1283
|
+
durationSeconds: import_zod.z.number().optional(),
|
|
1284
|
+
width: import_zod.z.number().int().optional(),
|
|
1285
|
+
height: import_zod.z.number().int().optional(),
|
|
1286
|
+
fps: import_zod.z.number().optional(),
|
|
1287
|
+
bitrate: import_zod.z.number().optional(),
|
|
1288
|
+
videoCodec: import_zod.z.string().optional(),
|
|
1289
|
+
audioCodec: import_zod.z.string().optional(),
|
|
1290
|
+
audioChannels: import_zod.z.number().int().optional(),
|
|
1291
|
+
sampleRate: import_zod.z.number().int().optional(),
|
|
1292
|
+
sizeBytes: import_zod.z.number().int().optional()
|
|
1293
|
+
});
|
|
1294
|
+
var VectorTraceOptionsSchema = import_zod.z.object({
|
|
1295
|
+
colorMode: import_zod.z.enum(["color", "binary"]).optional().default("color"),
|
|
1296
|
+
hierarchical: import_zod.z.enum(["stacked", "cutout"]).optional().default("stacked"),
|
|
1297
|
+
filterSpeckle: import_zod.z.number().int().min(0).optional().default(4),
|
|
1298
|
+
cornerThreshold: import_zod.z.number().int().min(0).max(180).optional().default(60),
|
|
1299
|
+
segmentLength: import_zod.z.number().min(0).optional().default(4),
|
|
1300
|
+
spliceThreshold: import_zod.z.number().int().min(0).max(180).optional().default(45),
|
|
1301
|
+
scale: import_zod.z.number().positive().optional().default(1)
|
|
1302
|
+
});
|
|
1303
|
+
var PerceptualHashAlgorithmSchema = import_zod.z.enum(["ahash", "dhash"]);
|
|
1304
|
+
var PerceptualHashOptionsSchema = import_zod.z.object({
|
|
1305
|
+
algorithm: PerceptualHashAlgorithmSchema.optional().default("dhash"),
|
|
1306
|
+
hashSize: import_zod.z.number().int().min(8).max(64).optional().default(8)
|
|
1307
|
+
});
|
|
1308
|
+
var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
1309
|
+
title: import_zod.z.string().optional(),
|
|
1310
|
+
author: import_zod.z.string().optional(),
|
|
1311
|
+
pageSize: import_zod.z.enum(["A4", "A3", "A5", "LETTER", "LEGAL"]).optional().default("A4"),
|
|
1312
|
+
margins: import_zod.z.object({
|
|
1313
|
+
top: import_zod.z.number(),
|
|
1314
|
+
bottom: import_zod.z.number(),
|
|
1315
|
+
left: import_zod.z.number(),
|
|
1316
|
+
right: import_zod.z.number()
|
|
1317
|
+
}).optional(),
|
|
1318
|
+
enableSyntaxHighlighting: import_zod.z.boolean().optional().default(true),
|
|
1319
|
+
theme: import_zod.z.enum(["light", "dark", "corporate", "minimal"]).optional().default("light")
|
|
1320
|
+
});
|
|
1116
1321
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1117
1322
|
0 && (module.exports = {
|
|
1118
1323
|
ActivityActionSchema,
|
|
@@ -1128,9 +1333,17 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1128
1333
|
AgentNetworkTransformRuleSchema,
|
|
1129
1334
|
AgentToolSchema,
|
|
1130
1335
|
AgentToolTypeSchema,
|
|
1336
|
+
AnimatedGifCompositeSchema,
|
|
1337
|
+
ArcDistortSchema,
|
|
1131
1338
|
AspectRatioSchema,
|
|
1339
|
+
AudioDuckingOptionsSchema,
|
|
1132
1340
|
AudioMixOptionsSchema,
|
|
1133
1341
|
AudioMixTrackSchema,
|
|
1342
|
+
AudioNormalizationOptionsSchema,
|
|
1343
|
+
AudioSilenceTrimOptionsSchema,
|
|
1344
|
+
AudioVisualizerOptionsSchema,
|
|
1345
|
+
AudioVisualizerTypeSchema,
|
|
1346
|
+
AutoFitCaptionSchema,
|
|
1134
1347
|
CodeGenerationSchema,
|
|
1135
1348
|
ComponentDocsSchema,
|
|
1136
1349
|
ComponentPackageSchema,
|
|
@@ -1146,6 +1359,8 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1146
1359
|
DecisionGateKindSchema,
|
|
1147
1360
|
DecisionGateSchema,
|
|
1148
1361
|
DimensionScoreSchema,
|
|
1362
|
+
DisplacementMapSchema,
|
|
1363
|
+
DocumentGenerationOptionsSchema,
|
|
1149
1364
|
DropShadowSchema,
|
|
1150
1365
|
FORM_SCHEMA_JSON_SCHEMA,
|
|
1151
1366
|
FidelitySchema,
|
|
@@ -1161,12 +1376,21 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1161
1376
|
GenerateHarnessOptionsSchema,
|
|
1162
1377
|
ImageCompositingSchema,
|
|
1163
1378
|
ImageGenerationSchema,
|
|
1379
|
+
ImageOverlayOptionsSchema,
|
|
1380
|
+
ImagePipelineSchema,
|
|
1164
1381
|
ImageTextOverlaySchema,
|
|
1165
1382
|
ImageTransformationSchema,
|
|
1166
1383
|
ImageWatermarkSchema,
|
|
1167
1384
|
IngestionInputSchema,
|
|
1168
1385
|
JsonGenerationSchema,
|
|
1386
|
+
KenBurnsOptionsSchema,
|
|
1387
|
+
MediaProbeResultSchema,
|
|
1388
|
+
PerceptualHashAlgorithmSchema,
|
|
1389
|
+
PerceptualHashOptionsSchema,
|
|
1390
|
+
PerspectiveQuadSchema,
|
|
1391
|
+
PerspectiveWarpSchema,
|
|
1169
1392
|
PlatformLanguageSchema,
|
|
1393
|
+
Point2DSchema,
|
|
1170
1394
|
PreviewHarnessSchema,
|
|
1171
1395
|
QueueJobSchema,
|
|
1172
1396
|
QueueJobStatusSchema,
|
|
@@ -1182,6 +1406,8 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1182
1406
|
ServiceClientSchema,
|
|
1183
1407
|
SocialVideoGenerationSchema,
|
|
1184
1408
|
SubmissionScoreSchema,
|
|
1409
|
+
SubtitleBurnOptionsSchema,
|
|
1410
|
+
SubtitleFormatSchema,
|
|
1185
1411
|
TechnicalFormSchema,
|
|
1186
1412
|
TextAlignmentSchema,
|
|
1187
1413
|
TextOverlayPositionSchema,
|
|
@@ -1198,6 +1424,7 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1198
1424
|
UIGenerationOptionsSchema,
|
|
1199
1425
|
UIGenerationResultSchema,
|
|
1200
1426
|
UIValidationResultSchema,
|
|
1427
|
+
VectorTraceOptionsSchema,
|
|
1201
1428
|
VideoAnalysisCategorySchema,
|
|
1202
1429
|
VideoAnalysisSchema,
|
|
1203
1430
|
VideoAspectRatioSchema,
|
|
@@ -1205,6 +1432,7 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1205
1432
|
VideoCompressionSchema,
|
|
1206
1433
|
VideoFrameImageSchema,
|
|
1207
1434
|
VideoGenerationSchema,
|
|
1435
|
+
VideoModificationSchema,
|
|
1208
1436
|
VideoOverlayOptionsSchema,
|
|
1209
1437
|
VideoOverlayStyleSchema,
|
|
1210
1438
|
VideoPipelineSchema,
|