@pixerate/schemas 1.8.0 → 1.10.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/dist/index.cjs +415 -3
- package/dist/index.d.cts +1841 -27
- package/dist/index.d.ts +1841 -27
- package/dist/index.js +374 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21,8 +21,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ActivityActionSchema: () => ActivityActionSchema,
|
|
24
|
+
ActivityActionTypeSchema: () => ActivityActionTypeSchema,
|
|
25
|
+
ActivityActorSchema: () => ActivityActorSchema,
|
|
26
|
+
ActivityEventSchema: () => ActivityEventSchema,
|
|
24
27
|
ActivityLogSchema: () => ActivityLogSchema,
|
|
28
|
+
ActivityStreamFilterSchema: () => ActivityStreamFilterSchema,
|
|
29
|
+
ActorTypeSchema: () => ActorTypeSchema,
|
|
25
30
|
AestheticSchema: () => AestheticSchema,
|
|
31
|
+
AgentActorMetadataSchema: () => AgentActorMetadataSchema,
|
|
26
32
|
AgentConfigSchema: () => AgentConfigSchema,
|
|
27
33
|
AgentDocumentAttachmentSchema: () => AgentDocumentAttachmentSchema,
|
|
28
34
|
AgentEnvironmentSchema: () => AgentEnvironmentSchema,
|
|
@@ -36,9 +42,15 @@ __export(index_exports, {
|
|
|
36
42
|
AnimatedGifCompositeSchema: () => AnimatedGifCompositeSchema,
|
|
37
43
|
ArcDistortSchema: () => ArcDistortSchema,
|
|
38
44
|
AspectRatioSchema: () => AspectRatioSchema,
|
|
45
|
+
AudioDuckingOptionsSchema: () => AudioDuckingOptionsSchema,
|
|
39
46
|
AudioMixOptionsSchema: () => AudioMixOptionsSchema,
|
|
40
47
|
AudioMixTrackSchema: () => AudioMixTrackSchema,
|
|
48
|
+
AudioNormalizationOptionsSchema: () => AudioNormalizationOptionsSchema,
|
|
49
|
+
AudioSilenceTrimOptionsSchema: () => AudioSilenceTrimOptionsSchema,
|
|
50
|
+
AudioVisualizerOptionsSchema: () => AudioVisualizerOptionsSchema,
|
|
51
|
+
AudioVisualizerTypeSchema: () => AudioVisualizerTypeSchema,
|
|
41
52
|
AutoFitCaptionSchema: () => AutoFitCaptionSchema,
|
|
53
|
+
CRDTSnapshotSchema: () => CRDTSnapshotSchema,
|
|
42
54
|
CodeGenerationSchema: () => CodeGenerationSchema,
|
|
43
55
|
ComponentDocsSchema: () => ComponentDocsSchema,
|
|
44
56
|
ComponentPackageSchema: () => ComponentPackageSchema,
|
|
@@ -51,13 +63,16 @@ __export(index_exports, {
|
|
|
51
63
|
ConditionOperatorSchema: () => ConditionOperatorSchema,
|
|
52
64
|
ConditionSchema: () => ConditionSchema,
|
|
53
65
|
ControlValidationSchema: () => ControlValidationSchema,
|
|
66
|
+
CursorPositionSchema: () => CursorPositionSchema,
|
|
54
67
|
DecisionGateKindSchema: () => DecisionGateKindSchema,
|
|
55
68
|
DecisionGateSchema: () => DecisionGateSchema,
|
|
56
69
|
DimensionScoreSchema: () => DimensionScoreSchema,
|
|
57
70
|
DisplacementMapSchema: () => DisplacementMapSchema,
|
|
71
|
+
DocumentGenerationOptionsSchema: () => DocumentGenerationOptionsSchema,
|
|
58
72
|
DropShadowSchema: () => DropShadowSchema,
|
|
59
73
|
FORM_SCHEMA_JSON_SCHEMA: () => FORM_SCHEMA_JSON_SCHEMA,
|
|
60
74
|
FidelitySchema: () => FidelitySchema,
|
|
75
|
+
FieldPresenceSchema: () => FieldPresenceSchema,
|
|
61
76
|
FormControlSchema: () => FormControlSchema,
|
|
62
77
|
FormControlTypeSchema: () => FormControlTypeSchema,
|
|
63
78
|
FormHandoffActionSchema: () => FormHandoffActionSchema,
|
|
@@ -77,14 +92,34 @@ __export(index_exports, {
|
|
|
77
92
|
ImageWatermarkSchema: () => ImageWatermarkSchema,
|
|
78
93
|
IngestionInputSchema: () => IngestionInputSchema,
|
|
79
94
|
JsonGenerationSchema: () => JsonGenerationSchema,
|
|
95
|
+
KenBurnsOptionsSchema: () => KenBurnsOptionsSchema,
|
|
96
|
+
LockClaimRequestSchema: () => LockClaimRequestSchema,
|
|
97
|
+
LockHeartbeatRequestSchema: () => LockHeartbeatRequestSchema,
|
|
98
|
+
LockReleaseRequestSchema: () => LockReleaseRequestSchema,
|
|
99
|
+
LockStatusSchema: () => LockStatusSchema,
|
|
100
|
+
MediaProbeResultSchema: () => MediaProbeResultSchema,
|
|
101
|
+
OTJsonOpSchema: () => OTJsonOpSchema,
|
|
102
|
+
OTJsonOpTypeSchema: () => OTJsonOpTypeSchema,
|
|
103
|
+
OTOperationSchema: () => OTOperationSchema,
|
|
104
|
+
OTRevisionSchema: () => OTRevisionSchema,
|
|
105
|
+
OTTextOpSchema: () => OTTextOpSchema,
|
|
106
|
+
OTTextOpTypeSchema: () => OTTextOpTypeSchema,
|
|
107
|
+
PerceptualHashAlgorithmSchema: () => PerceptualHashAlgorithmSchema,
|
|
108
|
+
PerceptualHashOptionsSchema: () => PerceptualHashOptionsSchema,
|
|
80
109
|
PerspectiveQuadSchema: () => PerspectiveQuadSchema,
|
|
81
110
|
PerspectiveWarpSchema: () => PerspectiveWarpSchema,
|
|
82
111
|
PlatformLanguageSchema: () => PlatformLanguageSchema,
|
|
83
112
|
Point2DSchema: () => Point2DSchema,
|
|
113
|
+
PresenceColorSchema: () => PresenceColorSchema,
|
|
114
|
+
PresenceStateSchema: () => PresenceStateSchema,
|
|
115
|
+
PresenceStatusSchema: () => PresenceStatusSchema,
|
|
116
|
+
PresenceUserSchema: () => PresenceUserSchema,
|
|
84
117
|
PreviewHarnessSchema: () => PreviewHarnessSchema,
|
|
85
118
|
QueueJobSchema: () => QueueJobSchema,
|
|
86
119
|
QueueJobStatusSchema: () => QueueJobStatusSchema,
|
|
87
120
|
QueueJobTypeSchema: () => QueueJobTypeSchema,
|
|
121
|
+
RecordLockInfoSchema: () => RecordLockInfoSchema,
|
|
122
|
+
RecordLockSchema: () => RecordLockSchema,
|
|
88
123
|
ReferenceDataSourceSchema: () => ReferenceDataSourceSchema,
|
|
89
124
|
ScoreBandSchema: () => ScoreBandSchema,
|
|
90
125
|
ScoringConfigSchema: () => ScoringConfigSchema,
|
|
@@ -96,6 +131,8 @@ __export(index_exports, {
|
|
|
96
131
|
ServiceClientSchema: () => ServiceClientSchema,
|
|
97
132
|
SocialVideoGenerationSchema: () => SocialVideoGenerationSchema,
|
|
98
133
|
SubmissionScoreSchema: () => SubmissionScoreSchema,
|
|
134
|
+
SubtitleBurnOptionsSchema: () => SubtitleBurnOptionsSchema,
|
|
135
|
+
SubtitleFormatSchema: () => SubtitleFormatSchema,
|
|
99
136
|
TechnicalFormSchema: () => TechnicalFormSchema,
|
|
100
137
|
TextAlignmentSchema: () => TextAlignmentSchema,
|
|
101
138
|
TextOverlayPositionSchema: () => TextOverlayPositionSchema,
|
|
@@ -107,11 +144,13 @@ __export(index_exports, {
|
|
|
107
144
|
ThemeSupportSchema: () => ThemeSupportSchema,
|
|
108
145
|
ThemeTokensSchema: () => ThemeTokensSchema,
|
|
109
146
|
ThemeTypographyTokensSchema: () => ThemeTypographyTokensSchema,
|
|
147
|
+
TypingIndicatorSchema: () => TypingIndicatorSchema,
|
|
110
148
|
UIComponentTypeSchema: () => UIComponentTypeSchema,
|
|
111
149
|
UIExtractionResultSchema: () => UIExtractionResultSchema,
|
|
112
150
|
UIGenerationOptionsSchema: () => UIGenerationOptionsSchema,
|
|
113
151
|
UIGenerationResultSchema: () => UIGenerationResultSchema,
|
|
114
152
|
UIValidationResultSchema: () => UIValidationResultSchema,
|
|
153
|
+
VectorTraceOptionsSchema: () => VectorTraceOptionsSchema,
|
|
115
154
|
VideoAnalysisCategorySchema: () => VideoAnalysisCategorySchema,
|
|
116
155
|
VideoAnalysisSchema: () => VideoAnalysisSchema,
|
|
117
156
|
VideoAspectRatioSchema: () => VideoAspectRatioSchema,
|
|
@@ -129,6 +168,8 @@ __export(index_exports, {
|
|
|
129
168
|
VideoTranscodeSchema: () => VideoTranscodeSchema,
|
|
130
169
|
VideoUpscaleSchema: () => VideoUpscaleSchema,
|
|
131
170
|
VideoWatermarkSchema: () => VideoWatermarkSchema,
|
|
171
|
+
ViewingIndicatorSchema: () => ViewingIndicatorSchema,
|
|
172
|
+
ViewportTransformSchema: () => ViewportTransformSchema,
|
|
132
173
|
WatermarkPositionSchema: () => WatermarkPositionSchema,
|
|
133
174
|
WatermarkSchema: () => WatermarkSchema
|
|
134
175
|
});
|
|
@@ -320,6 +361,10 @@ var VideoPipelineSchema = import_zod.z.object({
|
|
|
320
361
|
options: VideoOverlayOptionsSchema.optional()
|
|
321
362
|
})).optional(),
|
|
322
363
|
audioMix: AudioMixOptionsSchema.optional(),
|
|
364
|
+
subtitles: import_zod.z.lazy(() => SubtitleBurnOptionsSchema).optional(),
|
|
365
|
+
visualizer: import_zod.z.lazy(() => AudioVisualizerOptionsSchema).optional(),
|
|
366
|
+
kenBurns: import_zod.z.lazy(() => KenBurnsOptionsSchema).optional(),
|
|
367
|
+
ducking: import_zod.z.lazy(() => AudioDuckingOptionsSchema).optional(),
|
|
323
368
|
compress: VideoTranscodeSchema.optional()
|
|
324
369
|
});
|
|
325
370
|
var VideoCompositingSchema = VideoPipelineSchema;
|
|
@@ -404,8 +449,9 @@ var ImagePipelineSchema = import_zod.z.object({
|
|
|
404
449
|
arcDistort: ArcDistortSchema.optional(),
|
|
405
450
|
autoFitCaption: AutoFitCaptionSchema.optional(),
|
|
406
451
|
animatedGif: AnimatedGifCompositeSchema.optional(),
|
|
452
|
+
traceVector: import_zod.z.lazy(() => VectorTraceOptionsSchema).optional(),
|
|
407
453
|
output: import_zod.z.object({
|
|
408
|
-
format: import_zod.z.enum(["png", "jpeg", "webp", "avif", "gif"]).optional(),
|
|
454
|
+
format: import_zod.z.enum(["png", "jpeg", "webp", "avif", "gif", "svg"]).optional(),
|
|
409
455
|
quality: import_zod.z.number().int().min(1).max(100).optional()
|
|
410
456
|
}).optional()
|
|
411
457
|
});
|
|
@@ -415,13 +461,14 @@ var ImageCompositingSchema = import_zod.z.object({
|
|
|
415
461
|
fit: import_zod.z.enum(["cover", "contain", "fill", "inside", "outside"]).optional(),
|
|
416
462
|
targetWidth: import_zod.z.number().int().optional(),
|
|
417
463
|
targetHeight: import_zod.z.number().int().optional(),
|
|
418
|
-
format: import_zod.z.enum(["png", "jpeg", "webp", "avif", "gif"]).optional(),
|
|
464
|
+
format: import_zod.z.enum(["png", "jpeg", "webp", "avif", "gif", "svg"]).optional(),
|
|
419
465
|
quality: import_zod.z.number().int().min(1).max(100).optional(),
|
|
420
466
|
perspectiveWarp: PerspectiveWarpSchema.optional(),
|
|
421
467
|
displacementMap: DisplacementMapSchema.optional(),
|
|
422
468
|
arcDistort: ArcDistortSchema.optional(),
|
|
423
469
|
autoFitCaption: AutoFitCaptionSchema.optional(),
|
|
424
|
-
animatedGif: AnimatedGifCompositeSchema.optional()
|
|
470
|
+
animatedGif: AnimatedGifCompositeSchema.optional(),
|
|
471
|
+
traceVector: import_zod.z.lazy(() => VectorTraceOptionsSchema).optional()
|
|
425
472
|
});
|
|
426
473
|
var VideoAnalysisCategorySchema = import_zod.z.enum([
|
|
427
474
|
"Scenes",
|
|
@@ -1209,11 +1256,341 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1209
1256
|
},
|
|
1210
1257
|
required: ["version", "stages"]
|
|
1211
1258
|
};
|
|
1259
|
+
var SubtitleFormatSchema = import_zod.z.enum(["srt", "vtt", "ass"]);
|
|
1260
|
+
var SubtitleBurnOptionsSchema = import_zod.z.object({
|
|
1261
|
+
subtitlePath: import_zod.z.string().optional(),
|
|
1262
|
+
subtitleContent: import_zod.z.string().optional(),
|
|
1263
|
+
format: SubtitleFormatSchema.optional(),
|
|
1264
|
+
fontSize: import_zod.z.number().optional(),
|
|
1265
|
+
fontName: import_zod.z.string().optional(),
|
|
1266
|
+
primaryColor: import_zod.z.string().optional(),
|
|
1267
|
+
outlineColor: import_zod.z.string().optional(),
|
|
1268
|
+
outlineWidth: import_zod.z.number().optional(),
|
|
1269
|
+
alignment: import_zod.z.number().int().optional(),
|
|
1270
|
+
marginV: import_zod.z.number().int().optional(),
|
|
1271
|
+
karaoke: import_zod.z.boolean().optional()
|
|
1272
|
+
});
|
|
1273
|
+
var AudioVisualizerTypeSchema = import_zod.z.enum(["waves", "spectrum", "bars"]);
|
|
1274
|
+
var AudioVisualizerOptionsSchema = import_zod.z.object({
|
|
1275
|
+
type: AudioVisualizerTypeSchema.optional().default("waves"),
|
|
1276
|
+
width: import_zod.z.number().int().positive().optional().default(1280),
|
|
1277
|
+
height: import_zod.z.number().int().positive().optional().default(720),
|
|
1278
|
+
fps: import_zod.z.number().int().positive().optional().default(30),
|
|
1279
|
+
colors: import_zod.z.string().optional(),
|
|
1280
|
+
mode: import_zod.z.enum(["point", "line", "p2p", "cline"]).optional(),
|
|
1281
|
+
scale: import_zod.z.enum(["lin", "sqrt", "cbrt", "log"]).optional(),
|
|
1282
|
+
background: import_zod.z.string().optional()
|
|
1283
|
+
});
|
|
1284
|
+
var KenBurnsOptionsSchema = import_zod.z.object({
|
|
1285
|
+
durationSeconds: import_zod.z.number().positive().optional().default(5),
|
|
1286
|
+
fps: import_zod.z.number().int().positive().optional().default(30),
|
|
1287
|
+
width: import_zod.z.number().int().positive().optional().default(1920),
|
|
1288
|
+
height: import_zod.z.number().int().positive().optional().default(1080),
|
|
1289
|
+
zoomDirection: import_zod.z.enum(["in", "out", "none"]).optional().default("in"),
|
|
1290
|
+
panDirection: import_zod.z.enum(["top-to-bottom", "bottom-to-top", "left-to-right", "right-to-left", "center", "none"]).optional().default("center"),
|
|
1291
|
+
maxZoom: import_zod.z.number().min(1).max(3).optional().default(1.2)
|
|
1292
|
+
});
|
|
1293
|
+
var AudioDuckingOptionsSchema = import_zod.z.object({
|
|
1294
|
+
duckingDb: import_zod.z.number().optional().default(14),
|
|
1295
|
+
attackMs: import_zod.z.number().optional().default(20),
|
|
1296
|
+
releaseMs: import_zod.z.number().optional().default(250),
|
|
1297
|
+
threshold: import_zod.z.number().optional().default(0.125)
|
|
1298
|
+
});
|
|
1299
|
+
var AudioNormalizationOptionsSchema = import_zod.z.object({
|
|
1300
|
+
targetLufs: import_zod.z.number().optional().default(-14),
|
|
1301
|
+
truePeak: import_zod.z.number().optional().default(-1.5),
|
|
1302
|
+
loudnessRange: import_zod.z.number().optional().default(11),
|
|
1303
|
+
audioCodec: import_zod.z.string().optional().default("aac")
|
|
1304
|
+
});
|
|
1305
|
+
var AudioSilenceTrimOptionsSchema = import_zod.z.object({
|
|
1306
|
+
silenceThresholdDb: import_zod.z.number().optional().default(-50),
|
|
1307
|
+
minSilenceDuration: import_zod.z.number().optional().default(0.5)
|
|
1308
|
+
});
|
|
1309
|
+
var MediaProbeResultSchema = import_zod.z.object({
|
|
1310
|
+
format: import_zod.z.string().optional(),
|
|
1311
|
+
durationSeconds: import_zod.z.number().optional(),
|
|
1312
|
+
width: import_zod.z.number().int().optional(),
|
|
1313
|
+
height: import_zod.z.number().int().optional(),
|
|
1314
|
+
fps: import_zod.z.number().optional(),
|
|
1315
|
+
bitrate: import_zod.z.number().optional(),
|
|
1316
|
+
videoCodec: import_zod.z.string().optional(),
|
|
1317
|
+
audioCodec: import_zod.z.string().optional(),
|
|
1318
|
+
audioChannels: import_zod.z.number().int().optional(),
|
|
1319
|
+
sampleRate: import_zod.z.number().int().optional(),
|
|
1320
|
+
sizeBytes: import_zod.z.number().int().optional()
|
|
1321
|
+
});
|
|
1322
|
+
var VectorTraceOptionsSchema = import_zod.z.object({
|
|
1323
|
+
colorMode: import_zod.z.enum(["color", "binary"]).optional().default("color"),
|
|
1324
|
+
hierarchical: import_zod.z.enum(["stacked", "cutout"]).optional().default("stacked"),
|
|
1325
|
+
filterSpeckle: import_zod.z.number().int().min(0).optional().default(4),
|
|
1326
|
+
cornerThreshold: import_zod.z.number().int().min(0).max(180).optional().default(60),
|
|
1327
|
+
segmentLength: import_zod.z.number().min(0).optional().default(4),
|
|
1328
|
+
spliceThreshold: import_zod.z.number().int().min(0).max(180).optional().default(45),
|
|
1329
|
+
scale: import_zod.z.number().positive().optional().default(1)
|
|
1330
|
+
});
|
|
1331
|
+
var PerceptualHashAlgorithmSchema = import_zod.z.enum(["ahash", "dhash"]);
|
|
1332
|
+
var PerceptualHashOptionsSchema = import_zod.z.object({
|
|
1333
|
+
algorithm: PerceptualHashAlgorithmSchema.optional().default("dhash"),
|
|
1334
|
+
hashSize: import_zod.z.number().int().min(8).max(64).optional().default(8)
|
|
1335
|
+
});
|
|
1336
|
+
var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
1337
|
+
title: import_zod.z.string().optional(),
|
|
1338
|
+
author: import_zod.z.string().optional(),
|
|
1339
|
+
pageSize: import_zod.z.enum(["A4", "A3", "A5", "LETTER", "LEGAL"]).optional().default("A4"),
|
|
1340
|
+
margins: import_zod.z.object({
|
|
1341
|
+
top: import_zod.z.number(),
|
|
1342
|
+
bottom: import_zod.z.number(),
|
|
1343
|
+
left: import_zod.z.number(),
|
|
1344
|
+
right: import_zod.z.number()
|
|
1345
|
+
}).optional(),
|
|
1346
|
+
enableSyntaxHighlighting: import_zod.z.boolean().optional().default(true),
|
|
1347
|
+
theme: import_zod.z.enum(["light", "dark", "corporate", "minimal"]).optional().default("light")
|
|
1348
|
+
});
|
|
1349
|
+
var PresenceColorSchema = import_zod.z.enum([
|
|
1350
|
+
"slate",
|
|
1351
|
+
"gray",
|
|
1352
|
+
"zinc",
|
|
1353
|
+
"neutral",
|
|
1354
|
+
"stone",
|
|
1355
|
+
"red",
|
|
1356
|
+
"orange",
|
|
1357
|
+
"amber",
|
|
1358
|
+
"yellow",
|
|
1359
|
+
"lime",
|
|
1360
|
+
"green",
|
|
1361
|
+
"emerald",
|
|
1362
|
+
"teal",
|
|
1363
|
+
"cyan",
|
|
1364
|
+
"sky",
|
|
1365
|
+
"blue",
|
|
1366
|
+
"indigo",
|
|
1367
|
+
"violet",
|
|
1368
|
+
"purple",
|
|
1369
|
+
"fuchsia",
|
|
1370
|
+
"pink",
|
|
1371
|
+
"rose"
|
|
1372
|
+
]);
|
|
1373
|
+
var PresenceStatusSchema = import_zod.z.enum([
|
|
1374
|
+
"online",
|
|
1375
|
+
"idle",
|
|
1376
|
+
"away",
|
|
1377
|
+
"busy",
|
|
1378
|
+
"offline",
|
|
1379
|
+
"planning",
|
|
1380
|
+
"thinking",
|
|
1381
|
+
"executing_tool",
|
|
1382
|
+
"waiting_for_input",
|
|
1383
|
+
"waiting_for_agent",
|
|
1384
|
+
"streaming",
|
|
1385
|
+
"paused",
|
|
1386
|
+
"error"
|
|
1387
|
+
]);
|
|
1388
|
+
var ActorTypeSchema = import_zod.z.enum(["human", "agent", "system"]);
|
|
1389
|
+
var AgentActorMetadataSchema = import_zod.z.object({
|
|
1390
|
+
role: import_zod.z.string().optional(),
|
|
1391
|
+
parentAgentId: import_zod.z.string().optional(),
|
|
1392
|
+
runId: import_zod.z.string().optional(),
|
|
1393
|
+
currentTask: import_zod.z.string().optional()
|
|
1394
|
+
});
|
|
1395
|
+
var PresenceUserSchema = import_zod.z.object({
|
|
1396
|
+
id: import_zod.z.string(),
|
|
1397
|
+
username: import_zod.z.string().optional(),
|
|
1398
|
+
email: import_zod.z.string().optional(),
|
|
1399
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1400
|
+
actorType: ActorTypeSchema.optional(),
|
|
1401
|
+
color: PresenceColorSchema.optional().default("blue"),
|
|
1402
|
+
status: PresenceStatusSchema.optional().default("online"),
|
|
1403
|
+
agent: AgentActorMetadataSchema.optional(),
|
|
1404
|
+
lastSeen: import_zod.z.number().int().positive().optional().default(() => Date.now()),
|
|
1405
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1406
|
+
});
|
|
1407
|
+
var ViewportTransformSchema = import_zod.z.object({
|
|
1408
|
+
zoom: import_zod.z.number().default(1),
|
|
1409
|
+
panX: import_zod.z.number().default(0),
|
|
1410
|
+
panY: import_zod.z.number().default(0)
|
|
1411
|
+
});
|
|
1412
|
+
var CursorPositionSchema = import_zod.z.object({
|
|
1413
|
+
userId: import_zod.z.string(),
|
|
1414
|
+
x: import_zod.z.number(),
|
|
1415
|
+
y: import_zod.z.number(),
|
|
1416
|
+
lastUpdate: import_zod.z.number().int().positive().default(() => Date.now()),
|
|
1417
|
+
username: import_zod.z.string().optional(),
|
|
1418
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1419
|
+
color: PresenceColorSchema.optional(),
|
|
1420
|
+
viewport: ViewportTransformSchema.optional()
|
|
1421
|
+
});
|
|
1422
|
+
var PresenceStateSchema = import_zod.z.object({
|
|
1423
|
+
roomId: import_zod.z.string(),
|
|
1424
|
+
presences: import_zod.z.record(PresenceUserSchema).default({}),
|
|
1425
|
+
cursors: import_zod.z.record(CursorPositionSchema).default({})
|
|
1426
|
+
});
|
|
1427
|
+
var ViewingIndicatorSchema = import_zod.z.object({
|
|
1428
|
+
userId: import_zod.z.string(),
|
|
1429
|
+
resourceId: import_zod.z.string(),
|
|
1430
|
+
resourceType: import_zod.z.enum(["board", "document", "item", "node", "canvas", "page", "field"]).default("board"),
|
|
1431
|
+
username: import_zod.z.string().optional(),
|
|
1432
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1433
|
+
color: PresenceColorSchema.optional(),
|
|
1434
|
+
lastSeen: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1435
|
+
});
|
|
1436
|
+
var TypingIndicatorSchema = import_zod.z.object({
|
|
1437
|
+
userId: import_zod.z.string(),
|
|
1438
|
+
resourceId: import_zod.z.string(),
|
|
1439
|
+
fieldName: import_zod.z.string().optional(),
|
|
1440
|
+
username: import_zod.z.string().optional(),
|
|
1441
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1442
|
+
color: PresenceColorSchema.optional(),
|
|
1443
|
+
isTyping: import_zod.z.boolean().default(true),
|
|
1444
|
+
timestamp: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1445
|
+
});
|
|
1446
|
+
var FieldPresenceSchema = import_zod.z.object({
|
|
1447
|
+
fieldId: import_zod.z.string(),
|
|
1448
|
+
focusedBy: import_zod.z.array(PresenceUserSchema).default([]),
|
|
1449
|
+
typingUsers: import_zod.z.array(TypingIndicatorSchema).default([])
|
|
1450
|
+
});
|
|
1451
|
+
var LockStatusSchema = import_zod.z.enum(["unlocked", "locked", "expired", "claimed"]);
|
|
1452
|
+
var RecordLockInfoSchema = import_zod.z.object({
|
|
1453
|
+
userId: import_zod.z.string(),
|
|
1454
|
+
username: import_zod.z.string().optional(),
|
|
1455
|
+
clientId: import_zod.z.string().optional(),
|
|
1456
|
+
avatarUrl: import_zod.z.string().optional()
|
|
1457
|
+
});
|
|
1458
|
+
var RecordLockSchema = import_zod.z.object({
|
|
1459
|
+
id: import_zod.z.string(),
|
|
1460
|
+
resourceId: import_zod.z.string(),
|
|
1461
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1462
|
+
lockedBy: RecordLockInfoSchema,
|
|
1463
|
+
lockedAt: import_zod.z.number().int().positive(),
|
|
1464
|
+
expiresAt: import_zod.z.number().int().positive(),
|
|
1465
|
+
leaseDurationSeconds: import_zod.z.number().int().positive().default(60),
|
|
1466
|
+
status: LockStatusSchema.default("locked"),
|
|
1467
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1468
|
+
});
|
|
1469
|
+
var LockClaimRequestSchema = import_zod.z.object({
|
|
1470
|
+
resourceId: import_zod.z.string(),
|
|
1471
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1472
|
+
userId: import_zod.z.string(),
|
|
1473
|
+
username: import_zod.z.string().optional(),
|
|
1474
|
+
clientId: import_zod.z.string().optional(),
|
|
1475
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1476
|
+
leaseDurationSeconds: import_zod.z.number().int().positive().optional().default(60),
|
|
1477
|
+
force: import_zod.z.boolean().optional().default(false),
|
|
1478
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1479
|
+
});
|
|
1480
|
+
var LockReleaseRequestSchema = import_zod.z.object({
|
|
1481
|
+
resourceId: import_zod.z.string(),
|
|
1482
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1483
|
+
userId: import_zod.z.string(),
|
|
1484
|
+
clientId: import_zod.z.string().optional(),
|
|
1485
|
+
force: import_zod.z.boolean().optional().default(false)
|
|
1486
|
+
});
|
|
1487
|
+
var LockHeartbeatRequestSchema = import_zod.z.object({
|
|
1488
|
+
resourceId: import_zod.z.string(),
|
|
1489
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1490
|
+
userId: import_zod.z.string(),
|
|
1491
|
+
clientId: import_zod.z.string().optional(),
|
|
1492
|
+
leaseDurationSeconds: import_zod.z.number().int().positive().optional().default(60)
|
|
1493
|
+
});
|
|
1494
|
+
var ActivityActionTypeSchema = import_zod.z.enum([
|
|
1495
|
+
"join",
|
|
1496
|
+
"leave",
|
|
1497
|
+
"create",
|
|
1498
|
+
"update",
|
|
1499
|
+
"delete",
|
|
1500
|
+
"lock",
|
|
1501
|
+
"unlock",
|
|
1502
|
+
"claim",
|
|
1503
|
+
"comment",
|
|
1504
|
+
"generate",
|
|
1505
|
+
"star",
|
|
1506
|
+
"unstar",
|
|
1507
|
+
"custom",
|
|
1508
|
+
"agent:thought",
|
|
1509
|
+
"agent:plan_updated",
|
|
1510
|
+
"agent:tool_start",
|
|
1511
|
+
"agent:tool_end",
|
|
1512
|
+
"agent:approval_requested",
|
|
1513
|
+
"agent:approval_resolved",
|
|
1514
|
+
"agent:error"
|
|
1515
|
+
]);
|
|
1516
|
+
var ActivityActorSchema = import_zod.z.object({
|
|
1517
|
+
userId: import_zod.z.string(),
|
|
1518
|
+
username: import_zod.z.string().optional(),
|
|
1519
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1520
|
+
actorType: ActorTypeSchema.optional(),
|
|
1521
|
+
role: import_zod.z.string().optional(),
|
|
1522
|
+
color: PresenceColorSchema.optional()
|
|
1523
|
+
});
|
|
1524
|
+
var ActivityEventSchema = import_zod.z.object({
|
|
1525
|
+
id: import_zod.z.string(),
|
|
1526
|
+
roomId: import_zod.z.string().optional(),
|
|
1527
|
+
entityId: import_zod.z.string().optional(),
|
|
1528
|
+
entityType: import_zod.z.string().optional(),
|
|
1529
|
+
action: ActivityActionTypeSchema,
|
|
1530
|
+
actor: ActivityActorSchema,
|
|
1531
|
+
title: import_zod.z.string().optional(),
|
|
1532
|
+
description: import_zod.z.string().optional(),
|
|
1533
|
+
payload: import_zod.z.record(import_zod.z.unknown()).optional(),
|
|
1534
|
+
timestamp: import_zod.z.number().int().positive().default(() => Date.now()),
|
|
1535
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional()
|
|
1536
|
+
});
|
|
1537
|
+
var ActivityStreamFilterSchema = import_zod.z.object({
|
|
1538
|
+
roomId: import_zod.z.string().optional(),
|
|
1539
|
+
entityId: import_zod.z.string().optional(),
|
|
1540
|
+
entityType: import_zod.z.string().optional(),
|
|
1541
|
+
actorId: import_zod.z.string().optional(),
|
|
1542
|
+
action: import_zod.z.union([ActivityActionTypeSchema, import_zod.z.array(ActivityActionTypeSchema)]).optional(),
|
|
1543
|
+
since: import_zod.z.number().int().positive().optional(),
|
|
1544
|
+
limit: import_zod.z.number().int().positive().optional().default(50)
|
|
1545
|
+
});
|
|
1546
|
+
var OTTextOpTypeSchema = import_zod.z.enum(["retain", "insert", "delete"]);
|
|
1547
|
+
var OTTextOpSchema = import_zod.z.object({
|
|
1548
|
+
type: OTTextOpTypeSchema,
|
|
1549
|
+
count: import_zod.z.number().int().nonnegative().optional(),
|
|
1550
|
+
text: import_zod.z.string().optional(),
|
|
1551
|
+
attributes: import_zod.z.record(import_zod.z.unknown()).optional()
|
|
1552
|
+
});
|
|
1553
|
+
var OTJsonOpTypeSchema = import_zod.z.enum(["set", "delete", "insert", "move", "replace"]);
|
|
1554
|
+
var OTJsonOpSchema = import_zod.z.object({
|
|
1555
|
+
path: import_zod.z.array(import_zod.z.union([import_zod.z.string(), import_zod.z.number()])),
|
|
1556
|
+
type: OTJsonOpTypeSchema,
|
|
1557
|
+
value: import_zod.z.unknown().optional(),
|
|
1558
|
+
prevValue: import_zod.z.unknown().optional()
|
|
1559
|
+
});
|
|
1560
|
+
var OTOperationSchema = import_zod.z.object({
|
|
1561
|
+
id: import_zod.z.string(),
|
|
1562
|
+
docId: import_zod.z.string(),
|
|
1563
|
+
revision: import_zod.z.number().int().nonnegative(),
|
|
1564
|
+
authorId: import_zod.z.string(),
|
|
1565
|
+
textOps: import_zod.z.array(OTTextOpSchema).optional(),
|
|
1566
|
+
jsonOps: import_zod.z.array(OTJsonOpSchema).optional(),
|
|
1567
|
+
timestamp: import_zod.z.number().int().positive().default(() => Date.now()),
|
|
1568
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1569
|
+
});
|
|
1570
|
+
var OTRevisionSchema = import_zod.z.object({
|
|
1571
|
+
docId: import_zod.z.string(),
|
|
1572
|
+
revision: import_zod.z.number().int().nonnegative(),
|
|
1573
|
+
snapshot: import_zod.z.unknown(),
|
|
1574
|
+
appliedOps: import_zod.z.array(OTOperationSchema).default([]),
|
|
1575
|
+
updatedAt: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1576
|
+
});
|
|
1577
|
+
var CRDTSnapshotSchema = import_zod.z.object({
|
|
1578
|
+
docId: import_zod.z.string(),
|
|
1579
|
+
vectorClock: import_zod.z.record(import_zod.z.number().int().nonnegative()).default({}),
|
|
1580
|
+
state: import_zod.z.record(import_zod.z.unknown()).default({}),
|
|
1581
|
+
updatedAt: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1582
|
+
});
|
|
1212
1583
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1213
1584
|
0 && (module.exports = {
|
|
1214
1585
|
ActivityActionSchema,
|
|
1586
|
+
ActivityActionTypeSchema,
|
|
1587
|
+
ActivityActorSchema,
|
|
1588
|
+
ActivityEventSchema,
|
|
1215
1589
|
ActivityLogSchema,
|
|
1590
|
+
ActivityStreamFilterSchema,
|
|
1591
|
+
ActorTypeSchema,
|
|
1216
1592
|
AestheticSchema,
|
|
1593
|
+
AgentActorMetadataSchema,
|
|
1217
1594
|
AgentConfigSchema,
|
|
1218
1595
|
AgentDocumentAttachmentSchema,
|
|
1219
1596
|
AgentEnvironmentSchema,
|
|
@@ -1227,9 +1604,15 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1227
1604
|
AnimatedGifCompositeSchema,
|
|
1228
1605
|
ArcDistortSchema,
|
|
1229
1606
|
AspectRatioSchema,
|
|
1607
|
+
AudioDuckingOptionsSchema,
|
|
1230
1608
|
AudioMixOptionsSchema,
|
|
1231
1609
|
AudioMixTrackSchema,
|
|
1610
|
+
AudioNormalizationOptionsSchema,
|
|
1611
|
+
AudioSilenceTrimOptionsSchema,
|
|
1612
|
+
AudioVisualizerOptionsSchema,
|
|
1613
|
+
AudioVisualizerTypeSchema,
|
|
1232
1614
|
AutoFitCaptionSchema,
|
|
1615
|
+
CRDTSnapshotSchema,
|
|
1233
1616
|
CodeGenerationSchema,
|
|
1234
1617
|
ComponentDocsSchema,
|
|
1235
1618
|
ComponentPackageSchema,
|
|
@@ -1242,13 +1625,16 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1242
1625
|
ConditionOperatorSchema,
|
|
1243
1626
|
ConditionSchema,
|
|
1244
1627
|
ControlValidationSchema,
|
|
1628
|
+
CursorPositionSchema,
|
|
1245
1629
|
DecisionGateKindSchema,
|
|
1246
1630
|
DecisionGateSchema,
|
|
1247
1631
|
DimensionScoreSchema,
|
|
1248
1632
|
DisplacementMapSchema,
|
|
1633
|
+
DocumentGenerationOptionsSchema,
|
|
1249
1634
|
DropShadowSchema,
|
|
1250
1635
|
FORM_SCHEMA_JSON_SCHEMA,
|
|
1251
1636
|
FidelitySchema,
|
|
1637
|
+
FieldPresenceSchema,
|
|
1252
1638
|
FormControlSchema,
|
|
1253
1639
|
FormControlTypeSchema,
|
|
1254
1640
|
FormHandoffActionSchema,
|
|
@@ -1268,14 +1654,34 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1268
1654
|
ImageWatermarkSchema,
|
|
1269
1655
|
IngestionInputSchema,
|
|
1270
1656
|
JsonGenerationSchema,
|
|
1657
|
+
KenBurnsOptionsSchema,
|
|
1658
|
+
LockClaimRequestSchema,
|
|
1659
|
+
LockHeartbeatRequestSchema,
|
|
1660
|
+
LockReleaseRequestSchema,
|
|
1661
|
+
LockStatusSchema,
|
|
1662
|
+
MediaProbeResultSchema,
|
|
1663
|
+
OTJsonOpSchema,
|
|
1664
|
+
OTJsonOpTypeSchema,
|
|
1665
|
+
OTOperationSchema,
|
|
1666
|
+
OTRevisionSchema,
|
|
1667
|
+
OTTextOpSchema,
|
|
1668
|
+
OTTextOpTypeSchema,
|
|
1669
|
+
PerceptualHashAlgorithmSchema,
|
|
1670
|
+
PerceptualHashOptionsSchema,
|
|
1271
1671
|
PerspectiveQuadSchema,
|
|
1272
1672
|
PerspectiveWarpSchema,
|
|
1273
1673
|
PlatformLanguageSchema,
|
|
1274
1674
|
Point2DSchema,
|
|
1675
|
+
PresenceColorSchema,
|
|
1676
|
+
PresenceStateSchema,
|
|
1677
|
+
PresenceStatusSchema,
|
|
1678
|
+
PresenceUserSchema,
|
|
1275
1679
|
PreviewHarnessSchema,
|
|
1276
1680
|
QueueJobSchema,
|
|
1277
1681
|
QueueJobStatusSchema,
|
|
1278
1682
|
QueueJobTypeSchema,
|
|
1683
|
+
RecordLockInfoSchema,
|
|
1684
|
+
RecordLockSchema,
|
|
1279
1685
|
ReferenceDataSourceSchema,
|
|
1280
1686
|
ScoreBandSchema,
|
|
1281
1687
|
ScoringConfigSchema,
|
|
@@ -1287,6 +1693,8 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1287
1693
|
ServiceClientSchema,
|
|
1288
1694
|
SocialVideoGenerationSchema,
|
|
1289
1695
|
SubmissionScoreSchema,
|
|
1696
|
+
SubtitleBurnOptionsSchema,
|
|
1697
|
+
SubtitleFormatSchema,
|
|
1290
1698
|
TechnicalFormSchema,
|
|
1291
1699
|
TextAlignmentSchema,
|
|
1292
1700
|
TextOverlayPositionSchema,
|
|
@@ -1298,11 +1706,13 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1298
1706
|
ThemeSupportSchema,
|
|
1299
1707
|
ThemeTokensSchema,
|
|
1300
1708
|
ThemeTypographyTokensSchema,
|
|
1709
|
+
TypingIndicatorSchema,
|
|
1301
1710
|
UIComponentTypeSchema,
|
|
1302
1711
|
UIExtractionResultSchema,
|
|
1303
1712
|
UIGenerationOptionsSchema,
|
|
1304
1713
|
UIGenerationResultSchema,
|
|
1305
1714
|
UIValidationResultSchema,
|
|
1715
|
+
VectorTraceOptionsSchema,
|
|
1306
1716
|
VideoAnalysisCategorySchema,
|
|
1307
1717
|
VideoAnalysisSchema,
|
|
1308
1718
|
VideoAspectRatioSchema,
|
|
@@ -1320,6 +1730,8 @@ var FORM_SCHEMA_JSON_SCHEMA = {
|
|
|
1320
1730
|
VideoTranscodeSchema,
|
|
1321
1731
|
VideoUpscaleSchema,
|
|
1322
1732
|
VideoWatermarkSchema,
|
|
1733
|
+
ViewingIndicatorSchema,
|
|
1734
|
+
ViewportTransformSchema,
|
|
1323
1735
|
WatermarkPositionSchema,
|
|
1324
1736
|
WatermarkSchema
|
|
1325
1737
|
});
|