@pixerate/schemas 1.9.0 → 1.11.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 +305 -1
- package/dist/index.d.cts +1201 -3
- package/dist/index.d.ts +1201 -3
- package/dist/index.js +276 -1
- 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,
|
|
@@ -44,6 +50,7 @@ __export(index_exports, {
|
|
|
44
50
|
AudioVisualizerOptionsSchema: () => AudioVisualizerOptionsSchema,
|
|
45
51
|
AudioVisualizerTypeSchema: () => AudioVisualizerTypeSchema,
|
|
46
52
|
AutoFitCaptionSchema: () => AutoFitCaptionSchema,
|
|
53
|
+
CRDTSnapshotSchema: () => CRDTSnapshotSchema,
|
|
47
54
|
CodeGenerationSchema: () => CodeGenerationSchema,
|
|
48
55
|
ComponentDocsSchema: () => ComponentDocsSchema,
|
|
49
56
|
ComponentPackageSchema: () => ComponentPackageSchema,
|
|
@@ -56,6 +63,7 @@ __export(index_exports, {
|
|
|
56
63
|
ConditionOperatorSchema: () => ConditionOperatorSchema,
|
|
57
64
|
ConditionSchema: () => ConditionSchema,
|
|
58
65
|
ControlValidationSchema: () => ControlValidationSchema,
|
|
66
|
+
CursorPositionSchema: () => CursorPositionSchema,
|
|
59
67
|
DecisionGateKindSchema: () => DecisionGateKindSchema,
|
|
60
68
|
DecisionGateSchema: () => DecisionGateSchema,
|
|
61
69
|
DimensionScoreSchema: () => DimensionScoreSchema,
|
|
@@ -64,6 +72,7 @@ __export(index_exports, {
|
|
|
64
72
|
DropShadowSchema: () => DropShadowSchema,
|
|
65
73
|
FORM_SCHEMA_JSON_SCHEMA: () => FORM_SCHEMA_JSON_SCHEMA,
|
|
66
74
|
FidelitySchema: () => FidelitySchema,
|
|
75
|
+
FieldPresenceSchema: () => FieldPresenceSchema,
|
|
67
76
|
FormControlSchema: () => FormControlSchema,
|
|
68
77
|
FormControlTypeSchema: () => FormControlTypeSchema,
|
|
69
78
|
FormHandoffActionSchema: () => FormHandoffActionSchema,
|
|
@@ -84,17 +93,33 @@ __export(index_exports, {
|
|
|
84
93
|
IngestionInputSchema: () => IngestionInputSchema,
|
|
85
94
|
JsonGenerationSchema: () => JsonGenerationSchema,
|
|
86
95
|
KenBurnsOptionsSchema: () => KenBurnsOptionsSchema,
|
|
96
|
+
LockClaimRequestSchema: () => LockClaimRequestSchema,
|
|
97
|
+
LockHeartbeatRequestSchema: () => LockHeartbeatRequestSchema,
|
|
98
|
+
LockReleaseRequestSchema: () => LockReleaseRequestSchema,
|
|
99
|
+
LockStatusSchema: () => LockStatusSchema,
|
|
87
100
|
MediaProbeResultSchema: () => MediaProbeResultSchema,
|
|
101
|
+
OTJsonOpSchema: () => OTJsonOpSchema,
|
|
102
|
+
OTJsonOpTypeSchema: () => OTJsonOpTypeSchema,
|
|
103
|
+
OTOperationSchema: () => OTOperationSchema,
|
|
104
|
+
OTRevisionSchema: () => OTRevisionSchema,
|
|
105
|
+
OTTextOpSchema: () => OTTextOpSchema,
|
|
106
|
+
OTTextOpTypeSchema: () => OTTextOpTypeSchema,
|
|
88
107
|
PerceptualHashAlgorithmSchema: () => PerceptualHashAlgorithmSchema,
|
|
89
108
|
PerceptualHashOptionsSchema: () => PerceptualHashOptionsSchema,
|
|
90
109
|
PerspectiveQuadSchema: () => PerspectiveQuadSchema,
|
|
91
110
|
PerspectiveWarpSchema: () => PerspectiveWarpSchema,
|
|
92
111
|
PlatformLanguageSchema: () => PlatformLanguageSchema,
|
|
93
112
|
Point2DSchema: () => Point2DSchema,
|
|
113
|
+
PresenceColorSchema: () => PresenceColorSchema,
|
|
114
|
+
PresenceStateSchema: () => PresenceStateSchema,
|
|
115
|
+
PresenceStatusSchema: () => PresenceStatusSchema,
|
|
116
|
+
PresenceUserSchema: () => PresenceUserSchema,
|
|
94
117
|
PreviewHarnessSchema: () => PreviewHarnessSchema,
|
|
95
118
|
QueueJobSchema: () => QueueJobSchema,
|
|
96
119
|
QueueJobStatusSchema: () => QueueJobStatusSchema,
|
|
97
120
|
QueueJobTypeSchema: () => QueueJobTypeSchema,
|
|
121
|
+
RecordLockInfoSchema: () => RecordLockInfoSchema,
|
|
122
|
+
RecordLockSchema: () => RecordLockSchema,
|
|
98
123
|
ReferenceDataSourceSchema: () => ReferenceDataSourceSchema,
|
|
99
124
|
ScoreBandSchema: () => ScoreBandSchema,
|
|
100
125
|
ScoringConfigSchema: () => ScoringConfigSchema,
|
|
@@ -119,6 +144,7 @@ __export(index_exports, {
|
|
|
119
144
|
ThemeSupportSchema: () => ThemeSupportSchema,
|
|
120
145
|
ThemeTokensSchema: () => ThemeTokensSchema,
|
|
121
146
|
ThemeTypographyTokensSchema: () => ThemeTypographyTokensSchema,
|
|
147
|
+
TypingIndicatorSchema: () => TypingIndicatorSchema,
|
|
122
148
|
UIComponentTypeSchema: () => UIComponentTypeSchema,
|
|
123
149
|
UIExtractionResultSchema: () => UIExtractionResultSchema,
|
|
124
150
|
UIGenerationOptionsSchema: () => UIGenerationOptionsSchema,
|
|
@@ -128,6 +154,7 @@ __export(index_exports, {
|
|
|
128
154
|
VideoAnalysisCategorySchema: () => VideoAnalysisCategorySchema,
|
|
129
155
|
VideoAnalysisSchema: () => VideoAnalysisSchema,
|
|
130
156
|
VideoAspectRatioSchema: () => VideoAspectRatioSchema,
|
|
157
|
+
VideoAttachmentSchema: () => VideoAttachmentSchema,
|
|
131
158
|
VideoCompositingSchema: () => VideoCompositingSchema,
|
|
132
159
|
VideoCompressionSchema: () => VideoCompressionSchema,
|
|
133
160
|
VideoFrameImageSchema: () => VideoFrameImageSchema,
|
|
@@ -142,6 +169,8 @@ __export(index_exports, {
|
|
|
142
169
|
VideoTranscodeSchema: () => VideoTranscodeSchema,
|
|
143
170
|
VideoUpscaleSchema: () => VideoUpscaleSchema,
|
|
144
171
|
VideoWatermarkSchema: () => VideoWatermarkSchema,
|
|
172
|
+
ViewingIndicatorSchema: () => ViewingIndicatorSchema,
|
|
173
|
+
ViewportTransformSchema: () => ViewportTransformSchema,
|
|
145
174
|
WatermarkPositionSchema: () => WatermarkPositionSchema,
|
|
146
175
|
WatermarkSchema: () => WatermarkSchema
|
|
147
176
|
});
|
|
@@ -170,6 +199,15 @@ var VideoFrameImageSchema = import_zod.z.union([
|
|
|
170
199
|
mimeType: import_zod.z.string().optional()
|
|
171
200
|
})
|
|
172
201
|
]);
|
|
202
|
+
var VideoAttachmentSchema = import_zod.z.union([
|
|
203
|
+
import_zod.z.string(),
|
|
204
|
+
import_zod.z.object({
|
|
205
|
+
bytesBase64Encoded: import_zod.z.string().optional(),
|
|
206
|
+
data: import_zod.z.any().optional(),
|
|
207
|
+
mimeType: import_zod.z.string().optional(),
|
|
208
|
+
url: import_zod.z.string().optional()
|
|
209
|
+
})
|
|
210
|
+
]);
|
|
173
211
|
var VideoGenerationSchema = import_zod.z.object({
|
|
174
212
|
prompt: import_zod.z.string(),
|
|
175
213
|
aspectRatio: VideoAspectRatioSchema.optional(),
|
|
@@ -181,7 +219,10 @@ var VideoGenerationSchema = import_zod.z.object({
|
|
|
181
219
|
isMultimedia: import_zod.z.boolean().optional(),
|
|
182
220
|
multimedia: import_zod.z.boolean().optional(),
|
|
183
221
|
firstFrame: VideoFrameImageSchema.optional(),
|
|
184
|
-
lastFrame: VideoFrameImageSchema.optional()
|
|
222
|
+
lastFrame: VideoFrameImageSchema.optional(),
|
|
223
|
+
image: VideoAttachmentSchema.optional(),
|
|
224
|
+
images: import_zod.z.array(VideoAttachmentSchema).optional(),
|
|
225
|
+
attachments: import_zod.z.array(VideoAttachmentSchema).optional()
|
|
185
226
|
});
|
|
186
227
|
var VideoUpscaleSchema = import_zod.z.object({
|
|
187
228
|
video: import_zod.z.string().optional(),
|
|
@@ -1318,11 +1359,251 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1318
1359
|
enableSyntaxHighlighting: import_zod.z.boolean().optional().default(true),
|
|
1319
1360
|
theme: import_zod.z.enum(["light", "dark", "corporate", "minimal"]).optional().default("light")
|
|
1320
1361
|
});
|
|
1362
|
+
var PresenceColorSchema = import_zod.z.enum([
|
|
1363
|
+
"slate",
|
|
1364
|
+
"gray",
|
|
1365
|
+
"zinc",
|
|
1366
|
+
"neutral",
|
|
1367
|
+
"stone",
|
|
1368
|
+
"red",
|
|
1369
|
+
"orange",
|
|
1370
|
+
"amber",
|
|
1371
|
+
"yellow",
|
|
1372
|
+
"lime",
|
|
1373
|
+
"green",
|
|
1374
|
+
"emerald",
|
|
1375
|
+
"teal",
|
|
1376
|
+
"cyan",
|
|
1377
|
+
"sky",
|
|
1378
|
+
"blue",
|
|
1379
|
+
"indigo",
|
|
1380
|
+
"violet",
|
|
1381
|
+
"purple",
|
|
1382
|
+
"fuchsia",
|
|
1383
|
+
"pink",
|
|
1384
|
+
"rose"
|
|
1385
|
+
]);
|
|
1386
|
+
var PresenceStatusSchema = import_zod.z.enum([
|
|
1387
|
+
"online",
|
|
1388
|
+
"idle",
|
|
1389
|
+
"away",
|
|
1390
|
+
"busy",
|
|
1391
|
+
"offline",
|
|
1392
|
+
"planning",
|
|
1393
|
+
"thinking",
|
|
1394
|
+
"executing_tool",
|
|
1395
|
+
"waiting_for_input",
|
|
1396
|
+
"waiting_for_agent",
|
|
1397
|
+
"streaming",
|
|
1398
|
+
"paused",
|
|
1399
|
+
"error"
|
|
1400
|
+
]);
|
|
1401
|
+
var ActorTypeSchema = import_zod.z.enum(["human", "agent", "system"]);
|
|
1402
|
+
var AgentActorMetadataSchema = import_zod.z.object({
|
|
1403
|
+
role: import_zod.z.string().optional(),
|
|
1404
|
+
parentAgentId: import_zod.z.string().optional(),
|
|
1405
|
+
runId: import_zod.z.string().optional(),
|
|
1406
|
+
currentTask: import_zod.z.string().optional()
|
|
1407
|
+
});
|
|
1408
|
+
var PresenceUserSchema = import_zod.z.object({
|
|
1409
|
+
id: import_zod.z.string(),
|
|
1410
|
+
username: import_zod.z.string().optional(),
|
|
1411
|
+
email: import_zod.z.string().optional(),
|
|
1412
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1413
|
+
actorType: ActorTypeSchema.optional(),
|
|
1414
|
+
color: PresenceColorSchema.optional().default("blue"),
|
|
1415
|
+
status: PresenceStatusSchema.optional().default("online"),
|
|
1416
|
+
agent: AgentActorMetadataSchema.optional(),
|
|
1417
|
+
lastSeen: import_zod.z.number().int().positive().optional().default(() => Date.now()),
|
|
1418
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1419
|
+
});
|
|
1420
|
+
var ViewportTransformSchema = import_zod.z.object({
|
|
1421
|
+
zoom: import_zod.z.number().default(1),
|
|
1422
|
+
panX: import_zod.z.number().default(0),
|
|
1423
|
+
panY: import_zod.z.number().default(0)
|
|
1424
|
+
});
|
|
1425
|
+
var CursorPositionSchema = import_zod.z.object({
|
|
1426
|
+
userId: import_zod.z.string(),
|
|
1427
|
+
x: import_zod.z.number(),
|
|
1428
|
+
y: import_zod.z.number(),
|
|
1429
|
+
lastUpdate: import_zod.z.number().int().positive().default(() => Date.now()),
|
|
1430
|
+
username: import_zod.z.string().optional(),
|
|
1431
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1432
|
+
color: PresenceColorSchema.optional(),
|
|
1433
|
+
viewport: ViewportTransformSchema.optional()
|
|
1434
|
+
});
|
|
1435
|
+
var PresenceStateSchema = import_zod.z.object({
|
|
1436
|
+
roomId: import_zod.z.string(),
|
|
1437
|
+
presences: import_zod.z.record(PresenceUserSchema).default({}),
|
|
1438
|
+
cursors: import_zod.z.record(CursorPositionSchema).default({})
|
|
1439
|
+
});
|
|
1440
|
+
var ViewingIndicatorSchema = import_zod.z.object({
|
|
1441
|
+
userId: import_zod.z.string(),
|
|
1442
|
+
resourceId: import_zod.z.string(),
|
|
1443
|
+
resourceType: import_zod.z.enum(["board", "document", "item", "node", "canvas", "page", "field"]).default("board"),
|
|
1444
|
+
username: import_zod.z.string().optional(),
|
|
1445
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1446
|
+
color: PresenceColorSchema.optional(),
|
|
1447
|
+
lastSeen: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1448
|
+
});
|
|
1449
|
+
var TypingIndicatorSchema = import_zod.z.object({
|
|
1450
|
+
userId: import_zod.z.string(),
|
|
1451
|
+
resourceId: import_zod.z.string(),
|
|
1452
|
+
fieldName: import_zod.z.string().optional(),
|
|
1453
|
+
username: import_zod.z.string().optional(),
|
|
1454
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1455
|
+
color: PresenceColorSchema.optional(),
|
|
1456
|
+
isTyping: import_zod.z.boolean().default(true),
|
|
1457
|
+
timestamp: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1458
|
+
});
|
|
1459
|
+
var FieldPresenceSchema = import_zod.z.object({
|
|
1460
|
+
fieldId: import_zod.z.string(),
|
|
1461
|
+
focusedBy: import_zod.z.array(PresenceUserSchema).default([]),
|
|
1462
|
+
typingUsers: import_zod.z.array(TypingIndicatorSchema).default([])
|
|
1463
|
+
});
|
|
1464
|
+
var LockStatusSchema = import_zod.z.enum(["unlocked", "locked", "expired", "claimed"]);
|
|
1465
|
+
var RecordLockInfoSchema = import_zod.z.object({
|
|
1466
|
+
userId: import_zod.z.string(),
|
|
1467
|
+
username: import_zod.z.string().optional(),
|
|
1468
|
+
clientId: import_zod.z.string().optional(),
|
|
1469
|
+
avatarUrl: import_zod.z.string().optional()
|
|
1470
|
+
});
|
|
1471
|
+
var RecordLockSchema = import_zod.z.object({
|
|
1472
|
+
id: import_zod.z.string(),
|
|
1473
|
+
resourceId: import_zod.z.string(),
|
|
1474
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1475
|
+
lockedBy: RecordLockInfoSchema,
|
|
1476
|
+
lockedAt: import_zod.z.number().int().positive(),
|
|
1477
|
+
expiresAt: import_zod.z.number().int().positive(),
|
|
1478
|
+
leaseDurationSeconds: import_zod.z.number().int().positive().default(60),
|
|
1479
|
+
status: LockStatusSchema.default("locked"),
|
|
1480
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1481
|
+
});
|
|
1482
|
+
var LockClaimRequestSchema = import_zod.z.object({
|
|
1483
|
+
resourceId: import_zod.z.string(),
|
|
1484
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1485
|
+
userId: import_zod.z.string(),
|
|
1486
|
+
username: import_zod.z.string().optional(),
|
|
1487
|
+
clientId: import_zod.z.string().optional(),
|
|
1488
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1489
|
+
leaseDurationSeconds: import_zod.z.number().int().positive().optional().default(60),
|
|
1490
|
+
force: import_zod.z.boolean().optional().default(false),
|
|
1491
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1492
|
+
});
|
|
1493
|
+
var LockReleaseRequestSchema = import_zod.z.object({
|
|
1494
|
+
resourceId: import_zod.z.string(),
|
|
1495
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1496
|
+
userId: import_zod.z.string(),
|
|
1497
|
+
clientId: import_zod.z.string().optional(),
|
|
1498
|
+
force: import_zod.z.boolean().optional().default(false)
|
|
1499
|
+
});
|
|
1500
|
+
var LockHeartbeatRequestSchema = import_zod.z.object({
|
|
1501
|
+
resourceId: import_zod.z.string(),
|
|
1502
|
+
resourceType: import_zod.z.string().default("record"),
|
|
1503
|
+
userId: import_zod.z.string(),
|
|
1504
|
+
clientId: import_zod.z.string().optional(),
|
|
1505
|
+
leaseDurationSeconds: import_zod.z.number().int().positive().optional().default(60)
|
|
1506
|
+
});
|
|
1507
|
+
var ActivityActionTypeSchema = import_zod.z.enum([
|
|
1508
|
+
"join",
|
|
1509
|
+
"leave",
|
|
1510
|
+
"create",
|
|
1511
|
+
"update",
|
|
1512
|
+
"delete",
|
|
1513
|
+
"lock",
|
|
1514
|
+
"unlock",
|
|
1515
|
+
"claim",
|
|
1516
|
+
"comment",
|
|
1517
|
+
"generate",
|
|
1518
|
+
"star",
|
|
1519
|
+
"unstar",
|
|
1520
|
+
"custom",
|
|
1521
|
+
"agent:thought",
|
|
1522
|
+
"agent:plan_updated",
|
|
1523
|
+
"agent:tool_start",
|
|
1524
|
+
"agent:tool_end",
|
|
1525
|
+
"agent:approval_requested",
|
|
1526
|
+
"agent:approval_resolved",
|
|
1527
|
+
"agent:error"
|
|
1528
|
+
]);
|
|
1529
|
+
var ActivityActorSchema = import_zod.z.object({
|
|
1530
|
+
userId: import_zod.z.string(),
|
|
1531
|
+
username: import_zod.z.string().optional(),
|
|
1532
|
+
avatarUrl: import_zod.z.string().optional(),
|
|
1533
|
+
actorType: ActorTypeSchema.optional(),
|
|
1534
|
+
role: import_zod.z.string().optional(),
|
|
1535
|
+
color: PresenceColorSchema.optional()
|
|
1536
|
+
});
|
|
1537
|
+
var ActivityEventSchema = import_zod.z.object({
|
|
1538
|
+
id: import_zod.z.string(),
|
|
1539
|
+
roomId: import_zod.z.string().optional(),
|
|
1540
|
+
entityId: import_zod.z.string().optional(),
|
|
1541
|
+
entityType: import_zod.z.string().optional(),
|
|
1542
|
+
action: ActivityActionTypeSchema,
|
|
1543
|
+
actor: ActivityActorSchema,
|
|
1544
|
+
title: import_zod.z.string().optional(),
|
|
1545
|
+
description: import_zod.z.string().optional(),
|
|
1546
|
+
payload: import_zod.z.record(import_zod.z.unknown()).optional(),
|
|
1547
|
+
timestamp: import_zod.z.number().int().positive().default(() => Date.now()),
|
|
1548
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional()
|
|
1549
|
+
});
|
|
1550
|
+
var ActivityStreamFilterSchema = import_zod.z.object({
|
|
1551
|
+
roomId: import_zod.z.string().optional(),
|
|
1552
|
+
entityId: import_zod.z.string().optional(),
|
|
1553
|
+
entityType: import_zod.z.string().optional(),
|
|
1554
|
+
actorId: import_zod.z.string().optional(),
|
|
1555
|
+
action: import_zod.z.union([ActivityActionTypeSchema, import_zod.z.array(ActivityActionTypeSchema)]).optional(),
|
|
1556
|
+
since: import_zod.z.number().int().positive().optional(),
|
|
1557
|
+
limit: import_zod.z.number().int().positive().optional().default(50)
|
|
1558
|
+
});
|
|
1559
|
+
var OTTextOpTypeSchema = import_zod.z.enum(["retain", "insert", "delete"]);
|
|
1560
|
+
var OTTextOpSchema = import_zod.z.object({
|
|
1561
|
+
type: OTTextOpTypeSchema,
|
|
1562
|
+
count: import_zod.z.number().int().nonnegative().optional(),
|
|
1563
|
+
text: import_zod.z.string().optional(),
|
|
1564
|
+
attributes: import_zod.z.record(import_zod.z.unknown()).optional()
|
|
1565
|
+
});
|
|
1566
|
+
var OTJsonOpTypeSchema = import_zod.z.enum(["set", "delete", "insert", "move", "replace"]);
|
|
1567
|
+
var OTJsonOpSchema = import_zod.z.object({
|
|
1568
|
+
path: import_zod.z.array(import_zod.z.union([import_zod.z.string(), import_zod.z.number()])),
|
|
1569
|
+
type: OTJsonOpTypeSchema,
|
|
1570
|
+
value: import_zod.z.unknown().optional(),
|
|
1571
|
+
prevValue: import_zod.z.unknown().optional()
|
|
1572
|
+
});
|
|
1573
|
+
var OTOperationSchema = import_zod.z.object({
|
|
1574
|
+
id: import_zod.z.string(),
|
|
1575
|
+
docId: import_zod.z.string(),
|
|
1576
|
+
revision: import_zod.z.number().int().nonnegative(),
|
|
1577
|
+
authorId: import_zod.z.string(),
|
|
1578
|
+
textOps: import_zod.z.array(OTTextOpSchema).optional(),
|
|
1579
|
+
jsonOps: import_zod.z.array(OTJsonOpSchema).optional(),
|
|
1580
|
+
timestamp: import_zod.z.number().int().positive().default(() => Date.now()),
|
|
1581
|
+
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({})
|
|
1582
|
+
});
|
|
1583
|
+
var OTRevisionSchema = import_zod.z.object({
|
|
1584
|
+
docId: import_zod.z.string(),
|
|
1585
|
+
revision: import_zod.z.number().int().nonnegative(),
|
|
1586
|
+
snapshot: import_zod.z.unknown(),
|
|
1587
|
+
appliedOps: import_zod.z.array(OTOperationSchema).default([]),
|
|
1588
|
+
updatedAt: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1589
|
+
});
|
|
1590
|
+
var CRDTSnapshotSchema = import_zod.z.object({
|
|
1591
|
+
docId: import_zod.z.string(),
|
|
1592
|
+
vectorClock: import_zod.z.record(import_zod.z.number().int().nonnegative()).default({}),
|
|
1593
|
+
state: import_zod.z.record(import_zod.z.unknown()).default({}),
|
|
1594
|
+
updatedAt: import_zod.z.number().int().positive().default(() => Date.now())
|
|
1595
|
+
});
|
|
1321
1596
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1322
1597
|
0 && (module.exports = {
|
|
1323
1598
|
ActivityActionSchema,
|
|
1599
|
+
ActivityActionTypeSchema,
|
|
1600
|
+
ActivityActorSchema,
|
|
1601
|
+
ActivityEventSchema,
|
|
1324
1602
|
ActivityLogSchema,
|
|
1603
|
+
ActivityStreamFilterSchema,
|
|
1604
|
+
ActorTypeSchema,
|
|
1325
1605
|
AestheticSchema,
|
|
1606
|
+
AgentActorMetadataSchema,
|
|
1326
1607
|
AgentConfigSchema,
|
|
1327
1608
|
AgentDocumentAttachmentSchema,
|
|
1328
1609
|
AgentEnvironmentSchema,
|
|
@@ -1344,6 +1625,7 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1344
1625
|
AudioVisualizerOptionsSchema,
|
|
1345
1626
|
AudioVisualizerTypeSchema,
|
|
1346
1627
|
AutoFitCaptionSchema,
|
|
1628
|
+
CRDTSnapshotSchema,
|
|
1347
1629
|
CodeGenerationSchema,
|
|
1348
1630
|
ComponentDocsSchema,
|
|
1349
1631
|
ComponentPackageSchema,
|
|
@@ -1356,6 +1638,7 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1356
1638
|
ConditionOperatorSchema,
|
|
1357
1639
|
ConditionSchema,
|
|
1358
1640
|
ControlValidationSchema,
|
|
1641
|
+
CursorPositionSchema,
|
|
1359
1642
|
DecisionGateKindSchema,
|
|
1360
1643
|
DecisionGateSchema,
|
|
1361
1644
|
DimensionScoreSchema,
|
|
@@ -1364,6 +1647,7 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1364
1647
|
DropShadowSchema,
|
|
1365
1648
|
FORM_SCHEMA_JSON_SCHEMA,
|
|
1366
1649
|
FidelitySchema,
|
|
1650
|
+
FieldPresenceSchema,
|
|
1367
1651
|
FormControlSchema,
|
|
1368
1652
|
FormControlTypeSchema,
|
|
1369
1653
|
FormHandoffActionSchema,
|
|
@@ -1384,17 +1668,33 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1384
1668
|
IngestionInputSchema,
|
|
1385
1669
|
JsonGenerationSchema,
|
|
1386
1670
|
KenBurnsOptionsSchema,
|
|
1671
|
+
LockClaimRequestSchema,
|
|
1672
|
+
LockHeartbeatRequestSchema,
|
|
1673
|
+
LockReleaseRequestSchema,
|
|
1674
|
+
LockStatusSchema,
|
|
1387
1675
|
MediaProbeResultSchema,
|
|
1676
|
+
OTJsonOpSchema,
|
|
1677
|
+
OTJsonOpTypeSchema,
|
|
1678
|
+
OTOperationSchema,
|
|
1679
|
+
OTRevisionSchema,
|
|
1680
|
+
OTTextOpSchema,
|
|
1681
|
+
OTTextOpTypeSchema,
|
|
1388
1682
|
PerceptualHashAlgorithmSchema,
|
|
1389
1683
|
PerceptualHashOptionsSchema,
|
|
1390
1684
|
PerspectiveQuadSchema,
|
|
1391
1685
|
PerspectiveWarpSchema,
|
|
1392
1686
|
PlatformLanguageSchema,
|
|
1393
1687
|
Point2DSchema,
|
|
1688
|
+
PresenceColorSchema,
|
|
1689
|
+
PresenceStateSchema,
|
|
1690
|
+
PresenceStatusSchema,
|
|
1691
|
+
PresenceUserSchema,
|
|
1394
1692
|
PreviewHarnessSchema,
|
|
1395
1693
|
QueueJobSchema,
|
|
1396
1694
|
QueueJobStatusSchema,
|
|
1397
1695
|
QueueJobTypeSchema,
|
|
1696
|
+
RecordLockInfoSchema,
|
|
1697
|
+
RecordLockSchema,
|
|
1398
1698
|
ReferenceDataSourceSchema,
|
|
1399
1699
|
ScoreBandSchema,
|
|
1400
1700
|
ScoringConfigSchema,
|
|
@@ -1419,6 +1719,7 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1419
1719
|
ThemeSupportSchema,
|
|
1420
1720
|
ThemeTokensSchema,
|
|
1421
1721
|
ThemeTypographyTokensSchema,
|
|
1722
|
+
TypingIndicatorSchema,
|
|
1422
1723
|
UIComponentTypeSchema,
|
|
1423
1724
|
UIExtractionResultSchema,
|
|
1424
1725
|
UIGenerationOptionsSchema,
|
|
@@ -1428,6 +1729,7 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1428
1729
|
VideoAnalysisCategorySchema,
|
|
1429
1730
|
VideoAnalysisSchema,
|
|
1430
1731
|
VideoAspectRatioSchema,
|
|
1732
|
+
VideoAttachmentSchema,
|
|
1431
1733
|
VideoCompositingSchema,
|
|
1432
1734
|
VideoCompressionSchema,
|
|
1433
1735
|
VideoFrameImageSchema,
|
|
@@ -1442,6 +1744,8 @@ var DocumentGenerationOptionsSchema = import_zod.z.object({
|
|
|
1442
1744
|
VideoTranscodeSchema,
|
|
1443
1745
|
VideoUpscaleSchema,
|
|
1444
1746
|
VideoWatermarkSchema,
|
|
1747
|
+
ViewingIndicatorSchema,
|
|
1748
|
+
ViewportTransformSchema,
|
|
1445
1749
|
WatermarkPositionSchema,
|
|
1446
1750
|
WatermarkSchema
|
|
1447
1751
|
});
|