@playcraft/common 0.1.65 → 0.1.67

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.
Files changed (141) hide show
  1. package/dist/agent-tools/replica-validation.d.ts +2 -2
  2. package/dist/agent-tools/video-model-proxy.d.ts +1 -1
  3. package/dist/agent-tools/video-replication.d.ts +4 -4
  4. package/dist/cloud-workspace/runtime/agent-command.d.ts +3 -3
  5. package/dist/cloud-workspace/runtime/agent-generation-provenance.js +1 -1
  6. package/dist/cloud-workspace/runtime/agent-generation-provenance.js.map +1 -1
  7. package/dist/cloud-workspace/runtime/agent-read.d.ts +6 -6
  8. package/dist/cloud-workspace/runtime/animation-editor.d.ts +26 -26
  9. package/dist/cloud-workspace/runtime/animation-quality.d.ts +1 -1
  10. package/dist/cloud-workspace/runtime/artifacts.d.ts +7 -7
  11. package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts +2 -2
  12. package/dist/cloud-workspace/runtime/asset-generation-tools.d.ts +49 -1
  13. package/dist/cloud-workspace/runtime/asset-generation-tools.d.ts.map +1 -1
  14. package/dist/cloud-workspace/runtime/asset-generation-tools.js +1 -1
  15. package/dist/cloud-workspace/runtime/asset-generation-tools.js.map +1 -1
  16. package/dist/cloud-workspace/runtime/asset-generation.d.ts +109 -12
  17. package/dist/cloud-workspace/runtime/asset-generation.d.ts.map +1 -1
  18. package/dist/cloud-workspace/runtime/asset-generation.js +24 -4
  19. package/dist/cloud-workspace/runtime/asset-generation.js.map +1 -1
  20. package/dist/cloud-workspace/runtime/asset-library-save.d.ts +8 -8
  21. package/dist/cloud-workspace/runtime/audio-adjustments.d.ts +13 -0
  22. package/dist/cloud-workspace/runtime/audio-adjustments.d.ts.map +1 -0
  23. package/dist/cloud-workspace/runtime/audio-adjustments.js +90 -0
  24. package/dist/cloud-workspace/runtime/audio-adjustments.js.map +1 -0
  25. package/dist/cloud-workspace/runtime/audio-asset-protocol.d.ts +664 -0
  26. package/dist/cloud-workspace/runtime/audio-asset-protocol.d.ts.map +1 -0
  27. package/dist/cloud-workspace/runtime/audio-asset-protocol.js +98 -0
  28. package/dist/cloud-workspace/runtime/audio-asset-protocol.js.map +1 -0
  29. package/dist/cloud-workspace/runtime/audio-document.d.ts +127 -0
  30. package/dist/cloud-workspace/runtime/audio-document.d.ts.map +1 -0
  31. package/dist/cloud-workspace/runtime/audio-document.js +293 -0
  32. package/dist/cloud-workspace/runtime/audio-document.js.map +1 -0
  33. package/dist/cloud-workspace/runtime/audio-export.d.ts +25 -0
  34. package/dist/cloud-workspace/runtime/audio-export.d.ts.map +1 -0
  35. package/dist/cloud-workspace/runtime/audio-export.js +21 -0
  36. package/dist/cloud-workspace/runtime/audio-export.js.map +1 -0
  37. package/dist/cloud-workspace/runtime/audio-player.d.ts +18 -0
  38. package/dist/cloud-workspace/runtime/audio-player.d.ts.map +1 -0
  39. package/dist/cloud-workspace/runtime/audio-player.js +98 -0
  40. package/dist/cloud-workspace/runtime/audio-player.js.map +1 -0
  41. package/dist/cloud-workspace/runtime/audio-synthesizer.d.ts +38 -0
  42. package/dist/cloud-workspace/runtime/audio-synthesizer.d.ts.map +1 -0
  43. package/dist/cloud-workspace/runtime/audio-synthesizer.js +342 -0
  44. package/dist/cloud-workspace/runtime/audio-synthesizer.js.map +1 -0
  45. package/dist/cloud-workspace/runtime/batch-runs.d.ts +2 -2
  46. package/dist/cloud-workspace/runtime/composer-context.d.ts +122 -0
  47. package/dist/cloud-workspace/runtime/composer-context.d.ts.map +1 -1
  48. package/dist/cloud-workspace/runtime/composer-context.js +2 -0
  49. package/dist/cloud-workspace/runtime/composer-context.js.map +1 -1
  50. package/dist/cloud-workspace/runtime/execution-admission.d.ts +2 -2
  51. package/dist/cloud-workspace/runtime/execution-context.d.ts +112 -0
  52. package/dist/cloud-workspace/runtime/execution-context.d.ts.map +1 -0
  53. package/dist/cloud-workspace/runtime/execution-context.js +62 -0
  54. package/dist/cloud-workspace/runtime/execution-context.js.map +1 -0
  55. package/dist/cloud-workspace/runtime/index.d.ts +14 -0
  56. package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
  57. package/dist/cloud-workspace/runtime/index.js +14 -0
  58. package/dist/cloud-workspace/runtime/index.js.map +1 -1
  59. package/dist/cloud-workspace/runtime/level-editor-agent.d.ts +331 -0
  60. package/dist/cloud-workspace/runtime/level-editor-agent.d.ts.map +1 -0
  61. package/dist/cloud-workspace/runtime/level-editor-agent.js +172 -0
  62. package/dist/cloud-workspace/runtime/level-editor-agent.js.map +1 -0
  63. package/dist/cloud-workspace/runtime/level-editor-authoring.d.ts +125 -0
  64. package/dist/cloud-workspace/runtime/level-editor-authoring.d.ts.map +1 -0
  65. package/dist/cloud-workspace/runtime/level-editor-authoring.js +63 -0
  66. package/dist/cloud-workspace/runtime/level-editor-authoring.js.map +1 -0
  67. package/dist/cloud-workspace/runtime/level-editor-compiler.d.ts +260 -0
  68. package/dist/cloud-workspace/runtime/level-editor-compiler.d.ts.map +1 -0
  69. package/dist/cloud-workspace/runtime/level-editor-compiler.js +530 -0
  70. package/dist/cloud-workspace/runtime/level-editor-compiler.js.map +1 -0
  71. package/dist/cloud-workspace/runtime/level-editor-extension.d.ts +115 -0
  72. package/dist/cloud-workspace/runtime/level-editor-extension.d.ts.map +1 -0
  73. package/dist/cloud-workspace/runtime/level-editor-extension.js +107 -0
  74. package/dist/cloud-workspace/runtime/level-editor-extension.js.map +1 -0
  75. package/dist/cloud-workspace/runtime/level-editor-path.d.ts +12 -0
  76. package/dist/cloud-workspace/runtime/level-editor-path.d.ts.map +1 -0
  77. package/dist/cloud-workspace/runtime/level-editor-path.js +110 -0
  78. package/dist/cloud-workspace/runtime/level-editor-path.js.map +1 -0
  79. package/dist/cloud-workspace/runtime/level-editor-reducer.d.ts +30 -0
  80. package/dist/cloud-workspace/runtime/level-editor-reducer.d.ts.map +1 -0
  81. package/dist/cloud-workspace/runtime/level-editor-reducer.js +627 -0
  82. package/dist/cloud-workspace/runtime/level-editor-reducer.js.map +1 -0
  83. package/dist/cloud-workspace/runtime/level-editor-schema.d.ts +621 -0
  84. package/dist/cloud-workspace/runtime/level-editor-schema.d.ts.map +1 -0
  85. package/dist/cloud-workspace/runtime/level-editor-schema.js +409 -0
  86. package/dist/cloud-workspace/runtime/level-editor-schema.js.map +1 -0
  87. package/dist/cloud-workspace/runtime/level-editor-validation.d.ts +11 -0
  88. package/dist/cloud-workspace/runtime/level-editor-validation.d.ts.map +1 -0
  89. package/dist/cloud-workspace/runtime/level-editor-validation.js +128 -0
  90. package/dist/cloud-workspace/runtime/level-editor-validation.js.map +1 -0
  91. package/dist/cloud-workspace/runtime/level-editor.d.ts +7 -0
  92. package/dist/cloud-workspace/runtime/level-editor.d.ts.map +1 -0
  93. package/dist/cloud-workspace/runtime/level-editor.js +7 -0
  94. package/dist/cloud-workspace/runtime/level-editor.js.map +1 -0
  95. package/dist/cloud-workspace/runtime/model-build-inputs.d.ts +1 -1
  96. package/dist/cloud-workspace/runtime/model-production.d.ts +41 -23
  97. package/dist/cloud-workspace/runtime/model-production.d.ts.map +1 -1
  98. package/dist/cloud-workspace/runtime/model-quality.d.ts +7 -7
  99. package/dist/cloud-workspace/runtime/model-validation.d.ts +8 -8
  100. package/dist/cloud-workspace/runtime/operations.d.ts +364 -8
  101. package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
  102. package/dist/cloud-workspace/runtime/operations.js +33 -6
  103. package/dist/cloud-workspace/runtime/operations.js.map +1 -1
  104. package/dist/cloud-workspace/runtime/parameter-agent.d.ts +2 -2
  105. package/dist/cloud-workspace/runtime/previews.d.ts +3 -3
  106. package/dist/cloud-workspace/runtime/score-document.d.ts +285 -0
  107. package/dist/cloud-workspace/runtime/score-document.d.ts.map +1 -0
  108. package/dist/cloud-workspace/runtime/score-document.js +114 -0
  109. package/dist/cloud-workspace/runtime/score-document.js.map +1 -0
  110. package/dist/cloud-workspace/runtime/score-editing.d.ts +39 -0
  111. package/dist/cloud-workspace/runtime/score-editing.d.ts.map +1 -0
  112. package/dist/cloud-workspace/runtime/score-editing.js +180 -0
  113. package/dist/cloud-workspace/runtime/score-editing.js.map +1 -0
  114. package/dist/cloud-workspace/runtime/score-merging.d.ts +4 -0
  115. package/dist/cloud-workspace/runtime/score-merging.d.ts.map +1 -0
  116. package/dist/cloud-workspace/runtime/score-merging.js +74 -0
  117. package/dist/cloud-workspace/runtime/score-merging.js.map +1 -0
  118. package/dist/cloud-workspace/runtime/score-midi.d.ts +7 -0
  119. package/dist/cloud-workspace/runtime/score-midi.d.ts.map +1 -0
  120. package/dist/cloud-workspace/runtime/score-midi.js +226 -0
  121. package/dist/cloud-workspace/runtime/score-midi.js.map +1 -0
  122. package/dist/cloud-workspace/runtime/score-synthesizer.d.ts +51 -0
  123. package/dist/cloud-workspace/runtime/score-synthesizer.d.ts.map +1 -0
  124. package/dist/cloud-workspace/runtime/score-synthesizer.js +388 -0
  125. package/dist/cloud-workspace/runtime/score-synthesizer.js.map +1 -0
  126. package/dist/cloud-workspace/runtime/skills.d.ts +2 -2
  127. package/dist/cloud-workspace/runtime/skills.d.ts.map +1 -1
  128. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +1 -1
  129. package/dist/cloud-workspace/runtime/workspace-ui.d.ts +4 -4
  130. package/dist/project-skills/local-snapshot.d.ts +5 -3
  131. package/dist/project-skills/local-snapshot.d.ts.map +1 -1
  132. package/dist/project-skills/local-snapshot.js +15 -4
  133. package/dist/project-skills/local-snapshot.js.map +1 -1
  134. package/dist/project-skills/protocol.d.ts +7 -3
  135. package/dist/project-skills/protocol.d.ts.map +1 -1
  136. package/dist/project-skills/protocol.js +19 -1
  137. package/dist/project-skills/protocol.js.map +1 -1
  138. package/dist/project-skills/types.d.ts +13 -0
  139. package/dist/project-skills/types.d.ts.map +1 -1
  140. package/dist/project-skills/types.js.map +1 -1
  141. package/package.json +1 -1
@@ -0,0 +1,621 @@
1
+ import { z } from 'zod';
2
+ export type LevelEditorJsonValue = null | boolean | number | string | LevelEditorJsonValue[] | {
3
+ [key: string]: LevelEditorJsonValue;
4
+ };
5
+ export type LevelEditorSelection = Record<string, string | number>;
6
+ export declare const LEVEL_EDITOR_MAX_NODES = 256;
7
+ export declare const LEVEL_EDITOR_MAX_CHANGES = 2048;
8
+ export declare const LEVEL_EDITOR_TRANSACTION_MAX_BYTES: number;
9
+ export declare const levelEditorDigestSchema: z.ZodString;
10
+ export declare const levelEditorIdSchema: z.ZodString;
11
+ export declare function isLevelEditorJson(value: unknown): value is LevelEditorJsonValue;
12
+ export declare const levelEditorJsonSchema: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
13
+ export declare const levelEditorSelectionSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14
+ export declare const levelEditorSegmentSchema: z.ZodUnion<readonly [z.ZodObject<{
15
+ field: z.ZodString;
16
+ }, z.core.$strict>, z.ZodObject<{
17
+ item: z.ZodObject<{
18
+ key: z.ZodString;
19
+ selection: z.ZodString;
20
+ }, z.core.$strict>;
21
+ }, z.core.$strict>]>;
22
+ export declare const levelEditorBindingSchema: z.ZodObject<{
23
+ documentId: z.ZodString;
24
+ segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
25
+ field: z.ZodString;
26
+ }, z.core.$strict>, z.ZodObject<{
27
+ item: z.ZodObject<{
28
+ key: z.ZodString;
29
+ selection: z.ZodString;
30
+ }, z.core.$strict>;
31
+ }, z.core.$strict>]>>;
32
+ }, z.core.$strict>;
33
+ export type LevelEditorBinding = z.infer<typeof levelEditorBindingSchema>;
34
+ export declare const levelEditorCollectionSchema: z.ZodObject<{
35
+ documentId: z.ZodString;
36
+ segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
37
+ field: z.ZodString;
38
+ }, z.core.$strict>, z.ZodObject<{
39
+ item: z.ZodObject<{
40
+ key: z.ZodString;
41
+ selection: z.ZodString;
42
+ }, z.core.$strict>;
43
+ }, z.core.$strict>]>>;
44
+ idField: z.ZodString;
45
+ }, z.core.$strict>;
46
+ export declare const levelEditorCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
47
+ operation: z.ZodLiteral<"field.set">;
48
+ target: z.ZodString;
49
+ }, z.core.$strict>, z.ZodObject<{
50
+ operation: z.ZodLiteral<"grid.paint">;
51
+ target: z.ZodString;
52
+ dimensions: z.ZodObject<{
53
+ rows: z.ZodString;
54
+ columns: z.ZodString;
55
+ }, z.core.$strict>;
56
+ values: z.ZodArray<z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
57
+ }, z.core.$strict>, ...z.ZodObject<{
58
+ operation: z.ZodLiteral<"collection.insert" | "collection.duplicate" | "collection.delete" | "collection.reorder">;
59
+ collection: z.ZodString;
60
+ selection: z.ZodOptional<z.ZodString>;
61
+ }, z.core.$strict>[], z.ZodObject<{
62
+ operation: z.ZodLiteral<"object.transform">;
63
+ bindings: z.ZodObject<{
64
+ x: z.ZodOptional<z.ZodString>;
65
+ y: z.ZodOptional<z.ZodString>;
66
+ z: z.ZodOptional<z.ZodString>;
67
+ rotationX: z.ZodOptional<z.ZodString>;
68
+ rotationY: z.ZodOptional<z.ZodString>;
69
+ rotationZ: z.ZodOptional<z.ZodString>;
70
+ scaleZ: z.ZodOptional<z.ZodString>;
71
+ rotation: z.ZodOptional<z.ZodString>;
72
+ scaleX: z.ZodOptional<z.ZodString>;
73
+ scaleY: z.ZodOptional<z.ZodString>;
74
+ }, z.core.$strict>;
75
+ }, z.core.$strict>, z.ZodObject<{
76
+ operation: z.ZodLiteral<"path.edit">;
77
+ collection: z.ZodString;
78
+ selection: z.ZodString;
79
+ xField: z.ZodString;
80
+ yField: z.ZodString;
81
+ edges: z.ZodString;
82
+ edgeIdField: z.ZodString;
83
+ fromField: z.ZodString;
84
+ toField: z.ZodString;
85
+ directed: z.ZodOptional<z.ZodBoolean>;
86
+ allowSelfLoops: z.ZodOptional<z.ZodBoolean>;
87
+ allowParallelEdges: z.ZodOptional<z.ZodBoolean>;
88
+ acyclic: z.ZodOptional<z.ZodBoolean>;
89
+ deletePolicy: z.ZodOptional<z.ZodEnum<{
90
+ reject: "reject";
91
+ cascade: "cascade";
92
+ }>>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ operation: z.ZodLiteral<"command.batch">;
95
+ inputSchema: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
96
+ steps: z.ZodArray<z.ZodObject<{
97
+ commandId: z.ZodString;
98
+ input: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
99
+ input: z.ZodString;
100
+ }, z.core.$strict>, z.ZodObject<{
101
+ value: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
102
+ }, z.core.$strict>]>>;
103
+ }, z.core.$strict>>;
104
+ }, z.core.$strict>], "operation">;
105
+ export type LevelEditorCommand = z.infer<typeof levelEditorCommandSchema>;
106
+ export declare const levelEditorCommandInputSchemas: {
107
+ 'field.set': z.ZodObject<{
108
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
109
+ }, z.core.$strict>;
110
+ 'grid.paint': z.ZodObject<{
111
+ cells: z.ZodArray<z.ZodObject<{
112
+ row: z.ZodNumber;
113
+ column: z.ZodNumber;
114
+ value: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
115
+ }, z.core.$strict>>;
116
+ }, z.core.$strict>;
117
+ 'command.batch': z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
118
+ 'path.edit': z.ZodDiscriminatedUnion<[z.ZodObject<{
119
+ action: z.ZodLiteral<"insert">;
120
+ item: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ action: z.ZodLiteral<"move">;
123
+ x: z.ZodNumber;
124
+ y: z.ZodNumber;
125
+ }, z.core.$strict>, z.ZodObject<{
126
+ action: z.ZodLiteral<"delete">;
127
+ }, z.core.$strict>, z.ZodObject<{
128
+ action: z.ZodLiteral<"connect">;
129
+ item: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
130
+ }, z.core.$strict>, z.ZodObject<{
131
+ action: z.ZodLiteral<"disconnect">;
132
+ edgeId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
133
+ }, z.core.$strict>], "action">;
134
+ 'collection.insert': z.ZodObject<{
135
+ item: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
136
+ beforeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
137
+ }, z.core.$strict>;
138
+ 'collection.duplicate': z.ZodObject<{
139
+ newId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
140
+ }, z.core.$strict>;
141
+ 'collection.delete': z.ZodObject<{}, z.core.$strict>;
142
+ 'collection.reorder': z.ZodObject<{
143
+ beforeId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
144
+ }, z.core.$strict>;
145
+ 'object.transform': z.ZodObject<{
146
+ x: z.ZodOptional<z.ZodNumber>;
147
+ y: z.ZodOptional<z.ZodNumber>;
148
+ z: z.ZodOptional<z.ZodNumber>;
149
+ rotationX: z.ZodOptional<z.ZodNumber>;
150
+ rotationY: z.ZodOptional<z.ZodNumber>;
151
+ rotationZ: z.ZodOptional<z.ZodNumber>;
152
+ scaleZ: z.ZodOptional<z.ZodNumber>;
153
+ rotation: z.ZodOptional<z.ZodNumber>;
154
+ scaleX: z.ZodOptional<z.ZodNumber>;
155
+ scaleY: z.ZodOptional<z.ZodNumber>;
156
+ }, z.core.$strict>;
157
+ };
158
+ export type LevelEditorCondition = {
159
+ op: 'eq';
160
+ source: {
161
+ binding: string;
162
+ } | {
163
+ selection: string;
164
+ };
165
+ value: string | number | boolean | null;
166
+ } | {
167
+ op: 'in';
168
+ source: {
169
+ binding: string;
170
+ } | {
171
+ selection: string;
172
+ };
173
+ values: Array<string | number | boolean | null>;
174
+ } | {
175
+ op: 'exists';
176
+ source: {
177
+ binding: string;
178
+ } | {
179
+ selection: string;
180
+ };
181
+ } | {
182
+ op: 'all' | 'any';
183
+ conditions: LevelEditorCondition[];
184
+ } | {
185
+ op: 'not';
186
+ condition: LevelEditorCondition;
187
+ };
188
+ export declare const levelEditorConditionSchema: z.ZodType<LevelEditorCondition>;
189
+ export type LevelEditorView = {
190
+ id: string;
191
+ component: string;
192
+ props?: Record<string, LevelEditorJsonValue>;
193
+ bind?: Record<string, string>;
194
+ actions?: Record<string, string>;
195
+ when?: LevelEditorCondition;
196
+ enabledWhen?: LevelEditorCondition;
197
+ children?: LevelEditorView[];
198
+ };
199
+ export declare const levelEditorViewSchema: z.ZodType<LevelEditorView>;
200
+ export declare const levelEditorDefinitionSchema: z.ZodObject<{
201
+ protocolVersion: z.ZodLiteral<1>;
202
+ editorId: z.ZodString;
203
+ dataContractVersion: z.ZodNumber;
204
+ documents: z.ZodRecord<z.ZodString, z.ZodObject<{
205
+ path: z.ZodString;
206
+ schema: z.ZodString;
207
+ format: z.ZodOptional<z.ZodEnum<{
208
+ json: "json";
209
+ json5: "json5";
210
+ yaml: "yaml";
211
+ }>>;
212
+ provider: z.ZodOptional<z.ZodObject<{
213
+ module: z.ZodString;
214
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
215
+ }, z.core.$strict>>;
216
+ }, z.core.$strict>>;
217
+ collections: z.ZodRecord<z.ZodString, z.ZodObject<{
218
+ documentId: z.ZodString;
219
+ segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
220
+ field: z.ZodString;
221
+ }, z.core.$strict>, z.ZodObject<{
222
+ item: z.ZodObject<{
223
+ key: z.ZodString;
224
+ selection: z.ZodString;
225
+ }, z.core.$strict>;
226
+ }, z.core.$strict>]>>;
227
+ idField: z.ZodString;
228
+ }, z.core.$strict>>;
229
+ selections: z.ZodRecord<z.ZodString, z.ZodObject<{
230
+ collection: z.ZodString;
231
+ mode: z.ZodLiteral<"single">;
232
+ }, z.core.$strict>>;
233
+ bindings: z.ZodRecord<z.ZodString, z.ZodObject<{
234
+ documentId: z.ZodString;
235
+ segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
236
+ field: z.ZodString;
237
+ }, z.core.$strict>, z.ZodObject<{
238
+ item: z.ZodObject<{
239
+ key: z.ZodString;
240
+ selection: z.ZodString;
241
+ }, z.core.$strict>;
242
+ }, z.core.$strict>]>>;
243
+ }, z.core.$strict>>;
244
+ commands: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
245
+ operation: z.ZodLiteral<"field.set">;
246
+ target: z.ZodString;
247
+ }, z.core.$strict>, z.ZodObject<{
248
+ operation: z.ZodLiteral<"grid.paint">;
249
+ target: z.ZodString;
250
+ dimensions: z.ZodObject<{
251
+ rows: z.ZodString;
252
+ columns: z.ZodString;
253
+ }, z.core.$strict>;
254
+ values: z.ZodArray<z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
255
+ }, z.core.$strict>, ...z.ZodObject<{
256
+ operation: z.ZodLiteral<"collection.insert" | "collection.duplicate" | "collection.delete" | "collection.reorder">;
257
+ collection: z.ZodString;
258
+ selection: z.ZodOptional<z.ZodString>;
259
+ }, z.core.$strict>[], z.ZodObject<{
260
+ operation: z.ZodLiteral<"object.transform">;
261
+ bindings: z.ZodObject<{
262
+ x: z.ZodOptional<z.ZodString>;
263
+ y: z.ZodOptional<z.ZodString>;
264
+ z: z.ZodOptional<z.ZodString>;
265
+ rotationX: z.ZodOptional<z.ZodString>;
266
+ rotationY: z.ZodOptional<z.ZodString>;
267
+ rotationZ: z.ZodOptional<z.ZodString>;
268
+ scaleZ: z.ZodOptional<z.ZodString>;
269
+ rotation: z.ZodOptional<z.ZodString>;
270
+ scaleX: z.ZodOptional<z.ZodString>;
271
+ scaleY: z.ZodOptional<z.ZodString>;
272
+ }, z.core.$strict>;
273
+ }, z.core.$strict>, z.ZodObject<{
274
+ operation: z.ZodLiteral<"path.edit">;
275
+ collection: z.ZodString;
276
+ selection: z.ZodString;
277
+ xField: z.ZodString;
278
+ yField: z.ZodString;
279
+ edges: z.ZodString;
280
+ edgeIdField: z.ZodString;
281
+ fromField: z.ZodString;
282
+ toField: z.ZodString;
283
+ directed: z.ZodOptional<z.ZodBoolean>;
284
+ allowSelfLoops: z.ZodOptional<z.ZodBoolean>;
285
+ allowParallelEdges: z.ZodOptional<z.ZodBoolean>;
286
+ acyclic: z.ZodOptional<z.ZodBoolean>;
287
+ deletePolicy: z.ZodOptional<z.ZodEnum<{
288
+ reject: "reject";
289
+ cascade: "cascade";
290
+ }>>;
291
+ }, z.core.$strict>, z.ZodObject<{
292
+ operation: z.ZodLiteral<"command.batch">;
293
+ inputSchema: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
294
+ steps: z.ZodArray<z.ZodObject<{
295
+ commandId: z.ZodString;
296
+ input: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
297
+ input: z.ZodString;
298
+ }, z.core.$strict>, z.ZodObject<{
299
+ value: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
300
+ }, z.core.$strict>]>>;
301
+ }, z.core.$strict>>;
302
+ }, z.core.$strict>], "operation">>;
303
+ view: z.ZodType<LevelEditorView, unknown, z.core.$ZodTypeInternals<LevelEditorView, unknown>>;
304
+ extensions: z.ZodOptional<z.ZodObject<{
305
+ validators: z.ZodOptional<z.ZodArray<z.ZodObject<{
306
+ id: z.ZodString;
307
+ module: z.ZodString;
308
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
309
+ }, z.core.$strict>>>;
310
+ views: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
311
+ entry: z.ZodString;
312
+ documents: z.ZodArray<z.ZodString>;
313
+ commands: z.ZodArray<z.ZodString>;
314
+ mode: z.ZodOptional<z.ZodEnum<{
315
+ view: "view";
316
+ projection2d: "projection2d";
317
+ }>>;
318
+ }, z.core.$strict>>>;
319
+ }, z.core.$strict>>;
320
+ preview: z.ZodOptional<z.ZodObject<{
321
+ entry: z.ZodString;
322
+ adapter: z.ZodString;
323
+ }, z.core.$strict>>;
324
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
325
+ }, z.core.$strict>;
326
+ export type LevelEditorDefinition = z.infer<typeof levelEditorDefinitionSchema>;
327
+ export declare const levelEditorDiagnosticSchema: z.ZodObject<{
328
+ code: z.ZodString;
329
+ message: z.ZodString;
330
+ severity: z.ZodEnum<{
331
+ error: "error";
332
+ warning: "warning";
333
+ }>;
334
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
335
+ documentId: z.ZodOptional<z.ZodString>;
336
+ bindingId: z.ZodOptional<z.ZodString>;
337
+ componentId: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strict>;
339
+ export type LevelEditorDiagnostic = z.infer<typeof levelEditorDiagnosticSchema>;
340
+ export declare const levelEditorSnapshotSchema: z.ZodObject<{
341
+ status: z.ZodEnum<{
342
+ ready: "ready";
343
+ invalid: "invalid";
344
+ absent: "absent";
345
+ }>;
346
+ definitionPath: z.ZodOptional<z.ZodString>;
347
+ definition: z.ZodOptional<z.ZodObject<{
348
+ protocolVersion: z.ZodLiteral<1>;
349
+ editorId: z.ZodString;
350
+ dataContractVersion: z.ZodNumber;
351
+ documents: z.ZodRecord<z.ZodString, z.ZodObject<{
352
+ path: z.ZodString;
353
+ schema: z.ZodString;
354
+ format: z.ZodOptional<z.ZodEnum<{
355
+ json: "json";
356
+ json5: "json5";
357
+ yaml: "yaml";
358
+ }>>;
359
+ provider: z.ZodOptional<z.ZodObject<{
360
+ module: z.ZodString;
361
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
362
+ }, z.core.$strict>>;
363
+ }, z.core.$strict>>;
364
+ collections: z.ZodRecord<z.ZodString, z.ZodObject<{
365
+ documentId: z.ZodString;
366
+ segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
367
+ field: z.ZodString;
368
+ }, z.core.$strict>, z.ZodObject<{
369
+ item: z.ZodObject<{
370
+ key: z.ZodString;
371
+ selection: z.ZodString;
372
+ }, z.core.$strict>;
373
+ }, z.core.$strict>]>>;
374
+ idField: z.ZodString;
375
+ }, z.core.$strict>>;
376
+ selections: z.ZodRecord<z.ZodString, z.ZodObject<{
377
+ collection: z.ZodString;
378
+ mode: z.ZodLiteral<"single">;
379
+ }, z.core.$strict>>;
380
+ bindings: z.ZodRecord<z.ZodString, z.ZodObject<{
381
+ documentId: z.ZodString;
382
+ segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
383
+ field: z.ZodString;
384
+ }, z.core.$strict>, z.ZodObject<{
385
+ item: z.ZodObject<{
386
+ key: z.ZodString;
387
+ selection: z.ZodString;
388
+ }, z.core.$strict>;
389
+ }, z.core.$strict>]>>;
390
+ }, z.core.$strict>>;
391
+ commands: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
392
+ operation: z.ZodLiteral<"field.set">;
393
+ target: z.ZodString;
394
+ }, z.core.$strict>, z.ZodObject<{
395
+ operation: z.ZodLiteral<"grid.paint">;
396
+ target: z.ZodString;
397
+ dimensions: z.ZodObject<{
398
+ rows: z.ZodString;
399
+ columns: z.ZodString;
400
+ }, z.core.$strict>;
401
+ values: z.ZodArray<z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
402
+ }, z.core.$strict>, ...z.ZodObject<{
403
+ operation: z.ZodLiteral<"collection.insert" | "collection.duplicate" | "collection.delete" | "collection.reorder">;
404
+ collection: z.ZodString;
405
+ selection: z.ZodOptional<z.ZodString>;
406
+ }, z.core.$strict>[], z.ZodObject<{
407
+ operation: z.ZodLiteral<"object.transform">;
408
+ bindings: z.ZodObject<{
409
+ x: z.ZodOptional<z.ZodString>;
410
+ y: z.ZodOptional<z.ZodString>;
411
+ z: z.ZodOptional<z.ZodString>;
412
+ rotationX: z.ZodOptional<z.ZodString>;
413
+ rotationY: z.ZodOptional<z.ZodString>;
414
+ rotationZ: z.ZodOptional<z.ZodString>;
415
+ scaleZ: z.ZodOptional<z.ZodString>;
416
+ rotation: z.ZodOptional<z.ZodString>;
417
+ scaleX: z.ZodOptional<z.ZodString>;
418
+ scaleY: z.ZodOptional<z.ZodString>;
419
+ }, z.core.$strict>;
420
+ }, z.core.$strict>, z.ZodObject<{
421
+ operation: z.ZodLiteral<"path.edit">;
422
+ collection: z.ZodString;
423
+ selection: z.ZodString;
424
+ xField: z.ZodString;
425
+ yField: z.ZodString;
426
+ edges: z.ZodString;
427
+ edgeIdField: z.ZodString;
428
+ fromField: z.ZodString;
429
+ toField: z.ZodString;
430
+ directed: z.ZodOptional<z.ZodBoolean>;
431
+ allowSelfLoops: z.ZodOptional<z.ZodBoolean>;
432
+ allowParallelEdges: z.ZodOptional<z.ZodBoolean>;
433
+ acyclic: z.ZodOptional<z.ZodBoolean>;
434
+ deletePolicy: z.ZodOptional<z.ZodEnum<{
435
+ reject: "reject";
436
+ cascade: "cascade";
437
+ }>>;
438
+ }, z.core.$strict>, z.ZodObject<{
439
+ operation: z.ZodLiteral<"command.batch">;
440
+ inputSchema: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
441
+ steps: z.ZodArray<z.ZodObject<{
442
+ commandId: z.ZodString;
443
+ input: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
444
+ input: z.ZodString;
445
+ }, z.core.$strict>, z.ZodObject<{
446
+ value: z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>;
447
+ }, z.core.$strict>]>>;
448
+ }, z.core.$strict>>;
449
+ }, z.core.$strict>], "operation">>;
450
+ view: z.ZodType<LevelEditorView, unknown, z.core.$ZodTypeInternals<LevelEditorView, unknown>>;
451
+ extensions: z.ZodOptional<z.ZodObject<{
452
+ validators: z.ZodOptional<z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ module: z.ZodString;
455
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
456
+ }, z.core.$strict>>>;
457
+ views: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
458
+ entry: z.ZodString;
459
+ documents: z.ZodArray<z.ZodString>;
460
+ commands: z.ZodArray<z.ZodString>;
461
+ mode: z.ZodOptional<z.ZodEnum<{
462
+ view: "view";
463
+ projection2d: "projection2d";
464
+ }>>;
465
+ }, z.core.$strict>>>;
466
+ }, z.core.$strict>>;
467
+ preview: z.ZodOptional<z.ZodObject<{
468
+ entry: z.ZodString;
469
+ adapter: z.ZodString;
470
+ }, z.core.$strict>>;
471
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
472
+ }, z.core.$strict>>;
473
+ documents: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
474
+ schemas: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
475
+ revisions: z.ZodRecord<z.ZodString, z.ZodNumber>;
476
+ documentHashes: z.ZodRecord<z.ZodString, z.ZodString>;
477
+ sourceFingerprint: z.ZodOptional<z.ZodString>;
478
+ definitionHash: z.ZodOptional<z.ZodString>;
479
+ bindingContractHash: z.ZodOptional<z.ZodString>;
480
+ schemaHash: z.ZodOptional<z.ZodString>;
481
+ executionContractHash: z.ZodOptional<z.ZodString>;
482
+ diagnostics: z.ZodArray<z.ZodObject<{
483
+ code: z.ZodString;
484
+ message: z.ZodString;
485
+ severity: z.ZodEnum<{
486
+ error: "error";
487
+ warning: "warning";
488
+ }>;
489
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
490
+ documentId: z.ZodOptional<z.ZodString>;
491
+ bindingId: z.ZodOptional<z.ZodString>;
492
+ componentId: z.ZodOptional<z.ZodString>;
493
+ }, z.core.$strict>>;
494
+ }, z.core.$strict>;
495
+ export type LevelEditorSnapshot = z.infer<typeof levelEditorSnapshotSchema>;
496
+ export type LevelEditorDocument = LevelEditorSnapshot;
497
+ export declare const levelEditorCommandInvocationSchema: z.ZodObject<{
498
+ commandId: z.ZodString;
499
+ selection: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
500
+ input: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
501
+ }, z.core.$strict>;
502
+ export type LevelEditorCommandInvocation = z.infer<typeof levelEditorCommandInvocationSchema>;
503
+ export declare const levelEditorSingleTransactionRequestSchema: z.ZodObject<{
504
+ commandId: z.ZodString;
505
+ selection: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
506
+ input: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
507
+ version: z.ZodLiteral<1>;
508
+ requestId: z.ZodString;
509
+ editorId: z.ZodString;
510
+ dataContractVersion: z.ZodNumber;
511
+ documentId: z.ZodString;
512
+ expectedRevision: z.ZodNumber;
513
+ expectedDocumentHash: z.ZodString;
514
+ sourceFingerprint: z.ZodString;
515
+ bindingContractHash: z.ZodString;
516
+ schemaHash: z.ZodString;
517
+ executionContractHash: z.ZodString;
518
+ history: z.ZodOptional<z.ZodObject<{
519
+ requestId: z.ZodString;
520
+ direction: z.ZodEnum<{
521
+ undo: "undo";
522
+ redo: "redo";
523
+ }>;
524
+ }, z.core.$strict>>;
525
+ }, z.core.$strict>;
526
+ export declare const levelEditorBatchTransactionRequestSchema: z.ZodObject<{
527
+ version: z.ZodLiteral<2>;
528
+ requestId: z.ZodString;
529
+ editorId: z.ZodString;
530
+ dataContractVersion: z.ZodNumber;
531
+ sourceFingerprint: z.ZodString;
532
+ bindingContractHash: z.ZodString;
533
+ schemaHash: z.ZodString;
534
+ executionContractHash: z.ZodString;
535
+ commands: z.ZodArray<z.ZodObject<{
536
+ commandId: z.ZodString;
537
+ selection: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
538
+ input: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
539
+ }, z.core.$strict>>;
540
+ expectedDocuments: z.ZodRecord<z.ZodString, z.ZodObject<{
541
+ revision: z.ZodNumber;
542
+ contentHash: z.ZodString;
543
+ }, z.core.$strict>>;
544
+ history: z.ZodOptional<z.ZodObject<{
545
+ requestId: z.ZodString;
546
+ direction: z.ZodEnum<{
547
+ undo: "undo";
548
+ redo: "redo";
549
+ }>;
550
+ }, z.core.$strict>>;
551
+ }, z.core.$strict>;
552
+ export declare const levelEditorTransactionRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
553
+ commandId: z.ZodString;
554
+ selection: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
555
+ input: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
556
+ version: z.ZodLiteral<1>;
557
+ requestId: z.ZodString;
558
+ editorId: z.ZodString;
559
+ dataContractVersion: z.ZodNumber;
560
+ documentId: z.ZodString;
561
+ expectedRevision: z.ZodNumber;
562
+ expectedDocumentHash: z.ZodString;
563
+ sourceFingerprint: z.ZodString;
564
+ bindingContractHash: z.ZodString;
565
+ schemaHash: z.ZodString;
566
+ executionContractHash: z.ZodString;
567
+ history: z.ZodOptional<z.ZodObject<{
568
+ requestId: z.ZodString;
569
+ direction: z.ZodEnum<{
570
+ undo: "undo";
571
+ redo: "redo";
572
+ }>;
573
+ }, z.core.$strict>>;
574
+ }, z.core.$strict>, z.ZodObject<{
575
+ version: z.ZodLiteral<2>;
576
+ requestId: z.ZodString;
577
+ editorId: z.ZodString;
578
+ dataContractVersion: z.ZodNumber;
579
+ sourceFingerprint: z.ZodString;
580
+ bindingContractHash: z.ZodString;
581
+ schemaHash: z.ZodString;
582
+ executionContractHash: z.ZodString;
583
+ commands: z.ZodArray<z.ZodObject<{
584
+ commandId: z.ZodString;
585
+ selection: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
586
+ input: z.ZodRecord<z.ZodString, z.ZodCustom<LevelEditorJsonValue, LevelEditorJsonValue>>;
587
+ }, z.core.$strict>>;
588
+ expectedDocuments: z.ZodRecord<z.ZodString, z.ZodObject<{
589
+ revision: z.ZodNumber;
590
+ contentHash: z.ZodString;
591
+ }, z.core.$strict>>;
592
+ history: z.ZodOptional<z.ZodObject<{
593
+ requestId: z.ZodString;
594
+ direction: z.ZodEnum<{
595
+ undo: "undo";
596
+ redo: "redo";
597
+ }>;
598
+ }, z.core.$strict>>;
599
+ }, z.core.$strict>]>;
600
+ export type LevelEditorTransactionRequest = z.infer<typeof levelEditorTransactionRequestSchema>;
601
+ export type LevelEditorResolvedBinding = {
602
+ documentId: string;
603
+ path: Array<string | number>;
604
+ value: LevelEditorJsonValue;
605
+ };
606
+ export type LevelEditorChange = {
607
+ path: Array<string | number>;
608
+ op: 'set' | 'remove';
609
+ value?: LevelEditorJsonValue;
610
+ };
611
+ export type LevelEditorCommandResult = {
612
+ documentId: string;
613
+ data: LevelEditorJsonValue;
614
+ changes: LevelEditorChange[];
615
+ };
616
+ export declare class LevelEditorError extends Error {
617
+ readonly code: string;
618
+ readonly path?: Array<string | number> | undefined;
619
+ constructor(code: string, path?: Array<string | number> | undefined);
620
+ }
621
+ //# sourceMappingURL=level-editor-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"level-editor-schema.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/level-editor-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,MAAM,oBAAoB,GAC5B,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,oBAAoB,EAAE,GACtB;IAAE,CAAC,GA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