@bscotch/yy 2.1.3 → 2.1.4
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/Yy.d.ts +534 -534
- package/dist/Yy.stringify.d.ts.map +1 -1
- package/dist/Yy.stringify.js +1 -1
- package/dist/Yy.stringify.js.map +1 -1
- package/dist/types/YyBase.d.ts +1 -1
- package/dist/types/YyExtension.d.ts +13 -13
- package/dist/types/YyObject.d.ts +7 -7
- package/dist/types/YyRoom.d.ts +4 -4
- package/dist/types/YyScript.d.ts +4 -4
- package/dist/types/YyShader.d.ts +6 -6
- package/dist/types/YySound.d.ts +5 -5
- package/dist/types/YySprite.d.ts +88 -88
- package/dist/types/YySprite.lib.d.ts +3 -3
- package/dist/types/Yyp.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Yy.stringify.d.ts","sourceRoot":"","sources":["../src/Yy.stringify.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Yy.stringify.d.ts","sourceRoot":"","sources":["../src/Yy.stringify.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAoC1C,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC;AAErE;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CA2J1D"}
|
package/dist/Yy.stringify.js
CHANGED
|
@@ -12,7 +12,6 @@ const meta = {
|
|
|
12
12
|
'"': '\\"',
|
|
13
13
|
'\\': '\\\\',
|
|
14
14
|
};
|
|
15
|
-
const eol = `\r\n`; // GMS2 writes Windows-style line endings.
|
|
16
15
|
function quote(string) {
|
|
17
16
|
// If the string contains no control characters, no quote characters, and no
|
|
18
17
|
// backslash characters, then we can safely slap some quotes around it.
|
|
@@ -39,6 +38,7 @@ function quote(string) {
|
|
|
39
38
|
*/
|
|
40
39
|
export function stringifyYy(yyData, yyp) {
|
|
41
40
|
const isNewFormat = yyIsNewFormat(yyData) || yyIsNewFormat(yyp);
|
|
41
|
+
const eol = isNewFormat ? '\n' : `\r\n`;
|
|
42
42
|
let gap = '';
|
|
43
43
|
let level = 0; // Level 1 are root elements
|
|
44
44
|
const indent = ' ';
|
package/dist/Yy.stringify.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Yy.stringify.js","sourceRoot":"","sources":["../src/Yy.stringify.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEhE,MAAM,SAAS;AACb,2EAA2E;AAC3E,yHAAyH,CAAC;AAC5H,MAAM,IAAI,GAAG;IACX,mCAAmC;IACnC,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"Yy.stringify.js","sourceRoot":"","sources":["../src/Yy.stringify.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEhE,MAAM,SAAS;AACb,2EAA2E;AAC3E,yHAAyH,CAAC;AAC5H,MAAM,IAAI,GAAG;IACX,mCAAmC;IACnC,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,SAAS,K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CAAC,WAAW,EAAE,CAAC;YACpB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;YACpB,IAAI,WAAW,EAAE;gBACf,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;gBACzB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;aAC1B;YACD,IAAI,CAAC,GAAG,CAAC;gBAAE,OAAO,CAAC,CAAC,CAAC;YACrB,OAAO,CAAC,CAAC;QACX,CAAC,CAAC,CAAC;QACH,uDAAuD;QACvD,MAAM,SAAS,GAAG,EAAE,GAAG,UAAU,EAAE,CAAC;QACpC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,UAAU,CAAC,GAAa,CAAC,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACnB,UAAU,CAAC,GAAG,CAAC,GAAG,yBAAyB,CACzC,SAAS,CAAC,GAAG,CAAC,EACd,GAAG,EACH,WAAW,CACZ,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,OAAO,UAAe,CAAC;KACxB;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/dist/types/YyBase.d.ts
CHANGED
|
@@ -34,11 +34,11 @@ export declare const yyBaseSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
35
35
|
name: string;
|
|
36
36
|
resourceType: string;
|
|
37
|
-
resourceVersion: string;
|
|
38
37
|
parent: {
|
|
39
38
|
name: string;
|
|
40
39
|
path: string;
|
|
41
40
|
};
|
|
41
|
+
resourceVersion: string;
|
|
42
42
|
"%Name"?: string | undefined;
|
|
43
43
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
44
44
|
tags?: string[] | undefined;
|
|
@@ -11,8 +11,8 @@ declare const yyExtensionConstantSchema: z.ZodObject<{
|
|
|
11
11
|
value: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
name: string;
|
|
14
|
-
resourceType: "GMExtensionConstant";
|
|
15
14
|
value: string;
|
|
15
|
+
resourceType: "GMExtensionConstant";
|
|
16
16
|
resourceVersion: string;
|
|
17
17
|
hidden: boolean;
|
|
18
18
|
}, {
|
|
@@ -72,8 +72,8 @@ declare const yyExtensionFileSchema: z.ZodObject<{
|
|
|
72
72
|
value: z.ZodString;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
name: string;
|
|
75
|
-
resourceType: "GMExtensionConstant";
|
|
76
75
|
value: string;
|
|
76
|
+
resourceType: "GMExtensionConstant";
|
|
77
77
|
resourceVersion: string;
|
|
78
78
|
hidden: boolean;
|
|
79
79
|
}, {
|
|
@@ -131,8 +131,8 @@ declare const yyExtensionFileSchema: z.ZodObject<{
|
|
|
131
131
|
value: z.ZodString;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
133
|
name: string;
|
|
134
|
-
resourceType: "GMExtensionConstant";
|
|
135
134
|
value: string;
|
|
135
|
+
resourceType: "GMExtensionConstant";
|
|
136
136
|
resourceVersion: string;
|
|
137
137
|
hidden: boolean;
|
|
138
138
|
}, {
|
|
@@ -190,8 +190,8 @@ declare const yyExtensionFileSchema: z.ZodObject<{
|
|
|
190
190
|
value: z.ZodString;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
name: string;
|
|
193
|
-
resourceType: "GMExtensionConstant";
|
|
194
193
|
value: string;
|
|
194
|
+
resourceType: "GMExtensionConstant";
|
|
195
195
|
resourceVersion: string;
|
|
196
196
|
hidden: boolean;
|
|
197
197
|
}, {
|
|
@@ -256,8 +256,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
256
256
|
value: z.ZodString;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
258
|
name: string;
|
|
259
|
-
resourceType: "GMExtensionConstant";
|
|
260
259
|
value: string;
|
|
260
|
+
resourceType: "GMExtensionConstant";
|
|
261
261
|
resourceVersion: string;
|
|
262
262
|
hidden: boolean;
|
|
263
263
|
}, {
|
|
@@ -315,8 +315,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
315
315
|
value: z.ZodString;
|
|
316
316
|
}, "strip", z.ZodTypeAny, {
|
|
317
317
|
name: string;
|
|
318
|
-
resourceType: "GMExtensionConstant";
|
|
319
318
|
value: string;
|
|
319
|
+
resourceType: "GMExtensionConstant";
|
|
320
320
|
resourceVersion: string;
|
|
321
321
|
hidden: boolean;
|
|
322
322
|
}, {
|
|
@@ -374,8 +374,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
374
374
|
value: z.ZodString;
|
|
375
375
|
}, "strip", z.ZodTypeAny, {
|
|
376
376
|
name: string;
|
|
377
|
-
resourceType: "GMExtensionConstant";
|
|
378
377
|
value: string;
|
|
378
|
+
resourceType: "GMExtensionConstant";
|
|
379
379
|
resourceVersion: string;
|
|
380
380
|
hidden: boolean;
|
|
381
381
|
}, {
|
|
@@ -449,8 +449,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
449
449
|
value: z.ZodString;
|
|
450
450
|
}, "strip", z.ZodTypeAny, {
|
|
451
451
|
name: string;
|
|
452
|
-
resourceType: "GMExtensionConstant";
|
|
453
452
|
value: string;
|
|
453
|
+
resourceType: "GMExtensionConstant";
|
|
454
454
|
resourceVersion: string;
|
|
455
455
|
hidden: boolean;
|
|
456
456
|
}, {
|
|
@@ -508,8 +508,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
508
508
|
value: z.ZodString;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
510
|
name: string;
|
|
511
|
-
resourceType: "GMExtensionConstant";
|
|
512
511
|
value: string;
|
|
512
|
+
resourceType: "GMExtensionConstant";
|
|
513
513
|
resourceVersion: string;
|
|
514
514
|
hidden: boolean;
|
|
515
515
|
}, {
|
|
@@ -567,8 +567,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
567
567
|
value: z.ZodString;
|
|
568
568
|
}, "strip", z.ZodTypeAny, {
|
|
569
569
|
name: string;
|
|
570
|
-
resourceType: "GMExtensionConstant";
|
|
571
570
|
value: string;
|
|
571
|
+
resourceType: "GMExtensionConstant";
|
|
572
572
|
resourceVersion: string;
|
|
573
573
|
hidden: boolean;
|
|
574
574
|
}, {
|
|
@@ -642,8 +642,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
642
642
|
value: z.ZodString;
|
|
643
643
|
}, "strip", z.ZodTypeAny, {
|
|
644
644
|
name: string;
|
|
645
|
-
resourceType: "GMExtensionConstant";
|
|
646
645
|
value: string;
|
|
646
|
+
resourceType: "GMExtensionConstant";
|
|
647
647
|
resourceVersion: string;
|
|
648
648
|
hidden: boolean;
|
|
649
649
|
}, {
|
|
@@ -701,8 +701,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
701
701
|
value: z.ZodString;
|
|
702
702
|
}, "strip", z.ZodTypeAny, {
|
|
703
703
|
name: string;
|
|
704
|
-
resourceType: "GMExtensionConstant";
|
|
705
704
|
value: string;
|
|
705
|
+
resourceType: "GMExtensionConstant";
|
|
706
706
|
resourceVersion: string;
|
|
707
707
|
hidden: boolean;
|
|
708
708
|
}, {
|
|
@@ -760,8 +760,8 @@ export declare const yyExtensionSchema: z.ZodObject<{
|
|
|
760
760
|
value: z.ZodString;
|
|
761
761
|
}, "strip", z.ZodTypeAny, {
|
|
762
762
|
name: string;
|
|
763
|
-
resourceType: "GMExtensionConstant";
|
|
764
763
|
value: string;
|
|
764
|
+
resourceType: "GMExtensionConstant";
|
|
765
765
|
resourceVersion: string;
|
|
766
766
|
hidden: boolean;
|
|
767
767
|
}, {
|
package/dist/types/YyObject.d.ts
CHANGED
|
@@ -113,8 +113,8 @@ export declare const yyObjectPropertySchema: z.ZodObject<{
|
|
|
113
113
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMObjectProperty">>;
|
|
114
114
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
115
115
|
name: string;
|
|
116
|
-
resourceType: "GMObjectProperty";
|
|
117
116
|
value: string;
|
|
117
|
+
resourceType: "GMObjectProperty";
|
|
118
118
|
resourceVersion: string;
|
|
119
119
|
varType: YyObjectPropertyVarType;
|
|
120
120
|
rangeEnabled: boolean;
|
|
@@ -140,11 +140,10 @@ export declare const yyObjectPropertySchema: z.ZodObject<{
|
|
|
140
140
|
}>;
|
|
141
141
|
export type YyObject = z.infer<typeof yyObjectSchema>;
|
|
142
142
|
export declare const yyObjectSchema: z.ZodObject<{
|
|
143
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
144
143
|
name: z.ZodString;
|
|
144
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
145
145
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
146
146
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
147
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
148
147
|
parent: z.ZodDefault<z.ZodObject<{
|
|
149
148
|
name: z.ZodString;
|
|
150
149
|
path: z.ZodString;
|
|
@@ -155,6 +154,7 @@ export declare const yyObjectSchema: z.ZodObject<{
|
|
|
155
154
|
name: string;
|
|
156
155
|
path: string;
|
|
157
156
|
}>>;
|
|
157
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
158
158
|
spriteId: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
159
159
|
name: z.ZodString;
|
|
160
160
|
path: z.ZodString;
|
|
@@ -291,8 +291,8 @@ export declare const yyObjectSchema: z.ZodObject<{
|
|
|
291
291
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMObjectProperty">>;
|
|
292
292
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
293
293
|
name: string;
|
|
294
|
-
resourceType: "GMObjectProperty";
|
|
295
294
|
value: string;
|
|
295
|
+
resourceType: "GMObjectProperty";
|
|
296
296
|
resourceVersion: string;
|
|
297
297
|
varType: YyObjectPropertyVarType;
|
|
298
298
|
rangeEnabled: boolean;
|
|
@@ -322,11 +322,11 @@ export declare const yyObjectSchema: z.ZodObject<{
|
|
|
322
322
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
323
323
|
name: string;
|
|
324
324
|
resourceType: "GMObject";
|
|
325
|
-
resourceVersion: string;
|
|
326
325
|
parent: {
|
|
327
326
|
name: string;
|
|
328
327
|
path: string;
|
|
329
328
|
};
|
|
329
|
+
resourceVersion: string;
|
|
330
330
|
spriteId: {
|
|
331
331
|
name: string;
|
|
332
332
|
path: string;
|
|
@@ -373,8 +373,8 @@ export declare const yyObjectSchema: z.ZodObject<{
|
|
|
373
373
|
}[];
|
|
374
374
|
properties: {
|
|
375
375
|
name: string;
|
|
376
|
-
resourceType: "GMObjectProperty";
|
|
377
376
|
value: string;
|
|
377
|
+
resourceType: "GMObjectProperty";
|
|
378
378
|
resourceVersion: string;
|
|
379
379
|
varType: YyObjectPropertyVarType;
|
|
380
380
|
rangeEnabled: boolean;
|
|
@@ -395,11 +395,11 @@ export declare const yyObjectSchema: z.ZodObject<{
|
|
|
395
395
|
"%Name"?: string | undefined;
|
|
396
396
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
397
397
|
tags?: string[] | undefined;
|
|
398
|
-
resourceVersion?: string | undefined;
|
|
399
398
|
parent?: {
|
|
400
399
|
name: string;
|
|
401
400
|
path: string;
|
|
402
401
|
} | undefined;
|
|
402
|
+
resourceVersion?: string | undefined;
|
|
403
403
|
spriteId?: {
|
|
404
404
|
name: string;
|
|
405
405
|
path: string;
|
package/dist/types/YyRoom.d.ts
CHANGED
|
@@ -1829,11 +1829,10 @@ declare const yyRoomLayerSchema: z.ZodDiscriminatedUnion<"resourceType", [z.ZodO
|
|
|
1829
1829
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
1830
1830
|
export type YyRoom = z.infer<typeof yyRoomSchema>;
|
|
1831
1831
|
export declare const yyRoomSchema: z.ZodObject<{
|
|
1832
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
1833
1832
|
name: z.ZodString;
|
|
1833
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
1834
1834
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1835
1835
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1836
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1837
1836
|
parent: z.ZodDefault<z.ZodObject<{
|
|
1838
1837
|
name: z.ZodString;
|
|
1839
1838
|
path: z.ZodString;
|
|
@@ -1844,6 +1843,7 @@ export declare const yyRoomSchema: z.ZodObject<{
|
|
|
1844
1843
|
name: string;
|
|
1845
1844
|
path: string;
|
|
1846
1845
|
}>>;
|
|
1846
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1847
1847
|
layers: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
|
|
1848
1848
|
visible: z.ZodDefault<z.ZodBoolean>;
|
|
1849
1849
|
properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
@@ -2773,11 +2773,11 @@ export declare const yyRoomSchema: z.ZodObject<{
|
|
|
2773
2773
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2774
2774
|
name: string;
|
|
2775
2775
|
resourceType: "GMRoom";
|
|
2776
|
-
resourceVersion: string;
|
|
2777
2776
|
parent: {
|
|
2778
2777
|
name: string;
|
|
2779
2778
|
path: string;
|
|
2780
2779
|
};
|
|
2780
|
+
resourceVersion: string;
|
|
2781
2781
|
layers: (z.objectOutputType<{
|
|
2782
2782
|
visible: z.ZodDefault<z.ZodBoolean>;
|
|
2783
2783
|
properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
@@ -3101,11 +3101,11 @@ export declare const yyRoomSchema: z.ZodObject<{
|
|
|
3101
3101
|
"%Name"?: string | undefined;
|
|
3102
3102
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
3103
3103
|
tags?: string[] | undefined;
|
|
3104
|
-
resourceVersion?: string | undefined;
|
|
3105
3104
|
parent?: {
|
|
3106
3105
|
name: string;
|
|
3107
3106
|
path: string;
|
|
3108
3107
|
} | undefined;
|
|
3108
|
+
resourceVersion?: string | undefined;
|
|
3109
3109
|
layers?: (z.objectInputType<{
|
|
3110
3110
|
visible: z.ZodDefault<z.ZodBoolean>;
|
|
3111
3111
|
properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
package/dist/types/YyScript.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export type YyScript = z.infer<typeof yyScriptSchema>;
|
|
3
3
|
export declare const yyScriptSchema: z.ZodObject<{
|
|
4
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
5
4
|
name: z.ZodString;
|
|
5
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
6
6
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
7
7
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
9
8
|
parent: z.ZodDefault<z.ZodObject<{
|
|
10
9
|
name: z.ZodString;
|
|
11
10
|
path: z.ZodString;
|
|
@@ -16,17 +15,18 @@ export declare const yyScriptSchema: z.ZodObject<{
|
|
|
16
15
|
name: string;
|
|
17
16
|
path: string;
|
|
18
17
|
}>>;
|
|
18
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
19
19
|
isDnD: z.ZodDefault<z.ZodBoolean>;
|
|
20
20
|
isCompatibility: z.ZodDefault<z.ZodBoolean>;
|
|
21
21
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMScript">>;
|
|
22
22
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
23
23
|
name: string;
|
|
24
24
|
resourceType: "GMScript";
|
|
25
|
-
resourceVersion: string;
|
|
26
25
|
parent: {
|
|
27
26
|
name: string;
|
|
28
27
|
path: string;
|
|
29
28
|
};
|
|
29
|
+
resourceVersion: string;
|
|
30
30
|
isDnD: boolean;
|
|
31
31
|
isCompatibility: boolean;
|
|
32
32
|
"%Name"?: string | undefined;
|
|
@@ -37,11 +37,11 @@ export declare const yyScriptSchema: z.ZodObject<{
|
|
|
37
37
|
"%Name"?: string | undefined;
|
|
38
38
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
39
39
|
tags?: string[] | undefined;
|
|
40
|
-
resourceVersion?: string | undefined;
|
|
41
40
|
parent?: {
|
|
42
41
|
name: string;
|
|
43
42
|
path: string;
|
|
44
43
|
} | undefined;
|
|
44
|
+
resourceVersion?: string | undefined;
|
|
45
45
|
isDnD?: boolean | undefined;
|
|
46
46
|
isCompatibility?: boolean | undefined;
|
|
47
47
|
resourceType?: "GMScript" | undefined;
|
package/dist/types/YyShader.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export type YyShader = z.infer<typeof yyShaderSchema>;
|
|
3
3
|
export declare const yyShaderSchema: z.ZodObject<{
|
|
4
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
5
4
|
name: z.ZodString;
|
|
5
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
6
6
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
7
7
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
9
8
|
parent: z.ZodDefault<z.ZodObject<{
|
|
10
9
|
name: z.ZodString;
|
|
11
10
|
path: z.ZodString;
|
|
@@ -16,14 +15,14 @@ export declare const yyShaderSchema: z.ZodObject<{
|
|
|
16
15
|
name: string;
|
|
17
16
|
path: string;
|
|
18
17
|
}>>;
|
|
18
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
19
19
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMShader">>;
|
|
20
20
|
type: z.ZodDefault<z.ZodNumber>;
|
|
21
21
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
22
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
23
22
|
name: z.ZodString;
|
|
23
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
24
24
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
25
25
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
27
26
|
parent: z.ZodDefault<z.ZodObject<{
|
|
28
27
|
name: z.ZodString;
|
|
29
28
|
path: z.ZodString;
|
|
@@ -34,14 +33,14 @@ export declare const yyShaderSchema: z.ZodObject<{
|
|
|
34
33
|
name: string;
|
|
35
34
|
path: string;
|
|
36
35
|
}>>;
|
|
36
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
37
37
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMShader">>;
|
|
38
38
|
type: z.ZodDefault<z.ZodNumber>;
|
|
39
39
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
40
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
41
40
|
name: z.ZodString;
|
|
41
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
42
42
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
43
43
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
45
44
|
parent: z.ZodDefault<z.ZodObject<{
|
|
46
45
|
name: z.ZodString;
|
|
47
46
|
path: z.ZodString;
|
|
@@ -52,6 +51,7 @@ export declare const yyShaderSchema: z.ZodObject<{
|
|
|
52
51
|
name: string;
|
|
53
52
|
path: string;
|
|
54
53
|
}>>;
|
|
54
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
55
55
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMShader">>;
|
|
56
56
|
type: z.ZodDefault<z.ZodNumber>;
|
|
57
57
|
}, z.ZodTypeAny, "passthrough">>;
|
package/dist/types/YySound.d.ts
CHANGED
|
@@ -20,11 +20,10 @@ export type SoundSampleRate = z.infer<typeof soundSampleRateSchema>;
|
|
|
20
20
|
declare const soundSampleRateSchema: z.ZodUnion<[z.ZodLiteral<5512>, z.ZodLiteral<11025>, z.ZodLiteral<22050>, z.ZodLiteral<32000>, z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
21
21
|
export type YySound = z.infer<typeof yySoundSchema>;
|
|
22
22
|
export declare const yySoundSchema: z.ZodObject<{
|
|
23
|
-
"%Name": z.ZodOptional<z.ZodString>;
|
|
24
23
|
name: z.ZodString;
|
|
24
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
25
25
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
26
26
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
-
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
28
27
|
parent: z.ZodDefault<z.ZodObject<{
|
|
29
28
|
name: z.ZodString;
|
|
30
29
|
path: z.ZodString;
|
|
@@ -35,6 +34,7 @@ export declare const yySoundSchema: z.ZodObject<{
|
|
|
35
34
|
name: string;
|
|
36
35
|
path: string;
|
|
37
36
|
}>>;
|
|
37
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
38
38
|
compression: z.ZodDefault<z.ZodNativeEnum<typeof SoundCompression>>;
|
|
39
39
|
conversionMode: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
40
40
|
volume: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./utility.js").FixedNumber>, import("./utility.js").FixedNumber, number | import("./utility.js").FixedNumber>>;
|
|
@@ -58,13 +58,13 @@ export declare const yySoundSchema: z.ZodObject<{
|
|
|
58
58
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMSound">>;
|
|
59
59
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
60
60
|
name: string;
|
|
61
|
-
resourceType: "GMSound";
|
|
62
61
|
type: SoundChannel;
|
|
63
|
-
|
|
62
|
+
resourceType: "GMSound";
|
|
64
63
|
parent: {
|
|
65
64
|
name: string;
|
|
66
65
|
path: string;
|
|
67
66
|
};
|
|
67
|
+
resourceVersion: string;
|
|
68
68
|
volume: import("./utility.js").FixedNumber;
|
|
69
69
|
compression: SoundCompression;
|
|
70
70
|
conversionMode: number;
|
|
@@ -87,11 +87,11 @@ export declare const yySoundSchema: z.ZodObject<{
|
|
|
87
87
|
"%Name"?: string | undefined;
|
|
88
88
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
89
89
|
tags?: string[] | undefined;
|
|
90
|
-
resourceVersion?: string | undefined;
|
|
91
90
|
parent?: {
|
|
92
91
|
name: string;
|
|
93
92
|
path: string;
|
|
94
93
|
} | undefined;
|
|
94
|
+
resourceVersion?: string | undefined;
|
|
95
95
|
compression?: SoundCompression | undefined;
|
|
96
96
|
conversionMode?: number | undefined;
|
|
97
97
|
volume?: number | import("./utility.js").FixedNumber | undefined;
|