@bscotch/yy 0.17.0 → 1.0.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/Yy.d.ts +977 -359
- package/dist/Yy.d.ts.map +1 -1
- package/dist/Yy.js +24 -85
- package/dist/Yy.js.map +1 -1
- package/dist/Yy.parse.d.ts.map +1 -1
- package/dist/Yy.parse.js +19 -3
- package/dist/Yy.parse.js.map +1 -1
- package/dist/Yy.stringify.d.ts +6 -2
- package/dist/Yy.stringify.d.ts.map +1 -1
- package/dist/Yy.stringify.js +86 -3
- package/dist/Yy.stringify.js.map +1 -1
- package/dist/types/YyBase.d.ts +4 -1
- package/dist/types/YyBase.d.ts.map +1 -1
- package/dist/types/YyBase.js +1 -1
- package/dist/types/YyBase.js.map +1 -1
- package/dist/types/YyExtension.d.ts +3 -0
- package/dist/types/YyExtension.d.ts.map +1 -1
- package/dist/types/YyExtension.js +1 -0
- package/dist/types/YyExtension.js.map +1 -1
- package/dist/types/YyObject.d.ts +22 -19
- package/dist/types/YyObject.d.ts.map +1 -1
- package/dist/types/YyObject.js +2 -2
- package/dist/types/YyObject.js.map +1 -1
- package/dist/types/YyRoom.d.ts +6 -3
- package/dist/types/YyRoom.d.ts.map +1 -1
- package/dist/types/YyScript.d.ts +6 -3
- package/dist/types/YyScript.d.ts.map +1 -1
- package/dist/types/YySound.d.ts +6 -3
- package/dist/types/YySound.d.ts.map +1 -1
- package/dist/types/YySprite.d.ts +180 -169
- package/dist/types/YySprite.d.ts.map +1 -1
- package/dist/types/YySprite.js +7 -7
- package/dist/types/YySprite.js.map +1 -1
- package/dist/types/YySprite.lib.d.ts +7 -6
- package/dist/types/YySprite.lib.d.ts.map +1 -1
- package/dist/types/Yyp.d.ts +275 -50
- package/dist/types/Yyp.d.ts.map +1 -1
- package/dist/types/Yyp.js +18 -6
- package/dist/types/Yyp.js.map +1 -1
- package/dist/types/utility.d.ts +5 -2
- package/dist/types/utility.d.ts.map +1 -1
- package/dist/types/utility.js +11 -1
- package/dist/types/utility.js.map +1 -1
- package/package.json +1 -1
package/dist/types/Yyp.d.ts
CHANGED
|
@@ -93,11 +93,11 @@ export declare const yypFolderSchema: z.ZodObject<{
|
|
|
93
93
|
folderPath: z.ZodString;
|
|
94
94
|
order: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
96
|
-
resourceVersion: z.ZodDefault<z.
|
|
96
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
name: string;
|
|
99
99
|
resourceType: "GMFolder";
|
|
100
|
-
resourceVersion:
|
|
100
|
+
resourceVersion: string;
|
|
101
101
|
folderPath: string;
|
|
102
102
|
tags?: string[] | undefined;
|
|
103
103
|
order?: number | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const yypFolderSchema: z.ZodObject<{
|
|
|
107
107
|
tags?: string[] | undefined;
|
|
108
108
|
order?: number | undefined;
|
|
109
109
|
resourceType?: "GMFolder" | undefined;
|
|
110
|
-
resourceVersion?:
|
|
110
|
+
resourceVersion?: string | undefined;
|
|
111
111
|
}>;
|
|
112
112
|
export type YypAudioGroup = z.infer<typeof yypAudioGroupSchema>;
|
|
113
113
|
export type YypAudioGroupLoose = z.input<typeof yypAudioGroupSchema>;
|
|
@@ -116,11 +116,11 @@ export declare const yypAudioGroupSchema: z.ZodObject<{
|
|
|
116
116
|
name: z.ZodString;
|
|
117
117
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
118
118
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
119
|
-
resourceVersion: z.ZodDefault<z.
|
|
119
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
name: string;
|
|
122
122
|
resourceType: "GMAudioGroup";
|
|
123
|
-
resourceVersion:
|
|
123
|
+
resourceVersion: string;
|
|
124
124
|
targets: bigint;
|
|
125
125
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
126
126
|
}, {
|
|
@@ -128,7 +128,7 @@ export declare const yypAudioGroupSchema: z.ZodObject<{
|
|
|
128
128
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
129
129
|
targets?: number | bigint | undefined;
|
|
130
130
|
resourceType?: "GMAudioGroup" | undefined;
|
|
131
|
-
resourceVersion?:
|
|
131
|
+
resourceVersion?: string | undefined;
|
|
132
132
|
}>;
|
|
133
133
|
export type YypTextureGroup = z.infer<typeof yypTextureGroupSchema>;
|
|
134
134
|
export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
@@ -153,11 +153,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
153
153
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
154
154
|
directory: z.ZodOptional<z.ZodString>;
|
|
155
155
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
156
|
-
resourceVersion: z.ZodDefault<z.
|
|
156
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
name: string;
|
|
159
159
|
resourceType: "GMTextureGroup";
|
|
160
|
-
resourceVersion:
|
|
160
|
+
resourceVersion: string;
|
|
161
161
|
targets: bigint;
|
|
162
162
|
groupParent: {
|
|
163
163
|
path: string;
|
|
@@ -187,7 +187,7 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
|
187
187
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
188
188
|
directory?: string | undefined;
|
|
189
189
|
resourceType?: "GMTextureGroup" | undefined;
|
|
190
|
-
resourceVersion?:
|
|
190
|
+
resourceVersion?: string | undefined;
|
|
191
191
|
}>;
|
|
192
192
|
export type YypIncludedFile = z.infer<typeof yypIncludedFileSchema>;
|
|
193
193
|
declare const yypIncludedFileSchema: z.ZodObject<{
|
|
@@ -204,11 +204,11 @@ declare const yypIncludedFileSchema: z.ZodObject<{
|
|
|
204
204
|
/** `datafiles/${subdir}` */
|
|
205
205
|
filePath: z.ZodString;
|
|
206
206
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
207
|
-
resourceVersion: z.ZodDefault<z.
|
|
207
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
209
|
name: string;
|
|
210
210
|
resourceType: "GMIncludedFile";
|
|
211
|
-
resourceVersion:
|
|
211
|
+
resourceVersion: string;
|
|
212
212
|
CopyToMask: bigint;
|
|
213
213
|
filePath: string;
|
|
214
214
|
ConfigValues?: Record<string, {
|
|
@@ -222,11 +222,12 @@ declare const yypIncludedFileSchema: z.ZodObject<{
|
|
|
222
222
|
}> | undefined;
|
|
223
223
|
CopyToMask?: number | bigint | undefined;
|
|
224
224
|
resourceType?: "GMIncludedFile" | undefined;
|
|
225
|
-
resourceVersion?:
|
|
225
|
+
resourceVersion?: string | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
/** The YYP content that has not changed across GMS2.3 subversions */
|
|
228
228
|
export type Yyp = z.infer<typeof yypSchema>;
|
|
229
|
-
export declare const yypSchema: z.ZodObject<{
|
|
229
|
+
export declare const yypSchema: z.ZodEffects<z.ZodObject<{
|
|
230
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
230
231
|
name: z.ZodString;
|
|
231
232
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
232
233
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -310,11 +311,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
310
311
|
folderPath: z.ZodString;
|
|
311
312
|
order: z.ZodOptional<z.ZodNumber>;
|
|
312
313
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
313
|
-
resourceVersion: z.ZodDefault<z.
|
|
314
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
314
315
|
}, "strip", z.ZodTypeAny, {
|
|
315
316
|
name: string;
|
|
316
317
|
resourceType: "GMFolder";
|
|
317
|
-
resourceVersion:
|
|
318
|
+
resourceVersion: string;
|
|
318
319
|
folderPath: string;
|
|
319
320
|
tags?: string[] | undefined;
|
|
320
321
|
order?: number | undefined;
|
|
@@ -324,18 +325,18 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
324
325
|
tags?: string[] | undefined;
|
|
325
326
|
order?: number | undefined;
|
|
326
327
|
resourceType?: "GMFolder" | undefined;
|
|
327
|
-
resourceVersion?:
|
|
328
|
+
resourceVersion?: string | undefined;
|
|
328
329
|
}>, "many">>;
|
|
329
330
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
330
331
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
331
332
|
name: z.ZodString;
|
|
332
333
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
333
334
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
334
|
-
resourceVersion: z.ZodDefault<z.
|
|
335
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
335
336
|
}, "strip", z.ZodTypeAny, {
|
|
336
337
|
name: string;
|
|
337
338
|
resourceType: "GMAudioGroup";
|
|
338
|
-
resourceVersion:
|
|
339
|
+
resourceVersion: string;
|
|
339
340
|
targets: bigint;
|
|
340
341
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
341
342
|
}, {
|
|
@@ -343,7 +344,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
343
344
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
344
345
|
targets?: number | bigint | undefined;
|
|
345
346
|
resourceType?: "GMAudioGroup" | undefined;
|
|
346
|
-
resourceVersion?:
|
|
347
|
+
resourceVersion?: string | undefined;
|
|
347
348
|
}>, "many">>;
|
|
348
349
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
350
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -367,11 +368,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
367
368
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
368
369
|
directory: z.ZodOptional<z.ZodString>;
|
|
369
370
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
370
|
-
resourceVersion: z.ZodDefault<z.
|
|
371
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
371
372
|
}, "strip", z.ZodTypeAny, {
|
|
372
373
|
name: string;
|
|
373
374
|
resourceType: "GMTextureGroup";
|
|
374
|
-
resourceVersion:
|
|
375
|
+
resourceVersion: string;
|
|
375
376
|
targets: bigint;
|
|
376
377
|
groupParent: {
|
|
377
378
|
path: string;
|
|
@@ -401,7 +402,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
401
402
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
402
403
|
directory?: string | undefined;
|
|
403
404
|
resourceType?: "GMTextureGroup" | undefined;
|
|
404
|
-
resourceVersion?:
|
|
405
|
+
resourceVersion?: string | undefined;
|
|
405
406
|
}>, "many">>;
|
|
406
407
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
407
408
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -417,11 +418,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
417
418
|
/** `datafiles/${subdir}` */
|
|
418
419
|
filePath: z.ZodString;
|
|
419
420
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
420
|
-
resourceVersion: z.ZodDefault<z.
|
|
421
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
421
422
|
}, "strip", z.ZodTypeAny, {
|
|
422
423
|
name: string;
|
|
423
424
|
resourceType: "GMIncludedFile";
|
|
424
|
-
resourceVersion:
|
|
425
|
+
resourceVersion: string;
|
|
425
426
|
CopyToMask: bigint;
|
|
426
427
|
filePath: string;
|
|
427
428
|
ConfigValues?: Record<string, {
|
|
@@ -435,7 +436,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
435
436
|
}> | undefined;
|
|
436
437
|
CopyToMask?: number | bigint | undefined;
|
|
437
438
|
resourceType?: "GMIncludedFile" | undefined;
|
|
438
|
-
resourceVersion?:
|
|
439
|
+
resourceVersion?: string | undefined;
|
|
439
440
|
}>, "many">>;
|
|
440
441
|
MetaData: z.ZodObject<{
|
|
441
442
|
IDEVersion: z.ZodString;
|
|
@@ -448,6 +449,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
448
449
|
resourceVersion: z.ZodString;
|
|
449
450
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
451
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
452
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
451
453
|
name: z.ZodString;
|
|
452
454
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
453
455
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -531,11 +533,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
531
533
|
folderPath: z.ZodString;
|
|
532
534
|
order: z.ZodOptional<z.ZodNumber>;
|
|
533
535
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
534
|
-
resourceVersion: z.ZodDefault<z.
|
|
536
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
535
537
|
}, "strip", z.ZodTypeAny, {
|
|
536
538
|
name: string;
|
|
537
539
|
resourceType: "GMFolder";
|
|
538
|
-
resourceVersion:
|
|
540
|
+
resourceVersion: string;
|
|
539
541
|
folderPath: string;
|
|
540
542
|
tags?: string[] | undefined;
|
|
541
543
|
order?: number | undefined;
|
|
@@ -545,18 +547,18 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
545
547
|
tags?: string[] | undefined;
|
|
546
548
|
order?: number | undefined;
|
|
547
549
|
resourceType?: "GMFolder" | undefined;
|
|
548
|
-
resourceVersion?:
|
|
550
|
+
resourceVersion?: string | undefined;
|
|
549
551
|
}>, "many">>;
|
|
550
552
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
551
553
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
552
554
|
name: z.ZodString;
|
|
553
555
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
554
556
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
555
|
-
resourceVersion: z.ZodDefault<z.
|
|
557
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
556
558
|
}, "strip", z.ZodTypeAny, {
|
|
557
559
|
name: string;
|
|
558
560
|
resourceType: "GMAudioGroup";
|
|
559
|
-
resourceVersion:
|
|
561
|
+
resourceVersion: string;
|
|
560
562
|
targets: bigint;
|
|
561
563
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
562
564
|
}, {
|
|
@@ -564,7 +566,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
564
566
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
565
567
|
targets?: number | bigint | undefined;
|
|
566
568
|
resourceType?: "GMAudioGroup" | undefined;
|
|
567
|
-
resourceVersion?:
|
|
569
|
+
resourceVersion?: string | undefined;
|
|
568
570
|
}>, "many">>;
|
|
569
571
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
570
572
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -588,11 +590,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
588
590
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
589
591
|
directory: z.ZodOptional<z.ZodString>;
|
|
590
592
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
591
|
-
resourceVersion: z.ZodDefault<z.
|
|
593
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
592
594
|
}, "strip", z.ZodTypeAny, {
|
|
593
595
|
name: string;
|
|
594
596
|
resourceType: "GMTextureGroup";
|
|
595
|
-
resourceVersion:
|
|
597
|
+
resourceVersion: string;
|
|
596
598
|
targets: bigint;
|
|
597
599
|
groupParent: {
|
|
598
600
|
path: string;
|
|
@@ -622,7 +624,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
622
624
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
623
625
|
directory?: string | undefined;
|
|
624
626
|
resourceType?: "GMTextureGroup" | undefined;
|
|
625
|
-
resourceVersion?:
|
|
627
|
+
resourceVersion?: string | undefined;
|
|
626
628
|
}>, "many">>;
|
|
627
629
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
628
630
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -638,11 +640,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
638
640
|
/** `datafiles/${subdir}` */
|
|
639
641
|
filePath: z.ZodString;
|
|
640
642
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
641
|
-
resourceVersion: z.ZodDefault<z.
|
|
643
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
642
644
|
}, "strip", z.ZodTypeAny, {
|
|
643
645
|
name: string;
|
|
644
646
|
resourceType: "GMIncludedFile";
|
|
645
|
-
resourceVersion:
|
|
647
|
+
resourceVersion: string;
|
|
646
648
|
CopyToMask: bigint;
|
|
647
649
|
filePath: string;
|
|
648
650
|
ConfigValues?: Record<string, {
|
|
@@ -656,7 +658,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
656
658
|
}> | undefined;
|
|
657
659
|
CopyToMask?: number | bigint | undefined;
|
|
658
660
|
resourceType?: "GMIncludedFile" | undefined;
|
|
659
|
-
resourceVersion?:
|
|
661
|
+
resourceVersion?: string | undefined;
|
|
660
662
|
}>, "many">>;
|
|
661
663
|
MetaData: z.ZodObject<{
|
|
662
664
|
IDEVersion: z.ZodString;
|
|
@@ -669,6 +671,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
669
671
|
resourceVersion: z.ZodString;
|
|
670
672
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
671
673
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
674
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
672
675
|
name: z.ZodString;
|
|
673
676
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
674
677
|
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -752,11 +755,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
752
755
|
folderPath: z.ZodString;
|
|
753
756
|
order: z.ZodOptional<z.ZodNumber>;
|
|
754
757
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
755
|
-
resourceVersion: z.ZodDefault<z.
|
|
758
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
756
759
|
}, "strip", z.ZodTypeAny, {
|
|
757
760
|
name: string;
|
|
758
761
|
resourceType: "GMFolder";
|
|
759
|
-
resourceVersion:
|
|
762
|
+
resourceVersion: string;
|
|
760
763
|
folderPath: string;
|
|
761
764
|
tags?: string[] | undefined;
|
|
762
765
|
order?: number | undefined;
|
|
@@ -766,18 +769,18 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
766
769
|
tags?: string[] | undefined;
|
|
767
770
|
order?: number | undefined;
|
|
768
771
|
resourceType?: "GMFolder" | undefined;
|
|
769
|
-
resourceVersion?:
|
|
772
|
+
resourceVersion?: string | undefined;
|
|
770
773
|
}>, "many">>;
|
|
771
774
|
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
772
775
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
773
776
|
name: z.ZodString;
|
|
774
777
|
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
775
778
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
776
|
-
resourceVersion: z.ZodDefault<z.
|
|
779
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
777
780
|
}, "strip", z.ZodTypeAny, {
|
|
778
781
|
name: string;
|
|
779
782
|
resourceType: "GMAudioGroup";
|
|
780
|
-
resourceVersion:
|
|
783
|
+
resourceVersion: string;
|
|
781
784
|
targets: bigint;
|
|
782
785
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
783
786
|
}, {
|
|
@@ -785,7 +788,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
785
788
|
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
786
789
|
targets?: number | bigint | undefined;
|
|
787
790
|
resourceType?: "GMAudioGroup" | undefined;
|
|
788
|
-
resourceVersion?:
|
|
791
|
+
resourceVersion?: string | undefined;
|
|
789
792
|
}>, "many">>;
|
|
790
793
|
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
791
794
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -809,11 +812,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
809
812
|
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
810
813
|
directory: z.ZodOptional<z.ZodString>;
|
|
811
814
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
812
|
-
resourceVersion: z.ZodDefault<z.
|
|
815
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
813
816
|
}, "strip", z.ZodTypeAny, {
|
|
814
817
|
name: string;
|
|
815
818
|
resourceType: "GMTextureGroup";
|
|
816
|
-
resourceVersion:
|
|
819
|
+
resourceVersion: string;
|
|
817
820
|
targets: bigint;
|
|
818
821
|
groupParent: {
|
|
819
822
|
path: string;
|
|
@@ -843,7 +846,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
843
846
|
loadType?: "default" | "dynamicpages" | undefined;
|
|
844
847
|
directory?: string | undefined;
|
|
845
848
|
resourceType?: "GMTextureGroup" | undefined;
|
|
846
|
-
resourceVersion?:
|
|
849
|
+
resourceVersion?: string | undefined;
|
|
847
850
|
}>, "many">>;
|
|
848
851
|
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
849
852
|
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -859,11 +862,11 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
859
862
|
/** `datafiles/${subdir}` */
|
|
860
863
|
filePath: z.ZodString;
|
|
861
864
|
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
862
|
-
resourceVersion: z.ZodDefault<z.
|
|
865
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
863
866
|
}, "strip", z.ZodTypeAny, {
|
|
864
867
|
name: string;
|
|
865
868
|
resourceType: "GMIncludedFile";
|
|
866
|
-
resourceVersion:
|
|
869
|
+
resourceVersion: string;
|
|
867
870
|
CopyToMask: bigint;
|
|
868
871
|
filePath: string;
|
|
869
872
|
ConfigValues?: Record<string, {
|
|
@@ -877,7 +880,7 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
877
880
|
}> | undefined;
|
|
878
881
|
CopyToMask?: number | bigint | undefined;
|
|
879
882
|
resourceType?: "GMIncludedFile" | undefined;
|
|
880
|
-
resourceVersion?:
|
|
883
|
+
resourceVersion?: string | undefined;
|
|
881
884
|
}>, "many">>;
|
|
882
885
|
MetaData: z.ZodObject<{
|
|
883
886
|
IDEVersion: z.ZodString;
|
|
@@ -889,6 +892,228 @@ export declare const yypSchema: z.ZodObject<{
|
|
|
889
892
|
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
890
893
|
resourceVersion: z.ZodString;
|
|
891
894
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
892
|
-
}, z.ZodTypeAny, "passthrough"
|
|
895
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
896
|
+
"%Name": z.ZodOptional<z.ZodString>;
|
|
897
|
+
name: z.ZodString;
|
|
898
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
899
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
900
|
+
id: z.ZodObject<{
|
|
901
|
+
name: z.ZodString;
|
|
902
|
+
path: z.ZodString;
|
|
903
|
+
}, "strip", z.ZodTypeAny, {
|
|
904
|
+
path: string;
|
|
905
|
+
name: string;
|
|
906
|
+
}, {
|
|
907
|
+
path: string;
|
|
908
|
+
name: string;
|
|
909
|
+
}>;
|
|
910
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
911
|
+
}, "strip", z.ZodTypeAny, {
|
|
912
|
+
id: {
|
|
913
|
+
path: string;
|
|
914
|
+
name: string;
|
|
915
|
+
};
|
|
916
|
+
order?: number | undefined;
|
|
917
|
+
}, {
|
|
918
|
+
id: {
|
|
919
|
+
path: string;
|
|
920
|
+
name: string;
|
|
921
|
+
};
|
|
922
|
+
order?: number | undefined;
|
|
923
|
+
}>, "many">>;
|
|
924
|
+
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
925
|
+
roomId: z.ZodObject<{
|
|
926
|
+
name: z.ZodString;
|
|
927
|
+
/** rooms/{name}/{name}.yy */
|
|
928
|
+
path: z.ZodString;
|
|
929
|
+
}, "strip", z.ZodTypeAny, {
|
|
930
|
+
path: string;
|
|
931
|
+
name: string;
|
|
932
|
+
}, {
|
|
933
|
+
path: string;
|
|
934
|
+
name: string;
|
|
935
|
+
}>;
|
|
936
|
+
}, "strip", z.ZodTypeAny, {
|
|
937
|
+
roomId: {
|
|
938
|
+
path: string;
|
|
939
|
+
name: string;
|
|
940
|
+
};
|
|
941
|
+
}, {
|
|
942
|
+
roomId: {
|
|
943
|
+
path: string;
|
|
944
|
+
name: string;
|
|
945
|
+
};
|
|
946
|
+
}>, "many">>;
|
|
947
|
+
Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
948
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
949
|
+
name: z.ZodString;
|
|
950
|
+
path: z.ZodString;
|
|
951
|
+
}, "strip", z.ZodTypeAny, {
|
|
952
|
+
path: string;
|
|
953
|
+
name: string;
|
|
954
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
955
|
+
}, {
|
|
956
|
+
path: string;
|
|
957
|
+
name: string;
|
|
958
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
959
|
+
}>, "many">>;
|
|
960
|
+
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
961
|
+
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
962
|
+
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
963
|
+
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
964
|
+
configs: z.ZodObject<{
|
|
965
|
+
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
966
|
+
children: z.ZodDefault<z.ZodArray<z.ZodType<YypConfig, z.ZodTypeDef, YypConfig>, "many">>;
|
|
967
|
+
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
name: "Default";
|
|
969
|
+
children: YypConfig[];
|
|
970
|
+
}, {
|
|
971
|
+
name?: "Default" | undefined;
|
|
972
|
+
children?: YypConfig[] | undefined;
|
|
973
|
+
}>;
|
|
974
|
+
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
975
|
+
name: z.ZodString;
|
|
976
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
977
|
+
folderPath: z.ZodString;
|
|
978
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
979
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
980
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
981
|
+
}, "strip", z.ZodTypeAny, {
|
|
982
|
+
name: string;
|
|
983
|
+
resourceType: "GMFolder";
|
|
984
|
+
resourceVersion: string;
|
|
985
|
+
folderPath: string;
|
|
986
|
+
tags?: string[] | undefined;
|
|
987
|
+
order?: number | undefined;
|
|
988
|
+
}, {
|
|
989
|
+
name: string;
|
|
990
|
+
folderPath: string;
|
|
991
|
+
tags?: string[] | undefined;
|
|
992
|
+
order?: number | undefined;
|
|
993
|
+
resourceType?: "GMFolder" | undefined;
|
|
994
|
+
resourceVersion?: string | undefined;
|
|
995
|
+
}>, "many">>;
|
|
996
|
+
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
997
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
998
|
+
name: z.ZodString;
|
|
999
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
1000
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
1001
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1002
|
+
}, "strip", z.ZodTypeAny, {
|
|
1003
|
+
name: string;
|
|
1004
|
+
resourceType: "GMAudioGroup";
|
|
1005
|
+
resourceVersion: string;
|
|
1006
|
+
targets: bigint;
|
|
1007
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1008
|
+
}, {
|
|
1009
|
+
name: string;
|
|
1010
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1011
|
+
targets?: number | bigint | undefined;
|
|
1012
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
1013
|
+
resourceVersion?: string | undefined;
|
|
1014
|
+
}>, "many">>;
|
|
1015
|
+
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1016
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1017
|
+
name: z.ZodString;
|
|
1018
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1019
|
+
name: z.ZodString;
|
|
1020
|
+
path: z.ZodString;
|
|
1021
|
+
}, "strip", z.ZodTypeAny, {
|
|
1022
|
+
path: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
}, {
|
|
1025
|
+
path: string;
|
|
1026
|
+
name: string;
|
|
1027
|
+
}>>>;
|
|
1028
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
1029
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
1031
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
1032
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
1033
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
1034
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
1035
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
1037
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1038
|
+
}, "strip", z.ZodTypeAny, {
|
|
1039
|
+
name: string;
|
|
1040
|
+
resourceType: "GMTextureGroup";
|
|
1041
|
+
resourceVersion: string;
|
|
1042
|
+
targets: bigint;
|
|
1043
|
+
groupParent: {
|
|
1044
|
+
path: string;
|
|
1045
|
+
name: string;
|
|
1046
|
+
} | null;
|
|
1047
|
+
isScaled: boolean;
|
|
1048
|
+
autocrop: boolean;
|
|
1049
|
+
border: number;
|
|
1050
|
+
mipsToGenerate: number;
|
|
1051
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1052
|
+
compressFormat?: string | undefined;
|
|
1053
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
1054
|
+
directory?: string | undefined;
|
|
1055
|
+
}, {
|
|
1056
|
+
name: string;
|
|
1057
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
1058
|
+
groupParent?: {
|
|
1059
|
+
path: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
} | null | undefined;
|
|
1062
|
+
isScaled?: boolean | undefined;
|
|
1063
|
+
compressFormat?: string | undefined;
|
|
1064
|
+
autocrop?: boolean | undefined;
|
|
1065
|
+
border?: number | undefined;
|
|
1066
|
+
mipsToGenerate?: number | undefined;
|
|
1067
|
+
targets?: number | bigint | undefined;
|
|
1068
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
1069
|
+
directory?: string | undefined;
|
|
1070
|
+
resourceType?: "GMTextureGroup" | undefined;
|
|
1071
|
+
resourceVersion?: string | undefined;
|
|
1072
|
+
}>, "many">>;
|
|
1073
|
+
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1074
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1075
|
+
CopyToMask: z.ZodString;
|
|
1076
|
+
}, "strip", z.ZodTypeAny, {
|
|
1077
|
+
CopyToMask: string;
|
|
1078
|
+
}, {
|
|
1079
|
+
CopyToMask: string;
|
|
1080
|
+
}>>>;
|
|
1081
|
+
/** The name of the file, including extension, without the path */
|
|
1082
|
+
name: z.ZodString;
|
|
1083
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
1084
|
+
/** `datafiles/${subdir}` */
|
|
1085
|
+
filePath: z.ZodString;
|
|
1086
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
1087
|
+
resourceVersion: z.ZodDefault<z.ZodString>;
|
|
1088
|
+
}, "strip", z.ZodTypeAny, {
|
|
1089
|
+
name: string;
|
|
1090
|
+
resourceType: "GMIncludedFile";
|
|
1091
|
+
resourceVersion: string;
|
|
1092
|
+
CopyToMask: bigint;
|
|
1093
|
+
filePath: string;
|
|
1094
|
+
ConfigValues?: Record<string, {
|
|
1095
|
+
CopyToMask: string;
|
|
1096
|
+
}> | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
name: string;
|
|
1099
|
+
filePath: string;
|
|
1100
|
+
ConfigValues?: Record<string, {
|
|
1101
|
+
CopyToMask: string;
|
|
1102
|
+
}> | undefined;
|
|
1103
|
+
CopyToMask?: number | bigint | undefined;
|
|
1104
|
+
resourceType?: "GMIncludedFile" | undefined;
|
|
1105
|
+
resourceVersion?: string | undefined;
|
|
1106
|
+
}>, "many">>;
|
|
1107
|
+
MetaData: z.ZodObject<{
|
|
1108
|
+
IDEVersion: z.ZodString;
|
|
1109
|
+
}, "strip", z.ZodTypeAny, {
|
|
1110
|
+
IDEVersion: string;
|
|
1111
|
+
}, {
|
|
1112
|
+
IDEVersion: string;
|
|
1113
|
+
}>;
|
|
1114
|
+
LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1115
|
+
resourceVersion: z.ZodString;
|
|
1116
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1117
|
+
}, z.ZodTypeAny, "passthrough">, unknown>;
|
|
893
1118
|
export {};
|
|
894
1119
|
//# sour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AkE;;;QAGlE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA5D1B,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAyD/B,kEAAkE;;;QAGlE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA5D1B,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAyD/B,kEAAkE;;;QAGlE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA5D1B,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAyD/B,kEAAkE;;;QAGlE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAmD7B,CAAC"}
|
package/dist/types/Yyp.js
CHANGED
|
@@ -31,14 +31,14 @@ export const yypFolderSchema = z.object({
|
|
|
31
31
|
folderPath: z.string(),
|
|
32
32
|
order: z.number().optional(),
|
|
33
33
|
resourceType: z.literal('GMFolder').default('GMFolder'),
|
|
34
|
-
resourceVersion: z.
|
|
34
|
+
resourceVersion: z.string().default('1.0'),
|
|
35
35
|
});
|
|
36
36
|
export const yypAudioGroupSchema = z.object({
|
|
37
37
|
ConfigValues: z.record(z.record(z.string())).optional(),
|
|
38
38
|
name: z.string(),
|
|
39
39
|
targets: bigNumber().default(461609314234257646n),
|
|
40
40
|
resourceType: z.literal('GMAudioGroup').default('GMAudioGroup'),
|
|
41
|
-
resourceVersion: z.
|
|
41
|
+
resourceVersion: z.string().default('1.3'),
|
|
42
42
|
});
|
|
43
43
|
export const yypTextureGroupSchema = z.object({
|
|
44
44
|
ConfigValues: z.record(z.record(z.string())).optional(),
|
|
@@ -59,7 +59,7 @@ export const yypTextureGroupSchema = z.object({
|
|
|
59
59
|
loadType: z.enum(['default', 'dynamicpages']).optional(),
|
|
60
60
|
directory: z.string().optional(),
|
|
61
61
|
resourceType: z.literal('GMTextureGroup').default('GMTextureGroup'),
|
|
62
|
-
resourceVersion: z.
|
|
62
|
+
resourceVersion: z.string().default('1.3'),
|
|
63
63
|
});
|
|
64
64
|
const yypIncludedFileSchema = z.object({
|
|
65
65
|
ConfigValues: z
|
|
@@ -73,10 +73,22 @@ const yypIncludedFileSchema = z.object({
|
|
|
73
73
|
/** `datafiles/${subdir}` */
|
|
74
74
|
filePath: z.string(),
|
|
75
75
|
resourceType: z.literal('GMIncludedFile').default('GMIncludedFile'),
|
|
76
|
-
resourceVersion: z.
|
|
76
|
+
resourceVersion: z.string().default('1.0'),
|
|
77
77
|
});
|
|
78
|
-
export const yypSchema = z
|
|
78
|
+
export const yypSchema = z.preprocess((input) => {
|
|
79
|
+
// Remove the Options field if it's an empty array
|
|
80
|
+
// (Since the GameMaker IDE will, and thus create Git noise)
|
|
81
|
+
if (input &&
|
|
82
|
+
typeof input === 'object' &&
|
|
83
|
+
'Options' in input &&
|
|
84
|
+
Array.isArray(input.Options) &&
|
|
85
|
+
input.Options.length === 0) {
|
|
86
|
+
delete input.Options;
|
|
87
|
+
}
|
|
88
|
+
return input;
|
|
89
|
+
}, z
|
|
79
90
|
.object({
|
|
91
|
+
['%Name']: z.string().optional(),
|
|
80
92
|
name: z.string(),
|
|
81
93
|
resourceType: z.literal('GMProject').default('GMProject'),
|
|
82
94
|
resources: z.array(yypResourceSchema).default([]),
|
|
@@ -101,5 +113,5 @@ export const yypSchema = z
|
|
|
101
113
|
resourceVersion: z.string(),
|
|
102
114
|
tags: z.array(z.string()).optional(),
|
|
103
115
|
})
|
|
104
|
-
.passthrough();
|
|
116
|
+
.passthrough());
|
|
105
117
|
//# sourceMappingURL=Yyp.js.map
|