@pixi-ui-editor/schema 0.3.0 → 0.4.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.d.ts +1923 -233
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +189 -21
- package/dist/index.js.map +1 -1
- package/dist/index.test-fixtures.d.ts +5 -0
- package/dist/index.test-fixtures.d.ts.map +1 -1
- package/dist/index.test-fixtures.js +26 -1
- package/dist/index.test-fixtures.js.map +1 -1
- package/dist/index.test.js +54 -6
- package/dist/index.test.js.map +1 -1
- package/dist/localization.d.ts +201 -0
- package/dist/localization.d.ts.map +1 -0
- package/dist/localization.js +368 -0
- package/dist/localization.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Static } from "@sinclair/typebox";
|
|
2
|
-
|
|
2
|
+
import { type MaterializedPrefabNodeOrigin } from "./prefabs.js";
|
|
3
|
+
export declare const CURRENT_SCHEMA_VERSION: 22;
|
|
3
4
|
export declare const LayoutProfileIdSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"desktop">, import("@sinclair/typebox").TLiteral<"mobile">]>;
|
|
4
5
|
export type LayoutProfileId = Static<typeof LayoutProfileIdSchema>;
|
|
5
6
|
declare const Alignment: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"upper-left">, import("@sinclair/typebox").TLiteral<"upper-center">, import("@sinclair/typebox").TLiteral<"upper-right">, import("@sinclair/typebox").TLiteral<"middle-left">, import("@sinclair/typebox").TLiteral<"middle-center">, import("@sinclair/typebox").TLiteral<"middle-right">, import("@sinclair/typebox").TLiteral<"lower-left">, import("@sinclair/typebox").TLiteral<"lower-center">, import("@sinclair/typebox").TLiteral<"lower-right">]>;
|
|
@@ -84,6 +85,8 @@ export type PrefabNodeOverride = Static<typeof PrefabNodeOverrideSchema>;
|
|
|
84
85
|
/** Состояния кнопки. `normal` обязателен; остальные при отсутствии используют его изображение. */
|
|
85
86
|
export declare const BUTTON_STATE_KEYS: readonly ["normal", "hover", "pressed", "disabled"];
|
|
86
87
|
export type ButtonStateKey = (typeof BUTTON_STATE_KEYS)[number];
|
|
88
|
+
export declare const CHECKBOX_STATE_KEYS: readonly ["unchecked", "checked", "uncheckedHover", "checkedHover"];
|
|
89
|
+
export type CheckboxStateKey = (typeof CHECKBOX_STATE_KEYS)[number];
|
|
87
90
|
declare const ScrollViewDirection: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical">, import("@sinclair/typebox").TLiteral<"horizontal">, import("@sinclair/typebox").TLiteral<"both">]>;
|
|
88
91
|
export type ScrollViewDirection = Static<typeof ScrollViewDirection>;
|
|
89
92
|
declare const ScrollViewSettings: import("@sinclair/typebox").TObject<{
|
|
@@ -256,7 +259,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
256
259
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
257
260
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
258
261
|
}>>;
|
|
259
|
-
|
|
262
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
260
263
|
type: import("@sinclair/typebox").TLiteral<"container">;
|
|
261
264
|
}>, import("@sinclair/typebox").TObject<{
|
|
262
265
|
id: import("@sinclair/typebox").TString;
|
|
@@ -325,7 +328,76 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
325
328
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
326
329
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
327
330
|
}>>;
|
|
328
|
-
|
|
331
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
332
|
+
type: import("@sinclair/typebox").TLiteral<"mask">;
|
|
333
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
334
|
+
id: import("@sinclair/typebox").TString;
|
|
335
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
336
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
337
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
338
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
339
|
+
name: import("@sinclair/typebox").TString;
|
|
340
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
341
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
342
|
+
x: import("@sinclair/typebox").TNumber;
|
|
343
|
+
y: import("@sinclair/typebox").TNumber;
|
|
344
|
+
width: import("@sinclair/typebox").TNumber;
|
|
345
|
+
height: import("@sinclair/typebox").TNumber;
|
|
346
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
347
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
348
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
349
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
350
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
351
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
352
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
353
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
354
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
355
|
+
}>;
|
|
356
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
357
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
358
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
359
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
360
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
361
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
362
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
363
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
364
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
365
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
366
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
367
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
368
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
369
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
370
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
371
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
372
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
373
|
+
}>>;
|
|
374
|
+
}>>;
|
|
375
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
376
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
377
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
378
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
379
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
380
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
381
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
382
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
383
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
384
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
385
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
386
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
387
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
388
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
389
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
390
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
391
|
+
}>>;
|
|
392
|
+
}>>;
|
|
393
|
+
}>>;
|
|
394
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
395
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
396
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
397
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
398
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
399
|
+
}>>;
|
|
400
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
329
401
|
type: import("@sinclair/typebox").TLiteral<"horizontal-layout">;
|
|
330
402
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
331
403
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -444,7 +516,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
444
516
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
445
517
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
446
518
|
}>>;
|
|
447
|
-
|
|
519
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
448
520
|
type: import("@sinclair/typebox").TLiteral<"vertical-layout">;
|
|
449
521
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
450
522
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -563,7 +635,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
563
635
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
564
636
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
565
637
|
}>>;
|
|
566
|
-
|
|
638
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
567
639
|
type: import("@sinclair/typebox").TLiteral<"grid-layout">;
|
|
568
640
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
569
641
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -688,10 +760,16 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
688
760
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
689
761
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
690
762
|
}>>;
|
|
691
|
-
|
|
763
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
692
764
|
type: import("@sinclair/typebox").TLiteral<"image">;
|
|
693
765
|
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
694
766
|
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
767
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
768
|
+
left: import("@sinclair/typebox").TNumber;
|
|
769
|
+
right: import("@sinclair/typebox").TNumber;
|
|
770
|
+
top: import("@sinclair/typebox").TNumber;
|
|
771
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
772
|
+
}>>;
|
|
695
773
|
}>, import("@sinclair/typebox").TObject<{
|
|
696
774
|
id: import("@sinclair/typebox").TString;
|
|
697
775
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -759,9 +837,10 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
759
837
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
760
838
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
761
839
|
}>>;
|
|
762
|
-
|
|
840
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
763
841
|
type: import("@sinclair/typebox").TLiteral<"text">;
|
|
764
842
|
text: import("@sinclair/typebox").TString;
|
|
843
|
+
textKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
765
844
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
766
845
|
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
767
846
|
fontFamily: import("@sinclair/typebox").TString;
|
|
@@ -885,7 +964,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
885
964
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
886
965
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
887
966
|
}>>;
|
|
888
|
-
|
|
967
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
889
968
|
type: import("@sinclair/typebox").TLiteral<"spine">;
|
|
890
969
|
assetId: import("@sinclair/typebox").TString;
|
|
891
970
|
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -973,8 +1052,14 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
973
1052
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
974
1053
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
975
1054
|
}>>;
|
|
976
|
-
|
|
1055
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
977
1056
|
type: import("@sinclair/typebox").TLiteral<"button">;
|
|
1057
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1058
|
+
left: import("@sinclair/typebox").TNumber;
|
|
1059
|
+
right: import("@sinclair/typebox").TNumber;
|
|
1060
|
+
top: import("@sinclair/typebox").TNumber;
|
|
1061
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
1062
|
+
}>>;
|
|
978
1063
|
states: import("@sinclair/typebox").TObject<{
|
|
979
1064
|
normalAssetId: import("@sinclair/typebox").TString;
|
|
980
1065
|
hoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -1067,7 +1152,89 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1067
1152
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1068
1153
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1069
1154
|
}>>;
|
|
1070
|
-
|
|
1155
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1156
|
+
type: import("@sinclair/typebox").TLiteral<"checkbox">;
|
|
1157
|
+
states: import("@sinclair/typebox").TObject<{
|
|
1158
|
+
uncheckedAssetId: import("@sinclair/typebox").TString;
|
|
1159
|
+
checkedAssetId: import("@sinclair/typebox").TString;
|
|
1160
|
+
uncheckedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1161
|
+
checkedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1162
|
+
}>;
|
|
1163
|
+
sounds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1164
|
+
checkAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1165
|
+
uncheckAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1166
|
+
}>>;
|
|
1167
|
+
enabled: import("@sinclair/typebox").TBoolean;
|
|
1168
|
+
defaultChecked: import("@sinclair/typebox").TBoolean;
|
|
1169
|
+
group: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1170
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1171
|
+
id: import("@sinclair/typebox").TString;
|
|
1172
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
1173
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1174
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1175
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1176
|
+
name: import("@sinclair/typebox").TString;
|
|
1177
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
1178
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
1179
|
+
x: import("@sinclair/typebox").TNumber;
|
|
1180
|
+
y: import("@sinclair/typebox").TNumber;
|
|
1181
|
+
width: import("@sinclair/typebox").TNumber;
|
|
1182
|
+
height: import("@sinclair/typebox").TNumber;
|
|
1183
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
1184
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
1185
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
1186
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1187
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1188
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1189
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1190
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1191
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1192
|
+
}>;
|
|
1193
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1194
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1195
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1196
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1197
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1198
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1199
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1200
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1201
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1202
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1203
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1204
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1205
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1206
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1207
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1208
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1209
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1210
|
+
}>>;
|
|
1211
|
+
}>>;
|
|
1212
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1213
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1214
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1215
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1216
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1217
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1218
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1219
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1220
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1221
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1222
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1223
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1224
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1225
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1226
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1227
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1228
|
+
}>>;
|
|
1229
|
+
}>>;
|
|
1230
|
+
}>>;
|
|
1231
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1232
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
1233
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
1234
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1235
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1236
|
+
}>>;
|
|
1237
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1071
1238
|
type: import("@sinclair/typebox").TLiteral<"prefab-instance">;
|
|
1072
1239
|
prefabId: import("@sinclair/typebox").TString;
|
|
1073
1240
|
propertyOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -1147,7 +1314,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1147
1314
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1148
1315
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1149
1316
|
}>>;
|
|
1150
|
-
|
|
1317
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1151
1318
|
type: import("@sinclair/typebox").TLiteral<"scroll-view">;
|
|
1152
1319
|
scrollView: import("@sinclair/typebox").TObject<{
|
|
1153
1320
|
direction: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical">, import("@sinclair/typebox").TLiteral<"horizontal">, import("@sinclair/typebox").TLiteral<"both">]>;
|
|
@@ -1230,7 +1397,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1230
1397
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1231
1398
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1232
1399
|
}>>;
|
|
1233
|
-
|
|
1400
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1234
1401
|
type: import("@sinclair/typebox").TLiteral<"input">;
|
|
1235
1402
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1236
1403
|
maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
@@ -1331,7 +1498,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1331
1498
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1332
1499
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1333
1500
|
}>>;
|
|
1334
|
-
|
|
1501
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1335
1502
|
type: import("@sinclair/typebox").TLiteral<"slider">;
|
|
1336
1503
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
1337
1504
|
defaultValue: import("@sinclair/typebox").TNumber;
|
|
@@ -1432,7 +1599,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1432
1599
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1433
1600
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1434
1601
|
}>>;
|
|
1435
|
-
|
|
1602
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1436
1603
|
type: import("@sinclair/typebox").TLiteral<"progress-bar">;
|
|
1437
1604
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
1438
1605
|
fillAssetId: import("@sinclair/typebox").TString;
|
|
@@ -1510,7 +1677,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
1510
1677
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1511
1678
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1512
1679
|
}>>;
|
|
1513
|
-
|
|
1680
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1514
1681
|
type: import("@sinclair/typebox").TLiteral<"particle-emitter">;
|
|
1515
1682
|
autoplay: import("@sinclair/typebox").TBoolean;
|
|
1516
1683
|
effectId: import("@sinclair/typebox").TString;
|
|
@@ -1585,7 +1752,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1585
1752
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1586
1753
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1587
1754
|
}>>;
|
|
1588
|
-
|
|
1755
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1589
1756
|
type: import("@sinclair/typebox").TLiteral<"container">;
|
|
1590
1757
|
}>, import("@sinclair/typebox").TObject<{
|
|
1591
1758
|
id: import("@sinclair/typebox").TString;
|
|
@@ -1654,7 +1821,76 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1654
1821
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1655
1822
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1656
1823
|
}>>;
|
|
1657
|
-
|
|
1824
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1825
|
+
type: import("@sinclair/typebox").TLiteral<"mask">;
|
|
1826
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1827
|
+
id: import("@sinclair/typebox").TString;
|
|
1828
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
1829
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1830
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1831
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1832
|
+
name: import("@sinclair/typebox").TString;
|
|
1833
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
1834
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
1835
|
+
x: import("@sinclair/typebox").TNumber;
|
|
1836
|
+
y: import("@sinclair/typebox").TNumber;
|
|
1837
|
+
width: import("@sinclair/typebox").TNumber;
|
|
1838
|
+
height: import("@sinclair/typebox").TNumber;
|
|
1839
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
1840
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
1841
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
1842
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1843
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1844
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1845
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1846
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1847
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1848
|
+
}>;
|
|
1849
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1850
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1851
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1852
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1853
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1854
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1855
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1856
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1857
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1858
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1859
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1860
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1861
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1862
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1863
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1864
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1865
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1866
|
+
}>>;
|
|
1867
|
+
}>>;
|
|
1868
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1869
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1870
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1871
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1872
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1873
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1874
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1875
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1876
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1877
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1878
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1879
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1880
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1881
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1882
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1883
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1884
|
+
}>>;
|
|
1885
|
+
}>>;
|
|
1886
|
+
}>>;
|
|
1887
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1888
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
1889
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
1890
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1891
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1892
|
+
}>>;
|
|
1893
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1658
1894
|
type: import("@sinclair/typebox").TLiteral<"horizontal-layout">;
|
|
1659
1895
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1660
1896
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -1773,7 +2009,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1773
2009
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1774
2010
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1775
2011
|
}>>;
|
|
1776
|
-
|
|
2012
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1777
2013
|
type: import("@sinclair/typebox").TLiteral<"vertical-layout">;
|
|
1778
2014
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1779
2015
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -1892,7 +2128,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1892
2128
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1893
2129
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
1894
2130
|
}>>;
|
|
1895
|
-
|
|
2131
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1896
2132
|
type: import("@sinclair/typebox").TLiteral<"grid-layout">;
|
|
1897
2133
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1898
2134
|
layoutGroup: import("@sinclair/typebox").TObject<{
|
|
@@ -2017,10 +2253,16 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2017
2253
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2018
2254
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2019
2255
|
}>>;
|
|
2020
|
-
|
|
2256
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2021
2257
|
type: import("@sinclair/typebox").TLiteral<"image">;
|
|
2022
2258
|
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2023
2259
|
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2260
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2261
|
+
left: import("@sinclair/typebox").TNumber;
|
|
2262
|
+
right: import("@sinclair/typebox").TNumber;
|
|
2263
|
+
top: import("@sinclair/typebox").TNumber;
|
|
2264
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
2265
|
+
}>>;
|
|
2024
2266
|
}>, import("@sinclair/typebox").TObject<{
|
|
2025
2267
|
id: import("@sinclair/typebox").TString;
|
|
2026
2268
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -2088,9 +2330,10 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2088
2330
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2089
2331
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2090
2332
|
}>>;
|
|
2091
|
-
|
|
2333
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2092
2334
|
type: import("@sinclair/typebox").TLiteral<"text">;
|
|
2093
2335
|
text: import("@sinclair/typebox").TString;
|
|
2336
|
+
textKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2094
2337
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2095
2338
|
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2096
2339
|
fontFamily: import("@sinclair/typebox").TString;
|
|
@@ -2214,7 +2457,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2214
2457
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2215
2458
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2216
2459
|
}>>;
|
|
2217
|
-
|
|
2460
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2218
2461
|
type: import("@sinclair/typebox").TLiteral<"spine">;
|
|
2219
2462
|
assetId: import("@sinclair/typebox").TString;
|
|
2220
2463
|
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -2302,8 +2545,14 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2302
2545
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2303
2546
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2304
2547
|
}>>;
|
|
2305
|
-
|
|
2548
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2306
2549
|
type: import("@sinclair/typebox").TLiteral<"button">;
|
|
2550
|
+
nineSlice: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2551
|
+
left: import("@sinclair/typebox").TNumber;
|
|
2552
|
+
right: import("@sinclair/typebox").TNumber;
|
|
2553
|
+
top: import("@sinclair/typebox").TNumber;
|
|
2554
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
2555
|
+
}>>;
|
|
2307
2556
|
states: import("@sinclair/typebox").TObject<{
|
|
2308
2557
|
normalAssetId: import("@sinclair/typebox").TString;
|
|
2309
2558
|
hoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -2396,19 +2645,21 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2396
2645
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2397
2646
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2398
2647
|
}>>;
|
|
2399
|
-
|
|
2400
|
-
type: import("@sinclair/typebox").TLiteral<"
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
}
|
|
2411
|
-
|
|
2648
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2649
|
+
type: import("@sinclair/typebox").TLiteral<"checkbox">;
|
|
2650
|
+
states: import("@sinclair/typebox").TObject<{
|
|
2651
|
+
uncheckedAssetId: import("@sinclair/typebox").TString;
|
|
2652
|
+
checkedAssetId: import("@sinclair/typebox").TString;
|
|
2653
|
+
uncheckedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2654
|
+
checkedHoverAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2655
|
+
}>;
|
|
2656
|
+
sounds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2657
|
+
checkAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2658
|
+
uncheckAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2659
|
+
}>>;
|
|
2660
|
+
enabled: import("@sinclair/typebox").TBoolean;
|
|
2661
|
+
defaultChecked: import("@sinclair/typebox").TBoolean;
|
|
2662
|
+
group: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2412
2663
|
}>, import("@sinclair/typebox").TObject<{
|
|
2413
2664
|
id: import("@sinclair/typebox").TString;
|
|
2414
2665
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -2476,20 +2727,100 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2476
2727
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2477
2728
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2478
2729
|
}>>;
|
|
2479
|
-
|
|
2480
|
-
type: import("@sinclair/typebox").TLiteral<"
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2730
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2731
|
+
type: import("@sinclair/typebox").TLiteral<"prefab-instance">;
|
|
2732
|
+
prefabId: import("@sinclair/typebox").TString;
|
|
2733
|
+
propertyOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
2734
|
+
/** Адрес переопределяемого узла внутри инстанса; для вложенных пресетов это путь. */
|
|
2735
|
+
nodeId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
2736
|
+
/**
|
|
2737
|
+
* RFC-7396-like merge patch. Semantic validation rejects structural fields and validates the
|
|
2738
|
+
* effective node after applying it to the referenced prefab-definition node.
|
|
2739
|
+
*/
|
|
2740
|
+
patch: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
2741
|
+
}>>>;
|
|
2742
|
+
locallyAddedNodes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>>;
|
|
2743
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
2744
|
+
id: import("@sinclair/typebox").TString;
|
|
2745
|
+
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
2746
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
2747
|
+
editorOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2748
|
+
locked: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2749
|
+
name: import("@sinclair/typebox").TString;
|
|
2750
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
2751
|
+
transform: import("@sinclair/typebox").TObject<{
|
|
2752
|
+
x: import("@sinclair/typebox").TNumber;
|
|
2753
|
+
y: import("@sinclair/typebox").TNumber;
|
|
2754
|
+
width: import("@sinclair/typebox").TNumber;
|
|
2755
|
+
height: import("@sinclair/typebox").TNumber;
|
|
2756
|
+
scaleX: import("@sinclair/typebox").TNumber;
|
|
2757
|
+
scaleY: import("@sinclair/typebox").TNumber;
|
|
2758
|
+
rotation: import("@sinclair/typebox").TNumber;
|
|
2759
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2760
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2761
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2762
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2763
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2764
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2765
|
+
}>;
|
|
2766
|
+
layoutOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2767
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2768
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2769
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2770
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2771
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2772
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2773
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2774
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2775
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2776
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2777
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2778
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2779
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2780
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2781
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2782
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2783
|
+
}>>;
|
|
2784
|
+
}>>;
|
|
2785
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2786
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2787
|
+
transform: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2788
|
+
x: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2789
|
+
y: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2790
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2791
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2792
|
+
scaleX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2793
|
+
scaleY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2794
|
+
rotation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2795
|
+
pivotX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2796
|
+
pivotY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2797
|
+
anchorMinX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2798
|
+
anchorMinY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2799
|
+
anchorMaxX: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2800
|
+
anchorMaxY: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2801
|
+
}>>;
|
|
2802
|
+
}>>;
|
|
2803
|
+
}>>;
|
|
2804
|
+
layoutItem: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2805
|
+
flexGrow: import("@sinclair/typebox").TNumber;
|
|
2806
|
+
flexShrink: import("@sinclair/typebox").TNumber;
|
|
2807
|
+
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2808
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2809
|
+
}>>;
|
|
2810
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2811
|
+
type: import("@sinclair/typebox").TLiteral<"scroll-view">;
|
|
2812
|
+
scrollView: import("@sinclair/typebox").TObject<{
|
|
2813
|
+
direction: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical">, import("@sinclair/typebox").TLiteral<"horizontal">, import("@sinclair/typebox").TLiteral<"both">]>;
|
|
2814
|
+
padding: import("@sinclair/typebox").TObject<{
|
|
2815
|
+
left: import("@sinclair/typebox").TNumber;
|
|
2816
|
+
right: import("@sinclair/typebox").TNumber;
|
|
2817
|
+
top: import("@sinclair/typebox").TNumber;
|
|
2818
|
+
bottom: import("@sinclair/typebox").TNumber;
|
|
2819
|
+
}>;
|
|
2820
|
+
itemSpacing: import("@sinclair/typebox").TNumber;
|
|
2821
|
+
backgroundColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2822
|
+
cornerRadius: import("@sinclair/typebox").TNumber;
|
|
2823
|
+
easingEnabled: import("@sinclair/typebox").TBoolean;
|
|
2493
2824
|
shiftWheelHorizontal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2494
2825
|
}>;
|
|
2495
2826
|
}>, import("@sinclair/typebox").TObject<{
|
|
@@ -2559,7 +2890,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2559
2890
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2560
2891
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2561
2892
|
}>>;
|
|
2562
|
-
|
|
2893
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2563
2894
|
type: import("@sinclair/typebox").TLiteral<"input">;
|
|
2564
2895
|
backgroundAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2565
2896
|
maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
@@ -2660,7 +2991,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2660
2991
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2661
2992
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2662
2993
|
}>>;
|
|
2663
|
-
|
|
2994
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2664
2995
|
type: import("@sinclair/typebox").TLiteral<"slider">;
|
|
2665
2996
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
2666
2997
|
defaultValue: import("@sinclair/typebox").TNumber;
|
|
@@ -2761,7 +3092,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2761
3092
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2762
3093
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2763
3094
|
}>>;
|
|
2764
|
-
|
|
3095
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2765
3096
|
type: import("@sinclair/typebox").TLiteral<"progress-bar">;
|
|
2766
3097
|
backgroundAssetId: import("@sinclair/typebox").TString;
|
|
2767
3098
|
fillAssetId: import("@sinclair/typebox").TString;
|
|
@@ -2839,7 +3170,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2839
3170
|
flexBasis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2840
3171
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"flex-start">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"flex-end">, import("@sinclair/typebox").TLiteral<"stretch">]>>;
|
|
2841
3172
|
}>>;
|
|
2842
|
-
|
|
3173
|
+
bindingKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2843
3174
|
type: import("@sinclair/typebox").TLiteral<"particle-emitter">;
|
|
2844
3175
|
autoplay: import("@sinclair/typebox").TBoolean;
|
|
2845
3176
|
effectId: import("@sinclair/typebox").TString;
|
|
@@ -2857,9 +3188,19 @@ export type ScrollViewNode = Extract<UINode, {
|
|
|
2857
3188
|
export declare function isScrollView(node: UINode): node is ScrollViewNode;
|
|
2858
3189
|
/** A direct child of this node does not own its own position: a layout group's Yoga solver or a scroll-view's `@pixi/ui` List does. */
|
|
2859
3190
|
export declare function isPositionManagingContainer(node: UINode): boolean;
|
|
3191
|
+
export type TextNode = Extract<UINode, {
|
|
3192
|
+
type: "text";
|
|
3193
|
+
}>;
|
|
3194
|
+
export declare function isTextNode(node: UINode): node is TextNode;
|
|
3195
|
+
export type ImageNode = Extract<UINode, {
|
|
3196
|
+
type: "image";
|
|
3197
|
+
}>;
|
|
2860
3198
|
export type InputNode = Extract<UINode, {
|
|
2861
3199
|
type: "input";
|
|
2862
3200
|
}>;
|
|
3201
|
+
export type CheckboxNode = Extract<UINode, {
|
|
3202
|
+
type: "checkbox";
|
|
3203
|
+
}>;
|
|
2863
3204
|
export type SliderNode = Extract<UINode, {
|
|
2864
3205
|
type: "slider";
|
|
2865
3206
|
}>;
|
|
@@ -2921,7 +3262,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
2921
3262
|
flexGrow: number;
|
|
2922
3263
|
flexShrink: number;
|
|
2923
3264
|
} | undefined;
|
|
2924
|
-
|
|
3265
|
+
bindingKey?: string | undefined;
|
|
2925
3266
|
id: string;
|
|
2926
3267
|
type: "container";
|
|
2927
3268
|
parentId: string | null;
|
|
@@ -2990,7 +3331,76 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
2990
3331
|
flexGrow: number;
|
|
2991
3332
|
flexShrink: number;
|
|
2992
3333
|
} | undefined;
|
|
2993
|
-
|
|
3334
|
+
bindingKey?: string | undefined;
|
|
3335
|
+
id: string;
|
|
3336
|
+
type: "mask";
|
|
3337
|
+
parentId: string | null;
|
|
3338
|
+
children: string[];
|
|
3339
|
+
name: string;
|
|
3340
|
+
visible: boolean;
|
|
3341
|
+
transform: {
|
|
3342
|
+
pivotX?: number | undefined;
|
|
3343
|
+
pivotY?: number | undefined;
|
|
3344
|
+
anchorMinX?: number | undefined;
|
|
3345
|
+
anchorMinY?: number | undefined;
|
|
3346
|
+
anchorMaxX?: number | undefined;
|
|
3347
|
+
anchorMaxY?: number | undefined;
|
|
3348
|
+
x: number;
|
|
3349
|
+
y: number;
|
|
3350
|
+
width: number;
|
|
3351
|
+
height: number;
|
|
3352
|
+
scaleX: number;
|
|
3353
|
+
scaleY: number;
|
|
3354
|
+
rotation: number;
|
|
3355
|
+
};
|
|
3356
|
+
} | {
|
|
3357
|
+
editorOnly?: boolean | undefined;
|
|
3358
|
+
locked?: boolean | undefined;
|
|
3359
|
+
layoutOverrides?: {
|
|
3360
|
+
desktop?: {
|
|
3361
|
+
visible?: boolean | undefined;
|
|
3362
|
+
transform?: {
|
|
3363
|
+
x?: number | undefined;
|
|
3364
|
+
y?: number | undefined;
|
|
3365
|
+
width?: number | undefined;
|
|
3366
|
+
height?: number | undefined;
|
|
3367
|
+
scaleX?: number | undefined;
|
|
3368
|
+
scaleY?: number | undefined;
|
|
3369
|
+
rotation?: number | undefined;
|
|
3370
|
+
pivotX?: number | undefined;
|
|
3371
|
+
pivotY?: number | undefined;
|
|
3372
|
+
anchorMinX?: number | undefined;
|
|
3373
|
+
anchorMinY?: number | undefined;
|
|
3374
|
+
anchorMaxX?: number | undefined;
|
|
3375
|
+
anchorMaxY?: number | undefined;
|
|
3376
|
+
} | undefined;
|
|
3377
|
+
} | undefined;
|
|
3378
|
+
mobile?: {
|
|
3379
|
+
visible?: boolean | undefined;
|
|
3380
|
+
transform?: {
|
|
3381
|
+
x?: number | undefined;
|
|
3382
|
+
y?: number | undefined;
|
|
3383
|
+
width?: number | undefined;
|
|
3384
|
+
height?: number | undefined;
|
|
3385
|
+
scaleX?: number | undefined;
|
|
3386
|
+
scaleY?: number | undefined;
|
|
3387
|
+
rotation?: number | undefined;
|
|
3388
|
+
pivotX?: number | undefined;
|
|
3389
|
+
pivotY?: number | undefined;
|
|
3390
|
+
anchorMinX?: number | undefined;
|
|
3391
|
+
anchorMinY?: number | undefined;
|
|
3392
|
+
anchorMaxX?: number | undefined;
|
|
3393
|
+
anchorMaxY?: number | undefined;
|
|
3394
|
+
} | undefined;
|
|
3395
|
+
} | undefined;
|
|
3396
|
+
} | undefined;
|
|
3397
|
+
layoutItem?: {
|
|
3398
|
+
flexBasis?: number | undefined;
|
|
3399
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
3400
|
+
flexGrow: number;
|
|
3401
|
+
flexShrink: number;
|
|
3402
|
+
} | undefined;
|
|
3403
|
+
bindingKey?: string | undefined;
|
|
2994
3404
|
backgroundAssetId?: string | undefined;
|
|
2995
3405
|
id: string;
|
|
2996
3406
|
type: "horizontal-layout";
|
|
@@ -3109,7 +3519,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3109
3519
|
flexGrow: number;
|
|
3110
3520
|
flexShrink: number;
|
|
3111
3521
|
} | undefined;
|
|
3112
|
-
|
|
3522
|
+
bindingKey?: string | undefined;
|
|
3113
3523
|
backgroundAssetId?: string | undefined;
|
|
3114
3524
|
id: string;
|
|
3115
3525
|
type: "vertical-layout";
|
|
@@ -3228,7 +3638,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3228
3638
|
flexGrow: number;
|
|
3229
3639
|
flexShrink: number;
|
|
3230
3640
|
} | undefined;
|
|
3231
|
-
|
|
3641
|
+
bindingKey?: string | undefined;
|
|
3232
3642
|
backgroundAssetId?: string | undefined;
|
|
3233
3643
|
id: string;
|
|
3234
3644
|
type: "grid-layout";
|
|
@@ -3353,9 +3763,15 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3353
3763
|
flexGrow: number;
|
|
3354
3764
|
flexShrink: number;
|
|
3355
3765
|
} | undefined;
|
|
3356
|
-
|
|
3766
|
+
bindingKey?: string | undefined;
|
|
3357
3767
|
assetId?: string | undefined;
|
|
3358
3768
|
opacity?: number | undefined;
|
|
3769
|
+
nineSlice?: {
|
|
3770
|
+
left: number;
|
|
3771
|
+
right: number;
|
|
3772
|
+
top: number;
|
|
3773
|
+
bottom: number;
|
|
3774
|
+
} | undefined;
|
|
3359
3775
|
id: string;
|
|
3360
3776
|
type: "image";
|
|
3361
3777
|
parentId: string | null;
|
|
@@ -3424,7 +3840,8 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3424
3840
|
flexGrow: number;
|
|
3425
3841
|
flexShrink: number;
|
|
3426
3842
|
} | undefined;
|
|
3427
|
-
|
|
3843
|
+
bindingKey?: string | undefined;
|
|
3844
|
+
textKey?: string | undefined;
|
|
3428
3845
|
style?: {
|
|
3429
3846
|
fontAssetId?: string | undefined;
|
|
3430
3847
|
lineHeight?: number | undefined;
|
|
@@ -3550,7 +3967,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3550
3967
|
flexGrow: number;
|
|
3551
3968
|
flexShrink: number;
|
|
3552
3969
|
} | undefined;
|
|
3553
|
-
|
|
3970
|
+
bindingKey?: string | undefined;
|
|
3554
3971
|
animation?: string | undefined;
|
|
3555
3972
|
autoplay?: boolean | undefined;
|
|
3556
3973
|
loop?: boolean | undefined;
|
|
@@ -3638,7 +4055,13 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3638
4055
|
flexGrow: number;
|
|
3639
4056
|
flexShrink: number;
|
|
3640
4057
|
} | undefined;
|
|
3641
|
-
|
|
4058
|
+
bindingKey?: string | undefined;
|
|
4059
|
+
nineSlice?: {
|
|
4060
|
+
left: number;
|
|
4061
|
+
right: number;
|
|
4062
|
+
top: number;
|
|
4063
|
+
bottom: number;
|
|
4064
|
+
} | undefined;
|
|
3642
4065
|
sounds?: {
|
|
3643
4066
|
hoverAssetId?: string | undefined;
|
|
3644
4067
|
pressAssetId?: string | undefined;
|
|
@@ -3685,6 +4108,88 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3685
4108
|
normalAssetId: string;
|
|
3686
4109
|
};
|
|
3687
4110
|
enabled: boolean;
|
|
4111
|
+
} | {
|
|
4112
|
+
editorOnly?: boolean | undefined;
|
|
4113
|
+
locked?: boolean | undefined;
|
|
4114
|
+
layoutOverrides?: {
|
|
4115
|
+
desktop?: {
|
|
4116
|
+
visible?: boolean | undefined;
|
|
4117
|
+
transform?: {
|
|
4118
|
+
x?: number | undefined;
|
|
4119
|
+
y?: number | undefined;
|
|
4120
|
+
width?: number | undefined;
|
|
4121
|
+
height?: number | undefined;
|
|
4122
|
+
scaleX?: number | undefined;
|
|
4123
|
+
scaleY?: number | undefined;
|
|
4124
|
+
rotation?: number | undefined;
|
|
4125
|
+
pivotX?: number | undefined;
|
|
4126
|
+
pivotY?: number | undefined;
|
|
4127
|
+
anchorMinX?: number | undefined;
|
|
4128
|
+
anchorMinY?: number | undefined;
|
|
4129
|
+
anchorMaxX?: number | undefined;
|
|
4130
|
+
anchorMaxY?: number | undefined;
|
|
4131
|
+
} | undefined;
|
|
4132
|
+
} | undefined;
|
|
4133
|
+
mobile?: {
|
|
4134
|
+
visible?: boolean | undefined;
|
|
4135
|
+
transform?: {
|
|
4136
|
+
x?: number | undefined;
|
|
4137
|
+
y?: number | undefined;
|
|
4138
|
+
width?: number | undefined;
|
|
4139
|
+
height?: number | undefined;
|
|
4140
|
+
scaleX?: number | undefined;
|
|
4141
|
+
scaleY?: number | undefined;
|
|
4142
|
+
rotation?: number | undefined;
|
|
4143
|
+
pivotX?: number | undefined;
|
|
4144
|
+
pivotY?: number | undefined;
|
|
4145
|
+
anchorMinX?: number | undefined;
|
|
4146
|
+
anchorMinY?: number | undefined;
|
|
4147
|
+
anchorMaxX?: number | undefined;
|
|
4148
|
+
anchorMaxY?: number | undefined;
|
|
4149
|
+
} | undefined;
|
|
4150
|
+
} | undefined;
|
|
4151
|
+
} | undefined;
|
|
4152
|
+
layoutItem?: {
|
|
4153
|
+
flexBasis?: number | undefined;
|
|
4154
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
4155
|
+
flexGrow: number;
|
|
4156
|
+
flexShrink: number;
|
|
4157
|
+
} | undefined;
|
|
4158
|
+
bindingKey?: string | undefined;
|
|
4159
|
+
sounds?: {
|
|
4160
|
+
checkAssetId?: string | undefined;
|
|
4161
|
+
uncheckAssetId?: string | undefined;
|
|
4162
|
+
} | undefined;
|
|
4163
|
+
group?: string | undefined;
|
|
4164
|
+
id: string;
|
|
4165
|
+
type: "checkbox";
|
|
4166
|
+
parentId: string | null;
|
|
4167
|
+
children: string[];
|
|
4168
|
+
name: string;
|
|
4169
|
+
visible: boolean;
|
|
4170
|
+
transform: {
|
|
4171
|
+
pivotX?: number | undefined;
|
|
4172
|
+
pivotY?: number | undefined;
|
|
4173
|
+
anchorMinX?: number | undefined;
|
|
4174
|
+
anchorMinY?: number | undefined;
|
|
4175
|
+
anchorMaxX?: number | undefined;
|
|
4176
|
+
anchorMaxY?: number | undefined;
|
|
4177
|
+
x: number;
|
|
4178
|
+
y: number;
|
|
4179
|
+
width: number;
|
|
4180
|
+
height: number;
|
|
4181
|
+
scaleX: number;
|
|
4182
|
+
scaleY: number;
|
|
4183
|
+
rotation: number;
|
|
4184
|
+
};
|
|
4185
|
+
states: {
|
|
4186
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
4187
|
+
checkedHoverAssetId?: string | undefined;
|
|
4188
|
+
uncheckedAssetId: string;
|
|
4189
|
+
checkedAssetId: string;
|
|
4190
|
+
};
|
|
4191
|
+
enabled: boolean;
|
|
4192
|
+
defaultChecked: boolean;
|
|
3688
4193
|
} | {
|
|
3689
4194
|
editorOnly?: boolean | undefined;
|
|
3690
4195
|
locked?: boolean | undefined;
|
|
@@ -3741,7 +4246,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3741
4246
|
flexGrow: number;
|
|
3742
4247
|
flexShrink: number;
|
|
3743
4248
|
} | undefined;
|
|
3744
|
-
|
|
4249
|
+
bindingKey?: string | undefined;
|
|
3745
4250
|
id: string;
|
|
3746
4251
|
type: "container";
|
|
3747
4252
|
parentId: string | null;
|
|
@@ -3810,7 +4315,76 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3810
4315
|
flexGrow: number;
|
|
3811
4316
|
flexShrink: number;
|
|
3812
4317
|
} | undefined;
|
|
3813
|
-
|
|
4318
|
+
bindingKey?: string | undefined;
|
|
4319
|
+
id: string;
|
|
4320
|
+
type: "mask";
|
|
4321
|
+
parentId: string | null;
|
|
4322
|
+
children: string[];
|
|
4323
|
+
name: string;
|
|
4324
|
+
visible: boolean;
|
|
4325
|
+
transform: {
|
|
4326
|
+
pivotX?: number | undefined;
|
|
4327
|
+
pivotY?: number | undefined;
|
|
4328
|
+
anchorMinX?: number | undefined;
|
|
4329
|
+
anchorMinY?: number | undefined;
|
|
4330
|
+
anchorMaxX?: number | undefined;
|
|
4331
|
+
anchorMaxY?: number | undefined;
|
|
4332
|
+
x: number;
|
|
4333
|
+
y: number;
|
|
4334
|
+
width: number;
|
|
4335
|
+
height: number;
|
|
4336
|
+
scaleX: number;
|
|
4337
|
+
scaleY: number;
|
|
4338
|
+
rotation: number;
|
|
4339
|
+
};
|
|
4340
|
+
} | {
|
|
4341
|
+
editorOnly?: boolean | undefined;
|
|
4342
|
+
locked?: boolean | undefined;
|
|
4343
|
+
layoutOverrides?: {
|
|
4344
|
+
desktop?: {
|
|
4345
|
+
visible?: boolean | undefined;
|
|
4346
|
+
transform?: {
|
|
4347
|
+
x?: number | undefined;
|
|
4348
|
+
y?: number | undefined;
|
|
4349
|
+
width?: number | undefined;
|
|
4350
|
+
height?: number | undefined;
|
|
4351
|
+
scaleX?: number | undefined;
|
|
4352
|
+
scaleY?: number | undefined;
|
|
4353
|
+
rotation?: number | undefined;
|
|
4354
|
+
pivotX?: number | undefined;
|
|
4355
|
+
pivotY?: number | undefined;
|
|
4356
|
+
anchorMinX?: number | undefined;
|
|
4357
|
+
anchorMinY?: number | undefined;
|
|
4358
|
+
anchorMaxX?: number | undefined;
|
|
4359
|
+
anchorMaxY?: number | undefined;
|
|
4360
|
+
} | undefined;
|
|
4361
|
+
} | undefined;
|
|
4362
|
+
mobile?: {
|
|
4363
|
+
visible?: boolean | undefined;
|
|
4364
|
+
transform?: {
|
|
4365
|
+
x?: number | undefined;
|
|
4366
|
+
y?: number | undefined;
|
|
4367
|
+
width?: number | undefined;
|
|
4368
|
+
height?: number | undefined;
|
|
4369
|
+
scaleX?: number | undefined;
|
|
4370
|
+
scaleY?: number | undefined;
|
|
4371
|
+
rotation?: number | undefined;
|
|
4372
|
+
pivotX?: number | undefined;
|
|
4373
|
+
pivotY?: number | undefined;
|
|
4374
|
+
anchorMinX?: number | undefined;
|
|
4375
|
+
anchorMinY?: number | undefined;
|
|
4376
|
+
anchorMaxX?: number | undefined;
|
|
4377
|
+
anchorMaxY?: number | undefined;
|
|
4378
|
+
} | undefined;
|
|
4379
|
+
} | undefined;
|
|
4380
|
+
} | undefined;
|
|
4381
|
+
layoutItem?: {
|
|
4382
|
+
flexBasis?: number | undefined;
|
|
4383
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
4384
|
+
flexGrow: number;
|
|
4385
|
+
flexShrink: number;
|
|
4386
|
+
} | undefined;
|
|
4387
|
+
bindingKey?: string | undefined;
|
|
3814
4388
|
backgroundAssetId?: string | undefined;
|
|
3815
4389
|
id: string;
|
|
3816
4390
|
type: "horizontal-layout";
|
|
@@ -3929,7 +4503,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3929
4503
|
flexGrow: number;
|
|
3930
4504
|
flexShrink: number;
|
|
3931
4505
|
} | undefined;
|
|
3932
|
-
|
|
4506
|
+
bindingKey?: string | undefined;
|
|
3933
4507
|
backgroundAssetId?: string | undefined;
|
|
3934
4508
|
id: string;
|
|
3935
4509
|
type: "vertical-layout";
|
|
@@ -4048,7 +4622,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4048
4622
|
flexGrow: number;
|
|
4049
4623
|
flexShrink: number;
|
|
4050
4624
|
} | undefined;
|
|
4051
|
-
|
|
4625
|
+
bindingKey?: string | undefined;
|
|
4052
4626
|
backgroundAssetId?: string | undefined;
|
|
4053
4627
|
id: string;
|
|
4054
4628
|
type: "grid-layout";
|
|
@@ -4173,9 +4747,15 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4173
4747
|
flexGrow: number;
|
|
4174
4748
|
flexShrink: number;
|
|
4175
4749
|
} | undefined;
|
|
4176
|
-
|
|
4750
|
+
bindingKey?: string | undefined;
|
|
4177
4751
|
assetId?: string | undefined;
|
|
4178
4752
|
opacity?: number | undefined;
|
|
4753
|
+
nineSlice?: {
|
|
4754
|
+
left: number;
|
|
4755
|
+
right: number;
|
|
4756
|
+
top: number;
|
|
4757
|
+
bottom: number;
|
|
4758
|
+
} | undefined;
|
|
4179
4759
|
id: string;
|
|
4180
4760
|
type: "image";
|
|
4181
4761
|
parentId: string | null;
|
|
@@ -4244,7 +4824,8 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4244
4824
|
flexGrow: number;
|
|
4245
4825
|
flexShrink: number;
|
|
4246
4826
|
} | undefined;
|
|
4247
|
-
|
|
4827
|
+
bindingKey?: string | undefined;
|
|
4828
|
+
textKey?: string | undefined;
|
|
4248
4829
|
style?: {
|
|
4249
4830
|
fontAssetId?: string | undefined;
|
|
4250
4831
|
lineHeight?: number | undefined;
|
|
@@ -4370,7 +4951,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4370
4951
|
flexGrow: number;
|
|
4371
4952
|
flexShrink: number;
|
|
4372
4953
|
} | undefined;
|
|
4373
|
-
|
|
4954
|
+
bindingKey?: string | undefined;
|
|
4374
4955
|
animation?: string | undefined;
|
|
4375
4956
|
autoplay?: boolean | undefined;
|
|
4376
4957
|
loop?: boolean | undefined;
|
|
@@ -4382,15 +4963,109 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4382
4963
|
loop?: boolean | undefined;
|
|
4383
4964
|
animationSpeed?: number | undefined;
|
|
4384
4965
|
} | undefined;
|
|
4385
|
-
mobile?: {
|
|
4386
|
-
animation?: string | null | undefined;
|
|
4387
|
-
autoplay?: boolean | undefined;
|
|
4388
|
-
loop?: boolean | undefined;
|
|
4389
|
-
animationSpeed?: number | undefined;
|
|
4966
|
+
mobile?: {
|
|
4967
|
+
animation?: string | null | undefined;
|
|
4968
|
+
autoplay?: boolean | undefined;
|
|
4969
|
+
loop?: boolean | undefined;
|
|
4970
|
+
animationSpeed?: number | undefined;
|
|
4971
|
+
} | undefined;
|
|
4972
|
+
} | undefined;
|
|
4973
|
+
id: string;
|
|
4974
|
+
type: "spine";
|
|
4975
|
+
parentId: string | null;
|
|
4976
|
+
children: string[];
|
|
4977
|
+
name: string;
|
|
4978
|
+
visible: boolean;
|
|
4979
|
+
transform: {
|
|
4980
|
+
pivotX?: number | undefined;
|
|
4981
|
+
pivotY?: number | undefined;
|
|
4982
|
+
anchorMinX?: number | undefined;
|
|
4983
|
+
anchorMinY?: number | undefined;
|
|
4984
|
+
anchorMaxX?: number | undefined;
|
|
4985
|
+
anchorMaxY?: number | undefined;
|
|
4986
|
+
x: number;
|
|
4987
|
+
y: number;
|
|
4988
|
+
width: number;
|
|
4989
|
+
height: number;
|
|
4990
|
+
scaleX: number;
|
|
4991
|
+
scaleY: number;
|
|
4992
|
+
rotation: number;
|
|
4993
|
+
};
|
|
4994
|
+
assetId: string;
|
|
4995
|
+
} | {
|
|
4996
|
+
editorOnly?: boolean | undefined;
|
|
4997
|
+
locked?: boolean | undefined;
|
|
4998
|
+
layoutOverrides?: {
|
|
4999
|
+
desktop?: {
|
|
5000
|
+
visible?: boolean | undefined;
|
|
5001
|
+
transform?: {
|
|
5002
|
+
x?: number | undefined;
|
|
5003
|
+
y?: number | undefined;
|
|
5004
|
+
width?: number | undefined;
|
|
5005
|
+
height?: number | undefined;
|
|
5006
|
+
scaleX?: number | undefined;
|
|
5007
|
+
scaleY?: number | undefined;
|
|
5008
|
+
rotation?: number | undefined;
|
|
5009
|
+
pivotX?: number | undefined;
|
|
5010
|
+
pivotY?: number | undefined;
|
|
5011
|
+
anchorMinX?: number | undefined;
|
|
5012
|
+
anchorMinY?: number | undefined;
|
|
5013
|
+
anchorMaxX?: number | undefined;
|
|
5014
|
+
anchorMaxY?: number | undefined;
|
|
5015
|
+
} | undefined;
|
|
5016
|
+
} | undefined;
|
|
5017
|
+
mobile?: {
|
|
5018
|
+
visible?: boolean | undefined;
|
|
5019
|
+
transform?: {
|
|
5020
|
+
x?: number | undefined;
|
|
5021
|
+
y?: number | undefined;
|
|
5022
|
+
width?: number | undefined;
|
|
5023
|
+
height?: number | undefined;
|
|
5024
|
+
scaleX?: number | undefined;
|
|
5025
|
+
scaleY?: number | undefined;
|
|
5026
|
+
rotation?: number | undefined;
|
|
5027
|
+
pivotX?: number | undefined;
|
|
5028
|
+
pivotY?: number | undefined;
|
|
5029
|
+
anchorMinX?: number | undefined;
|
|
5030
|
+
anchorMinY?: number | undefined;
|
|
5031
|
+
anchorMaxX?: number | undefined;
|
|
5032
|
+
anchorMaxY?: number | undefined;
|
|
5033
|
+
} | undefined;
|
|
5034
|
+
} | undefined;
|
|
5035
|
+
} | undefined;
|
|
5036
|
+
layoutItem?: {
|
|
5037
|
+
flexBasis?: number | undefined;
|
|
5038
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
5039
|
+
flexGrow: number;
|
|
5040
|
+
flexShrink: number;
|
|
5041
|
+
} | undefined;
|
|
5042
|
+
bindingKey?: string | undefined;
|
|
5043
|
+
nineSlice?: {
|
|
5044
|
+
left: number;
|
|
5045
|
+
right: number;
|
|
5046
|
+
top: number;
|
|
5047
|
+
bottom: number;
|
|
5048
|
+
} | undefined;
|
|
5049
|
+
sounds?: {
|
|
5050
|
+
hoverAssetId?: string | undefined;
|
|
5051
|
+
pressAssetId?: string | undefined;
|
|
5052
|
+
} | undefined;
|
|
5053
|
+
transitions?: {
|
|
5054
|
+
normal?: {
|
|
5055
|
+
kind: "instant";
|
|
5056
|
+
} | undefined;
|
|
5057
|
+
hover?: {
|
|
5058
|
+
kind: "instant";
|
|
5059
|
+
} | undefined;
|
|
5060
|
+
pressed?: {
|
|
5061
|
+
kind: "instant";
|
|
5062
|
+
} | undefined;
|
|
5063
|
+
disabled?: {
|
|
5064
|
+
kind: "instant";
|
|
4390
5065
|
} | undefined;
|
|
4391
5066
|
} | undefined;
|
|
4392
5067
|
id: string;
|
|
4393
|
-
type: "
|
|
5068
|
+
type: "button";
|
|
4394
5069
|
parentId: string | null;
|
|
4395
5070
|
children: string[];
|
|
4396
5071
|
name: string;
|
|
@@ -4410,7 +5085,13 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4410
5085
|
scaleY: number;
|
|
4411
5086
|
rotation: number;
|
|
4412
5087
|
};
|
|
4413
|
-
|
|
5088
|
+
states: {
|
|
5089
|
+
hoverAssetId?: string | undefined;
|
|
5090
|
+
pressedAssetId?: string | undefined;
|
|
5091
|
+
disabledAssetId?: string | undefined;
|
|
5092
|
+
normalAssetId: string;
|
|
5093
|
+
};
|
|
5094
|
+
enabled: boolean;
|
|
4414
5095
|
} | {
|
|
4415
5096
|
editorOnly?: boolean | undefined;
|
|
4416
5097
|
locked?: boolean | undefined;
|
|
@@ -4458,27 +5139,14 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4458
5139
|
flexGrow: number;
|
|
4459
5140
|
flexShrink: number;
|
|
4460
5141
|
} | undefined;
|
|
4461
|
-
|
|
5142
|
+
bindingKey?: string | undefined;
|
|
4462
5143
|
sounds?: {
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
} | undefined;
|
|
4466
|
-
transitions?: {
|
|
4467
|
-
normal?: {
|
|
4468
|
-
kind: "instant";
|
|
4469
|
-
} | undefined;
|
|
4470
|
-
hover?: {
|
|
4471
|
-
kind: "instant";
|
|
4472
|
-
} | undefined;
|
|
4473
|
-
pressed?: {
|
|
4474
|
-
kind: "instant";
|
|
4475
|
-
} | undefined;
|
|
4476
|
-
disabled?: {
|
|
4477
|
-
kind: "instant";
|
|
4478
|
-
} | undefined;
|
|
5144
|
+
checkAssetId?: string | undefined;
|
|
5145
|
+
uncheckAssetId?: string | undefined;
|
|
4479
5146
|
} | undefined;
|
|
5147
|
+
group?: string | undefined;
|
|
4480
5148
|
id: string;
|
|
4481
|
-
type: "
|
|
5149
|
+
type: "checkbox";
|
|
4482
5150
|
parentId: string | null;
|
|
4483
5151
|
children: string[];
|
|
4484
5152
|
name: string;
|
|
@@ -4499,12 +5167,13 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4499
5167
|
rotation: number;
|
|
4500
5168
|
};
|
|
4501
5169
|
states: {
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
5170
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
5171
|
+
checkedHoverAssetId?: string | undefined;
|
|
5172
|
+
uncheckedAssetId: string;
|
|
5173
|
+
checkedAssetId: string;
|
|
4506
5174
|
};
|
|
4507
5175
|
enabled: boolean;
|
|
5176
|
+
defaultChecked: boolean;
|
|
4508
5177
|
} | /*elided*/ any | {
|
|
4509
5178
|
editorOnly?: boolean | undefined;
|
|
4510
5179
|
locked?: boolean | undefined;
|
|
@@ -4552,7 +5221,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4552
5221
|
flexGrow: number;
|
|
4553
5222
|
flexShrink: number;
|
|
4554
5223
|
} | undefined;
|
|
4555
|
-
|
|
5224
|
+
bindingKey?: string | undefined;
|
|
4556
5225
|
id: string;
|
|
4557
5226
|
type: "scroll-view";
|
|
4558
5227
|
parentId: string | null;
|
|
@@ -4636,7 +5305,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4636
5305
|
flexGrow: number;
|
|
4637
5306
|
flexShrink: number;
|
|
4638
5307
|
} | undefined;
|
|
4639
|
-
|
|
5308
|
+
bindingKey?: string | undefined;
|
|
4640
5309
|
backgroundAssetId?: string | undefined;
|
|
4641
5310
|
id: string;
|
|
4642
5311
|
type: "input";
|
|
@@ -4736,7 +5405,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4736
5405
|
flexGrow: number;
|
|
4737
5406
|
flexShrink: number;
|
|
4738
5407
|
} | undefined;
|
|
4739
|
-
|
|
5408
|
+
bindingKey?: string | undefined;
|
|
4740
5409
|
showValue?: boolean | undefined;
|
|
4741
5410
|
valueTextStyle?: {
|
|
4742
5411
|
fontAssetId?: string | undefined;
|
|
@@ -4837,7 +5506,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4837
5506
|
flexGrow: number;
|
|
4838
5507
|
flexShrink: number;
|
|
4839
5508
|
} | undefined;
|
|
4840
|
-
|
|
5509
|
+
bindingKey?: string | undefined;
|
|
4841
5510
|
id: string;
|
|
4842
5511
|
type: "progress-bar";
|
|
4843
5512
|
parentId: string | null;
|
|
@@ -4915,7 +5584,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4915
5584
|
flexGrow: number;
|
|
4916
5585
|
flexShrink: number;
|
|
4917
5586
|
} | undefined;
|
|
4918
|
-
|
|
5587
|
+
bindingKey?: string | undefined;
|
|
4919
5588
|
id: string;
|
|
4920
5589
|
type: "particle-emitter";
|
|
4921
5590
|
parentId: string | null;
|
|
@@ -4985,7 +5654,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4985
5654
|
flexGrow: number;
|
|
4986
5655
|
flexShrink: number;
|
|
4987
5656
|
} | undefined;
|
|
4988
|
-
|
|
5657
|
+
bindingKey?: string | undefined;
|
|
4989
5658
|
id: string;
|
|
4990
5659
|
type: "prefab-instance";
|
|
4991
5660
|
parentId: string | null;
|
|
@@ -5055,7 +5724,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5055
5724
|
flexGrow: number;
|
|
5056
5725
|
flexShrink: number;
|
|
5057
5726
|
} | undefined;
|
|
5058
|
-
|
|
5727
|
+
bindingKey?: string | undefined;
|
|
5059
5728
|
id: string;
|
|
5060
5729
|
type: "scroll-view";
|
|
5061
5730
|
parentId: string | null;
|
|
@@ -5139,7 +5808,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5139
5808
|
flexGrow: number;
|
|
5140
5809
|
flexShrink: number;
|
|
5141
5810
|
} | undefined;
|
|
5142
|
-
|
|
5811
|
+
bindingKey?: string | undefined;
|
|
5143
5812
|
backgroundAssetId?: string | undefined;
|
|
5144
5813
|
id: string;
|
|
5145
5814
|
type: "input";
|
|
@@ -5239,7 +5908,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5239
5908
|
flexGrow: number;
|
|
5240
5909
|
flexShrink: number;
|
|
5241
5910
|
} | undefined;
|
|
5242
|
-
|
|
5911
|
+
bindingKey?: string | undefined;
|
|
5243
5912
|
showValue?: boolean | undefined;
|
|
5244
5913
|
valueTextStyle?: {
|
|
5245
5914
|
fontAssetId?: string | undefined;
|
|
@@ -5340,7 +6009,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5340
6009
|
flexGrow: number;
|
|
5341
6010
|
flexShrink: number;
|
|
5342
6011
|
} | undefined;
|
|
5343
|
-
|
|
6012
|
+
bindingKey?: string | undefined;
|
|
5344
6013
|
id: string;
|
|
5345
6014
|
type: "progress-bar";
|
|
5346
6015
|
parentId: string | null;
|
|
@@ -5418,7 +6087,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
5418
6087
|
flexGrow: number;
|
|
5419
6088
|
flexShrink: number;
|
|
5420
6089
|
} | undefined;
|
|
5421
|
-
|
|
6090
|
+
bindingKey?: string | undefined;
|
|
5422
6091
|
id: string;
|
|
5423
6092
|
type: "particle-emitter";
|
|
5424
6093
|
parentId: string | null;
|
|
@@ -5612,7 +6281,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5612
6281
|
flexGrow: number;
|
|
5613
6282
|
flexShrink: number;
|
|
5614
6283
|
} | undefined;
|
|
5615
|
-
|
|
6284
|
+
bindingKey?: string | undefined;
|
|
5616
6285
|
id: string;
|
|
5617
6286
|
type: "container";
|
|
5618
6287
|
parentId: string | null;
|
|
@@ -5681,7 +6350,76 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5681
6350
|
flexGrow: number;
|
|
5682
6351
|
flexShrink: number;
|
|
5683
6352
|
} | undefined;
|
|
5684
|
-
|
|
6353
|
+
bindingKey?: string | undefined;
|
|
6354
|
+
id: string;
|
|
6355
|
+
type: "mask";
|
|
6356
|
+
parentId: string | null;
|
|
6357
|
+
children: string[];
|
|
6358
|
+
name: string;
|
|
6359
|
+
visible: boolean;
|
|
6360
|
+
transform: {
|
|
6361
|
+
pivotX?: number | undefined;
|
|
6362
|
+
pivotY?: number | undefined;
|
|
6363
|
+
anchorMinX?: number | undefined;
|
|
6364
|
+
anchorMinY?: number | undefined;
|
|
6365
|
+
anchorMaxX?: number | undefined;
|
|
6366
|
+
anchorMaxY?: number | undefined;
|
|
6367
|
+
x: number;
|
|
6368
|
+
y: number;
|
|
6369
|
+
width: number;
|
|
6370
|
+
height: number;
|
|
6371
|
+
scaleX: number;
|
|
6372
|
+
scaleY: number;
|
|
6373
|
+
rotation: number;
|
|
6374
|
+
};
|
|
6375
|
+
} | {
|
|
6376
|
+
editorOnly?: boolean | undefined;
|
|
6377
|
+
locked?: boolean | undefined;
|
|
6378
|
+
layoutOverrides?: {
|
|
6379
|
+
desktop?: {
|
|
6380
|
+
visible?: boolean | undefined;
|
|
6381
|
+
transform?: {
|
|
6382
|
+
x?: number | undefined;
|
|
6383
|
+
y?: number | undefined;
|
|
6384
|
+
width?: number | undefined;
|
|
6385
|
+
height?: number | undefined;
|
|
6386
|
+
scaleX?: number | undefined;
|
|
6387
|
+
scaleY?: number | undefined;
|
|
6388
|
+
rotation?: number | undefined;
|
|
6389
|
+
pivotX?: number | undefined;
|
|
6390
|
+
pivotY?: number | undefined;
|
|
6391
|
+
anchorMinX?: number | undefined;
|
|
6392
|
+
anchorMinY?: number | undefined;
|
|
6393
|
+
anchorMaxX?: number | undefined;
|
|
6394
|
+
anchorMaxY?: number | undefined;
|
|
6395
|
+
} | undefined;
|
|
6396
|
+
} | undefined;
|
|
6397
|
+
mobile?: {
|
|
6398
|
+
visible?: boolean | undefined;
|
|
6399
|
+
transform?: {
|
|
6400
|
+
x?: number | undefined;
|
|
6401
|
+
y?: number | undefined;
|
|
6402
|
+
width?: number | undefined;
|
|
6403
|
+
height?: number | undefined;
|
|
6404
|
+
scaleX?: number | undefined;
|
|
6405
|
+
scaleY?: number | undefined;
|
|
6406
|
+
rotation?: number | undefined;
|
|
6407
|
+
pivotX?: number | undefined;
|
|
6408
|
+
pivotY?: number | undefined;
|
|
6409
|
+
anchorMinX?: number | undefined;
|
|
6410
|
+
anchorMinY?: number | undefined;
|
|
6411
|
+
anchorMaxX?: number | undefined;
|
|
6412
|
+
anchorMaxY?: number | undefined;
|
|
6413
|
+
} | undefined;
|
|
6414
|
+
} | undefined;
|
|
6415
|
+
} | undefined;
|
|
6416
|
+
layoutItem?: {
|
|
6417
|
+
flexBasis?: number | undefined;
|
|
6418
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
6419
|
+
flexGrow: number;
|
|
6420
|
+
flexShrink: number;
|
|
6421
|
+
} | undefined;
|
|
6422
|
+
bindingKey?: string | undefined;
|
|
5685
6423
|
backgroundAssetId?: string | undefined;
|
|
5686
6424
|
id: string;
|
|
5687
6425
|
type: "horizontal-layout";
|
|
@@ -5800,7 +6538,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5800
6538
|
flexGrow: number;
|
|
5801
6539
|
flexShrink: number;
|
|
5802
6540
|
} | undefined;
|
|
5803
|
-
|
|
6541
|
+
bindingKey?: string | undefined;
|
|
5804
6542
|
backgroundAssetId?: string | undefined;
|
|
5805
6543
|
id: string;
|
|
5806
6544
|
type: "vertical-layout";
|
|
@@ -5919,7 +6657,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5919
6657
|
flexGrow: number;
|
|
5920
6658
|
flexShrink: number;
|
|
5921
6659
|
} | undefined;
|
|
5922
|
-
|
|
6660
|
+
bindingKey?: string | undefined;
|
|
5923
6661
|
backgroundAssetId?: string | undefined;
|
|
5924
6662
|
id: string;
|
|
5925
6663
|
type: "grid-layout";
|
|
@@ -6044,9 +6782,15 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6044
6782
|
flexGrow: number;
|
|
6045
6783
|
flexShrink: number;
|
|
6046
6784
|
} | undefined;
|
|
6047
|
-
|
|
6785
|
+
bindingKey?: string | undefined;
|
|
6048
6786
|
assetId?: string | undefined;
|
|
6049
6787
|
opacity?: number | undefined;
|
|
6788
|
+
nineSlice?: {
|
|
6789
|
+
left: number;
|
|
6790
|
+
right: number;
|
|
6791
|
+
top: number;
|
|
6792
|
+
bottom: number;
|
|
6793
|
+
} | undefined;
|
|
6050
6794
|
id: string;
|
|
6051
6795
|
type: "image";
|
|
6052
6796
|
parentId: string | null;
|
|
@@ -6115,7 +6859,8 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6115
6859
|
flexGrow: number;
|
|
6116
6860
|
flexShrink: number;
|
|
6117
6861
|
} | undefined;
|
|
6118
|
-
|
|
6862
|
+
bindingKey?: string | undefined;
|
|
6863
|
+
textKey?: string | undefined;
|
|
6119
6864
|
style?: {
|
|
6120
6865
|
fontAssetId?: string | undefined;
|
|
6121
6866
|
lineHeight?: number | undefined;
|
|
@@ -6241,7 +6986,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6241
6986
|
flexGrow: number;
|
|
6242
6987
|
flexShrink: number;
|
|
6243
6988
|
} | undefined;
|
|
6244
|
-
|
|
6989
|
+
bindingKey?: string | undefined;
|
|
6245
6990
|
animation?: string | undefined;
|
|
6246
6991
|
autoplay?: boolean | undefined;
|
|
6247
6992
|
loop?: boolean | undefined;
|
|
@@ -6329,7 +7074,13 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6329
7074
|
flexGrow: number;
|
|
6330
7075
|
flexShrink: number;
|
|
6331
7076
|
} | undefined;
|
|
6332
|
-
|
|
7077
|
+
bindingKey?: string | undefined;
|
|
7078
|
+
nineSlice?: {
|
|
7079
|
+
left: number;
|
|
7080
|
+
right: number;
|
|
7081
|
+
top: number;
|
|
7082
|
+
bottom: number;
|
|
7083
|
+
} | undefined;
|
|
6333
7084
|
sounds?: {
|
|
6334
7085
|
hoverAssetId?: string | undefined;
|
|
6335
7086
|
pressAssetId?: string | undefined;
|
|
@@ -6376,6 +7127,88 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6376
7127
|
normalAssetId: string;
|
|
6377
7128
|
};
|
|
6378
7129
|
enabled: boolean;
|
|
7130
|
+
} | {
|
|
7131
|
+
editorOnly?: boolean | undefined;
|
|
7132
|
+
locked?: boolean | undefined;
|
|
7133
|
+
layoutOverrides?: {
|
|
7134
|
+
desktop?: {
|
|
7135
|
+
visible?: boolean | undefined;
|
|
7136
|
+
transform?: {
|
|
7137
|
+
x?: number | undefined;
|
|
7138
|
+
y?: number | undefined;
|
|
7139
|
+
width?: number | undefined;
|
|
7140
|
+
height?: number | undefined;
|
|
7141
|
+
scaleX?: number | undefined;
|
|
7142
|
+
scaleY?: number | undefined;
|
|
7143
|
+
rotation?: number | undefined;
|
|
7144
|
+
pivotX?: number | undefined;
|
|
7145
|
+
pivotY?: number | undefined;
|
|
7146
|
+
anchorMinX?: number | undefined;
|
|
7147
|
+
anchorMinY?: number | undefined;
|
|
7148
|
+
anchorMaxX?: number | undefined;
|
|
7149
|
+
anchorMaxY?: number | undefined;
|
|
7150
|
+
} | undefined;
|
|
7151
|
+
} | undefined;
|
|
7152
|
+
mobile?: {
|
|
7153
|
+
visible?: boolean | undefined;
|
|
7154
|
+
transform?: {
|
|
7155
|
+
x?: number | undefined;
|
|
7156
|
+
y?: number | undefined;
|
|
7157
|
+
width?: number | undefined;
|
|
7158
|
+
height?: number | undefined;
|
|
7159
|
+
scaleX?: number | undefined;
|
|
7160
|
+
scaleY?: number | undefined;
|
|
7161
|
+
rotation?: number | undefined;
|
|
7162
|
+
pivotX?: number | undefined;
|
|
7163
|
+
pivotY?: number | undefined;
|
|
7164
|
+
anchorMinX?: number | undefined;
|
|
7165
|
+
anchorMinY?: number | undefined;
|
|
7166
|
+
anchorMaxX?: number | undefined;
|
|
7167
|
+
anchorMaxY?: number | undefined;
|
|
7168
|
+
} | undefined;
|
|
7169
|
+
} | undefined;
|
|
7170
|
+
} | undefined;
|
|
7171
|
+
layoutItem?: {
|
|
7172
|
+
flexBasis?: number | undefined;
|
|
7173
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
7174
|
+
flexGrow: number;
|
|
7175
|
+
flexShrink: number;
|
|
7176
|
+
} | undefined;
|
|
7177
|
+
bindingKey?: string | undefined;
|
|
7178
|
+
sounds?: {
|
|
7179
|
+
checkAssetId?: string | undefined;
|
|
7180
|
+
uncheckAssetId?: string | undefined;
|
|
7181
|
+
} | undefined;
|
|
7182
|
+
group?: string | undefined;
|
|
7183
|
+
id: string;
|
|
7184
|
+
type: "checkbox";
|
|
7185
|
+
parentId: string | null;
|
|
7186
|
+
children: string[];
|
|
7187
|
+
name: string;
|
|
7188
|
+
visible: boolean;
|
|
7189
|
+
transform: {
|
|
7190
|
+
pivotX?: number | undefined;
|
|
7191
|
+
pivotY?: number | undefined;
|
|
7192
|
+
anchorMinX?: number | undefined;
|
|
7193
|
+
anchorMinY?: number | undefined;
|
|
7194
|
+
anchorMaxX?: number | undefined;
|
|
7195
|
+
anchorMaxY?: number | undefined;
|
|
7196
|
+
x: number;
|
|
7197
|
+
y: number;
|
|
7198
|
+
width: number;
|
|
7199
|
+
height: number;
|
|
7200
|
+
scaleX: number;
|
|
7201
|
+
scaleY: number;
|
|
7202
|
+
rotation: number;
|
|
7203
|
+
};
|
|
7204
|
+
states: {
|
|
7205
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
7206
|
+
checkedHoverAssetId?: string | undefined;
|
|
7207
|
+
uncheckedAssetId: string;
|
|
7208
|
+
checkedAssetId: string;
|
|
7209
|
+
};
|
|
7210
|
+
enabled: boolean;
|
|
7211
|
+
defaultChecked: boolean;
|
|
6379
7212
|
} | {
|
|
6380
7213
|
editorOnly?: boolean | undefined;
|
|
6381
7214
|
locked?: boolean | undefined;
|
|
@@ -6384,8 +7217,77 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6384
7217
|
patch: {
|
|
6385
7218
|
[x: string]: unknown;
|
|
6386
7219
|
};
|
|
6387
|
-
}[] | undefined;
|
|
6388
|
-
locallyAddedNodes?: ({
|
|
7220
|
+
}[] | undefined;
|
|
7221
|
+
locallyAddedNodes?: ({
|
|
7222
|
+
editorOnly?: boolean | undefined;
|
|
7223
|
+
locked?: boolean | undefined;
|
|
7224
|
+
layoutOverrides?: {
|
|
7225
|
+
desktop?: {
|
|
7226
|
+
visible?: boolean | undefined;
|
|
7227
|
+
transform?: {
|
|
7228
|
+
x?: number | undefined;
|
|
7229
|
+
y?: number | undefined;
|
|
7230
|
+
width?: number | undefined;
|
|
7231
|
+
height?: number | undefined;
|
|
7232
|
+
scaleX?: number | undefined;
|
|
7233
|
+
scaleY?: number | undefined;
|
|
7234
|
+
rotation?: number | undefined;
|
|
7235
|
+
pivotX?: number | undefined;
|
|
7236
|
+
pivotY?: number | undefined;
|
|
7237
|
+
anchorMinX?: number | undefined;
|
|
7238
|
+
anchorMinY?: number | undefined;
|
|
7239
|
+
anchorMaxX?: number | undefined;
|
|
7240
|
+
anchorMaxY?: number | undefined;
|
|
7241
|
+
} | undefined;
|
|
7242
|
+
} | undefined;
|
|
7243
|
+
mobile?: {
|
|
7244
|
+
visible?: boolean | undefined;
|
|
7245
|
+
transform?: {
|
|
7246
|
+
x?: number | undefined;
|
|
7247
|
+
y?: number | undefined;
|
|
7248
|
+
width?: number | undefined;
|
|
7249
|
+
height?: number | undefined;
|
|
7250
|
+
scaleX?: number | undefined;
|
|
7251
|
+
scaleY?: number | undefined;
|
|
7252
|
+
rotation?: number | undefined;
|
|
7253
|
+
pivotX?: number | undefined;
|
|
7254
|
+
pivotY?: number | undefined;
|
|
7255
|
+
anchorMinX?: number | undefined;
|
|
7256
|
+
anchorMinY?: number | undefined;
|
|
7257
|
+
anchorMaxX?: number | undefined;
|
|
7258
|
+
anchorMaxY?: number | undefined;
|
|
7259
|
+
} | undefined;
|
|
7260
|
+
} | undefined;
|
|
7261
|
+
} | undefined;
|
|
7262
|
+
layoutItem?: {
|
|
7263
|
+
flexBasis?: number | undefined;
|
|
7264
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
7265
|
+
flexGrow: number;
|
|
7266
|
+
flexShrink: number;
|
|
7267
|
+
} | undefined;
|
|
7268
|
+
bindingKey?: string | undefined;
|
|
7269
|
+
id: string;
|
|
7270
|
+
type: "container";
|
|
7271
|
+
parentId: string | null;
|
|
7272
|
+
children: string[];
|
|
7273
|
+
name: string;
|
|
7274
|
+
visible: boolean;
|
|
7275
|
+
transform: {
|
|
7276
|
+
pivotX?: number | undefined;
|
|
7277
|
+
pivotY?: number | undefined;
|
|
7278
|
+
anchorMinX?: number | undefined;
|
|
7279
|
+
anchorMinY?: number | undefined;
|
|
7280
|
+
anchorMaxX?: number | undefined;
|
|
7281
|
+
anchorMaxY?: number | undefined;
|
|
7282
|
+
x: number;
|
|
7283
|
+
y: number;
|
|
7284
|
+
width: number;
|
|
7285
|
+
height: number;
|
|
7286
|
+
scaleX: number;
|
|
7287
|
+
scaleY: number;
|
|
7288
|
+
rotation: number;
|
|
7289
|
+
};
|
|
7290
|
+
} | {
|
|
6389
7291
|
editorOnly?: boolean | undefined;
|
|
6390
7292
|
locked?: boolean | undefined;
|
|
6391
7293
|
layoutOverrides?: {
|
|
@@ -6432,9 +7334,9 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6432
7334
|
flexGrow: number;
|
|
6433
7335
|
flexShrink: number;
|
|
6434
7336
|
} | undefined;
|
|
6435
|
-
|
|
7337
|
+
bindingKey?: string | undefined;
|
|
6436
7338
|
id: string;
|
|
6437
|
-
type: "
|
|
7339
|
+
type: "mask";
|
|
6438
7340
|
parentId: string | null;
|
|
6439
7341
|
children: string[];
|
|
6440
7342
|
name: string;
|
|
@@ -6501,7 +7403,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6501
7403
|
flexGrow: number;
|
|
6502
7404
|
flexShrink: number;
|
|
6503
7405
|
} | undefined;
|
|
6504
|
-
|
|
7406
|
+
bindingKey?: string | undefined;
|
|
6505
7407
|
backgroundAssetId?: string | undefined;
|
|
6506
7408
|
id: string;
|
|
6507
7409
|
type: "horizontal-layout";
|
|
@@ -6620,7 +7522,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6620
7522
|
flexGrow: number;
|
|
6621
7523
|
flexShrink: number;
|
|
6622
7524
|
} | undefined;
|
|
6623
|
-
|
|
7525
|
+
bindingKey?: string | undefined;
|
|
6624
7526
|
backgroundAssetId?: string | undefined;
|
|
6625
7527
|
id: string;
|
|
6626
7528
|
type: "vertical-layout";
|
|
@@ -6739,7 +7641,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6739
7641
|
flexGrow: number;
|
|
6740
7642
|
flexShrink: number;
|
|
6741
7643
|
} | undefined;
|
|
6742
|
-
|
|
7644
|
+
bindingKey?: string | undefined;
|
|
6743
7645
|
backgroundAssetId?: string | undefined;
|
|
6744
7646
|
id: string;
|
|
6745
7647
|
type: "grid-layout";
|
|
@@ -6864,9 +7766,15 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6864
7766
|
flexGrow: number;
|
|
6865
7767
|
flexShrink: number;
|
|
6866
7768
|
} | undefined;
|
|
6867
|
-
|
|
7769
|
+
bindingKey?: string | undefined;
|
|
6868
7770
|
assetId?: string | undefined;
|
|
6869
7771
|
opacity?: number | undefined;
|
|
7772
|
+
nineSlice?: {
|
|
7773
|
+
left: number;
|
|
7774
|
+
right: number;
|
|
7775
|
+
top: number;
|
|
7776
|
+
bottom: number;
|
|
7777
|
+
} | undefined;
|
|
6870
7778
|
id: string;
|
|
6871
7779
|
type: "image";
|
|
6872
7780
|
parentId: string | null;
|
|
@@ -6935,7 +7843,8 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6935
7843
|
flexGrow: number;
|
|
6936
7844
|
flexShrink: number;
|
|
6937
7845
|
} | undefined;
|
|
6938
|
-
|
|
7846
|
+
bindingKey?: string | undefined;
|
|
7847
|
+
textKey?: string | undefined;
|
|
6939
7848
|
style?: {
|
|
6940
7849
|
fontAssetId?: string | undefined;
|
|
6941
7850
|
lineHeight?: number | undefined;
|
|
@@ -7061,7 +7970,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7061
7970
|
flexGrow: number;
|
|
7062
7971
|
flexShrink: number;
|
|
7063
7972
|
} | undefined;
|
|
7064
|
-
|
|
7973
|
+
bindingKey?: string | undefined;
|
|
7065
7974
|
animation?: string | undefined;
|
|
7066
7975
|
autoplay?: boolean | undefined;
|
|
7067
7976
|
loop?: boolean | undefined;
|
|
@@ -7149,7 +8058,13 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7149
8058
|
flexGrow: number;
|
|
7150
8059
|
flexShrink: number;
|
|
7151
8060
|
} | undefined;
|
|
7152
|
-
|
|
8061
|
+
bindingKey?: string | undefined;
|
|
8062
|
+
nineSlice?: {
|
|
8063
|
+
left: number;
|
|
8064
|
+
right: number;
|
|
8065
|
+
top: number;
|
|
8066
|
+
bottom: number;
|
|
8067
|
+
} | undefined;
|
|
7153
8068
|
sounds?: {
|
|
7154
8069
|
hoverAssetId?: string | undefined;
|
|
7155
8070
|
pressAssetId?: string | undefined;
|
|
@@ -7196,6 +8111,88 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7196
8111
|
normalAssetId: string;
|
|
7197
8112
|
};
|
|
7198
8113
|
enabled: boolean;
|
|
8114
|
+
} | {
|
|
8115
|
+
editorOnly?: boolean | undefined;
|
|
8116
|
+
locked?: boolean | undefined;
|
|
8117
|
+
layoutOverrides?: {
|
|
8118
|
+
desktop?: {
|
|
8119
|
+
visible?: boolean | undefined;
|
|
8120
|
+
transform?: {
|
|
8121
|
+
x?: number | undefined;
|
|
8122
|
+
y?: number | undefined;
|
|
8123
|
+
width?: number | undefined;
|
|
8124
|
+
height?: number | undefined;
|
|
8125
|
+
scaleX?: number | undefined;
|
|
8126
|
+
scaleY?: number | undefined;
|
|
8127
|
+
rotation?: number | undefined;
|
|
8128
|
+
pivotX?: number | undefined;
|
|
8129
|
+
pivotY?: number | undefined;
|
|
8130
|
+
anchorMinX?: number | undefined;
|
|
8131
|
+
anchorMinY?: number | undefined;
|
|
8132
|
+
anchorMaxX?: number | undefined;
|
|
8133
|
+
anchorMaxY?: number | undefined;
|
|
8134
|
+
} | undefined;
|
|
8135
|
+
} | undefined;
|
|
8136
|
+
mobile?: {
|
|
8137
|
+
visible?: boolean | undefined;
|
|
8138
|
+
transform?: {
|
|
8139
|
+
x?: number | undefined;
|
|
8140
|
+
y?: number | undefined;
|
|
8141
|
+
width?: number | undefined;
|
|
8142
|
+
height?: number | undefined;
|
|
8143
|
+
scaleX?: number | undefined;
|
|
8144
|
+
scaleY?: number | undefined;
|
|
8145
|
+
rotation?: number | undefined;
|
|
8146
|
+
pivotX?: number | undefined;
|
|
8147
|
+
pivotY?: number | undefined;
|
|
8148
|
+
anchorMinX?: number | undefined;
|
|
8149
|
+
anchorMinY?: number | undefined;
|
|
8150
|
+
anchorMaxX?: number | undefined;
|
|
8151
|
+
anchorMaxY?: number | undefined;
|
|
8152
|
+
} | undefined;
|
|
8153
|
+
} | undefined;
|
|
8154
|
+
} | undefined;
|
|
8155
|
+
layoutItem?: {
|
|
8156
|
+
flexBasis?: number | undefined;
|
|
8157
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
8158
|
+
flexGrow: number;
|
|
8159
|
+
flexShrink: number;
|
|
8160
|
+
} | undefined;
|
|
8161
|
+
bindingKey?: string | undefined;
|
|
8162
|
+
sounds?: {
|
|
8163
|
+
checkAssetId?: string | undefined;
|
|
8164
|
+
uncheckAssetId?: string | undefined;
|
|
8165
|
+
} | undefined;
|
|
8166
|
+
group?: string | undefined;
|
|
8167
|
+
id: string;
|
|
8168
|
+
type: "checkbox";
|
|
8169
|
+
parentId: string | null;
|
|
8170
|
+
children: string[];
|
|
8171
|
+
name: string;
|
|
8172
|
+
visible: boolean;
|
|
8173
|
+
transform: {
|
|
8174
|
+
pivotX?: number | undefined;
|
|
8175
|
+
pivotY?: number | undefined;
|
|
8176
|
+
anchorMinX?: number | undefined;
|
|
8177
|
+
anchorMinY?: number | undefined;
|
|
8178
|
+
anchorMaxX?: number | undefined;
|
|
8179
|
+
anchorMaxY?: number | undefined;
|
|
8180
|
+
x: number;
|
|
8181
|
+
y: number;
|
|
8182
|
+
width: number;
|
|
8183
|
+
height: number;
|
|
8184
|
+
scaleX: number;
|
|
8185
|
+
scaleY: number;
|
|
8186
|
+
rotation: number;
|
|
8187
|
+
};
|
|
8188
|
+
states: {
|
|
8189
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
8190
|
+
checkedHoverAssetId?: string | undefined;
|
|
8191
|
+
uncheckedAssetId: string;
|
|
8192
|
+
checkedAssetId: string;
|
|
8193
|
+
};
|
|
8194
|
+
enabled: boolean;
|
|
8195
|
+
defaultChecked: boolean;
|
|
7199
8196
|
} | /*elided*/ any | {
|
|
7200
8197
|
editorOnly?: boolean | undefined;
|
|
7201
8198
|
locked?: boolean | undefined;
|
|
@@ -7243,7 +8240,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7243
8240
|
flexGrow: number;
|
|
7244
8241
|
flexShrink: number;
|
|
7245
8242
|
} | undefined;
|
|
7246
|
-
|
|
8243
|
+
bindingKey?: string | undefined;
|
|
7247
8244
|
id: string;
|
|
7248
8245
|
type: "scroll-view";
|
|
7249
8246
|
parentId: string | null;
|
|
@@ -7327,7 +8324,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7327
8324
|
flexGrow: number;
|
|
7328
8325
|
flexShrink: number;
|
|
7329
8326
|
} | undefined;
|
|
7330
|
-
|
|
8327
|
+
bindingKey?: string | undefined;
|
|
7331
8328
|
backgroundAssetId?: string | undefined;
|
|
7332
8329
|
id: string;
|
|
7333
8330
|
type: "input";
|
|
@@ -7427,7 +8424,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7427
8424
|
flexGrow: number;
|
|
7428
8425
|
flexShrink: number;
|
|
7429
8426
|
} | undefined;
|
|
7430
|
-
|
|
8427
|
+
bindingKey?: string | undefined;
|
|
7431
8428
|
showValue?: boolean | undefined;
|
|
7432
8429
|
valueTextStyle?: {
|
|
7433
8430
|
fontAssetId?: string | undefined;
|
|
@@ -7528,7 +8525,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7528
8525
|
flexGrow: number;
|
|
7529
8526
|
flexShrink: number;
|
|
7530
8527
|
} | undefined;
|
|
7531
|
-
|
|
8528
|
+
bindingKey?: string | undefined;
|
|
7532
8529
|
id: string;
|
|
7533
8530
|
type: "progress-bar";
|
|
7534
8531
|
parentId: string | null;
|
|
@@ -7606,7 +8603,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7606
8603
|
flexGrow: number;
|
|
7607
8604
|
flexShrink: number;
|
|
7608
8605
|
} | undefined;
|
|
7609
|
-
|
|
8606
|
+
bindingKey?: string | undefined;
|
|
7610
8607
|
id: string;
|
|
7611
8608
|
type: "particle-emitter";
|
|
7612
8609
|
parentId: string | null;
|
|
@@ -7676,7 +8673,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7676
8673
|
flexGrow: number;
|
|
7677
8674
|
flexShrink: number;
|
|
7678
8675
|
} | undefined;
|
|
7679
|
-
|
|
8676
|
+
bindingKey?: string | undefined;
|
|
7680
8677
|
id: string;
|
|
7681
8678
|
type: "prefab-instance";
|
|
7682
8679
|
parentId: string | null;
|
|
@@ -7746,7 +8743,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7746
8743
|
flexGrow: number;
|
|
7747
8744
|
flexShrink: number;
|
|
7748
8745
|
} | undefined;
|
|
7749
|
-
|
|
8746
|
+
bindingKey?: string | undefined;
|
|
7750
8747
|
id: string;
|
|
7751
8748
|
type: "scroll-view";
|
|
7752
8749
|
parentId: string | null;
|
|
@@ -7830,7 +8827,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7830
8827
|
flexGrow: number;
|
|
7831
8828
|
flexShrink: number;
|
|
7832
8829
|
} | undefined;
|
|
7833
|
-
|
|
8830
|
+
bindingKey?: string | undefined;
|
|
7834
8831
|
backgroundAssetId?: string | undefined;
|
|
7835
8832
|
id: string;
|
|
7836
8833
|
type: "input";
|
|
@@ -7930,7 +8927,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7930
8927
|
flexGrow: number;
|
|
7931
8928
|
flexShrink: number;
|
|
7932
8929
|
} | undefined;
|
|
7933
|
-
|
|
8930
|
+
bindingKey?: string | undefined;
|
|
7934
8931
|
showValue?: boolean | undefined;
|
|
7935
8932
|
valueTextStyle?: {
|
|
7936
8933
|
fontAssetId?: string | undefined;
|
|
@@ -8031,7 +9028,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
8031
9028
|
flexGrow: number;
|
|
8032
9029
|
flexShrink: number;
|
|
8033
9030
|
} | undefined;
|
|
8034
|
-
|
|
9031
|
+
bindingKey?: string | undefined;
|
|
8035
9032
|
id: string;
|
|
8036
9033
|
type: "progress-bar";
|
|
8037
9034
|
parentId: string | null;
|
|
@@ -8109,7 +9106,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
8109
9106
|
flexGrow: number;
|
|
8110
9107
|
flexShrink: number;
|
|
8111
9108
|
} | undefined;
|
|
8112
|
-
|
|
9109
|
+
bindingKey?: string | undefined;
|
|
8113
9110
|
id: string;
|
|
8114
9111
|
type: "particle-emitter";
|
|
8115
9112
|
parentId: string | null;
|
|
@@ -8142,7 +9139,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
8142
9139
|
}>;
|
|
8143
9140
|
export type PrefabDefinition = Static<typeof PrefabDefinitionSchema>;
|
|
8144
9141
|
export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<{
|
|
8145
|
-
schemaVersion: import("@sinclair/typebox").TLiteral<
|
|
9142
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<22>;
|
|
8146
9143
|
project: import("@sinclair/typebox").TObject<{
|
|
8147
9144
|
id: import("@sinclair/typebox").TString;
|
|
8148
9145
|
name: import("@sinclair/typebox").TString;
|
|
@@ -8153,6 +9150,14 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8153
9150
|
mobileMaxAspectRatio: import("@sinclair/typebox").TNumber;
|
|
8154
9151
|
}>;
|
|
8155
9152
|
}>;
|
|
9153
|
+
localization: import("@sinclair/typebox").TObject<{
|
|
9154
|
+
baseLocale: import("@sinclair/typebox").TString;
|
|
9155
|
+
locales: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
9156
|
+
id: import("@sinclair/typebox").TString;
|
|
9157
|
+
label: import("@sinclair/typebox").TString;
|
|
9158
|
+
}>>;
|
|
9159
|
+
entries: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
9160
|
+
}>;
|
|
8156
9161
|
assets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
8157
9162
|
id: import("@sinclair/typebox").TString;
|
|
8158
9163
|
name: import("@sinclair/typebox").TString;
|
|
@@ -8360,7 +9365,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8360
9365
|
flexGrow: number;
|
|
8361
9366
|
flexShrink: number;
|
|
8362
9367
|
} | undefined;
|
|
8363
|
-
|
|
9368
|
+
bindingKey?: string | undefined;
|
|
8364
9369
|
id: string;
|
|
8365
9370
|
type: "container";
|
|
8366
9371
|
parentId: string | null;
|
|
@@ -8429,7 +9434,76 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8429
9434
|
flexGrow: number;
|
|
8430
9435
|
flexShrink: number;
|
|
8431
9436
|
} | undefined;
|
|
8432
|
-
|
|
9437
|
+
bindingKey?: string | undefined;
|
|
9438
|
+
id: string;
|
|
9439
|
+
type: "mask";
|
|
9440
|
+
parentId: string | null;
|
|
9441
|
+
children: string[];
|
|
9442
|
+
name: string;
|
|
9443
|
+
visible: boolean;
|
|
9444
|
+
transform: {
|
|
9445
|
+
pivotX?: number | undefined;
|
|
9446
|
+
pivotY?: number | undefined;
|
|
9447
|
+
anchorMinX?: number | undefined;
|
|
9448
|
+
anchorMinY?: number | undefined;
|
|
9449
|
+
anchorMaxX?: number | undefined;
|
|
9450
|
+
anchorMaxY?: number | undefined;
|
|
9451
|
+
x: number;
|
|
9452
|
+
y: number;
|
|
9453
|
+
width: number;
|
|
9454
|
+
height: number;
|
|
9455
|
+
scaleX: number;
|
|
9456
|
+
scaleY: number;
|
|
9457
|
+
rotation: number;
|
|
9458
|
+
};
|
|
9459
|
+
} | {
|
|
9460
|
+
editorOnly?: boolean | undefined;
|
|
9461
|
+
locked?: boolean | undefined;
|
|
9462
|
+
layoutOverrides?: {
|
|
9463
|
+
desktop?: {
|
|
9464
|
+
visible?: boolean | undefined;
|
|
9465
|
+
transform?: {
|
|
9466
|
+
x?: number | undefined;
|
|
9467
|
+
y?: number | undefined;
|
|
9468
|
+
width?: number | undefined;
|
|
9469
|
+
height?: number | undefined;
|
|
9470
|
+
scaleX?: number | undefined;
|
|
9471
|
+
scaleY?: number | undefined;
|
|
9472
|
+
rotation?: number | undefined;
|
|
9473
|
+
pivotX?: number | undefined;
|
|
9474
|
+
pivotY?: number | undefined;
|
|
9475
|
+
anchorMinX?: number | undefined;
|
|
9476
|
+
anchorMinY?: number | undefined;
|
|
9477
|
+
anchorMaxX?: number | undefined;
|
|
9478
|
+
anchorMaxY?: number | undefined;
|
|
9479
|
+
} | undefined;
|
|
9480
|
+
} | undefined;
|
|
9481
|
+
mobile?: {
|
|
9482
|
+
visible?: boolean | undefined;
|
|
9483
|
+
transform?: {
|
|
9484
|
+
x?: number | undefined;
|
|
9485
|
+
y?: number | undefined;
|
|
9486
|
+
width?: number | undefined;
|
|
9487
|
+
height?: number | undefined;
|
|
9488
|
+
scaleX?: number | undefined;
|
|
9489
|
+
scaleY?: number | undefined;
|
|
9490
|
+
rotation?: number | undefined;
|
|
9491
|
+
pivotX?: number | undefined;
|
|
9492
|
+
pivotY?: number | undefined;
|
|
9493
|
+
anchorMinX?: number | undefined;
|
|
9494
|
+
anchorMinY?: number | undefined;
|
|
9495
|
+
anchorMaxX?: number | undefined;
|
|
9496
|
+
anchorMaxY?: number | undefined;
|
|
9497
|
+
} | undefined;
|
|
9498
|
+
} | undefined;
|
|
9499
|
+
} | undefined;
|
|
9500
|
+
layoutItem?: {
|
|
9501
|
+
flexBasis?: number | undefined;
|
|
9502
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
9503
|
+
flexGrow: number;
|
|
9504
|
+
flexShrink: number;
|
|
9505
|
+
} | undefined;
|
|
9506
|
+
bindingKey?: string | undefined;
|
|
8433
9507
|
backgroundAssetId?: string | undefined;
|
|
8434
9508
|
id: string;
|
|
8435
9509
|
type: "horizontal-layout";
|
|
@@ -8548,7 +9622,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8548
9622
|
flexGrow: number;
|
|
8549
9623
|
flexShrink: number;
|
|
8550
9624
|
} | undefined;
|
|
8551
|
-
|
|
9625
|
+
bindingKey?: string | undefined;
|
|
8552
9626
|
backgroundAssetId?: string | undefined;
|
|
8553
9627
|
id: string;
|
|
8554
9628
|
type: "vertical-layout";
|
|
@@ -8667,7 +9741,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8667
9741
|
flexGrow: number;
|
|
8668
9742
|
flexShrink: number;
|
|
8669
9743
|
} | undefined;
|
|
8670
|
-
|
|
9744
|
+
bindingKey?: string | undefined;
|
|
8671
9745
|
backgroundAssetId?: string | undefined;
|
|
8672
9746
|
id: string;
|
|
8673
9747
|
type: "grid-layout";
|
|
@@ -8792,9 +9866,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8792
9866
|
flexGrow: number;
|
|
8793
9867
|
flexShrink: number;
|
|
8794
9868
|
} | undefined;
|
|
8795
|
-
|
|
9869
|
+
bindingKey?: string | undefined;
|
|
8796
9870
|
assetId?: string | undefined;
|
|
8797
9871
|
opacity?: number | undefined;
|
|
9872
|
+
nineSlice?: {
|
|
9873
|
+
left: number;
|
|
9874
|
+
right: number;
|
|
9875
|
+
top: number;
|
|
9876
|
+
bottom: number;
|
|
9877
|
+
} | undefined;
|
|
8798
9878
|
id: string;
|
|
8799
9879
|
type: "image";
|
|
8800
9880
|
parentId: string | null;
|
|
@@ -8863,7 +9943,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8863
9943
|
flexGrow: number;
|
|
8864
9944
|
flexShrink: number;
|
|
8865
9945
|
} | undefined;
|
|
8866
|
-
|
|
9946
|
+
bindingKey?: string | undefined;
|
|
9947
|
+
textKey?: string | undefined;
|
|
8867
9948
|
style?: {
|
|
8868
9949
|
fontAssetId?: string | undefined;
|
|
8869
9950
|
lineHeight?: number | undefined;
|
|
@@ -8989,7 +10070,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8989
10070
|
flexGrow: number;
|
|
8990
10071
|
flexShrink: number;
|
|
8991
10072
|
} | undefined;
|
|
8992
|
-
|
|
10073
|
+
bindingKey?: string | undefined;
|
|
8993
10074
|
animation?: string | undefined;
|
|
8994
10075
|
autoplay?: boolean | undefined;
|
|
8995
10076
|
loop?: boolean | undefined;
|
|
@@ -9009,7 +10090,101 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9009
10090
|
} | undefined;
|
|
9010
10091
|
} | undefined;
|
|
9011
10092
|
id: string;
|
|
9012
|
-
type: "spine";
|
|
10093
|
+
type: "spine";
|
|
10094
|
+
parentId: string | null;
|
|
10095
|
+
children: string[];
|
|
10096
|
+
name: string;
|
|
10097
|
+
visible: boolean;
|
|
10098
|
+
transform: {
|
|
10099
|
+
pivotX?: number | undefined;
|
|
10100
|
+
pivotY?: number | undefined;
|
|
10101
|
+
anchorMinX?: number | undefined;
|
|
10102
|
+
anchorMinY?: number | undefined;
|
|
10103
|
+
anchorMaxX?: number | undefined;
|
|
10104
|
+
anchorMaxY?: number | undefined;
|
|
10105
|
+
x: number;
|
|
10106
|
+
y: number;
|
|
10107
|
+
width: number;
|
|
10108
|
+
height: number;
|
|
10109
|
+
scaleX: number;
|
|
10110
|
+
scaleY: number;
|
|
10111
|
+
rotation: number;
|
|
10112
|
+
};
|
|
10113
|
+
assetId: string;
|
|
10114
|
+
} | {
|
|
10115
|
+
editorOnly?: boolean | undefined;
|
|
10116
|
+
locked?: boolean | undefined;
|
|
10117
|
+
layoutOverrides?: {
|
|
10118
|
+
desktop?: {
|
|
10119
|
+
visible?: boolean | undefined;
|
|
10120
|
+
transform?: {
|
|
10121
|
+
x?: number | undefined;
|
|
10122
|
+
y?: number | undefined;
|
|
10123
|
+
width?: number | undefined;
|
|
10124
|
+
height?: number | undefined;
|
|
10125
|
+
scaleX?: number | undefined;
|
|
10126
|
+
scaleY?: number | undefined;
|
|
10127
|
+
rotation?: number | undefined;
|
|
10128
|
+
pivotX?: number | undefined;
|
|
10129
|
+
pivotY?: number | undefined;
|
|
10130
|
+
anchorMinX?: number | undefined;
|
|
10131
|
+
anchorMinY?: number | undefined;
|
|
10132
|
+
anchorMaxX?: number | undefined;
|
|
10133
|
+
anchorMaxY?: number | undefined;
|
|
10134
|
+
} | undefined;
|
|
10135
|
+
} | undefined;
|
|
10136
|
+
mobile?: {
|
|
10137
|
+
visible?: boolean | undefined;
|
|
10138
|
+
transform?: {
|
|
10139
|
+
x?: number | undefined;
|
|
10140
|
+
y?: number | undefined;
|
|
10141
|
+
width?: number | undefined;
|
|
10142
|
+
height?: number | undefined;
|
|
10143
|
+
scaleX?: number | undefined;
|
|
10144
|
+
scaleY?: number | undefined;
|
|
10145
|
+
rotation?: number | undefined;
|
|
10146
|
+
pivotX?: number | undefined;
|
|
10147
|
+
pivotY?: number | undefined;
|
|
10148
|
+
anchorMinX?: number | undefined;
|
|
10149
|
+
anchorMinY?: number | undefined;
|
|
10150
|
+
anchorMaxX?: number | undefined;
|
|
10151
|
+
anchorMaxY?: number | undefined;
|
|
10152
|
+
} | undefined;
|
|
10153
|
+
} | undefined;
|
|
10154
|
+
} | undefined;
|
|
10155
|
+
layoutItem?: {
|
|
10156
|
+
flexBasis?: number | undefined;
|
|
10157
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
10158
|
+
flexGrow: number;
|
|
10159
|
+
flexShrink: number;
|
|
10160
|
+
} | undefined;
|
|
10161
|
+
bindingKey?: string | undefined;
|
|
10162
|
+
nineSlice?: {
|
|
10163
|
+
left: number;
|
|
10164
|
+
right: number;
|
|
10165
|
+
top: number;
|
|
10166
|
+
bottom: number;
|
|
10167
|
+
} | undefined;
|
|
10168
|
+
sounds?: {
|
|
10169
|
+
hoverAssetId?: string | undefined;
|
|
10170
|
+
pressAssetId?: string | undefined;
|
|
10171
|
+
} | undefined;
|
|
10172
|
+
transitions?: {
|
|
10173
|
+
normal?: {
|
|
10174
|
+
kind: "instant";
|
|
10175
|
+
} | undefined;
|
|
10176
|
+
hover?: {
|
|
10177
|
+
kind: "instant";
|
|
10178
|
+
} | undefined;
|
|
10179
|
+
pressed?: {
|
|
10180
|
+
kind: "instant";
|
|
10181
|
+
} | undefined;
|
|
10182
|
+
disabled?: {
|
|
10183
|
+
kind: "instant";
|
|
10184
|
+
} | undefined;
|
|
10185
|
+
} | undefined;
|
|
10186
|
+
id: string;
|
|
10187
|
+
type: "button";
|
|
9013
10188
|
parentId: string | null;
|
|
9014
10189
|
children: string[];
|
|
9015
10190
|
name: string;
|
|
@@ -9029,7 +10204,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9029
10204
|
scaleY: number;
|
|
9030
10205
|
rotation: number;
|
|
9031
10206
|
};
|
|
9032
|
-
|
|
10207
|
+
states: {
|
|
10208
|
+
hoverAssetId?: string | undefined;
|
|
10209
|
+
pressedAssetId?: string | undefined;
|
|
10210
|
+
disabledAssetId?: string | undefined;
|
|
10211
|
+
normalAssetId: string;
|
|
10212
|
+
};
|
|
10213
|
+
enabled: boolean;
|
|
9033
10214
|
} | {
|
|
9034
10215
|
editorOnly?: boolean | undefined;
|
|
9035
10216
|
locked?: boolean | undefined;
|
|
@@ -9077,27 +10258,14 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9077
10258
|
flexGrow: number;
|
|
9078
10259
|
flexShrink: number;
|
|
9079
10260
|
} | undefined;
|
|
9080
|
-
|
|
10261
|
+
bindingKey?: string | undefined;
|
|
9081
10262
|
sounds?: {
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
} | undefined;
|
|
9085
|
-
transitions?: {
|
|
9086
|
-
normal?: {
|
|
9087
|
-
kind: "instant";
|
|
9088
|
-
} | undefined;
|
|
9089
|
-
hover?: {
|
|
9090
|
-
kind: "instant";
|
|
9091
|
-
} | undefined;
|
|
9092
|
-
pressed?: {
|
|
9093
|
-
kind: "instant";
|
|
9094
|
-
} | undefined;
|
|
9095
|
-
disabled?: {
|
|
9096
|
-
kind: "instant";
|
|
9097
|
-
} | undefined;
|
|
10263
|
+
checkAssetId?: string | undefined;
|
|
10264
|
+
uncheckAssetId?: string | undefined;
|
|
9098
10265
|
} | undefined;
|
|
10266
|
+
group?: string | undefined;
|
|
9099
10267
|
id: string;
|
|
9100
|
-
type: "
|
|
10268
|
+
type: "checkbox";
|
|
9101
10269
|
parentId: string | null;
|
|
9102
10270
|
children: string[];
|
|
9103
10271
|
name: string;
|
|
@@ -9118,12 +10286,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9118
10286
|
rotation: number;
|
|
9119
10287
|
};
|
|
9120
10288
|
states: {
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
10289
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
10290
|
+
checkedHoverAssetId?: string | undefined;
|
|
10291
|
+
uncheckedAssetId: string;
|
|
10292
|
+
checkedAssetId: string;
|
|
9125
10293
|
};
|
|
9126
10294
|
enabled: boolean;
|
|
10295
|
+
defaultChecked: boolean;
|
|
9127
10296
|
} | {
|
|
9128
10297
|
editorOnly?: boolean | undefined;
|
|
9129
10298
|
locked?: boolean | undefined;
|
|
@@ -9180,7 +10349,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9180
10349
|
flexGrow: number;
|
|
9181
10350
|
flexShrink: number;
|
|
9182
10351
|
} | undefined;
|
|
9183
|
-
|
|
10352
|
+
bindingKey?: string | undefined;
|
|
9184
10353
|
id: string;
|
|
9185
10354
|
type: "container";
|
|
9186
10355
|
parentId: string | null;
|
|
@@ -9249,7 +10418,76 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9249
10418
|
flexGrow: number;
|
|
9250
10419
|
flexShrink: number;
|
|
9251
10420
|
} | undefined;
|
|
9252
|
-
|
|
10421
|
+
bindingKey?: string | undefined;
|
|
10422
|
+
id: string;
|
|
10423
|
+
type: "mask";
|
|
10424
|
+
parentId: string | null;
|
|
10425
|
+
children: string[];
|
|
10426
|
+
name: string;
|
|
10427
|
+
visible: boolean;
|
|
10428
|
+
transform: {
|
|
10429
|
+
pivotX?: number | undefined;
|
|
10430
|
+
pivotY?: number | undefined;
|
|
10431
|
+
anchorMinX?: number | undefined;
|
|
10432
|
+
anchorMinY?: number | undefined;
|
|
10433
|
+
anchorMaxX?: number | undefined;
|
|
10434
|
+
anchorMaxY?: number | undefined;
|
|
10435
|
+
x: number;
|
|
10436
|
+
y: number;
|
|
10437
|
+
width: number;
|
|
10438
|
+
height: number;
|
|
10439
|
+
scaleX: number;
|
|
10440
|
+
scaleY: number;
|
|
10441
|
+
rotation: number;
|
|
10442
|
+
};
|
|
10443
|
+
} | {
|
|
10444
|
+
editorOnly?: boolean | undefined;
|
|
10445
|
+
locked?: boolean | undefined;
|
|
10446
|
+
layoutOverrides?: {
|
|
10447
|
+
desktop?: {
|
|
10448
|
+
visible?: boolean | undefined;
|
|
10449
|
+
transform?: {
|
|
10450
|
+
x?: number | undefined;
|
|
10451
|
+
y?: number | undefined;
|
|
10452
|
+
width?: number | undefined;
|
|
10453
|
+
height?: number | undefined;
|
|
10454
|
+
scaleX?: number | undefined;
|
|
10455
|
+
scaleY?: number | undefined;
|
|
10456
|
+
rotation?: number | undefined;
|
|
10457
|
+
pivotX?: number | undefined;
|
|
10458
|
+
pivotY?: number | undefined;
|
|
10459
|
+
anchorMinX?: number | undefined;
|
|
10460
|
+
anchorMinY?: number | undefined;
|
|
10461
|
+
anchorMaxX?: number | undefined;
|
|
10462
|
+
anchorMaxY?: number | undefined;
|
|
10463
|
+
} | undefined;
|
|
10464
|
+
} | undefined;
|
|
10465
|
+
mobile?: {
|
|
10466
|
+
visible?: boolean | undefined;
|
|
10467
|
+
transform?: {
|
|
10468
|
+
x?: number | undefined;
|
|
10469
|
+
y?: number | undefined;
|
|
10470
|
+
width?: number | undefined;
|
|
10471
|
+
height?: number | undefined;
|
|
10472
|
+
scaleX?: number | undefined;
|
|
10473
|
+
scaleY?: number | undefined;
|
|
10474
|
+
rotation?: number | undefined;
|
|
10475
|
+
pivotX?: number | undefined;
|
|
10476
|
+
pivotY?: number | undefined;
|
|
10477
|
+
anchorMinX?: number | undefined;
|
|
10478
|
+
anchorMinY?: number | undefined;
|
|
10479
|
+
anchorMaxX?: number | undefined;
|
|
10480
|
+
anchorMaxY?: number | undefined;
|
|
10481
|
+
} | undefined;
|
|
10482
|
+
} | undefined;
|
|
10483
|
+
} | undefined;
|
|
10484
|
+
layoutItem?: {
|
|
10485
|
+
flexBasis?: number | undefined;
|
|
10486
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
10487
|
+
flexGrow: number;
|
|
10488
|
+
flexShrink: number;
|
|
10489
|
+
} | undefined;
|
|
10490
|
+
bindingKey?: string | undefined;
|
|
9253
10491
|
backgroundAssetId?: string | undefined;
|
|
9254
10492
|
id: string;
|
|
9255
10493
|
type: "horizontal-layout";
|
|
@@ -9368,7 +10606,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9368
10606
|
flexGrow: number;
|
|
9369
10607
|
flexShrink: number;
|
|
9370
10608
|
} | undefined;
|
|
9371
|
-
|
|
10609
|
+
bindingKey?: string | undefined;
|
|
9372
10610
|
backgroundAssetId?: string | undefined;
|
|
9373
10611
|
id: string;
|
|
9374
10612
|
type: "vertical-layout";
|
|
@@ -9487,7 +10725,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9487
10725
|
flexGrow: number;
|
|
9488
10726
|
flexShrink: number;
|
|
9489
10727
|
} | undefined;
|
|
9490
|
-
|
|
10728
|
+
bindingKey?: string | undefined;
|
|
9491
10729
|
backgroundAssetId?: string | undefined;
|
|
9492
10730
|
id: string;
|
|
9493
10731
|
type: "grid-layout";
|
|
@@ -9612,9 +10850,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9612
10850
|
flexGrow: number;
|
|
9613
10851
|
flexShrink: number;
|
|
9614
10852
|
} | undefined;
|
|
9615
|
-
|
|
10853
|
+
bindingKey?: string | undefined;
|
|
9616
10854
|
assetId?: string | undefined;
|
|
9617
10855
|
opacity?: number | undefined;
|
|
10856
|
+
nineSlice?: {
|
|
10857
|
+
left: number;
|
|
10858
|
+
right: number;
|
|
10859
|
+
top: number;
|
|
10860
|
+
bottom: number;
|
|
10861
|
+
} | undefined;
|
|
9618
10862
|
id: string;
|
|
9619
10863
|
type: "image";
|
|
9620
10864
|
parentId: string | null;
|
|
@@ -9683,7 +10927,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9683
10927
|
flexGrow: number;
|
|
9684
10928
|
flexShrink: number;
|
|
9685
10929
|
} | undefined;
|
|
9686
|
-
|
|
10930
|
+
bindingKey?: string | undefined;
|
|
10931
|
+
textKey?: string | undefined;
|
|
9687
10932
|
style?: {
|
|
9688
10933
|
fontAssetId?: string | undefined;
|
|
9689
10934
|
lineHeight?: number | undefined;
|
|
@@ -9809,7 +11054,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9809
11054
|
flexGrow: number;
|
|
9810
11055
|
flexShrink: number;
|
|
9811
11056
|
} | undefined;
|
|
9812
|
-
|
|
11057
|
+
bindingKey?: string | undefined;
|
|
9813
11058
|
animation?: string | undefined;
|
|
9814
11059
|
autoplay?: boolean | undefined;
|
|
9815
11060
|
loop?: boolean | undefined;
|
|
@@ -9897,7 +11142,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9897
11142
|
flexGrow: number;
|
|
9898
11143
|
flexShrink: number;
|
|
9899
11144
|
} | undefined;
|
|
9900
|
-
|
|
11145
|
+
bindingKey?: string | undefined;
|
|
11146
|
+
nineSlice?: {
|
|
11147
|
+
left: number;
|
|
11148
|
+
right: number;
|
|
11149
|
+
top: number;
|
|
11150
|
+
bottom: number;
|
|
11151
|
+
} | undefined;
|
|
9901
11152
|
sounds?: {
|
|
9902
11153
|
hoverAssetId?: string | undefined;
|
|
9903
11154
|
pressAssetId?: string | undefined;
|
|
@@ -9944,6 +11195,88 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9944
11195
|
normalAssetId: string;
|
|
9945
11196
|
};
|
|
9946
11197
|
enabled: boolean;
|
|
11198
|
+
} | {
|
|
11199
|
+
editorOnly?: boolean | undefined;
|
|
11200
|
+
locked?: boolean | undefined;
|
|
11201
|
+
layoutOverrides?: {
|
|
11202
|
+
desktop?: {
|
|
11203
|
+
visible?: boolean | undefined;
|
|
11204
|
+
transform?: {
|
|
11205
|
+
x?: number | undefined;
|
|
11206
|
+
y?: number | undefined;
|
|
11207
|
+
width?: number | undefined;
|
|
11208
|
+
height?: number | undefined;
|
|
11209
|
+
scaleX?: number | undefined;
|
|
11210
|
+
scaleY?: number | undefined;
|
|
11211
|
+
rotation?: number | undefined;
|
|
11212
|
+
pivotX?: number | undefined;
|
|
11213
|
+
pivotY?: number | undefined;
|
|
11214
|
+
anchorMinX?: number | undefined;
|
|
11215
|
+
anchorMinY?: number | undefined;
|
|
11216
|
+
anchorMaxX?: number | undefined;
|
|
11217
|
+
anchorMaxY?: number | undefined;
|
|
11218
|
+
} | undefined;
|
|
11219
|
+
} | undefined;
|
|
11220
|
+
mobile?: {
|
|
11221
|
+
visible?: boolean | undefined;
|
|
11222
|
+
transform?: {
|
|
11223
|
+
x?: number | undefined;
|
|
11224
|
+
y?: number | undefined;
|
|
11225
|
+
width?: number | undefined;
|
|
11226
|
+
height?: number | undefined;
|
|
11227
|
+
scaleX?: number | undefined;
|
|
11228
|
+
scaleY?: number | undefined;
|
|
11229
|
+
rotation?: number | undefined;
|
|
11230
|
+
pivotX?: number | undefined;
|
|
11231
|
+
pivotY?: number | undefined;
|
|
11232
|
+
anchorMinX?: number | undefined;
|
|
11233
|
+
anchorMinY?: number | undefined;
|
|
11234
|
+
anchorMaxX?: number | undefined;
|
|
11235
|
+
anchorMaxY?: number | undefined;
|
|
11236
|
+
} | undefined;
|
|
11237
|
+
} | undefined;
|
|
11238
|
+
} | undefined;
|
|
11239
|
+
layoutItem?: {
|
|
11240
|
+
flexBasis?: number | undefined;
|
|
11241
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
11242
|
+
flexGrow: number;
|
|
11243
|
+
flexShrink: number;
|
|
11244
|
+
} | undefined;
|
|
11245
|
+
bindingKey?: string | undefined;
|
|
11246
|
+
sounds?: {
|
|
11247
|
+
checkAssetId?: string | undefined;
|
|
11248
|
+
uncheckAssetId?: string | undefined;
|
|
11249
|
+
} | undefined;
|
|
11250
|
+
group?: string | undefined;
|
|
11251
|
+
id: string;
|
|
11252
|
+
type: "checkbox";
|
|
11253
|
+
parentId: string | null;
|
|
11254
|
+
children: string[];
|
|
11255
|
+
name: string;
|
|
11256
|
+
visible: boolean;
|
|
11257
|
+
transform: {
|
|
11258
|
+
pivotX?: number | undefined;
|
|
11259
|
+
pivotY?: number | undefined;
|
|
11260
|
+
anchorMinX?: number | undefined;
|
|
11261
|
+
anchorMinY?: number | undefined;
|
|
11262
|
+
anchorMaxX?: number | undefined;
|
|
11263
|
+
anchorMaxY?: number | undefined;
|
|
11264
|
+
x: number;
|
|
11265
|
+
y: number;
|
|
11266
|
+
width: number;
|
|
11267
|
+
height: number;
|
|
11268
|
+
scaleX: number;
|
|
11269
|
+
scaleY: number;
|
|
11270
|
+
rotation: number;
|
|
11271
|
+
};
|
|
11272
|
+
states: {
|
|
11273
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
11274
|
+
checkedHoverAssetId?: string | undefined;
|
|
11275
|
+
uncheckedAssetId: string;
|
|
11276
|
+
checkedAssetId: string;
|
|
11277
|
+
};
|
|
11278
|
+
enabled: boolean;
|
|
11279
|
+
defaultChecked: boolean;
|
|
9947
11280
|
} | /*elided*/ any | {
|
|
9948
11281
|
editorOnly?: boolean | undefined;
|
|
9949
11282
|
locked?: boolean | undefined;
|
|
@@ -9991,7 +11324,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9991
11324
|
flexGrow: number;
|
|
9992
11325
|
flexShrink: number;
|
|
9993
11326
|
} | undefined;
|
|
9994
|
-
|
|
11327
|
+
bindingKey?: string | undefined;
|
|
9995
11328
|
id: string;
|
|
9996
11329
|
type: "scroll-view";
|
|
9997
11330
|
parentId: string | null;
|
|
@@ -10075,7 +11408,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10075
11408
|
flexGrow: number;
|
|
10076
11409
|
flexShrink: number;
|
|
10077
11410
|
} | undefined;
|
|
10078
|
-
|
|
11411
|
+
bindingKey?: string | undefined;
|
|
10079
11412
|
backgroundAssetId?: string | undefined;
|
|
10080
11413
|
id: string;
|
|
10081
11414
|
type: "input";
|
|
@@ -10175,7 +11508,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10175
11508
|
flexGrow: number;
|
|
10176
11509
|
flexShrink: number;
|
|
10177
11510
|
} | undefined;
|
|
10178
|
-
|
|
11511
|
+
bindingKey?: string | undefined;
|
|
10179
11512
|
showValue?: boolean | undefined;
|
|
10180
11513
|
valueTextStyle?: {
|
|
10181
11514
|
fontAssetId?: string | undefined;
|
|
@@ -10276,7 +11609,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10276
11609
|
flexGrow: number;
|
|
10277
11610
|
flexShrink: number;
|
|
10278
11611
|
} | undefined;
|
|
10279
|
-
|
|
11612
|
+
bindingKey?: string | undefined;
|
|
10280
11613
|
id: string;
|
|
10281
11614
|
type: "progress-bar";
|
|
10282
11615
|
parentId: string | null;
|
|
@@ -10354,7 +11687,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10354
11687
|
flexGrow: number;
|
|
10355
11688
|
flexShrink: number;
|
|
10356
11689
|
} | undefined;
|
|
10357
|
-
|
|
11690
|
+
bindingKey?: string | undefined;
|
|
10358
11691
|
id: string;
|
|
10359
11692
|
type: "particle-emitter";
|
|
10360
11693
|
parentId: string | null;
|
|
@@ -10424,7 +11757,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10424
11757
|
flexGrow: number;
|
|
10425
11758
|
flexShrink: number;
|
|
10426
11759
|
} | undefined;
|
|
10427
|
-
|
|
11760
|
+
bindingKey?: string | undefined;
|
|
10428
11761
|
id: string;
|
|
10429
11762
|
type: "prefab-instance";
|
|
10430
11763
|
parentId: string | null;
|
|
@@ -10494,7 +11827,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10494
11827
|
flexGrow: number;
|
|
10495
11828
|
flexShrink: number;
|
|
10496
11829
|
} | undefined;
|
|
10497
|
-
|
|
11830
|
+
bindingKey?: string | undefined;
|
|
10498
11831
|
id: string;
|
|
10499
11832
|
type: "scroll-view";
|
|
10500
11833
|
parentId: string | null;
|
|
@@ -10578,7 +11911,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10578
11911
|
flexGrow: number;
|
|
10579
11912
|
flexShrink: number;
|
|
10580
11913
|
} | undefined;
|
|
10581
|
-
|
|
11914
|
+
bindingKey?: string | undefined;
|
|
10582
11915
|
backgroundAssetId?: string | undefined;
|
|
10583
11916
|
id: string;
|
|
10584
11917
|
type: "input";
|
|
@@ -10678,7 +12011,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10678
12011
|
flexGrow: number;
|
|
10679
12012
|
flexShrink: number;
|
|
10680
12013
|
} | undefined;
|
|
10681
|
-
|
|
12014
|
+
bindingKey?: string | undefined;
|
|
10682
12015
|
showValue?: boolean | undefined;
|
|
10683
12016
|
valueTextStyle?: {
|
|
10684
12017
|
fontAssetId?: string | undefined;
|
|
@@ -10779,7 +12112,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10779
12112
|
flexGrow: number;
|
|
10780
12113
|
flexShrink: number;
|
|
10781
12114
|
} | undefined;
|
|
10782
|
-
|
|
12115
|
+
bindingKey?: string | undefined;
|
|
10783
12116
|
id: string;
|
|
10784
12117
|
type: "progress-bar";
|
|
10785
12118
|
parentId: string | null;
|
|
@@ -10857,9 +12190,91 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10857
12190
|
flexGrow: number;
|
|
10858
12191
|
flexShrink: number;
|
|
10859
12192
|
} | undefined;
|
|
10860
|
-
|
|
12193
|
+
bindingKey?: string | undefined;
|
|
12194
|
+
id: string;
|
|
12195
|
+
type: "particle-emitter";
|
|
12196
|
+
parentId: string | null;
|
|
12197
|
+
children: string[];
|
|
12198
|
+
name: string;
|
|
12199
|
+
visible: boolean;
|
|
12200
|
+
transform: {
|
|
12201
|
+
pivotX?: number | undefined;
|
|
12202
|
+
pivotY?: number | undefined;
|
|
12203
|
+
anchorMinX?: number | undefined;
|
|
12204
|
+
anchorMinY?: number | undefined;
|
|
12205
|
+
anchorMaxX?: number | undefined;
|
|
12206
|
+
anchorMaxY?: number | undefined;
|
|
12207
|
+
x: number;
|
|
12208
|
+
y: number;
|
|
12209
|
+
width: number;
|
|
12210
|
+
height: number;
|
|
12211
|
+
scaleX: number;
|
|
12212
|
+
scaleY: number;
|
|
12213
|
+
rotation: number;
|
|
12214
|
+
};
|
|
12215
|
+
autoplay: boolean;
|
|
12216
|
+
effectId: string;
|
|
12217
|
+
simulationSpace: "local" | "world";
|
|
12218
|
+
}>>;
|
|
12219
|
+
exposedProperties: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
12220
|
+
name: import("@sinclair/typebox").TString;
|
|
12221
|
+
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"string">, import("@sinclair/typebox").TLiteral<"number">, import("@sinclair/typebox").TLiteral<"boolean">, import("@sinclair/typebox").TLiteral<"asset">, import("@sinclair/typebox").TLiteral<"visibility">]>;
|
|
12222
|
+
}>>;
|
|
12223
|
+
}>>;
|
|
12224
|
+
scenes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
12225
|
+
id: import("@sinclair/typebox").TString;
|
|
12226
|
+
name: import("@sinclair/typebox").TString;
|
|
12227
|
+
rootNodeIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
12228
|
+
nodes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<{
|
|
12229
|
+
editorOnly?: boolean | undefined;
|
|
12230
|
+
locked?: boolean | undefined;
|
|
12231
|
+
layoutOverrides?: {
|
|
12232
|
+
desktop?: {
|
|
12233
|
+
visible?: boolean | undefined;
|
|
12234
|
+
transform?: {
|
|
12235
|
+
x?: number | undefined;
|
|
12236
|
+
y?: number | undefined;
|
|
12237
|
+
width?: number | undefined;
|
|
12238
|
+
height?: number | undefined;
|
|
12239
|
+
scaleX?: number | undefined;
|
|
12240
|
+
scaleY?: number | undefined;
|
|
12241
|
+
rotation?: number | undefined;
|
|
12242
|
+
pivotX?: number | undefined;
|
|
12243
|
+
pivotY?: number | undefined;
|
|
12244
|
+
anchorMinX?: number | undefined;
|
|
12245
|
+
anchorMinY?: number | undefined;
|
|
12246
|
+
anchorMaxX?: number | undefined;
|
|
12247
|
+
anchorMaxY?: number | undefined;
|
|
12248
|
+
} | undefined;
|
|
12249
|
+
} | undefined;
|
|
12250
|
+
mobile?: {
|
|
12251
|
+
visible?: boolean | undefined;
|
|
12252
|
+
transform?: {
|
|
12253
|
+
x?: number | undefined;
|
|
12254
|
+
y?: number | undefined;
|
|
12255
|
+
width?: number | undefined;
|
|
12256
|
+
height?: number | undefined;
|
|
12257
|
+
scaleX?: number | undefined;
|
|
12258
|
+
scaleY?: number | undefined;
|
|
12259
|
+
rotation?: number | undefined;
|
|
12260
|
+
pivotX?: number | undefined;
|
|
12261
|
+
pivotY?: number | undefined;
|
|
12262
|
+
anchorMinX?: number | undefined;
|
|
12263
|
+
anchorMinY?: number | undefined;
|
|
12264
|
+
anchorMaxX?: number | undefined;
|
|
12265
|
+
anchorMaxY?: number | undefined;
|
|
12266
|
+
} | undefined;
|
|
12267
|
+
} | undefined;
|
|
12268
|
+
} | undefined;
|
|
12269
|
+
layoutItem?: {
|
|
12270
|
+
flexBasis?: number | undefined;
|
|
12271
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
12272
|
+
flexGrow: number;
|
|
12273
|
+
flexShrink: number;
|
|
12274
|
+
} | undefined;
|
|
12275
|
+
bindingKey?: string | undefined;
|
|
10861
12276
|
id: string;
|
|
10862
|
-
type: "
|
|
12277
|
+
type: "container";
|
|
10863
12278
|
parentId: string | null;
|
|
10864
12279
|
children: string[];
|
|
10865
12280
|
name: string;
|
|
@@ -10879,20 +12294,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10879
12294
|
scaleY: number;
|
|
10880
12295
|
rotation: number;
|
|
10881
12296
|
};
|
|
10882
|
-
|
|
10883
|
-
effectId: string;
|
|
10884
|
-
simulationSpace: "local" | "world";
|
|
10885
|
-
}>>;
|
|
10886
|
-
exposedProperties: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
10887
|
-
name: import("@sinclair/typebox").TString;
|
|
10888
|
-
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"string">, import("@sinclair/typebox").TLiteral<"number">, import("@sinclair/typebox").TLiteral<"boolean">, import("@sinclair/typebox").TLiteral<"asset">, import("@sinclair/typebox").TLiteral<"visibility">]>;
|
|
10889
|
-
}>>;
|
|
10890
|
-
}>>;
|
|
10891
|
-
scenes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
10892
|
-
id: import("@sinclair/typebox").TString;
|
|
10893
|
-
name: import("@sinclair/typebox").TString;
|
|
10894
|
-
rootNodeIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
10895
|
-
nodes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<{
|
|
12297
|
+
} | {
|
|
10896
12298
|
editorOnly?: boolean | undefined;
|
|
10897
12299
|
locked?: boolean | undefined;
|
|
10898
12300
|
layoutOverrides?: {
|
|
@@ -10939,9 +12341,9 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10939
12341
|
flexGrow: number;
|
|
10940
12342
|
flexShrink: number;
|
|
10941
12343
|
} | undefined;
|
|
10942
|
-
|
|
12344
|
+
bindingKey?: string | undefined;
|
|
10943
12345
|
id: string;
|
|
10944
|
-
type: "
|
|
12346
|
+
type: "mask";
|
|
10945
12347
|
parentId: string | null;
|
|
10946
12348
|
children: string[];
|
|
10947
12349
|
name: string;
|
|
@@ -11008,7 +12410,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11008
12410
|
flexGrow: number;
|
|
11009
12411
|
flexShrink: number;
|
|
11010
12412
|
} | undefined;
|
|
11011
|
-
|
|
12413
|
+
bindingKey?: string | undefined;
|
|
11012
12414
|
backgroundAssetId?: string | undefined;
|
|
11013
12415
|
id: string;
|
|
11014
12416
|
type: "horizontal-layout";
|
|
@@ -11127,7 +12529,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11127
12529
|
flexGrow: number;
|
|
11128
12530
|
flexShrink: number;
|
|
11129
12531
|
} | undefined;
|
|
11130
|
-
|
|
12532
|
+
bindingKey?: string | undefined;
|
|
11131
12533
|
backgroundAssetId?: string | undefined;
|
|
11132
12534
|
id: string;
|
|
11133
12535
|
type: "vertical-layout";
|
|
@@ -11246,7 +12648,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11246
12648
|
flexGrow: number;
|
|
11247
12649
|
flexShrink: number;
|
|
11248
12650
|
} | undefined;
|
|
11249
|
-
|
|
12651
|
+
bindingKey?: string | undefined;
|
|
11250
12652
|
backgroundAssetId?: string | undefined;
|
|
11251
12653
|
id: string;
|
|
11252
12654
|
type: "grid-layout";
|
|
@@ -11371,9 +12773,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11371
12773
|
flexGrow: number;
|
|
11372
12774
|
flexShrink: number;
|
|
11373
12775
|
} | undefined;
|
|
11374
|
-
|
|
12776
|
+
bindingKey?: string | undefined;
|
|
11375
12777
|
assetId?: string | undefined;
|
|
11376
12778
|
opacity?: number | undefined;
|
|
12779
|
+
nineSlice?: {
|
|
12780
|
+
left: number;
|
|
12781
|
+
right: number;
|
|
12782
|
+
top: number;
|
|
12783
|
+
bottom: number;
|
|
12784
|
+
} | undefined;
|
|
11377
12785
|
id: string;
|
|
11378
12786
|
type: "image";
|
|
11379
12787
|
parentId: string | null;
|
|
@@ -11442,7 +12850,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11442
12850
|
flexGrow: number;
|
|
11443
12851
|
flexShrink: number;
|
|
11444
12852
|
} | undefined;
|
|
11445
|
-
|
|
12853
|
+
bindingKey?: string | undefined;
|
|
12854
|
+
textKey?: string | undefined;
|
|
11446
12855
|
style?: {
|
|
11447
12856
|
fontAssetId?: string | undefined;
|
|
11448
12857
|
lineHeight?: number | undefined;
|
|
@@ -11568,7 +12977,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11568
12977
|
flexGrow: number;
|
|
11569
12978
|
flexShrink: number;
|
|
11570
12979
|
} | undefined;
|
|
11571
|
-
|
|
12980
|
+
bindingKey?: string | undefined;
|
|
11572
12981
|
animation?: string | undefined;
|
|
11573
12982
|
autoplay?: boolean | undefined;
|
|
11574
12983
|
loop?: boolean | undefined;
|
|
@@ -11656,7 +13065,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11656
13065
|
flexGrow: number;
|
|
11657
13066
|
flexShrink: number;
|
|
11658
13067
|
} | undefined;
|
|
11659
|
-
|
|
13068
|
+
bindingKey?: string | undefined;
|
|
13069
|
+
nineSlice?: {
|
|
13070
|
+
left: number;
|
|
13071
|
+
right: number;
|
|
13072
|
+
top: number;
|
|
13073
|
+
bottom: number;
|
|
13074
|
+
} | undefined;
|
|
11660
13075
|
sounds?: {
|
|
11661
13076
|
hoverAssetId?: string | undefined;
|
|
11662
13077
|
pressAssetId?: string | undefined;
|
|
@@ -11703,6 +13118,88 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11703
13118
|
normalAssetId: string;
|
|
11704
13119
|
};
|
|
11705
13120
|
enabled: boolean;
|
|
13121
|
+
} | {
|
|
13122
|
+
editorOnly?: boolean | undefined;
|
|
13123
|
+
locked?: boolean | undefined;
|
|
13124
|
+
layoutOverrides?: {
|
|
13125
|
+
desktop?: {
|
|
13126
|
+
visible?: boolean | undefined;
|
|
13127
|
+
transform?: {
|
|
13128
|
+
x?: number | undefined;
|
|
13129
|
+
y?: number | undefined;
|
|
13130
|
+
width?: number | undefined;
|
|
13131
|
+
height?: number | undefined;
|
|
13132
|
+
scaleX?: number | undefined;
|
|
13133
|
+
scaleY?: number | undefined;
|
|
13134
|
+
rotation?: number | undefined;
|
|
13135
|
+
pivotX?: number | undefined;
|
|
13136
|
+
pivotY?: number | undefined;
|
|
13137
|
+
anchorMinX?: number | undefined;
|
|
13138
|
+
anchorMinY?: number | undefined;
|
|
13139
|
+
anchorMaxX?: number | undefined;
|
|
13140
|
+
anchorMaxY?: number | undefined;
|
|
13141
|
+
} | undefined;
|
|
13142
|
+
} | undefined;
|
|
13143
|
+
mobile?: {
|
|
13144
|
+
visible?: boolean | undefined;
|
|
13145
|
+
transform?: {
|
|
13146
|
+
x?: number | undefined;
|
|
13147
|
+
y?: number | undefined;
|
|
13148
|
+
width?: number | undefined;
|
|
13149
|
+
height?: number | undefined;
|
|
13150
|
+
scaleX?: number | undefined;
|
|
13151
|
+
scaleY?: number | undefined;
|
|
13152
|
+
rotation?: number | undefined;
|
|
13153
|
+
pivotX?: number | undefined;
|
|
13154
|
+
pivotY?: number | undefined;
|
|
13155
|
+
anchorMinX?: number | undefined;
|
|
13156
|
+
anchorMinY?: number | undefined;
|
|
13157
|
+
anchorMaxX?: number | undefined;
|
|
13158
|
+
anchorMaxY?: number | undefined;
|
|
13159
|
+
} | undefined;
|
|
13160
|
+
} | undefined;
|
|
13161
|
+
} | undefined;
|
|
13162
|
+
layoutItem?: {
|
|
13163
|
+
flexBasis?: number | undefined;
|
|
13164
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
13165
|
+
flexGrow: number;
|
|
13166
|
+
flexShrink: number;
|
|
13167
|
+
} | undefined;
|
|
13168
|
+
bindingKey?: string | undefined;
|
|
13169
|
+
sounds?: {
|
|
13170
|
+
checkAssetId?: string | undefined;
|
|
13171
|
+
uncheckAssetId?: string | undefined;
|
|
13172
|
+
} | undefined;
|
|
13173
|
+
group?: string | undefined;
|
|
13174
|
+
id: string;
|
|
13175
|
+
type: "checkbox";
|
|
13176
|
+
parentId: string | null;
|
|
13177
|
+
children: string[];
|
|
13178
|
+
name: string;
|
|
13179
|
+
visible: boolean;
|
|
13180
|
+
transform: {
|
|
13181
|
+
pivotX?: number | undefined;
|
|
13182
|
+
pivotY?: number | undefined;
|
|
13183
|
+
anchorMinX?: number | undefined;
|
|
13184
|
+
anchorMinY?: number | undefined;
|
|
13185
|
+
anchorMaxX?: number | undefined;
|
|
13186
|
+
anchorMaxY?: number | undefined;
|
|
13187
|
+
x: number;
|
|
13188
|
+
y: number;
|
|
13189
|
+
width: number;
|
|
13190
|
+
height: number;
|
|
13191
|
+
scaleX: number;
|
|
13192
|
+
scaleY: number;
|
|
13193
|
+
rotation: number;
|
|
13194
|
+
};
|
|
13195
|
+
states: {
|
|
13196
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
13197
|
+
checkedHoverAssetId?: string | undefined;
|
|
13198
|
+
uncheckedAssetId: string;
|
|
13199
|
+
checkedAssetId: string;
|
|
13200
|
+
};
|
|
13201
|
+
enabled: boolean;
|
|
13202
|
+
defaultChecked: boolean;
|
|
11706
13203
|
} | {
|
|
11707
13204
|
editorOnly?: boolean | undefined;
|
|
11708
13205
|
locked?: boolean | undefined;
|
|
@@ -11759,7 +13256,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11759
13256
|
flexGrow: number;
|
|
11760
13257
|
flexShrink: number;
|
|
11761
13258
|
} | undefined;
|
|
11762
|
-
|
|
13259
|
+
bindingKey?: string | undefined;
|
|
11763
13260
|
id: string;
|
|
11764
13261
|
type: "container";
|
|
11765
13262
|
parentId: string | null;
|
|
@@ -11828,7 +13325,76 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11828
13325
|
flexGrow: number;
|
|
11829
13326
|
flexShrink: number;
|
|
11830
13327
|
} | undefined;
|
|
11831
|
-
|
|
13328
|
+
bindingKey?: string | undefined;
|
|
13329
|
+
id: string;
|
|
13330
|
+
type: "mask";
|
|
13331
|
+
parentId: string | null;
|
|
13332
|
+
children: string[];
|
|
13333
|
+
name: string;
|
|
13334
|
+
visible: boolean;
|
|
13335
|
+
transform: {
|
|
13336
|
+
pivotX?: number | undefined;
|
|
13337
|
+
pivotY?: number | undefined;
|
|
13338
|
+
anchorMinX?: number | undefined;
|
|
13339
|
+
anchorMinY?: number | undefined;
|
|
13340
|
+
anchorMaxX?: number | undefined;
|
|
13341
|
+
anchorMaxY?: number | undefined;
|
|
13342
|
+
x: number;
|
|
13343
|
+
y: number;
|
|
13344
|
+
width: number;
|
|
13345
|
+
height: number;
|
|
13346
|
+
scaleX: number;
|
|
13347
|
+
scaleY: number;
|
|
13348
|
+
rotation: number;
|
|
13349
|
+
};
|
|
13350
|
+
} | {
|
|
13351
|
+
editorOnly?: boolean | undefined;
|
|
13352
|
+
locked?: boolean | undefined;
|
|
13353
|
+
layoutOverrides?: {
|
|
13354
|
+
desktop?: {
|
|
13355
|
+
visible?: boolean | undefined;
|
|
13356
|
+
transform?: {
|
|
13357
|
+
x?: number | undefined;
|
|
13358
|
+
y?: number | undefined;
|
|
13359
|
+
width?: number | undefined;
|
|
13360
|
+
height?: number | undefined;
|
|
13361
|
+
scaleX?: number | undefined;
|
|
13362
|
+
scaleY?: number | undefined;
|
|
13363
|
+
rotation?: number | undefined;
|
|
13364
|
+
pivotX?: number | undefined;
|
|
13365
|
+
pivotY?: number | undefined;
|
|
13366
|
+
anchorMinX?: number | undefined;
|
|
13367
|
+
anchorMinY?: number | undefined;
|
|
13368
|
+
anchorMaxX?: number | undefined;
|
|
13369
|
+
anchorMaxY?: number | undefined;
|
|
13370
|
+
} | undefined;
|
|
13371
|
+
} | undefined;
|
|
13372
|
+
mobile?: {
|
|
13373
|
+
visible?: boolean | undefined;
|
|
13374
|
+
transform?: {
|
|
13375
|
+
x?: number | undefined;
|
|
13376
|
+
y?: number | undefined;
|
|
13377
|
+
width?: number | undefined;
|
|
13378
|
+
height?: number | undefined;
|
|
13379
|
+
scaleX?: number | undefined;
|
|
13380
|
+
scaleY?: number | undefined;
|
|
13381
|
+
rotation?: number | undefined;
|
|
13382
|
+
pivotX?: number | undefined;
|
|
13383
|
+
pivotY?: number | undefined;
|
|
13384
|
+
anchorMinX?: number | undefined;
|
|
13385
|
+
anchorMinY?: number | undefined;
|
|
13386
|
+
anchorMaxX?: number | undefined;
|
|
13387
|
+
anchorMaxY?: number | undefined;
|
|
13388
|
+
} | undefined;
|
|
13389
|
+
} | undefined;
|
|
13390
|
+
} | undefined;
|
|
13391
|
+
layoutItem?: {
|
|
13392
|
+
flexBasis?: number | undefined;
|
|
13393
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
13394
|
+
flexGrow: number;
|
|
13395
|
+
flexShrink: number;
|
|
13396
|
+
} | undefined;
|
|
13397
|
+
bindingKey?: string | undefined;
|
|
11832
13398
|
backgroundAssetId?: string | undefined;
|
|
11833
13399
|
id: string;
|
|
11834
13400
|
type: "horizontal-layout";
|
|
@@ -11947,7 +13513,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11947
13513
|
flexGrow: number;
|
|
11948
13514
|
flexShrink: number;
|
|
11949
13515
|
} | undefined;
|
|
11950
|
-
|
|
13516
|
+
bindingKey?: string | undefined;
|
|
11951
13517
|
backgroundAssetId?: string | undefined;
|
|
11952
13518
|
id: string;
|
|
11953
13519
|
type: "vertical-layout";
|
|
@@ -12066,7 +13632,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12066
13632
|
flexGrow: number;
|
|
12067
13633
|
flexShrink: number;
|
|
12068
13634
|
} | undefined;
|
|
12069
|
-
|
|
13635
|
+
bindingKey?: string | undefined;
|
|
12070
13636
|
backgroundAssetId?: string | undefined;
|
|
12071
13637
|
id: string;
|
|
12072
13638
|
type: "grid-layout";
|
|
@@ -12191,9 +13757,15 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12191
13757
|
flexGrow: number;
|
|
12192
13758
|
flexShrink: number;
|
|
12193
13759
|
} | undefined;
|
|
12194
|
-
|
|
13760
|
+
bindingKey?: string | undefined;
|
|
12195
13761
|
assetId?: string | undefined;
|
|
12196
13762
|
opacity?: number | undefined;
|
|
13763
|
+
nineSlice?: {
|
|
13764
|
+
left: number;
|
|
13765
|
+
right: number;
|
|
13766
|
+
top: number;
|
|
13767
|
+
bottom: number;
|
|
13768
|
+
} | undefined;
|
|
12197
13769
|
id: string;
|
|
12198
13770
|
type: "image";
|
|
12199
13771
|
parentId: string | null;
|
|
@@ -12262,7 +13834,8 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12262
13834
|
flexGrow: number;
|
|
12263
13835
|
flexShrink: number;
|
|
12264
13836
|
} | undefined;
|
|
12265
|
-
|
|
13837
|
+
bindingKey?: string | undefined;
|
|
13838
|
+
textKey?: string | undefined;
|
|
12266
13839
|
style?: {
|
|
12267
13840
|
fontAssetId?: string | undefined;
|
|
12268
13841
|
lineHeight?: number | undefined;
|
|
@@ -12388,7 +13961,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12388
13961
|
flexGrow: number;
|
|
12389
13962
|
flexShrink: number;
|
|
12390
13963
|
} | undefined;
|
|
12391
|
-
|
|
13964
|
+
bindingKey?: string | undefined;
|
|
12392
13965
|
animation?: string | undefined;
|
|
12393
13966
|
autoplay?: boolean | undefined;
|
|
12394
13967
|
loop?: boolean | undefined;
|
|
@@ -12476,7 +14049,13 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12476
14049
|
flexGrow: number;
|
|
12477
14050
|
flexShrink: number;
|
|
12478
14051
|
} | undefined;
|
|
12479
|
-
|
|
14052
|
+
bindingKey?: string | undefined;
|
|
14053
|
+
nineSlice?: {
|
|
14054
|
+
left: number;
|
|
14055
|
+
right: number;
|
|
14056
|
+
top: number;
|
|
14057
|
+
bottom: number;
|
|
14058
|
+
} | undefined;
|
|
12480
14059
|
sounds?: {
|
|
12481
14060
|
hoverAssetId?: string | undefined;
|
|
12482
14061
|
pressAssetId?: string | undefined;
|
|
@@ -12523,6 +14102,88 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12523
14102
|
normalAssetId: string;
|
|
12524
14103
|
};
|
|
12525
14104
|
enabled: boolean;
|
|
14105
|
+
} | {
|
|
14106
|
+
editorOnly?: boolean | undefined;
|
|
14107
|
+
locked?: boolean | undefined;
|
|
14108
|
+
layoutOverrides?: {
|
|
14109
|
+
desktop?: {
|
|
14110
|
+
visible?: boolean | undefined;
|
|
14111
|
+
transform?: {
|
|
14112
|
+
x?: number | undefined;
|
|
14113
|
+
y?: number | undefined;
|
|
14114
|
+
width?: number | undefined;
|
|
14115
|
+
height?: number | undefined;
|
|
14116
|
+
scaleX?: number | undefined;
|
|
14117
|
+
scaleY?: number | undefined;
|
|
14118
|
+
rotation?: number | undefined;
|
|
14119
|
+
pivotX?: number | undefined;
|
|
14120
|
+
pivotY?: number | undefined;
|
|
14121
|
+
anchorMinX?: number | undefined;
|
|
14122
|
+
anchorMinY?: number | undefined;
|
|
14123
|
+
anchorMaxX?: number | undefined;
|
|
14124
|
+
anchorMaxY?: number | undefined;
|
|
14125
|
+
} | undefined;
|
|
14126
|
+
} | undefined;
|
|
14127
|
+
mobile?: {
|
|
14128
|
+
visible?: boolean | undefined;
|
|
14129
|
+
transform?: {
|
|
14130
|
+
x?: number | undefined;
|
|
14131
|
+
y?: number | undefined;
|
|
14132
|
+
width?: number | undefined;
|
|
14133
|
+
height?: number | undefined;
|
|
14134
|
+
scaleX?: number | undefined;
|
|
14135
|
+
scaleY?: number | undefined;
|
|
14136
|
+
rotation?: number | undefined;
|
|
14137
|
+
pivotX?: number | undefined;
|
|
14138
|
+
pivotY?: number | undefined;
|
|
14139
|
+
anchorMinX?: number | undefined;
|
|
14140
|
+
anchorMinY?: number | undefined;
|
|
14141
|
+
anchorMaxX?: number | undefined;
|
|
14142
|
+
anchorMaxY?: number | undefined;
|
|
14143
|
+
} | undefined;
|
|
14144
|
+
} | undefined;
|
|
14145
|
+
} | undefined;
|
|
14146
|
+
layoutItem?: {
|
|
14147
|
+
flexBasis?: number | undefined;
|
|
14148
|
+
alignSelf?: "auto" | "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
14149
|
+
flexGrow: number;
|
|
14150
|
+
flexShrink: number;
|
|
14151
|
+
} | undefined;
|
|
14152
|
+
bindingKey?: string | undefined;
|
|
14153
|
+
sounds?: {
|
|
14154
|
+
checkAssetId?: string | undefined;
|
|
14155
|
+
uncheckAssetId?: string | undefined;
|
|
14156
|
+
} | undefined;
|
|
14157
|
+
group?: string | undefined;
|
|
14158
|
+
id: string;
|
|
14159
|
+
type: "checkbox";
|
|
14160
|
+
parentId: string | null;
|
|
14161
|
+
children: string[];
|
|
14162
|
+
name: string;
|
|
14163
|
+
visible: boolean;
|
|
14164
|
+
transform: {
|
|
14165
|
+
pivotX?: number | undefined;
|
|
14166
|
+
pivotY?: number | undefined;
|
|
14167
|
+
anchorMinX?: number | undefined;
|
|
14168
|
+
anchorMinY?: number | undefined;
|
|
14169
|
+
anchorMaxX?: number | undefined;
|
|
14170
|
+
anchorMaxY?: number | undefined;
|
|
14171
|
+
x: number;
|
|
14172
|
+
y: number;
|
|
14173
|
+
width: number;
|
|
14174
|
+
height: number;
|
|
14175
|
+
scaleX: number;
|
|
14176
|
+
scaleY: number;
|
|
14177
|
+
rotation: number;
|
|
14178
|
+
};
|
|
14179
|
+
states: {
|
|
14180
|
+
uncheckedHoverAssetId?: string | undefined;
|
|
14181
|
+
checkedHoverAssetId?: string | undefined;
|
|
14182
|
+
uncheckedAssetId: string;
|
|
14183
|
+
checkedAssetId: string;
|
|
14184
|
+
};
|
|
14185
|
+
enabled: boolean;
|
|
14186
|
+
defaultChecked: boolean;
|
|
12526
14187
|
} | /*elided*/ any | {
|
|
12527
14188
|
editorOnly?: boolean | undefined;
|
|
12528
14189
|
locked?: boolean | undefined;
|
|
@@ -12570,7 +14231,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12570
14231
|
flexGrow: number;
|
|
12571
14232
|
flexShrink: number;
|
|
12572
14233
|
} | undefined;
|
|
12573
|
-
|
|
14234
|
+
bindingKey?: string | undefined;
|
|
12574
14235
|
id: string;
|
|
12575
14236
|
type: "scroll-view";
|
|
12576
14237
|
parentId: string | null;
|
|
@@ -12654,7 +14315,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12654
14315
|
flexGrow: number;
|
|
12655
14316
|
flexShrink: number;
|
|
12656
14317
|
} | undefined;
|
|
12657
|
-
|
|
14318
|
+
bindingKey?: string | undefined;
|
|
12658
14319
|
backgroundAssetId?: string | undefined;
|
|
12659
14320
|
id: string;
|
|
12660
14321
|
type: "input";
|
|
@@ -12754,7 +14415,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12754
14415
|
flexGrow: number;
|
|
12755
14416
|
flexShrink: number;
|
|
12756
14417
|
} | undefined;
|
|
12757
|
-
|
|
14418
|
+
bindingKey?: string | undefined;
|
|
12758
14419
|
showValue?: boolean | undefined;
|
|
12759
14420
|
valueTextStyle?: {
|
|
12760
14421
|
fontAssetId?: string | undefined;
|
|
@@ -12855,7 +14516,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12855
14516
|
flexGrow: number;
|
|
12856
14517
|
flexShrink: number;
|
|
12857
14518
|
} | undefined;
|
|
12858
|
-
|
|
14519
|
+
bindingKey?: string | undefined;
|
|
12859
14520
|
id: string;
|
|
12860
14521
|
type: "progress-bar";
|
|
12861
14522
|
parentId: string | null;
|
|
@@ -12933,7 +14594,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
12933
14594
|
flexGrow: number;
|
|
12934
14595
|
flexShrink: number;
|
|
12935
14596
|
} | undefined;
|
|
12936
|
-
|
|
14597
|
+
bindingKey?: string | undefined;
|
|
12937
14598
|
id: string;
|
|
12938
14599
|
type: "particle-emitter";
|
|
12939
14600
|
parentId: string | null;
|
|
@@ -13003,7 +14664,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
13003
14664
|
flexGrow: number;
|
|
13004
14665
|
flexShrink: number;
|
|
13005
14666
|
} | undefined;
|
|
13006
|
-
|
|
14667
|
+
bindingKey?: string | undefined;
|
|
13007
14668
|
id: string;
|
|
13008
14669
|
type: "prefab-instance";
|
|
13009
14670
|
parentId: string | null;
|
|
@@ -13073,7 +14734,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
13073
14734
|
flexGrow: number;
|
|
13074
14735
|
flexShrink: number;
|
|
13075
14736
|
} | undefined;
|
|
13076
|
-
|
|
14737
|
+
bindingKey?: string | undefined;
|
|
13077
14738
|
id: string;
|
|
13078
14739
|
type: "scroll-view";
|
|
13079
14740
|
parentId: string | null;
|
|
@@ -13157,7 +14818,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
13157
14818
|
flexGrow: number;
|
|
13158
14819
|
flexShrink: number;
|
|
13159
14820
|
} | undefined;
|
|
13160
|
-
|
|
14821
|
+
bindingKey?: string | undefined;
|
|
13161
14822
|
backgroundAssetId?: string | undefined;
|
|
13162
14823
|
id: string;
|
|
13163
14824
|
type: "input";
|
|
@@ -13257,7 +14918,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
13257
14918
|
flexGrow: number;
|
|
13258
14919
|
flexShrink: number;
|
|
13259
14920
|
} | undefined;
|
|
13260
|
-
|
|
14921
|
+
bindingKey?: string | undefined;
|
|
13261
14922
|
showValue?: boolean | undefined;
|
|
13262
14923
|
valueTextStyle?: {
|
|
13263
14924
|
fontAssetId?: string | undefined;
|
|
@@ -13358,7 +15019,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
13358
15019
|
flexGrow: number;
|
|
13359
15020
|
flexShrink: number;
|
|
13360
15021
|
} | undefined;
|
|
13361
|
-
|
|
15022
|
+
bindingKey?: string | undefined;
|
|
13362
15023
|
id: string;
|
|
13363
15024
|
type: "progress-bar";
|
|
13364
15025
|
parentId: string | null;
|
|
@@ -13436,7 +15097,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
13436
15097
|
flexGrow: number;
|
|
13437
15098
|
flexShrink: number;
|
|
13438
15099
|
} | undefined;
|
|
13439
|
-
|
|
15100
|
+
bindingKey?: string | undefined;
|
|
13440
15101
|
id: string;
|
|
13441
15102
|
type: "particle-emitter";
|
|
13442
15103
|
parentId: string | null;
|
|
@@ -13497,6 +15158,7 @@ export type ValidationIssue = {
|
|
|
13497
15158
|
message: string;
|
|
13498
15159
|
severity: "error" | "warning";
|
|
13499
15160
|
};
|
|
15161
|
+
/** `valid` означает отсутствие issues с severity `error`, а не пустой массив: warnings сохраняемы. */
|
|
13500
15162
|
export type ValidationResult = {
|
|
13501
15163
|
valid: boolean;
|
|
13502
15164
|
issues: ValidationIssue[];
|
|
@@ -13506,12 +15168,40 @@ export declare class ProjectDocumentMigrationError extends Error {
|
|
|
13506
15168
|
constructor(message: string);
|
|
13507
15169
|
}
|
|
13508
15170
|
export declare function createStableId(): string;
|
|
15171
|
+
/**
|
|
15172
|
+
* Единственная реализация группировки binding-ключей: и validation документа, и Inspector спрашивают
|
|
15173
|
+
* именно её, поэтому «ключ занят» в UI и «ключ дублируется» в документе не могут разойтись.
|
|
15174
|
+
*
|
|
15175
|
+
* На вход идут materialized-ноды владельца (`resolveOwnerNodeGraph`), а не сырые `owner.nodes`: ключ
|
|
15176
|
+
* принадлежит конкретному view, поэтому нода внутри prefab-инстанса участвует в проверке наравне с
|
|
15177
|
+
* обычной нодой сцены. Ключ группируется по trimmed-значению; пустая строка остаётся отдельной
|
|
15178
|
+
* группой, чтобы вызывающий отличил «ключа нет» от «ключ состоит из пробелов».
|
|
15179
|
+
*/
|
|
15180
|
+
export declare function collectBindingKeys(nodes: readonly UINode[]): Map<string, string[]>;
|
|
15181
|
+
/** Область владельца: собственные узлы сцены или определения пресета. Инстанс адресуется своим id. */
|
|
15182
|
+
export declare const OWNER_BINDING_KEY_SCOPE = "";
|
|
15183
|
+
/**
|
|
15184
|
+
* Разбивает materialized-граф владельца на области, внутри которых ключ обязан быть уникальным.
|
|
15185
|
+
* Область — это то, относительно чего ключ разрешается, а не весь граф целиком: развёрнутое из
|
|
15186
|
+
* определения поддерево принадлежит своему инстансу, потому что игровой код спрашивает такой ключ
|
|
15187
|
+
* у конкретного инстанса (`materializedPrefabNodeId`), а не у сцены. Иначе пресет с ключом внутри
|
|
15188
|
+
* нельзя было бы разместить на сцене дважды: второй инстанс тиражировал бы тот же ключ.
|
|
15189
|
+
*
|
|
15190
|
+
* Локально добавленный узел попадает сразу в две области: он существует в единственном экземпляре и
|
|
15191
|
+
* авторится на сцене, поэтому участвует в области владельца, но живёт внутри инстанса, поэтому не
|
|
15192
|
+
* должен сталкиваться с унаследованными ключами того же инстанса.
|
|
15193
|
+
*/
|
|
15194
|
+
export declare function collectBindingKeyScopes(graph: {
|
|
15195
|
+
readonly nodes: readonly UINode[];
|
|
15196
|
+
readonly origins: ReadonlyMap<string, MaterializedPrefabNodeOrigin>;
|
|
15197
|
+
}): Map<string, UINode[]>;
|
|
13509
15198
|
export declare function collectEffectAssetIds(effect: EffectDefinition): string[];
|
|
13510
15199
|
export declare function validateProjectDocument(input: unknown): ValidationResult;
|
|
13511
15200
|
export declare function assertProjectDocument(input: unknown): asserts input is ProjectDocument;
|
|
13512
15201
|
export declare function migrateProjectDocument(input: unknown): ProjectDocument;
|
|
13513
15202
|
export declare function serializeProjectDocument(document: ProjectDocument): string;
|
|
13514
15203
|
export * from "./assetPaths.js";
|
|
15204
|
+
export * from "./localization.js";
|
|
13515
15205
|
export * from "./manifest.js";
|
|
13516
15206
|
export * from "./prefabs.js";
|
|
13517
15207
|
//# sourceMappingURL=index.d.ts.map
|