@pixi-ui-editor/schema 0.2.0 → 0.3.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 +532 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +40 -11
- package/dist/index.js.map +1 -1
- package/dist/index.test.js +51 -0
- package/dist/index.test.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Static } from "@sinclair/typebox";
|
|
2
|
-
export declare const CURRENT_SCHEMA_VERSION:
|
|
2
|
+
export declare const CURRENT_SCHEMA_VERSION: 19;
|
|
3
3
|
export declare const LayoutProfileIdSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"desktop">, import("@sinclair/typebox").TLiteral<"mobile">]>;
|
|
4
4
|
export type LayoutProfileId = Static<typeof LayoutProfileIdSchema>;
|
|
5
5
|
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">]>;
|
|
@@ -690,7 +690,7 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
690
690
|
}>>;
|
|
691
691
|
binding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
692
692
|
type: import("@sinclair/typebox").TLiteral<"image">;
|
|
693
|
-
assetId: import("@sinclair/typebox").TString
|
|
693
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
694
694
|
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
695
695
|
}>, import("@sinclair/typebox").TObject<{
|
|
696
696
|
id: import("@sinclair/typebox").TString;
|
|
@@ -780,6 +780,44 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
780
780
|
width: import("@sinclair/typebox").TNumber;
|
|
781
781
|
}>>;
|
|
782
782
|
}>>;
|
|
783
|
+
textStyleOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
784
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
785
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
786
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
787
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
788
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
789
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
790
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
791
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
792
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
793
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
794
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
795
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
796
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
797
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
798
|
+
color: import("@sinclair/typebox").TString;
|
|
799
|
+
width: import("@sinclair/typebox").TNumber;
|
|
800
|
+
}>>;
|
|
801
|
+
}>>;
|
|
802
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
803
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
804
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
805
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
806
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
807
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
808
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
809
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
810
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
811
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
812
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
813
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
814
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
815
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
816
|
+
color: import("@sinclair/typebox").TString;
|
|
817
|
+
width: import("@sinclair/typebox").TNumber;
|
|
818
|
+
}>>;
|
|
819
|
+
}>>;
|
|
820
|
+
}>>;
|
|
783
821
|
}>, import("@sinclair/typebox").TObject<{
|
|
784
822
|
id: import("@sinclair/typebox").TString;
|
|
785
823
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -854,6 +892,20 @@ export declare const UINodeSchema: import("@sinclair/typebox").TRecursive<import
|
|
|
854
892
|
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
855
893
|
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
856
894
|
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
895
|
+
spineOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
896
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
897
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
898
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
899
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
900
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
901
|
+
}>>;
|
|
902
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
903
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
904
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
905
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
906
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
907
|
+
}>>;
|
|
908
|
+
}>>;
|
|
857
909
|
}>, import("@sinclair/typebox").TObject<{
|
|
858
910
|
id: import("@sinclair/typebox").TString;
|
|
859
911
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -1967,7 +2019,7 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
1967
2019
|
}>>;
|
|
1968
2020
|
binding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1969
2021
|
type: import("@sinclair/typebox").TLiteral<"image">;
|
|
1970
|
-
assetId: import("@sinclair/typebox").TString
|
|
2022
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1971
2023
|
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1972
2024
|
}>, import("@sinclair/typebox").TObject<{
|
|
1973
2025
|
id: import("@sinclair/typebox").TString;
|
|
@@ -2057,6 +2109,44 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2057
2109
|
width: import("@sinclair/typebox").TNumber;
|
|
2058
2110
|
}>>;
|
|
2059
2111
|
}>>;
|
|
2112
|
+
textStyleOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2113
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2114
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2115
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2116
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2117
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
2118
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
2119
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2120
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
2121
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
2122
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2123
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2124
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2125
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2126
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2127
|
+
color: import("@sinclair/typebox").TString;
|
|
2128
|
+
width: import("@sinclair/typebox").TNumber;
|
|
2129
|
+
}>>;
|
|
2130
|
+
}>>;
|
|
2131
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2132
|
+
fontAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2133
|
+
fontFamily: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2134
|
+
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2135
|
+
fontWeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"bold">]>>;
|
|
2136
|
+
fontStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"normal">, import("@sinclair/typebox").TLiteral<"italic">]>>;
|
|
2137
|
+
fill: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2138
|
+
align: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">, import("@sinclair/typebox").TLiteral<"justify">]>>;
|
|
2139
|
+
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"top">, import("@sinclair/typebox").TLiteral<"middle">, import("@sinclair/typebox").TLiteral<"bottom">]>>;
|
|
2140
|
+
wordWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2141
|
+
breakWords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2142
|
+
lineHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2143
|
+
letterSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2144
|
+
stroke: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2145
|
+
color: import("@sinclair/typebox").TString;
|
|
2146
|
+
width: import("@sinclair/typebox").TNumber;
|
|
2147
|
+
}>>;
|
|
2148
|
+
}>>;
|
|
2149
|
+
}>>;
|
|
2060
2150
|
}>, import("@sinclair/typebox").TObject<{
|
|
2061
2151
|
id: import("@sinclair/typebox").TString;
|
|
2062
2152
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -2131,6 +2221,20 @@ export declare const LocallyAddedNodeSchema: import("@sinclair/typebox").TRecurs
|
|
|
2131
2221
|
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2132
2222
|
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2133
2223
|
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2224
|
+
spineOverrides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2225
|
+
desktop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2226
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
2227
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2228
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2229
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2230
|
+
}>>;
|
|
2231
|
+
mobile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2232
|
+
animation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
2233
|
+
autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2234
|
+
loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
2235
|
+
animationSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
2236
|
+
}>>;
|
|
2237
|
+
}>>;
|
|
2134
2238
|
}>, import("@sinclair/typebox").TObject<{
|
|
2135
2239
|
id: import("@sinclair/typebox").TString;
|
|
2136
2240
|
parentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>, import("@sinclair/typebox").TNull]>;
|
|
@@ -3250,6 +3354,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3250
3354
|
flexShrink: number;
|
|
3251
3355
|
} | undefined;
|
|
3252
3356
|
binding?: string | undefined;
|
|
3357
|
+
assetId?: string | undefined;
|
|
3253
3358
|
opacity?: number | undefined;
|
|
3254
3359
|
id: string;
|
|
3255
3360
|
type: "image";
|
|
@@ -3272,7 +3377,6 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3272
3377
|
scaleY: number;
|
|
3273
3378
|
rotation: number;
|
|
3274
3379
|
};
|
|
3275
|
-
assetId: string;
|
|
3276
3380
|
} | {
|
|
3277
3381
|
editorOnly?: boolean | undefined;
|
|
3278
3382
|
locked?: boolean | undefined;
|
|
@@ -3339,6 +3443,44 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3339
3443
|
breakWords: boolean;
|
|
3340
3444
|
letterSpacing: number;
|
|
3341
3445
|
} | undefined;
|
|
3446
|
+
textStyleOverrides?: {
|
|
3447
|
+
desktop?: {
|
|
3448
|
+
fontAssetId?: string | undefined;
|
|
3449
|
+
fontFamily?: string | undefined;
|
|
3450
|
+
fontSize?: number | undefined;
|
|
3451
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
3452
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
3453
|
+
fill?: string | undefined;
|
|
3454
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
3455
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
3456
|
+
wordWrap?: boolean | undefined;
|
|
3457
|
+
breakWords?: boolean | undefined;
|
|
3458
|
+
lineHeight?: number | undefined;
|
|
3459
|
+
letterSpacing?: number | undefined;
|
|
3460
|
+
stroke?: {
|
|
3461
|
+
width: number;
|
|
3462
|
+
color: string;
|
|
3463
|
+
} | undefined;
|
|
3464
|
+
} | undefined;
|
|
3465
|
+
mobile?: {
|
|
3466
|
+
fontAssetId?: string | undefined;
|
|
3467
|
+
fontFamily?: string | undefined;
|
|
3468
|
+
fontSize?: number | undefined;
|
|
3469
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
3470
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
3471
|
+
fill?: string | undefined;
|
|
3472
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
3473
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
3474
|
+
wordWrap?: boolean | undefined;
|
|
3475
|
+
breakWords?: boolean | undefined;
|
|
3476
|
+
lineHeight?: number | undefined;
|
|
3477
|
+
letterSpacing?: number | undefined;
|
|
3478
|
+
stroke?: {
|
|
3479
|
+
width: number;
|
|
3480
|
+
color: string;
|
|
3481
|
+
} | undefined;
|
|
3482
|
+
} | undefined;
|
|
3483
|
+
} | undefined;
|
|
3342
3484
|
id: string;
|
|
3343
3485
|
type: "text";
|
|
3344
3486
|
parentId: string | null;
|
|
@@ -3413,6 +3555,20 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
3413
3555
|
autoplay?: boolean | undefined;
|
|
3414
3556
|
loop?: boolean | undefined;
|
|
3415
3557
|
animationSpeed?: number | undefined;
|
|
3558
|
+
spineOverrides?: {
|
|
3559
|
+
desktop?: {
|
|
3560
|
+
animation?: string | null | undefined;
|
|
3561
|
+
autoplay?: boolean | undefined;
|
|
3562
|
+
loop?: boolean | undefined;
|
|
3563
|
+
animationSpeed?: number | undefined;
|
|
3564
|
+
} | undefined;
|
|
3565
|
+
mobile?: {
|
|
3566
|
+
animation?: string | null | undefined;
|
|
3567
|
+
autoplay?: boolean | undefined;
|
|
3568
|
+
loop?: boolean | undefined;
|
|
3569
|
+
animationSpeed?: number | undefined;
|
|
3570
|
+
} | undefined;
|
|
3571
|
+
} | undefined;
|
|
3416
3572
|
id: string;
|
|
3417
3573
|
type: "spine";
|
|
3418
3574
|
parentId: string | null;
|
|
@@ -4018,6 +4174,7 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4018
4174
|
flexShrink: number;
|
|
4019
4175
|
} | undefined;
|
|
4020
4176
|
binding?: string | undefined;
|
|
4177
|
+
assetId?: string | undefined;
|
|
4021
4178
|
opacity?: number | undefined;
|
|
4022
4179
|
id: string;
|
|
4023
4180
|
type: "image";
|
|
@@ -4040,7 +4197,6 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4040
4197
|
scaleY: number;
|
|
4041
4198
|
rotation: number;
|
|
4042
4199
|
};
|
|
4043
|
-
assetId: string;
|
|
4044
4200
|
} | {
|
|
4045
4201
|
editorOnly?: boolean | undefined;
|
|
4046
4202
|
locked?: boolean | undefined;
|
|
@@ -4107,6 +4263,44 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4107
4263
|
breakWords: boolean;
|
|
4108
4264
|
letterSpacing: number;
|
|
4109
4265
|
} | undefined;
|
|
4266
|
+
textStyleOverrides?: {
|
|
4267
|
+
desktop?: {
|
|
4268
|
+
fontAssetId?: string | undefined;
|
|
4269
|
+
fontFamily?: string | undefined;
|
|
4270
|
+
fontSize?: number | undefined;
|
|
4271
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
4272
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
4273
|
+
fill?: string | undefined;
|
|
4274
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
4275
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
4276
|
+
wordWrap?: boolean | undefined;
|
|
4277
|
+
breakWords?: boolean | undefined;
|
|
4278
|
+
lineHeight?: number | undefined;
|
|
4279
|
+
letterSpacing?: number | undefined;
|
|
4280
|
+
stroke?: {
|
|
4281
|
+
width: number;
|
|
4282
|
+
color: string;
|
|
4283
|
+
} | undefined;
|
|
4284
|
+
} | undefined;
|
|
4285
|
+
mobile?: {
|
|
4286
|
+
fontAssetId?: string | undefined;
|
|
4287
|
+
fontFamily?: string | undefined;
|
|
4288
|
+
fontSize?: number | undefined;
|
|
4289
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
4290
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
4291
|
+
fill?: string | undefined;
|
|
4292
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
4293
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
4294
|
+
wordWrap?: boolean | undefined;
|
|
4295
|
+
breakWords?: boolean | undefined;
|
|
4296
|
+
lineHeight?: number | undefined;
|
|
4297
|
+
letterSpacing?: number | undefined;
|
|
4298
|
+
stroke?: {
|
|
4299
|
+
width: number;
|
|
4300
|
+
color: string;
|
|
4301
|
+
} | undefined;
|
|
4302
|
+
} | undefined;
|
|
4303
|
+
} | undefined;
|
|
4110
4304
|
id: string;
|
|
4111
4305
|
type: "text";
|
|
4112
4306
|
parentId: string | null;
|
|
@@ -4181,6 +4375,20 @@ export declare const SceneSchema: import("@sinclair/typebox").TObject<{
|
|
|
4181
4375
|
autoplay?: boolean | undefined;
|
|
4182
4376
|
loop?: boolean | undefined;
|
|
4183
4377
|
animationSpeed?: number | undefined;
|
|
4378
|
+
spineOverrides?: {
|
|
4379
|
+
desktop?: {
|
|
4380
|
+
animation?: string | null | undefined;
|
|
4381
|
+
autoplay?: boolean | undefined;
|
|
4382
|
+
loop?: boolean | undefined;
|
|
4383
|
+
animationSpeed?: number | undefined;
|
|
4384
|
+
} | undefined;
|
|
4385
|
+
mobile?: {
|
|
4386
|
+
animation?: string | null | undefined;
|
|
4387
|
+
autoplay?: boolean | undefined;
|
|
4388
|
+
loop?: boolean | undefined;
|
|
4389
|
+
animationSpeed?: number | undefined;
|
|
4390
|
+
} | undefined;
|
|
4391
|
+
} | undefined;
|
|
4184
4392
|
id: string;
|
|
4185
4393
|
type: "spine";
|
|
4186
4394
|
parentId: string | null;
|
|
@@ -5837,6 +6045,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5837
6045
|
flexShrink: number;
|
|
5838
6046
|
} | undefined;
|
|
5839
6047
|
binding?: string | undefined;
|
|
6048
|
+
assetId?: string | undefined;
|
|
5840
6049
|
opacity?: number | undefined;
|
|
5841
6050
|
id: string;
|
|
5842
6051
|
type: "image";
|
|
@@ -5859,7 +6068,6 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5859
6068
|
scaleY: number;
|
|
5860
6069
|
rotation: number;
|
|
5861
6070
|
};
|
|
5862
|
-
assetId: string;
|
|
5863
6071
|
} | {
|
|
5864
6072
|
editorOnly?: boolean | undefined;
|
|
5865
6073
|
locked?: boolean | undefined;
|
|
@@ -5926,6 +6134,44 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
5926
6134
|
breakWords: boolean;
|
|
5927
6135
|
letterSpacing: number;
|
|
5928
6136
|
} | undefined;
|
|
6137
|
+
textStyleOverrides?: {
|
|
6138
|
+
desktop?: {
|
|
6139
|
+
fontAssetId?: string | undefined;
|
|
6140
|
+
fontFamily?: string | undefined;
|
|
6141
|
+
fontSize?: number | undefined;
|
|
6142
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
6143
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
6144
|
+
fill?: string | undefined;
|
|
6145
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
6146
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
6147
|
+
wordWrap?: boolean | undefined;
|
|
6148
|
+
breakWords?: boolean | undefined;
|
|
6149
|
+
lineHeight?: number | undefined;
|
|
6150
|
+
letterSpacing?: number | undefined;
|
|
6151
|
+
stroke?: {
|
|
6152
|
+
width: number;
|
|
6153
|
+
color: string;
|
|
6154
|
+
} | undefined;
|
|
6155
|
+
} | undefined;
|
|
6156
|
+
mobile?: {
|
|
6157
|
+
fontAssetId?: string | undefined;
|
|
6158
|
+
fontFamily?: string | undefined;
|
|
6159
|
+
fontSize?: number | undefined;
|
|
6160
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
6161
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
6162
|
+
fill?: string | undefined;
|
|
6163
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
6164
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
6165
|
+
wordWrap?: boolean | undefined;
|
|
6166
|
+
breakWords?: boolean | undefined;
|
|
6167
|
+
lineHeight?: number | undefined;
|
|
6168
|
+
letterSpacing?: number | undefined;
|
|
6169
|
+
stroke?: {
|
|
6170
|
+
width: number;
|
|
6171
|
+
color: string;
|
|
6172
|
+
} | undefined;
|
|
6173
|
+
} | undefined;
|
|
6174
|
+
} | undefined;
|
|
5929
6175
|
id: string;
|
|
5930
6176
|
type: "text";
|
|
5931
6177
|
parentId: string | null;
|
|
@@ -6000,6 +6246,20 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6000
6246
|
autoplay?: boolean | undefined;
|
|
6001
6247
|
loop?: boolean | undefined;
|
|
6002
6248
|
animationSpeed?: number | undefined;
|
|
6249
|
+
spineOverrides?: {
|
|
6250
|
+
desktop?: {
|
|
6251
|
+
animation?: string | null | undefined;
|
|
6252
|
+
autoplay?: boolean | undefined;
|
|
6253
|
+
loop?: boolean | undefined;
|
|
6254
|
+
animationSpeed?: number | undefined;
|
|
6255
|
+
} | undefined;
|
|
6256
|
+
mobile?: {
|
|
6257
|
+
animation?: string | null | undefined;
|
|
6258
|
+
autoplay?: boolean | undefined;
|
|
6259
|
+
loop?: boolean | undefined;
|
|
6260
|
+
animationSpeed?: number | undefined;
|
|
6261
|
+
} | undefined;
|
|
6262
|
+
} | undefined;
|
|
6003
6263
|
id: string;
|
|
6004
6264
|
type: "spine";
|
|
6005
6265
|
parentId: string | null;
|
|
@@ -6605,6 +6865,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6605
6865
|
flexShrink: number;
|
|
6606
6866
|
} | undefined;
|
|
6607
6867
|
binding?: string | undefined;
|
|
6868
|
+
assetId?: string | undefined;
|
|
6608
6869
|
opacity?: number | undefined;
|
|
6609
6870
|
id: string;
|
|
6610
6871
|
type: "image";
|
|
@@ -6627,7 +6888,6 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6627
6888
|
scaleY: number;
|
|
6628
6889
|
rotation: number;
|
|
6629
6890
|
};
|
|
6630
|
-
assetId: string;
|
|
6631
6891
|
} | {
|
|
6632
6892
|
editorOnly?: boolean | undefined;
|
|
6633
6893
|
locked?: boolean | undefined;
|
|
@@ -6694,6 +6954,44 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6694
6954
|
breakWords: boolean;
|
|
6695
6955
|
letterSpacing: number;
|
|
6696
6956
|
} | undefined;
|
|
6957
|
+
textStyleOverrides?: {
|
|
6958
|
+
desktop?: {
|
|
6959
|
+
fontAssetId?: string | undefined;
|
|
6960
|
+
fontFamily?: string | undefined;
|
|
6961
|
+
fontSize?: number | undefined;
|
|
6962
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
6963
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
6964
|
+
fill?: string | undefined;
|
|
6965
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
6966
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
6967
|
+
wordWrap?: boolean | undefined;
|
|
6968
|
+
breakWords?: boolean | undefined;
|
|
6969
|
+
lineHeight?: number | undefined;
|
|
6970
|
+
letterSpacing?: number | undefined;
|
|
6971
|
+
stroke?: {
|
|
6972
|
+
width: number;
|
|
6973
|
+
color: string;
|
|
6974
|
+
} | undefined;
|
|
6975
|
+
} | undefined;
|
|
6976
|
+
mobile?: {
|
|
6977
|
+
fontAssetId?: string | undefined;
|
|
6978
|
+
fontFamily?: string | undefined;
|
|
6979
|
+
fontSize?: number | undefined;
|
|
6980
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
6981
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
6982
|
+
fill?: string | undefined;
|
|
6983
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
6984
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
6985
|
+
wordWrap?: boolean | undefined;
|
|
6986
|
+
breakWords?: boolean | undefined;
|
|
6987
|
+
lineHeight?: number | undefined;
|
|
6988
|
+
letterSpacing?: number | undefined;
|
|
6989
|
+
stroke?: {
|
|
6990
|
+
width: number;
|
|
6991
|
+
color: string;
|
|
6992
|
+
} | undefined;
|
|
6993
|
+
} | undefined;
|
|
6994
|
+
} | undefined;
|
|
6697
6995
|
id: string;
|
|
6698
6996
|
type: "text";
|
|
6699
6997
|
parentId: string | null;
|
|
@@ -6768,6 +7066,20 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
6768
7066
|
autoplay?: boolean | undefined;
|
|
6769
7067
|
loop?: boolean | undefined;
|
|
6770
7068
|
animationSpeed?: number | undefined;
|
|
7069
|
+
spineOverrides?: {
|
|
7070
|
+
desktop?: {
|
|
7071
|
+
animation?: string | null | undefined;
|
|
7072
|
+
autoplay?: boolean | undefined;
|
|
7073
|
+
loop?: boolean | undefined;
|
|
7074
|
+
animationSpeed?: number | undefined;
|
|
7075
|
+
} | undefined;
|
|
7076
|
+
mobile?: {
|
|
7077
|
+
animation?: string | null | undefined;
|
|
7078
|
+
autoplay?: boolean | undefined;
|
|
7079
|
+
loop?: boolean | undefined;
|
|
7080
|
+
animationSpeed?: number | undefined;
|
|
7081
|
+
} | undefined;
|
|
7082
|
+
} | undefined;
|
|
6771
7083
|
id: string;
|
|
6772
7084
|
type: "spine";
|
|
6773
7085
|
parentId: string | null;
|
|
@@ -7830,7 +8142,7 @@ export declare const PrefabDefinitionSchema: import("@sinclair/typebox").TObject
|
|
|
7830
8142
|
}>;
|
|
7831
8143
|
export type PrefabDefinition = Static<typeof PrefabDefinitionSchema>;
|
|
7832
8144
|
export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<{
|
|
7833
|
-
schemaVersion: import("@sinclair/typebox").TLiteral<
|
|
8145
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<19>;
|
|
7834
8146
|
project: import("@sinclair/typebox").TObject<{
|
|
7835
8147
|
id: import("@sinclair/typebox").TString;
|
|
7836
8148
|
name: import("@sinclair/typebox").TString;
|
|
@@ -8481,6 +8793,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8481
8793
|
flexShrink: number;
|
|
8482
8794
|
} | undefined;
|
|
8483
8795
|
binding?: string | undefined;
|
|
8796
|
+
assetId?: string | undefined;
|
|
8484
8797
|
opacity?: number | undefined;
|
|
8485
8798
|
id: string;
|
|
8486
8799
|
type: "image";
|
|
@@ -8503,7 +8816,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8503
8816
|
scaleY: number;
|
|
8504
8817
|
rotation: number;
|
|
8505
8818
|
};
|
|
8506
|
-
assetId: string;
|
|
8507
8819
|
} | {
|
|
8508
8820
|
editorOnly?: boolean | undefined;
|
|
8509
8821
|
locked?: boolean | undefined;
|
|
@@ -8570,6 +8882,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8570
8882
|
breakWords: boolean;
|
|
8571
8883
|
letterSpacing: number;
|
|
8572
8884
|
} | undefined;
|
|
8885
|
+
textStyleOverrides?: {
|
|
8886
|
+
desktop?: {
|
|
8887
|
+
fontAssetId?: string | undefined;
|
|
8888
|
+
fontFamily?: string | undefined;
|
|
8889
|
+
fontSize?: number | undefined;
|
|
8890
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
8891
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
8892
|
+
fill?: string | undefined;
|
|
8893
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
8894
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
8895
|
+
wordWrap?: boolean | undefined;
|
|
8896
|
+
breakWords?: boolean | undefined;
|
|
8897
|
+
lineHeight?: number | undefined;
|
|
8898
|
+
letterSpacing?: number | undefined;
|
|
8899
|
+
stroke?: {
|
|
8900
|
+
width: number;
|
|
8901
|
+
color: string;
|
|
8902
|
+
} | undefined;
|
|
8903
|
+
} | undefined;
|
|
8904
|
+
mobile?: {
|
|
8905
|
+
fontAssetId?: string | undefined;
|
|
8906
|
+
fontFamily?: string | undefined;
|
|
8907
|
+
fontSize?: number | undefined;
|
|
8908
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
8909
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
8910
|
+
fill?: string | undefined;
|
|
8911
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
8912
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
8913
|
+
wordWrap?: boolean | undefined;
|
|
8914
|
+
breakWords?: boolean | undefined;
|
|
8915
|
+
lineHeight?: number | undefined;
|
|
8916
|
+
letterSpacing?: number | undefined;
|
|
8917
|
+
stroke?: {
|
|
8918
|
+
width: number;
|
|
8919
|
+
color: string;
|
|
8920
|
+
} | undefined;
|
|
8921
|
+
} | undefined;
|
|
8922
|
+
} | undefined;
|
|
8573
8923
|
id: string;
|
|
8574
8924
|
type: "text";
|
|
8575
8925
|
parentId: string | null;
|
|
@@ -8644,6 +8994,20 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
8644
8994
|
autoplay?: boolean | undefined;
|
|
8645
8995
|
loop?: boolean | undefined;
|
|
8646
8996
|
animationSpeed?: number | undefined;
|
|
8997
|
+
spineOverrides?: {
|
|
8998
|
+
desktop?: {
|
|
8999
|
+
animation?: string | null | undefined;
|
|
9000
|
+
autoplay?: boolean | undefined;
|
|
9001
|
+
loop?: boolean | undefined;
|
|
9002
|
+
animationSpeed?: number | undefined;
|
|
9003
|
+
} | undefined;
|
|
9004
|
+
mobile?: {
|
|
9005
|
+
animation?: string | null | undefined;
|
|
9006
|
+
autoplay?: boolean | undefined;
|
|
9007
|
+
loop?: boolean | undefined;
|
|
9008
|
+
animationSpeed?: number | undefined;
|
|
9009
|
+
} | undefined;
|
|
9010
|
+
} | undefined;
|
|
8647
9011
|
id: string;
|
|
8648
9012
|
type: "spine";
|
|
8649
9013
|
parentId: string | null;
|
|
@@ -9249,6 +9613,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9249
9613
|
flexShrink: number;
|
|
9250
9614
|
} | undefined;
|
|
9251
9615
|
binding?: string | undefined;
|
|
9616
|
+
assetId?: string | undefined;
|
|
9252
9617
|
opacity?: number | undefined;
|
|
9253
9618
|
id: string;
|
|
9254
9619
|
type: "image";
|
|
@@ -9271,7 +9636,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9271
9636
|
scaleY: number;
|
|
9272
9637
|
rotation: number;
|
|
9273
9638
|
};
|
|
9274
|
-
assetId: string;
|
|
9275
9639
|
} | {
|
|
9276
9640
|
editorOnly?: boolean | undefined;
|
|
9277
9641
|
locked?: boolean | undefined;
|
|
@@ -9338,6 +9702,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9338
9702
|
breakWords: boolean;
|
|
9339
9703
|
letterSpacing: number;
|
|
9340
9704
|
} | undefined;
|
|
9705
|
+
textStyleOverrides?: {
|
|
9706
|
+
desktop?: {
|
|
9707
|
+
fontAssetId?: string | undefined;
|
|
9708
|
+
fontFamily?: string | undefined;
|
|
9709
|
+
fontSize?: number | undefined;
|
|
9710
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
9711
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
9712
|
+
fill?: string | undefined;
|
|
9713
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
9714
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
9715
|
+
wordWrap?: boolean | undefined;
|
|
9716
|
+
breakWords?: boolean | undefined;
|
|
9717
|
+
lineHeight?: number | undefined;
|
|
9718
|
+
letterSpacing?: number | undefined;
|
|
9719
|
+
stroke?: {
|
|
9720
|
+
width: number;
|
|
9721
|
+
color: string;
|
|
9722
|
+
} | undefined;
|
|
9723
|
+
} | undefined;
|
|
9724
|
+
mobile?: {
|
|
9725
|
+
fontAssetId?: string | undefined;
|
|
9726
|
+
fontFamily?: string | undefined;
|
|
9727
|
+
fontSize?: number | undefined;
|
|
9728
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
9729
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
9730
|
+
fill?: string | undefined;
|
|
9731
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
9732
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
9733
|
+
wordWrap?: boolean | undefined;
|
|
9734
|
+
breakWords?: boolean | undefined;
|
|
9735
|
+
lineHeight?: number | undefined;
|
|
9736
|
+
letterSpacing?: number | undefined;
|
|
9737
|
+
stroke?: {
|
|
9738
|
+
width: number;
|
|
9739
|
+
color: string;
|
|
9740
|
+
} | undefined;
|
|
9741
|
+
} | undefined;
|
|
9742
|
+
} | undefined;
|
|
9341
9743
|
id: string;
|
|
9342
9744
|
type: "text";
|
|
9343
9745
|
parentId: string | null;
|
|
@@ -9412,6 +9814,20 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
9412
9814
|
autoplay?: boolean | undefined;
|
|
9413
9815
|
loop?: boolean | undefined;
|
|
9414
9816
|
animationSpeed?: number | undefined;
|
|
9817
|
+
spineOverrides?: {
|
|
9818
|
+
desktop?: {
|
|
9819
|
+
animation?: string | null | undefined;
|
|
9820
|
+
autoplay?: boolean | undefined;
|
|
9821
|
+
loop?: boolean | undefined;
|
|
9822
|
+
animationSpeed?: number | undefined;
|
|
9823
|
+
} | undefined;
|
|
9824
|
+
mobile?: {
|
|
9825
|
+
animation?: string | null | undefined;
|
|
9826
|
+
autoplay?: boolean | undefined;
|
|
9827
|
+
loop?: boolean | undefined;
|
|
9828
|
+
animationSpeed?: number | undefined;
|
|
9829
|
+
} | undefined;
|
|
9830
|
+
} | undefined;
|
|
9415
9831
|
id: string;
|
|
9416
9832
|
type: "spine";
|
|
9417
9833
|
parentId: string | null;
|
|
@@ -10956,6 +11372,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10956
11372
|
flexShrink: number;
|
|
10957
11373
|
} | undefined;
|
|
10958
11374
|
binding?: string | undefined;
|
|
11375
|
+
assetId?: string | undefined;
|
|
10959
11376
|
opacity?: number | undefined;
|
|
10960
11377
|
id: string;
|
|
10961
11378
|
type: "image";
|
|
@@ -10978,7 +11395,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
10978
11395
|
scaleY: number;
|
|
10979
11396
|
rotation: number;
|
|
10980
11397
|
};
|
|
10981
|
-
assetId: string;
|
|
10982
11398
|
} | {
|
|
10983
11399
|
editorOnly?: boolean | undefined;
|
|
10984
11400
|
locked?: boolean | undefined;
|
|
@@ -11045,6 +11461,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11045
11461
|
breakWords: boolean;
|
|
11046
11462
|
letterSpacing: number;
|
|
11047
11463
|
} | undefined;
|
|
11464
|
+
textStyleOverrides?: {
|
|
11465
|
+
desktop?: {
|
|
11466
|
+
fontAssetId?: string | undefined;
|
|
11467
|
+
fontFamily?: string | undefined;
|
|
11468
|
+
fontSize?: number | undefined;
|
|
11469
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
11470
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
11471
|
+
fill?: string | undefined;
|
|
11472
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
11473
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
11474
|
+
wordWrap?: boolean | undefined;
|
|
11475
|
+
breakWords?: boolean | undefined;
|
|
11476
|
+
lineHeight?: number | undefined;
|
|
11477
|
+
letterSpacing?: number | undefined;
|
|
11478
|
+
stroke?: {
|
|
11479
|
+
width: number;
|
|
11480
|
+
color: string;
|
|
11481
|
+
} | undefined;
|
|
11482
|
+
} | undefined;
|
|
11483
|
+
mobile?: {
|
|
11484
|
+
fontAssetId?: string | undefined;
|
|
11485
|
+
fontFamily?: string | undefined;
|
|
11486
|
+
fontSize?: number | undefined;
|
|
11487
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
11488
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
11489
|
+
fill?: string | undefined;
|
|
11490
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
11491
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
11492
|
+
wordWrap?: boolean | undefined;
|
|
11493
|
+
breakWords?: boolean | undefined;
|
|
11494
|
+
lineHeight?: number | undefined;
|
|
11495
|
+
letterSpacing?: number | undefined;
|
|
11496
|
+
stroke?: {
|
|
11497
|
+
width: number;
|
|
11498
|
+
color: string;
|
|
11499
|
+
} | undefined;
|
|
11500
|
+
} | undefined;
|
|
11501
|
+
} | undefined;
|
|
11048
11502
|
id: string;
|
|
11049
11503
|
type: "text";
|
|
11050
11504
|
parentId: string | null;
|
|
@@ -11119,6 +11573,20 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11119
11573
|
autoplay?: boolean | undefined;
|
|
11120
11574
|
loop?: boolean | undefined;
|
|
11121
11575
|
animationSpeed?: number | undefined;
|
|
11576
|
+
spineOverrides?: {
|
|
11577
|
+
desktop?: {
|
|
11578
|
+
animation?: string | null | undefined;
|
|
11579
|
+
autoplay?: boolean | undefined;
|
|
11580
|
+
loop?: boolean | undefined;
|
|
11581
|
+
animationSpeed?: number | undefined;
|
|
11582
|
+
} | undefined;
|
|
11583
|
+
mobile?: {
|
|
11584
|
+
animation?: string | null | undefined;
|
|
11585
|
+
autoplay?: boolean | undefined;
|
|
11586
|
+
loop?: boolean | undefined;
|
|
11587
|
+
animationSpeed?: number | undefined;
|
|
11588
|
+
} | undefined;
|
|
11589
|
+
} | undefined;
|
|
11122
11590
|
id: string;
|
|
11123
11591
|
type: "spine";
|
|
11124
11592
|
parentId: string | null;
|
|
@@ -11724,6 +12192,7 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11724
12192
|
flexShrink: number;
|
|
11725
12193
|
} | undefined;
|
|
11726
12194
|
binding?: string | undefined;
|
|
12195
|
+
assetId?: string | undefined;
|
|
11727
12196
|
opacity?: number | undefined;
|
|
11728
12197
|
id: string;
|
|
11729
12198
|
type: "image";
|
|
@@ -11746,7 +12215,6 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11746
12215
|
scaleY: number;
|
|
11747
12216
|
rotation: number;
|
|
11748
12217
|
};
|
|
11749
|
-
assetId: string;
|
|
11750
12218
|
} | {
|
|
11751
12219
|
editorOnly?: boolean | undefined;
|
|
11752
12220
|
locked?: boolean | undefined;
|
|
@@ -11813,6 +12281,44 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11813
12281
|
breakWords: boolean;
|
|
11814
12282
|
letterSpacing: number;
|
|
11815
12283
|
} | undefined;
|
|
12284
|
+
textStyleOverrides?: {
|
|
12285
|
+
desktop?: {
|
|
12286
|
+
fontAssetId?: string | undefined;
|
|
12287
|
+
fontFamily?: string | undefined;
|
|
12288
|
+
fontSize?: number | undefined;
|
|
12289
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
12290
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
12291
|
+
fill?: string | undefined;
|
|
12292
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
12293
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
12294
|
+
wordWrap?: boolean | undefined;
|
|
12295
|
+
breakWords?: boolean | undefined;
|
|
12296
|
+
lineHeight?: number | undefined;
|
|
12297
|
+
letterSpacing?: number | undefined;
|
|
12298
|
+
stroke?: {
|
|
12299
|
+
width: number;
|
|
12300
|
+
color: string;
|
|
12301
|
+
} | undefined;
|
|
12302
|
+
} | undefined;
|
|
12303
|
+
mobile?: {
|
|
12304
|
+
fontAssetId?: string | undefined;
|
|
12305
|
+
fontFamily?: string | undefined;
|
|
12306
|
+
fontSize?: number | undefined;
|
|
12307
|
+
fontWeight?: "normal" | "bold" | undefined;
|
|
12308
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
12309
|
+
fill?: string | undefined;
|
|
12310
|
+
align?: "center" | "left" | "right" | "justify" | undefined;
|
|
12311
|
+
verticalAlign?: "top" | "bottom" | "middle" | undefined;
|
|
12312
|
+
wordWrap?: boolean | undefined;
|
|
12313
|
+
breakWords?: boolean | undefined;
|
|
12314
|
+
lineHeight?: number | undefined;
|
|
12315
|
+
letterSpacing?: number | undefined;
|
|
12316
|
+
stroke?: {
|
|
12317
|
+
width: number;
|
|
12318
|
+
color: string;
|
|
12319
|
+
} | undefined;
|
|
12320
|
+
} | undefined;
|
|
12321
|
+
} | undefined;
|
|
11816
12322
|
id: string;
|
|
11817
12323
|
type: "text";
|
|
11818
12324
|
parentId: string | null;
|
|
@@ -11887,6 +12393,20 @@ export declare const ProjectDocumentSchema: import("@sinclair/typebox").TObject<
|
|
|
11887
12393
|
autoplay?: boolean | undefined;
|
|
11888
12394
|
loop?: boolean | undefined;
|
|
11889
12395
|
animationSpeed?: number | undefined;
|
|
12396
|
+
spineOverrides?: {
|
|
12397
|
+
desktop?: {
|
|
12398
|
+
animation?: string | null | undefined;
|
|
12399
|
+
autoplay?: boolean | undefined;
|
|
12400
|
+
loop?: boolean | undefined;
|
|
12401
|
+
animationSpeed?: number | undefined;
|
|
12402
|
+
} | undefined;
|
|
12403
|
+
mobile?: {
|
|
12404
|
+
animation?: string | null | undefined;
|
|
12405
|
+
autoplay?: boolean | undefined;
|
|
12406
|
+
loop?: boolean | undefined;
|
|
12407
|
+
animationSpeed?: number | undefined;
|
|
12408
|
+
} | undefined;
|
|
12409
|
+
} | undefined;
|
|
11890
12410
|
id: string;
|
|
11891
12411
|
type: "spine";
|
|
11892
12412
|
parentId: string | null;
|