@bscotch/yy 0.17.1 → 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.
Files changed (44) hide show
  1. package/dist/Yy.d.ts +477 -295
  2. package/dist/Yy.d.ts.map +1 -1
  3. package/dist/Yy.js +24 -85
  4. package/dist/Yy.js.map +1 -1
  5. package/dist/Yy.parse.d.ts.map +1 -1
  6. package/dist/Yy.parse.js +19 -3
  7. package/dist/Yy.parse.js.map +1 -1
  8. package/dist/Yy.stringify.d.ts +6 -2
  9. package/dist/Yy.stringify.d.ts.map +1 -1
  10. package/dist/Yy.stringify.js +86 -3
  11. package/dist/Yy.stringify.js.map +1 -1
  12. package/dist/types/YyBase.d.ts +4 -1
  13. package/dist/types/YyBase.d.ts.map +1 -1
  14. package/dist/types/YyBase.js +1 -1
  15. package/dist/types/YyBase.js.map +1 -1
  16. package/dist/types/YyExtension.d.ts +3 -0
  17. package/dist/types/YyExtension.d.ts.map +1 -1
  18. package/dist/types/YyExtension.js +1 -0
  19. package/dist/types/YyExtension.js.map +1 -1
  20. package/dist/types/YyObject.d.ts +22 -19
  21. package/dist/types/YyObject.d.ts.map +1 -1
  22. package/dist/types/YyObject.js +2 -2
  23. package/dist/types/YyObject.js.map +1 -1
  24. package/dist/types/YyRoom.d.ts +6 -3
  25. package/dist/types/YyRoom.d.ts.map +1 -1
  26. package/dist/types/YyScript.d.ts +6 -3
  27. package/dist/types/YyScript.d.ts.map +1 -1
  28. package/dist/types/YySound.d.ts +6 -3
  29. package/dist/types/YySound.d.ts.map +1 -1
  30. package/dist/types/YySprite.d.ts +180 -169
  31. package/dist/types/YySprite.d.ts.map +1 -1
  32. package/dist/types/YySprite.js +7 -7
  33. package/dist/types/YySprite.js.map +1 -1
  34. package/dist/types/YySprite.lib.d.ts +7 -6
  35. package/dist/types/YySprite.lib.d.ts.map +1 -1
  36. package/dist/types/Yyp.d.ts +64 -60
  37. package/dist/types/Yyp.d.ts.map +1 -1
  38. package/dist/types/Yyp.js +5 -4
  39. package/dist/types/Yyp.js.map +1 -1
  40. package/dist/types/utility.d.ts +5 -2
  41. package/dist/types/utility.d.ts.map +1 -1
  42. package/dist/types/utility.js +11 -1
  43. package/dist/types/utility.js.map +1 -1
  44. package/package.json +1 -1
package/dist/Yy.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { PartialDeep } from 'type-fest';
2
2
  import { Schema, z } from 'zod';
3
3
  import { YyResourceType } from './types/YyBase.js';
4
+ import { Yyp } from './types/Yyp.js';
4
5
  export type YySchemaRef = YyResourceType | 'project' | Schema | undefined;
5
6
  export type YySchemaName = keyof YySchemas;
6
7
  export type YySchema<T extends YySchemaRef> = T extends YySchemaName ? YySchemas[T] : T extends Schema ? T : unknown;
@@ -9,6 +10,7 @@ export type YyDataLoose<T extends YySchemaRef> = T extends undefined ? unknown :
9
10
  export type YySchemas = typeof yySchemas;
10
11
  export declare const yySchemas: {
11
12
  readonly project: z.ZodEffects<z.ZodObject<{
13
+ "%Name": z.ZodOptional<z.ZodString>;
12
14
  name: z.ZodString;
13
15
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
14
16
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -91,11 +93,11 @@ export declare const yySchemas: {
91
93
  folderPath: z.ZodString;
92
94
  order: z.ZodOptional<z.ZodNumber>;
93
95
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
94
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
96
+ resourceVersion: z.ZodDefault<z.ZodString>;
95
97
  }, "strip", z.ZodTypeAny, {
96
98
  name: string;
97
99
  resourceType: "GMFolder";
98
- resourceVersion: "1.0";
100
+ resourceVersion: string;
99
101
  folderPath: string;
100
102
  tags?: string[] | undefined;
101
103
  order?: number | undefined;
@@ -105,18 +107,18 @@ export declare const yySchemas: {
105
107
  tags?: string[] | undefined;
106
108
  order?: number | undefined;
107
109
  resourceType?: "GMFolder" | undefined;
108
- resourceVersion?: "1.0" | undefined;
110
+ resourceVersion?: string | undefined;
109
111
  }>, "many">>;
110
112
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
111
113
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
112
114
  name: z.ZodString;
113
115
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
114
116
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
115
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
117
+ resourceVersion: z.ZodDefault<z.ZodString>;
116
118
  }, "strip", z.ZodTypeAny, {
117
119
  name: string;
118
120
  resourceType: "GMAudioGroup";
119
- resourceVersion: "1.3";
121
+ resourceVersion: string;
120
122
  targets: bigint;
121
123
  ConfigValues?: Record<string, Record<string, string>> | undefined;
122
124
  }, {
@@ -124,10 +126,16 @@ export declare const yySchemas: {
124
126
  ConfigValues?: Record<string, Record<string, string>> | undefined;
125
127
  targets?: number | bigint | undefined;
126
128
  resourceType?: "GMAudioGroup" | undefined;
127
- resourceVersion?: "1.3" | undefined;
129
+ resourceVersion?: string | undefined;
128
130
  }>, "many">>;
129
131
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
130
132
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
133
+ /**
134
+ * Stringify an object into a Yy-formatted string,
135
+ * including trailing commas. If a schema is provided,
136
+ * it will be used to validate and populate defaults before
137
+ * stringifying.
138
+ */
131
139
  name: z.ZodString;
132
140
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
133
141
  name: z.ZodString;
@@ -148,11 +156,11 @@ export declare const yySchemas: {
148
156
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
149
157
  directory: z.ZodOptional<z.ZodString>;
150
158
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
151
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
159
+ resourceVersion: z.ZodDefault<z.ZodString>;
152
160
  }, "strip", z.ZodTypeAny, {
153
161
  name: string;
154
162
  resourceType: "GMTextureGroup";
155
- resourceVersion: "1.3";
163
+ resourceVersion: string;
156
164
  targets: bigint;
157
165
  groupParent: {
158
166
  path: string;
@@ -182,7 +190,7 @@ export declare const yySchemas: {
182
190
  loadType?: "default" | "dynamicpages" | undefined;
183
191
  directory?: string | undefined;
184
192
  resourceType?: "GMTextureGroup" | undefined;
185
- resourceVersion?: "1.3" | undefined;
193
+ resourceVersion?: string | undefined;
186
194
  }>, "many">>;
187
195
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
188
196
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -196,11 +204,11 @@ export declare const yySchemas: {
196
204
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
197
205
  filePath: z.ZodString;
198
206
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
199
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
207
+ resourceVersion: z.ZodDefault<z.ZodString>;
200
208
  }, "strip", z.ZodTypeAny, {
201
209
  name: string;
202
210
  resourceType: "GMIncludedFile";
203
- resourceVersion: "1.0";
211
+ resourceVersion: string;
204
212
  CopyToMask: bigint;
205
213
  filePath: string;
206
214
  ConfigValues?: Record<string, {
@@ -214,7 +222,7 @@ export declare const yySchemas: {
214
222
  }> | undefined;
215
223
  CopyToMask?: number | bigint | undefined;
216
224
  resourceType?: "GMIncludedFile" | undefined;
217
- resourceVersion?: "1.0" | undefined;
225
+ resourceVersion?: string | undefined;
218
226
  }>, "many">>;
219
227
  MetaData: z.ZodObject<{
220
228
  IDEVersion: z.ZodString;
@@ -227,6 +235,7 @@ export declare const yySchemas: {
227
235
  resourceVersion: z.ZodString;
228
236
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
229
237
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
238
+ "%Name": z.ZodOptional<z.ZodString>;
230
239
  name: z.ZodString;
231
240
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
232
241
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -309,11 +318,11 @@ export declare const yySchemas: {
309
318
  folderPath: z.ZodString;
310
319
  order: z.ZodOptional<z.ZodNumber>;
311
320
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
312
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
321
+ resourceVersion: z.ZodDefault<z.ZodString>;
313
322
  }, "strip", z.ZodTypeAny, {
314
323
  name: string;
315
324
  resourceType: "GMFolder";
316
- resourceVersion: "1.0";
325
+ resourceVersion: string;
317
326
  folderPath: string;
318
327
  tags?: string[] | undefined;
319
328
  order?: number | undefined;
@@ -323,18 +332,18 @@ export declare const yySchemas: {
323
332
  tags?: string[] | undefined;
324
333
  order?: number | undefined;
325
334
  resourceType?: "GMFolder" | undefined;
326
- resourceVersion?: "1.0" | undefined;
335
+ resourceVersion?: string | undefined;
327
336
  }>, "many">>;
328
337
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
329
338
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
330
339
  name: z.ZodString;
331
340
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
332
341
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
333
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
342
+ resourceVersion: z.ZodDefault<z.ZodString>;
334
343
  }, "strip", z.ZodTypeAny, {
335
344
  name: string;
336
345
  resourceType: "GMAudioGroup";
337
- resourceVersion: "1.3";
346
+ resourceVersion: string;
338
347
  targets: bigint;
339
348
  ConfigValues?: Record<string, Record<string, string>> | undefined;
340
349
  }, {
@@ -342,10 +351,16 @@ export declare const yySchemas: {
342
351
  ConfigValues?: Record<string, Record<string, string>> | undefined;
343
352
  targets?: number | bigint | undefined;
344
353
  resourceType?: "GMAudioGroup" | undefined;
345
- resourceVersion?: "1.3" | undefined;
354
+ resourceVersion?: string | undefined;
346
355
  }>, "many">>;
347
356
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
348
357
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
358
+ /**
359
+ * Stringify an object into a Yy-formatted string,
360
+ * including trailing commas. If a schema is provided,
361
+ * it will be used to validate and populate defaults before
362
+ * stringifying.
363
+ */
349
364
  name: z.ZodString;
350
365
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
351
366
  name: z.ZodString;
@@ -366,11 +381,11 @@ export declare const yySchemas: {
366
381
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
367
382
  directory: z.ZodOptional<z.ZodString>;
368
383
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
369
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
384
+ resourceVersion: z.ZodDefault<z.ZodString>;
370
385
  }, "strip", z.ZodTypeAny, {
371
386
  name: string;
372
387
  resourceType: "GMTextureGroup";
373
- resourceVersion: "1.3";
388
+ resourceVersion: string;
374
389
  targets: bigint;
375
390
  groupParent: {
376
391
  path: string;
@@ -400,7 +415,7 @@ export declare const yySchemas: {
400
415
  loadType?: "default" | "dynamicpages" | undefined;
401
416
  directory?: string | undefined;
402
417
  resourceType?: "GMTextureGroup" | undefined;
403
- resourceVersion?: "1.3" | undefined;
418
+ resourceVersion?: string | undefined;
404
419
  }>, "many">>;
405
420
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
406
421
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -414,11 +429,11 @@ export declare const yySchemas: {
414
429
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
415
430
  filePath: z.ZodString;
416
431
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
417
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
432
+ resourceVersion: z.ZodDefault<z.ZodString>;
418
433
  }, "strip", z.ZodTypeAny, {
419
434
  name: string;
420
435
  resourceType: "GMIncludedFile";
421
- resourceVersion: "1.0";
436
+ resourceVersion: string;
422
437
  CopyToMask: bigint;
423
438
  filePath: string;
424
439
  ConfigValues?: Record<string, {
@@ -432,7 +447,7 @@ export declare const yySchemas: {
432
447
  }> | undefined;
433
448
  CopyToMask?: number | bigint | undefined;
434
449
  resourceType?: "GMIncludedFile" | undefined;
435
- resourceVersion?: "1.0" | undefined;
450
+ resourceVersion?: string | undefined;
436
451
  }>, "many">>;
437
452
  MetaData: z.ZodObject<{
438
453
  IDEVersion: z.ZodString;
@@ -445,6 +460,7 @@ export declare const yySchemas: {
445
460
  resourceVersion: z.ZodString;
446
461
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
447
462
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
463
+ "%Name": z.ZodOptional<z.ZodString>;
448
464
  name: z.ZodString;
449
465
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
450
466
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -527,11 +543,11 @@ export declare const yySchemas: {
527
543
  folderPath: z.ZodString;
528
544
  order: z.ZodOptional<z.ZodNumber>;
529
545
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
530
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
546
+ resourceVersion: z.ZodDefault<z.ZodString>;
531
547
  }, "strip", z.ZodTypeAny, {
532
548
  name: string;
533
549
  resourceType: "GMFolder";
534
- resourceVersion: "1.0";
550
+ resourceVersion: string;
535
551
  folderPath: string;
536
552
  tags?: string[] | undefined;
537
553
  order?: number | undefined;
@@ -541,18 +557,18 @@ export declare const yySchemas: {
541
557
  tags?: string[] | undefined;
542
558
  order?: number | undefined;
543
559
  resourceType?: "GMFolder" | undefined;
544
- resourceVersion?: "1.0" | undefined;
560
+ resourceVersion?: string | undefined;
545
561
  }>, "many">>;
546
562
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
547
563
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
548
564
  name: z.ZodString;
549
565
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
550
566
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
551
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
567
+ resourceVersion: z.ZodDefault<z.ZodString>;
552
568
  }, "strip", z.ZodTypeAny, {
553
569
  name: string;
554
570
  resourceType: "GMAudioGroup";
555
- resourceVersion: "1.3";
571
+ resourceVersion: string;
556
572
  targets: bigint;
557
573
  ConfigValues?: Record<string, Record<string, string>> | undefined;
558
574
  }, {
@@ -560,10 +576,16 @@ export declare const yySchemas: {
560
576
  ConfigValues?: Record<string, Record<string, string>> | undefined;
561
577
  targets?: number | bigint | undefined;
562
578
  resourceType?: "GMAudioGroup" | undefined;
563
- resourceVersion?: "1.3" | undefined;
579
+ resourceVersion?: string | undefined;
564
580
  }>, "many">>;
565
581
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
566
582
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
583
+ /**
584
+ * Stringify an object into a Yy-formatted string,
585
+ * including trailing commas. If a schema is provided,
586
+ * it will be used to validate and populate defaults before
587
+ * stringifying.
588
+ */
567
589
  name: z.ZodString;
568
590
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
569
591
  name: z.ZodString;
@@ -584,11 +606,11 @@ export declare const yySchemas: {
584
606
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
585
607
  directory: z.ZodOptional<z.ZodString>;
586
608
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
587
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
609
+ resourceVersion: z.ZodDefault<z.ZodString>;
588
610
  }, "strip", z.ZodTypeAny, {
589
611
  name: string;
590
612
  resourceType: "GMTextureGroup";
591
- resourceVersion: "1.3";
613
+ resourceVersion: string;
592
614
  targets: bigint;
593
615
  groupParent: {
594
616
  path: string;
@@ -618,7 +640,7 @@ export declare const yySchemas: {
618
640
  loadType?: "default" | "dynamicpages" | undefined;
619
641
  directory?: string | undefined;
620
642
  resourceType?: "GMTextureGroup" | undefined;
621
- resourceVersion?: "1.3" | undefined;
643
+ resourceVersion?: string | undefined;
622
644
  }>, "many">>;
623
645
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
624
646
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -632,11 +654,11 @@ export declare const yySchemas: {
632
654
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
633
655
  filePath: z.ZodString;
634
656
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
635
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
657
+ resourceVersion: z.ZodDefault<z.ZodString>;
636
658
  }, "strip", z.ZodTypeAny, {
637
659
  name: string;
638
660
  resourceType: "GMIncludedFile";
639
- resourceVersion: "1.0";
661
+ resourceVersion: string;
640
662
  CopyToMask: bigint;
641
663
  filePath: string;
642
664
  ConfigValues?: Record<string, {
@@ -650,7 +672,7 @@ export declare const yySchemas: {
650
672
  }> | undefined;
651
673
  CopyToMask?: number | bigint | undefined;
652
674
  resourceType?: "GMIncludedFile" | undefined;
653
- resourceVersion?: "1.0" | undefined;
675
+ resourceVersion?: string | undefined;
654
676
  }>, "many">>;
655
677
  MetaData: z.ZodObject<{
656
678
  IDEVersion: z.ZodString;
@@ -663,6 +685,7 @@ export declare const yySchemas: {
663
685
  resourceVersion: z.ZodString;
664
686
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
665
687
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
688
+ "%Name": z.ZodOptional<z.ZodString>;
666
689
  name: z.ZodString;
667
690
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
668
691
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -745,11 +768,11 @@ export declare const yySchemas: {
745
768
  folderPath: z.ZodString;
746
769
  order: z.ZodOptional<z.ZodNumber>;
747
770
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
748
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
771
+ resourceVersion: z.ZodDefault<z.ZodString>;
749
772
  }, "strip", z.ZodTypeAny, {
750
773
  name: string;
751
774
  resourceType: "GMFolder";
752
- resourceVersion: "1.0";
775
+ resourceVersion: string;
753
776
  folderPath: string;
754
777
  tags?: string[] | undefined;
755
778
  order?: number | undefined;
@@ -759,18 +782,18 @@ export declare const yySchemas: {
759
782
  tags?: string[] | undefined;
760
783
  order?: number | undefined;
761
784
  resourceType?: "GMFolder" | undefined;
762
- resourceVersion?: "1.0" | undefined;
785
+ resourceVersion?: string | undefined;
763
786
  }>, "many">>;
764
787
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
765
788
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
766
789
  name: z.ZodString;
767
790
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
768
791
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
769
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
792
+ resourceVersion: z.ZodDefault<z.ZodString>;
770
793
  }, "strip", z.ZodTypeAny, {
771
794
  name: string;
772
795
  resourceType: "GMAudioGroup";
773
- resourceVersion: "1.3";
796
+ resourceVersion: string;
774
797
  targets: bigint;
775
798
  ConfigValues?: Record<string, Record<string, string>> | undefined;
776
799
  }, {
@@ -778,10 +801,16 @@ export declare const yySchemas: {
778
801
  ConfigValues?: Record<string, Record<string, string>> | undefined;
779
802
  targets?: number | bigint | undefined;
780
803
  resourceType?: "GMAudioGroup" | undefined;
781
- resourceVersion?: "1.3" | undefined;
804
+ resourceVersion?: string | undefined;
782
805
  }>, "many">>;
783
806
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
784
807
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
808
+ /**
809
+ * Stringify an object into a Yy-formatted string,
810
+ * including trailing commas. If a schema is provided,
811
+ * it will be used to validate and populate defaults before
812
+ * stringifying.
813
+ */
785
814
  name: z.ZodString;
786
815
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
787
816
  name: z.ZodString;
@@ -802,11 +831,11 @@ export declare const yySchemas: {
802
831
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
803
832
  directory: z.ZodOptional<z.ZodString>;
804
833
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
805
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
834
+ resourceVersion: z.ZodDefault<z.ZodString>;
806
835
  }, "strip", z.ZodTypeAny, {
807
836
  name: string;
808
837
  resourceType: "GMTextureGroup";
809
- resourceVersion: "1.3";
838
+ resourceVersion: string;
810
839
  targets: bigint;
811
840
  groupParent: {
812
841
  path: string;
@@ -836,7 +865,7 @@ export declare const yySchemas: {
836
865
  loadType?: "default" | "dynamicpages" | undefined;
837
866
  directory?: string | undefined;
838
867
  resourceType?: "GMTextureGroup" | undefined;
839
- resourceVersion?: "1.3" | undefined;
868
+ resourceVersion?: string | undefined;
840
869
  }>, "many">>;
841
870
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
842
871
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -850,11 +879,11 @@ export declare const yySchemas: {
850
879
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
851
880
  filePath: z.ZodString;
852
881
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
853
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
882
+ resourceVersion: z.ZodDefault<z.ZodString>;
854
883
  }, "strip", z.ZodTypeAny, {
855
884
  name: string;
856
885
  resourceType: "GMIncludedFile";
857
- resourceVersion: "1.0";
886
+ resourceVersion: string;
858
887
  CopyToMask: bigint;
859
888
  filePath: string;
860
889
  ConfigValues?: Record<string, {
@@ -868,7 +897,7 @@ export declare const yySchemas: {
868
897
  }> | undefined;
869
898
  CopyToMask?: number | bigint | undefined;
870
899
  resourceType?: "GMIncludedFile" | undefined;
871
- resourceVersion?: "1.0" | undefined;
900
+ resourceVersion?: string | undefined;
872
901
  }>, "many">>;
873
902
  MetaData: z.ZodObject<{
874
903
  IDEVersion: z.ZodString;
@@ -881,8 +910,15 @@ export declare const yySchemas: {
881
910
  resourceVersion: z.ZodString;
882
911
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
883
912
  }, z.ZodTypeAny, "passthrough">, unknown>;
884
- readonly animcurves: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
913
+ readonly animcurves: z.ZodObject<{
914
+ "%Name": z.ZodOptional<z.ZodString>;
915
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
916
+ "%Name": z.ZodOptional<z.ZodString>;
917
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
918
+ "%Name": z.ZodOptional<z.ZodString>;
919
+ }, z.ZodTypeAny, "passthrough">>;
885
920
  readonly extensions: z.ZodObject<{
921
+ "%Name": z.ZodOptional<z.ZodString>;
886
922
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
887
923
  resourceVersion: z.ZodDefault<z.ZodString>;
888
924
  name: z.ZodString;
@@ -1075,6 +1111,7 @@ export declare const yySchemas: {
1075
1111
  name: string;
1076
1112
  }>>;
1077
1113
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1114
+ "%Name": z.ZodOptional<z.ZodString>;
1078
1115
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
1079
1116
  resourceVersion: z.ZodDefault<z.ZodString>;
1080
1117
  name: z.ZodString;
@@ -1267,6 +1304,7 @@ export declare const yySchemas: {
1267
1304
  name: string;
1268
1305
  }>>;
1269
1306
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1307
+ "%Name": z.ZodOptional<z.ZodString>;
1270
1308
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
1271
1309
  resourceVersion: z.ZodDefault<z.ZodString>;
1272
1310
  name: z.ZodString;
@@ -1459,10 +1497,24 @@ export declare const yySchemas: {
1459
1497
  name: string;
1460
1498
  }>>;
1461
1499
  }, z.ZodTypeAny, "passthrough">>;
1462
- readonly fonts: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1463
- readonly notes: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1500
+ readonly fonts: z.ZodObject<{
1501
+ "%Name": z.ZodOptional<z.ZodString>;
1502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1503
+ "%Name": z.ZodOptional<z.ZodString>;
1504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1505
+ "%Name": z.ZodOptional<z.ZodString>;
1506
+ }, z.ZodTypeAny, "passthrough">>;
1507
+ readonly notes: z.ZodObject<{
1508
+ "%Name": z.ZodOptional<z.ZodString>;
1509
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1510
+ "%Name": z.ZodOptional<z.ZodString>;
1511
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1512
+ "%Name": z.ZodOptional<z.ZodString>;
1513
+ }, z.ZodTypeAny, "passthrough">>;
1464
1514
  readonly objects: z.ZodObject<{
1515
+ "%Name": z.ZodOptional<z.ZodString>;
1465
1516
  name: z.ZodString;
1517
+ resourceVersion: z.ZodDefault<z.ZodString>;
1466
1518
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
1467
1519
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1468
1520
  parent: z.ZodDefault<z.ZodObject<{
@@ -1475,7 +1527,6 @@ export declare const yySchemas: {
1475
1527
  path: string;
1476
1528
  name: string;
1477
1529
  }>>;
1478
- resourceVersion: z.ZodDefault<z.ZodString>;
1479
1530
  spriteId: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1480
1531
  name: z.ZodString;
1481
1532
  path: z.ZodString;
@@ -1546,13 +1597,13 @@ export declare const yySchemas: {
1546
1597
  }>>>;
1547
1598
  name: z.ZodDefault<z.ZodString>;
1548
1599
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1549
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
1600
+ resourceVersion: z.ZodDefault<z.ZodString>;
1550
1601
  resourceType: z.ZodDefault<z.ZodLiteral<"GMEvent">>;
1551
1602
  parent: z.ZodOptional<z.ZodUnknown>;
1552
1603
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1553
1604
  name: string;
1554
1605
  resourceType: "GMEvent";
1555
- resourceVersion: "1.0";
1606
+ resourceVersion: string;
1556
1607
  isDnD: boolean;
1557
1608
  eventNum: number;
1558
1609
  eventType: number;
@@ -1572,7 +1623,7 @@ export declare const yySchemas: {
1572
1623
  } | null | undefined;
1573
1624
  name?: string | undefined;
1574
1625
  tags?: string[] | undefined;
1575
- resourceVersion?: "1.0" | undefined;
1626
+ resourceVersion?: string | undefined;
1576
1627
  resourceType?: "GMEvent" | undefined;
1577
1628
  parent?: unknown;
1578
1629
  }>, "many">>;
@@ -1585,21 +1636,15 @@ export declare const yySchemas: {
1585
1636
  rangeMax: z.ZodNumber;
1586
1637
  listItems: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1587
1638
  multiselect: z.ZodDefault<z.ZodBoolean>;
1588
- /**
1589
- * Stringify an object into a Yy-formatted string,
1590
- * including trailing commas. If a schema is provided,
1591
- * it will be used to validate and populate defaults before
1592
- * stringifying.
1593
- */
1594
1639
  filters: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
1595
1640
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1596
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
1641
+ resourceVersion: z.ZodDefault<z.ZodString>;
1597
1642
  resourceType: z.ZodDefault<z.ZodLiteral<"GMObjectProperty">>;
1598
1643
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1599
1644
  value: string;
1600
1645
  name: string;
1601
1646
  resourceType: "GMObjectProperty";
1602
- resourceVersion: "1.0";
1647
+ resourceVersion: string;
1603
1648
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
1604
1649
  rangeEnabled: boolean;
1605
1650
  rangeMin: number;
@@ -1619,7 +1664,7 @@ export declare const yySchemas: {
1619
1664
  multiselect?: boolean | undefined;
1620
1665
  filters?: unknown[] | undefined;
1621
1666
  tags?: string[] | undefined;
1622
- resourceVersion?: "1.0" | undefined;
1667
+ resourceVersion?: string | undefined;
1623
1668
  resourceType?: "GMObjectProperty" | undefined;
1624
1669
  }>, "many">>;
1625
1670
  overriddenProperties: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
@@ -1628,11 +1673,11 @@ export declare const yySchemas: {
1628
1673
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1629
1674
  name: string;
1630
1675
  resourceType: "GMObject";
1676
+ resourceVersion: string;
1631
1677
  parent: {
1632
1678
  path: string;
1633
1679
  name: string;
1634
1680
  };
1635
- resourceVersion: string;
1636
1681
  spriteId: {
1637
1682
  path: string;
1638
1683
  name: string;
@@ -1666,7 +1711,7 @@ export declare const yySchemas: {
1666
1711
  eventList: {
1667
1712
  name: string;
1668
1713
  resourceType: "GMEvent";
1669
- resourceVersion: "1.0";
1714
+ resourceVersion: string;
1670
1715
  isDnD: boolean;
1671
1716
  eventNum: number;
1672
1717
  eventType: number;
@@ -1681,7 +1726,7 @@ export declare const yySchemas: {
1681
1726
  value: string;
1682
1727
  name: string;
1683
1728
  resourceType: "GMObjectProperty";
1684
- resourceVersion: "1.0";
1729
+ resourceVersion: string;
1685
1730
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
1686
1731
  rangeEnabled: boolean;
1687
1732
  rangeMin: number;
@@ -1692,18 +1737,20 @@ export declare const yySchemas: {
1692
1737
  tags?: string[] | undefined;
1693
1738
  }[];
1694
1739
  overriddenProperties: unknown[];
1740
+ "%Name"?: string | undefined;
1695
1741
  ConfigValues?: Record<string, Record<string, string>> | undefined;
1696
1742
  tags?: string[] | undefined;
1697
1743
  managed?: boolean | undefined;
1698
1744
  }, {
1699
1745
  name: string;
1746
+ "%Name"?: string | undefined;
1747
+ resourceVersion?: string | undefined;
1700
1748
  ConfigValues?: Record<string, Record<string, string>> | undefined;
1701
1749
  tags?: string[] | undefined;
1702
1750
  parent?: {
1703
1751
  path: string;
1704
1752
  name: string;
1705
1753
  } | undefined;
1706
- resourceVersion?: string | undefined;
1707
1754
  spriteId?: {
1708
1755
  path: string;
1709
1756
  name: string;
@@ -1744,7 +1791,7 @@ export declare const yySchemas: {
1744
1791
  } | null | undefined;
1745
1792
  name?: string | undefined;
1746
1793
  tags?: string[] | undefined;
1747
- resourceVersion?: "1.0" | undefined;
1794
+ resourceVersion?: string | undefined;
1748
1795
  resourceType?: "GMEvent" | undefined;
1749
1796
  parent?: unknown;
1750
1797
  }[] | undefined;
@@ -1759,17 +1806,31 @@ export declare const yySchemas: {
1759
1806
  multiselect?: boolean | undefined;
1760
1807
  filters?: unknown[] | undefined;
1761
1808
  tags?: string[] | undefined;
1762
- resourceVersion?: "1.0" | undefined;
1809
+ resourceVersion?: string | undefined;
1763
1810
  resourceType?: "GMObjectProperty" | undefined;
1764
1811
  }[] | undefined;
1765
1812
  overriddenProperties?: unknown[] | undefined;
1766
1813
  managed?: boolean | undefined;
1767
1814
  resourceType?: "GMObject" | undefined;
1768
1815
  }>;
1769
- readonly particles: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1770
- readonly paths: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1816
+ readonly particles: z.ZodObject<{
1817
+ "%Name": z.ZodOptional<z.ZodString>;
1818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1819
+ "%Name": z.ZodOptional<z.ZodString>;
1820
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1821
+ "%Name": z.ZodOptional<z.ZodString>;
1822
+ }, z.ZodTypeAny, "passthrough">>;
1823
+ readonly paths: z.ZodObject<{
1824
+ "%Name": z.ZodOptional<z.ZodString>;
1825
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1826
+ "%Name": z.ZodOptional<z.ZodString>;
1827
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1828
+ "%Name": z.ZodOptional<z.ZodString>;
1829
+ }, z.ZodTypeAny, "passthrough">>;
1771
1830
  readonly rooms: z.ZodObject<{
1831
+ "%Name": z.ZodOptional<z.ZodString>;
1772
1832
  name: z.ZodString;
1833
+ resourceVersion: z.ZodDefault<z.ZodString>;
1773
1834
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
1774
1835
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1775
1836
  parent: z.ZodDefault<z.ZodObject<{
@@ -1782,7 +1843,6 @@ export declare const yySchemas: {
1782
1843
  path: string;
1783
1844
  name: string;
1784
1845
  }>>;
1785
- resourceVersion: z.ZodDefault<z.ZodString>;
1786
1846
  layers: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
1787
1847
  visible: z.ZodDefault<z.ZodBoolean>;
1788
1848
  properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
@@ -2673,11 +2733,11 @@ export declare const yySchemas: {
2673
2733
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2674
2734
  name: string;
2675
2735
  resourceType: "GMRoom";
2736
+ resourceVersion: string;
2676
2737
  parent: {
2677
2738
  path: string;
2678
2739
  name: string;
2679
2740
  };
2680
- resourceVersion: string;
2681
2741
  isDnd: boolean;
2682
2742
  inheritCode: boolean;
2683
2743
  layers: (z.objectOutputType<{
@@ -2980,19 +3040,21 @@ export declare const yySchemas: {
2980
3040
  inheritLayers: boolean;
2981
3041
  creationCodeFile: string;
2982
3042
  inheritCreationOrder: boolean;
3043
+ "%Name"?: string | undefined;
2983
3044
  ConfigValues?: Record<string, Record<string, string>> | undefined;
2984
3045
  tags?: string[] | undefined;
2985
3046
  parentRoom?: unknown;
2986
3047
  sequenceId?: unknown;
2987
3048
  }, {
2988
3049
  name: string;
3050
+ "%Name"?: string | undefined;
3051
+ resourceVersion?: string | undefined;
2989
3052
  ConfigValues?: Record<string, Record<string, string>> | undefined;
2990
3053
  tags?: string[] | undefined;
2991
3054
  parent?: {
2992
3055
  path: string;
2993
3056
  name: string;
2994
3057
  } | undefined;
2995
- resourceVersion?: string | undefined;
2996
3058
  layers?: (z.objectInputType<{
2997
3059
  resourceType: z.ZodLiteral<"GMRPathLayer">;
2998
3060
  resourceVersion: z.ZodDefault<z.ZodString>;
@@ -3298,7 +3360,9 @@ export declare const yySchemas: {
3298
3360
  resourceType?: "GMRoom" | undefined;
3299
3361
  }>;
3300
3362
  readonly scripts: z.ZodObject<{
3363
+ "%Name": z.ZodOptional<z.ZodString>;
3301
3364
  name: z.ZodString;
3365
+ resourceVersion: z.ZodDefault<z.ZodString>;
3302
3366
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3303
3367
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3304
3368
  parent: z.ZodDefault<z.ZodObject<{
@@ -3311,39 +3375,54 @@ export declare const yySchemas: {
3311
3375
  path: string;
3312
3376
  name: string;
3313
3377
  }>>;
3314
- resourceVersion: z.ZodDefault<z.ZodString>;
3315
3378
  isDnD: z.ZodDefault<z.ZodBoolean>;
3316
3379
  isCompatibility: z.ZodDefault<z.ZodBoolean>;
3317
3380
  resourceType: z.ZodDefault<z.ZodLiteral<"GMScript">>;
3318
3381
  }, z.UnknownKeysParam, z.ZodTypeAny, {
3319
3382
  name: string;
3320
3383
  resourceType: "GMScript";
3384
+ resourceVersion: string;
3321
3385
  parent: {
3322
3386
  path: string;
3323
3387
  name: string;
3324
3388
  };
3325
- resourceVersion: string;
3326
3389
  isDnD: boolean;
3327
3390
  isCompatibility: boolean;
3391
+ "%Name"?: string | undefined;
3328
3392
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3329
3393
  tags?: string[] | undefined;
3330
3394
  }, {
3331
3395
  name: string;
3396
+ "%Name"?: string | undefined;
3397
+ resourceVersion?: string | undefined;
3332
3398
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3333
3399
  tags?: string[] | undefined;
3334
3400
  parent?: {
3335
3401
  path: string;
3336
3402
  name: string;
3337
3403
  } | undefined;
3338
- resourceVersion?: string | undefined;
3339
3404
  isDnD?: boolean | undefined;
3340
3405
  isCompatibility?: boolean | undefined;
3341
3406
  resourceType?: "GMScript" | undefined;
3342
3407
  }>;
3343
- readonly sequences: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
3344
- readonly shaders: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
3408
+ readonly sequences: z.ZodObject<{
3409
+ "%Name": z.ZodOptional<z.ZodString>;
3410
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3411
+ "%Name": z.ZodOptional<z.ZodString>;
3412
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3413
+ "%Name": z.ZodOptional<z.ZodString>;
3414
+ }, z.ZodTypeAny, "passthrough">>;
3415
+ readonly shaders: z.ZodObject<{
3416
+ "%Name": z.ZodOptional<z.ZodString>;
3417
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3418
+ "%Name": z.ZodOptional<z.ZodString>;
3419
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3420
+ "%Name": z.ZodOptional<z.ZodString>;
3421
+ }, z.ZodTypeAny, "passthrough">>;
3345
3422
  readonly sounds: z.ZodObject<{
3423
+ "%Name": z.ZodOptional<z.ZodString>;
3346
3424
  name: z.ZodString;
3425
+ resourceVersion: z.ZodDefault<z.ZodString>;
3347
3426
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3348
3427
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3349
3428
  parent: z.ZodDefault<z.ZodObject<{
@@ -3356,7 +3435,6 @@ export declare const yySchemas: {
3356
3435
  path: string;
3357
3436
  name: string;
3358
3437
  }>>;
3359
- resourceVersion: z.ZodDefault<z.ZodString>;
3360
3438
  compression: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySound.js").SoundCompression>>;
3361
3439
  conversionMode: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3362
3440
  volume: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>>;
@@ -3382,11 +3460,11 @@ export declare const yySchemas: {
3382
3460
  type: import("./types/YySound.js").SoundChannel;
3383
3461
  name: string;
3384
3462
  resourceType: "GMSound";
3463
+ resourceVersion: string;
3385
3464
  parent: {
3386
3465
  path: string;
3387
3466
  name: string;
3388
3467
  };
3389
- resourceVersion: string;
3390
3468
  volume: import("./types/utility.js").FixedNumber;
3391
3469
  compression: import("./types/YySound.js").SoundCompression;
3392
3470
  conversionMode: number;
@@ -3399,19 +3477,21 @@ export declare const yySchemas: {
3399
3477
  name: string;
3400
3478
  };
3401
3479
  soundFile: string;
3480
+ "%Name"?: string | undefined;
3402
3481
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3403
3482
  tags?: string[] | undefined;
3404
3483
  duration?: import("./types/utility.js").FixedNumber | undefined;
3405
3484
  }, {
3406
3485
  name: string;
3407
3486
  soundFile: string;
3487
+ "%Name"?: string | undefined;
3488
+ resourceVersion?: string | undefined;
3408
3489
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3409
3490
  tags?: string[] | undefined;
3410
3491
  parent?: {
3411
3492
  path: string;
3412
3493
  name: string;
3413
3494
  } | undefined;
3414
- resourceVersion?: string | undefined;
3415
3495
  compression?: import("./types/YySound.js").SoundCompression | undefined;
3416
3496
  conversionMode?: number | undefined;
3417
3497
  volume?: number | import("./types/utility.js").FixedNumber | undefined;
@@ -3428,7 +3508,9 @@ export declare const yySchemas: {
3428
3508
  resourceType?: "GMSound" | undefined;
3429
3509
  }>;
3430
3510
  readonly sprites: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3511
+ "%Name": z.ZodOptional<z.ZodString>;
3431
3512
  name: z.ZodString;
3513
+ resourceVersion: z.ZodDefault<z.ZodString>;
3432
3514
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3433
3515
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3434
3516
  parent: z.ZodDefault<z.ZodObject<{
@@ -3441,7 +3523,6 @@ export declare const yySchemas: {
3441
3523
  path: string;
3442
3524
  name: string;
3443
3525
  }>>;
3444
- resourceVersion: z.ZodDefault<z.ZodString>;
3445
3526
  bboxMode: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteBoundingBoxMode>>;
3446
3527
  collisionKind: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteCollisionKind>>;
3447
3528
  type: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteType>>;
@@ -3480,8 +3561,8 @@ export declare const yySchemas: {
3480
3561
  compositeImage: z.ZodOptional<z.ZodObject<{
3481
3562
  name: z.ZodDefault<z.ZodString>;
3482
3563
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
3483
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3484
3564
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3565
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3485
3566
  FrameId: z.ZodObject<{
3486
3567
  name: z.ZodString;
3487
3568
  path: z.ZodString;
@@ -3511,14 +3592,14 @@ export declare const yySchemas: {
3511
3592
  LayerId: null;
3512
3593
  name?: string | undefined;
3513
3594
  resourceType?: "GMSpriteBitmap" | undefined;
3514
- tags?: string[] | undefined;
3515
3595
  resourceVersion?: "1.0" | undefined;
3596
+ tags?: string[] | undefined;
3516
3597
  }>>;
3517
3598
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
3518
3599
  name: z.ZodDefault<z.ZodString>;
3519
3600
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
3520
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3521
3601
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3602
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3522
3603
  FrameId: z.ZodObject<{
3523
3604
  name: z.ZodString;
3524
3605
  path: z.ZodString;
@@ -3563,8 +3644,8 @@ export declare const yySchemas: {
3563
3644
  };
3564
3645
  name?: string | undefined;
3565
3646
  resourceType?: "GMSpriteBitmap" | undefined;
3566
- tags?: string[] | undefined;
3567
3647
  resourceVersion?: "1.0" | undefined;
3648
+ tags?: string[] | undefined;
3568
3649
  }>, "many">>;
3569
3650
  parent: z.ZodOptional<z.ZodObject<{
3570
3651
  name: z.ZodString;
@@ -3576,11 +3657,11 @@ export declare const yySchemas: {
3576
3657
  path: string;
3577
3658
  name: string;
3578
3659
  }>>;
3579
- resourceVersion: z.ZodDefault<z.ZodEnum<["1.0", "1.1"]>>;
3660
+ resourceVersion: z.ZodDefault<z.ZodString>;
3580
3661
  }, z.UnknownKeysParam, z.ZodTypeAny, {
3581
3662
  name: string;
3582
3663
  resourceType: "GMSpriteFrame";
3583
- resourceVersion: "1.0" | "1.1";
3664
+ resourceVersion: string;
3584
3665
  tags?: string[] | undefined;
3585
3666
  compositeImage?: {
3586
3667
  name: string;
@@ -3623,8 +3704,8 @@ export declare const yySchemas: {
3623
3704
  LayerId: null;
3624
3705
  name?: string | undefined;
3625
3706
  resourceType?: "GMSpriteBitmap" | undefined;
3626
- tags?: string[] | undefined;
3627
3707
  resourceVersion?: "1.0" | undefined;
3708
+ tags?: string[] | undefined;
3628
3709
  } | undefined;
3629
3710
  images?: {
3630
3711
  FrameId: {
@@ -3637,14 +3718,14 @@ export declare const yySchemas: {
3637
3718
  };
3638
3719
  name?: string | undefined;
3639
3720
  resourceType?: "GMSpriteBitmap" | undefined;
3640
- tags?: string[] | undefined;
3641
3721
  resourceVersion?: "1.0" | undefined;
3722
+ tags?: string[] | undefined;
3642
3723
  }[] | undefined;
3643
3724
  parent?: {
3644
3725
  path: string;
3645
3726
  name: string;
3646
3727
  } | undefined;
3647
- resourceVersion?: "1.0" | "1.1" | undefined;
3728
+ resourceVersion?: string | undefined;
3648
3729
  }>, "many">>;
3649
3730
  sequence: z.ZodEffects<z.ZodObject<{
3650
3731
  timeUnits: z.ZodDefault<z.ZodNumber>;
@@ -3653,9 +3734,6 @@ export declare const yySchemas: {
3653
3734
  playbackSpeedType: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpritePlaybackSpeedType>>;
3654
3735
  autoRecord: z.ZodDefault<z.ZodBoolean>;
3655
3736
  volume: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>>;
3656
- /**
3657
- * Check for functional equality between two Yy objects.
3658
- */
3659
3737
  length: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>>;
3660
3738
  visibleRange: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3661
3739
  x: z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>;
@@ -3686,13 +3764,13 @@ export declare const yySchemas: {
3686
3764
  resourceVersion: z.ZodDefault<z.ZodString>;
3687
3765
  events: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
3688
3766
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
3689
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3767
+ resourceVersion: z.ZodDefault<z.ZodString>;
3690
3768
  }, "strip", z.ZodTypeAny, {
3691
- resourceVersion: "1.0";
3769
+ resourceVersion: string;
3692
3770
  Keyframes: unknown[];
3693
3771
  }, {
3694
3772
  Keyframes?: unknown[] | undefined;
3695
- resourceVersion?: "1.0" | undefined;
3773
+ resourceVersion?: string | undefined;
3696
3774
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
3697
3775
  resourceType: z.ZodLiteral<"KeyframeStore<MessageEventKeyframe>">;
3698
3776
  }, "strip", z.ZodTypeAny, {
@@ -3709,7 +3787,7 @@ export declare const yySchemas: {
3709
3787
  resourceType: "KeyframeStore`1";
3710
3788
  elementType: "MessageEventKeyframe";
3711
3789
  }>]>>, {
3712
- resourceVersion: "1.0";
3790
+ resourceVersion: string;
3713
3791
  Keyframes: unknown[];
3714
3792
  } & ({
3715
3793
  resourceType: "KeyframeStore<MessageEventKeyframe>";
@@ -3719,13 +3797,13 @@ export declare const yySchemas: {
3719
3797
  }), unknown>>;
3720
3798
  moments: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
3721
3799
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
3722
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3800
+ resourceVersion: z.ZodDefault<z.ZodString>;
3723
3801
  }, "strip", z.ZodTypeAny, {
3724
- resourceVersion: "1.0";
3802
+ resourceVersion: string;
3725
3803
  Keyframes: unknown[];
3726
3804
  }, {
3727
3805
  Keyframes?: unknown[] | undefined;
3728
- resourceVersion?: "1.0" | undefined;
3806
+ resourceVersion?: string | undefined;
3729
3807
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
3730
3808
  resourceType: z.ZodLiteral<"KeyframeStore<MomentsEventKeyframe>">;
3731
3809
  }, "strip", z.ZodTypeAny, {
@@ -3742,7 +3820,7 @@ export declare const yySchemas: {
3742
3820
  resourceType: "KeyframeStore`1";
3743
3821
  elementType: "MomentsEventKeyframe";
3744
3822
  }>]>>, {
3745
- resourceVersion: "1.0";
3823
+ resourceVersion: string;
3746
3824
  Keyframes: unknown[];
3747
3825
  } & ({
3748
3826
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
@@ -3815,24 +3893,24 @@ export declare const yySchemas: {
3815
3893
  xorigin: number;
3816
3894
  yorigin: number;
3817
3895
  events: ({
3818
- resourceVersion: "1.0";
3896
+ resourceVersion: string;
3819
3897
  Keyframes: unknown[];
3820
3898
  } & {
3821
3899
  resourceType: "KeyframeStore<MessageEventKeyframe>";
3822
3900
  }) | ({
3823
- resourceVersion: "1.0";
3901
+ resourceVersion: string;
3824
3902
  Keyframes: unknown[];
3825
3903
  } & {
3826
3904
  resourceType: "KeyframeStore`1";
3827
3905
  elementType: "MessageEventKeyframe";
3828
3906
  });
3829
3907
  moments: ({
3830
- resourceVersion: "1.0";
3908
+ resourceVersion: string;
3831
3909
  Keyframes: unknown[];
3832
3910
  } & {
3833
3911
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
3834
3912
  }) | ({
3835
- resourceVersion: "1.0";
3913
+ resourceVersion: string;
3836
3914
  Keyframes: unknown[];
3837
3915
  } & {
3838
3916
  resourceType: "KeyframeStore`1";
@@ -3911,24 +3989,24 @@ export declare const yySchemas: {
3911
3989
  xorigin: number;
3912
3990
  yorigin: number;
3913
3991
  events: ({
3914
- resourceVersion: "1.0";
3992
+ resourceVersion: string;
3915
3993
  Keyframes: unknown[];
3916
3994
  } & {
3917
3995
  resourceType: "KeyframeStore<MessageEventKeyframe>";
3918
3996
  }) | ({
3919
- resourceVersion: "1.0";
3997
+ resourceVersion: string;
3920
3998
  Keyframes: unknown[];
3921
3999
  } & {
3922
4000
  resourceType: "KeyframeStore`1";
3923
4001
  elementType: "MessageEventKeyframe";
3924
4002
  });
3925
4003
  moments: ({
3926
- resourceVersion: "1.0";
4004
+ resourceVersion: string;
3927
4005
  Keyframes: unknown[];
3928
4006
  } & {
3929
4007
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
3930
4008
  }) | ({
3931
- resourceVersion: "1.0";
4009
+ resourceVersion: string;
3932
4010
  Keyframes: unknown[];
3933
4011
  } & {
3934
4012
  resourceType: "KeyframeStore`1";
@@ -3955,11 +4033,11 @@ export declare const yySchemas: {
3955
4033
  type: import("./types/YySprite.js").SpriteType;
3956
4034
  name: string;
3957
4035
  resourceType: "GMSprite";
4036
+ resourceVersion: string;
3958
4037
  parent: {
3959
4038
  path: string;
3960
4039
  name: string;
3961
4040
  };
3962
- resourceVersion: string;
3963
4041
  gridX: number;
3964
4042
  gridY: number;
3965
4043
  layers: any[];
@@ -3987,7 +4065,7 @@ export declare const yySchemas: {
3987
4065
  frames: {
3988
4066
  name: string;
3989
4067
  resourceType: "GMSpriteFrame";
3990
- resourceVersion: "1.0" | "1.1";
4068
+ resourceVersion: string;
3991
4069
  tags?: string[] | undefined;
3992
4070
  compositeImage?: {
3993
4071
  name: string;
@@ -4045,24 +4123,24 @@ export declare const yySchemas: {
4045
4123
  xorigin: number;
4046
4124
  yorigin: number;
4047
4125
  events: ({
4048
- resourceVersion: "1.0";
4126
+ resourceVersion: string;
4049
4127
  Keyframes: unknown[];
4050
4128
  } & {
4051
4129
  resourceType: "KeyframeStore<MessageEventKeyframe>";
4052
4130
  }) | ({
4053
- resourceVersion: "1.0";
4131
+ resourceVersion: string;
4054
4132
  Keyframes: unknown[];
4055
4133
  } & {
4056
4134
  resourceType: "KeyframeStore`1";
4057
4135
  elementType: "MessageEventKeyframe";
4058
4136
  });
4059
4137
  moments: ({
4060
- resourceVersion: "1.0";
4138
+ resourceVersion: string;
4061
4139
  Keyframes: unknown[];
4062
4140
  } & {
4063
4141
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
4064
4142
  }) | ({
4065
- resourceVersion: "1.0";
4143
+ resourceVersion: string;
4066
4144
  Keyframes: unknown[];
4067
4145
  } & {
4068
4146
  resourceType: "KeyframeStore`1";
@@ -4082,19 +4160,21 @@ export declare const yySchemas: {
4082
4160
  name: string;
4083
4161
  } | undefined;
4084
4162
  };
4163
+ "%Name"?: string | undefined;
4085
4164
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4086
4165
  tags?: string[] | undefined;
4087
4166
  swatchColours?: unknown;
4088
4167
  nineSlice?: unknown;
4089
4168
  }, {
4090
4169
  name: string;
4170
+ "%Name"?: string | undefined;
4171
+ resourceVersion?: string | undefined;
4091
4172
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4092
4173
  tags?: string[] | undefined;
4093
4174
  parent?: {
4094
4175
  path: string;
4095
4176
  name: string;
4096
4177
  } | undefined;
4097
- resourceVersion?: string | undefined;
4098
4178
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
4099
4179
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
4100
4180
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -4132,8 +4212,8 @@ export declare const yySchemas: {
4132
4212
  LayerId: null;
4133
4213
  name?: string | undefined;
4134
4214
  resourceType?: "GMSpriteBitmap" | undefined;
4135
- tags?: string[] | undefined;
4136
4215
  resourceVersion?: "1.0" | undefined;
4216
+ tags?: string[] | undefined;
4137
4217
  } | undefined;
4138
4218
  images?: {
4139
4219
  FrameId: {
@@ -4146,14 +4226,14 @@ export declare const yySchemas: {
4146
4226
  };
4147
4227
  name?: string | undefined;
4148
4228
  resourceType?: "GMSpriteBitmap" | undefined;
4149
- tags?: string[] | undefined;
4150
4229
  resourceVersion?: "1.0" | undefined;
4230
+ tags?: string[] | undefined;
4151
4231
  }[] | undefined;
4152
4232
  parent?: {
4153
4233
  path: string;
4154
4234
  name: string;
4155
4235
  } | undefined;
4156
- resourceVersion?: "1.0" | "1.1" | undefined;
4236
+ resourceVersion?: string | undefined;
4157
4237
  }[] | undefined;
4158
4238
  sequence?: unknown;
4159
4239
  layers?: unknown;
@@ -4163,11 +4243,11 @@ export declare const yySchemas: {
4163
4243
  type: import("./types/YySprite.js").SpriteType;
4164
4244
  name: string;
4165
4245
  resourceType: "GMSprite";
4246
+ resourceVersion: string;
4166
4247
  parent: {
4167
4248
  path: string;
4168
4249
  name: string;
4169
4250
  };
4170
- resourceVersion: string;
4171
4251
  gridX: number;
4172
4252
  gridY: number;
4173
4253
  layers: any[];
@@ -4195,7 +4275,7 @@ export declare const yySchemas: {
4195
4275
  frames: {
4196
4276
  name: string;
4197
4277
  resourceType: "GMSpriteFrame";
4198
- resourceVersion: "1.0" | "1.1";
4278
+ resourceVersion: string;
4199
4279
  tags?: string[] | undefined;
4200
4280
  compositeImage?: {
4201
4281
  name: string;
@@ -4253,24 +4333,24 @@ export declare const yySchemas: {
4253
4333
  xorigin: number;
4254
4334
  yorigin: number;
4255
4335
  events: ({
4256
- resourceVersion: "1.0";
4336
+ resourceVersion: string;
4257
4337
  Keyframes: unknown[];
4258
4338
  } & {
4259
4339
  resourceType: "KeyframeStore<MessageEventKeyframe>";
4260
4340
  }) | ({
4261
- resourceVersion: "1.0";
4341
+ resourceVersion: string;
4262
4342
  Keyframes: unknown[];
4263
4343
  } & {
4264
4344
  resourceType: "KeyframeStore`1";
4265
4345
  elementType: "MessageEventKeyframe";
4266
4346
  });
4267
4347
  moments: ({
4268
- resourceVersion: "1.0";
4348
+ resourceVersion: string;
4269
4349
  Keyframes: unknown[];
4270
4350
  } & {
4271
4351
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
4272
4352
  }) | ({
4273
- resourceVersion: "1.0";
4353
+ resourceVersion: string;
4274
4354
  Keyframes: unknown[];
4275
4355
  } & {
4276
4356
  resourceType: "KeyframeStore`1";
@@ -4290,19 +4370,21 @@ export declare const yySchemas: {
4290
4370
  name: string;
4291
4371
  } | undefined;
4292
4372
  };
4373
+ "%Name"?: string | undefined;
4293
4374
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4294
4375
  tags?: string[] | undefined;
4295
4376
  swatchColours?: unknown;
4296
4377
  nineSlice?: unknown;
4297
4378
  }, {
4298
4379
  name: string;
4380
+ "%Name"?: string | undefined;
4381
+ resourceVersion?: string | undefined;
4299
4382
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4300
4383
  tags?: string[] | undefined;
4301
4384
  parent?: {
4302
4385
  path: string;
4303
4386
  name: string;
4304
4387
  } | undefined;
4305
- resourceVersion?: string | undefined;
4306
4388
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
4307
4389
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
4308
4390
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -4340,8 +4422,8 @@ export declare const yySchemas: {
4340
4422
  LayerId: null;
4341
4423
  name?: string | undefined;
4342
4424
  resourceType?: "GMSpriteBitmap" | undefined;
4343
- tags?: string[] | undefined;
4344
4425
  resourceVersion?: "1.0" | undefined;
4426
+ tags?: string[] | undefined;
4345
4427
  } | undefined;
4346
4428
  images?: {
4347
4429
  FrameId: {
@@ -4354,14 +4436,14 @@ export declare const yySchemas: {
4354
4436
  };
4355
4437
  name?: string | undefined;
4356
4438
  resourceType?: "GMSpriteBitmap" | undefined;
4357
- tags?: string[] | undefined;
4358
4439
  resourceVersion?: "1.0" | undefined;
4440
+ tags?: string[] | undefined;
4359
4441
  }[] | undefined;
4360
4442
  parent?: {
4361
4443
  path: string;
4362
4444
  name: string;
4363
4445
  } | undefined;
4364
- resourceVersion?: "1.0" | "1.1" | undefined;
4446
+ resourceVersion?: string | undefined;
4365
4447
  }[] | undefined;
4366
4448
  sequence?: unknown;
4367
4449
  layers?: unknown;
@@ -4371,11 +4453,11 @@ export declare const yySchemas: {
4371
4453
  type: import("./types/YySprite.js").SpriteType;
4372
4454
  name: string;
4373
4455
  resourceType: "GMSprite";
4456
+ resourceVersion: string;
4374
4457
  parent: {
4375
4458
  path: string;
4376
4459
  name: string;
4377
4460
  };
4378
- resourceVersion: string;
4379
4461
  gridX: number;
4380
4462
  gridY: number;
4381
4463
  layers: any[];
@@ -4403,7 +4485,7 @@ export declare const yySchemas: {
4403
4485
  frames: {
4404
4486
  name: string;
4405
4487
  resourceType: "GMSpriteFrame";
4406
- resourceVersion: "1.0" | "1.1";
4488
+ resourceVersion: string;
4407
4489
  tags?: string[] | undefined;
4408
4490
  compositeImage?: {
4409
4491
  name: string;
@@ -4461,24 +4543,24 @@ export declare const yySchemas: {
4461
4543
  xorigin: number;
4462
4544
  yorigin: number;
4463
4545
  events: ({
4464
- resourceVersion: "1.0";
4546
+ resourceVersion: string;
4465
4547
  Keyframes: unknown[];
4466
4548
  } & {
4467
4549
  resourceType: "KeyframeStore<MessageEventKeyframe>";
4468
4550
  }) | ({
4469
- resourceVersion: "1.0";
4551
+ resourceVersion: string;
4470
4552
  Keyframes: unknown[];
4471
4553
  } & {
4472
4554
  resourceType: "KeyframeStore`1";
4473
4555
  elementType: "MessageEventKeyframe";
4474
4556
  });
4475
4557
  moments: ({
4476
- resourceVersion: "1.0";
4558
+ resourceVersion: string;
4477
4559
  Keyframes: unknown[];
4478
4560
  } & {
4479
4561
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
4480
4562
  }) | ({
4481
- resourceVersion: "1.0";
4563
+ resourceVersion: string;
4482
4564
  Keyframes: unknown[];
4483
4565
  } & {
4484
4566
  resourceType: "KeyframeStore`1";
@@ -4498,13 +4580,26 @@ export declare const yySchemas: {
4498
4580
  name: string;
4499
4581
  } | undefined;
4500
4582
  };
4583
+ "%Name"?: string | undefined;
4501
4584
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4502
4585
  tags?: string[] | undefined;
4503
4586
  swatchColours?: unknown;
4504
4587
  nineSlice?: unknown;
4505
4588
  }, unknown>;
4506
- readonly tilesets: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
4507
- readonly timelines: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
4589
+ readonly tilesets: z.ZodObject<{
4590
+ "%Name": z.ZodOptional<z.ZodString>;
4591
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4592
+ "%Name": z.ZodOptional<z.ZodString>;
4593
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4594
+ "%Name": z.ZodOptional<z.ZodString>;
4595
+ }, z.ZodTypeAny, "passthrough">>;
4596
+ readonly timelines: z.ZodObject<{
4597
+ "%Name": z.ZodOptional<z.ZodString>;
4598
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4599
+ "%Name": z.ZodOptional<z.ZodString>;
4600
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4601
+ "%Name": z.ZodOptional<z.ZodString>;
4602
+ }, z.ZodTypeAny, "passthrough">>;
4508
4603
  };
4509
4604
  export type YyDiff = {
4510
4605
  [path: string]: {
@@ -4516,6 +4611,7 @@ export declare class Yy {
4516
4611
  protected constructor();
4517
4612
  static readonly schemas: {
4518
4613
  readonly project: z.ZodEffects<z.ZodObject<{
4614
+ "%Name": z.ZodOptional<z.ZodString>;
4519
4615
  name: z.ZodString;
4520
4616
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4521
4617
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4598,11 +4694,11 @@ export declare class Yy {
4598
4694
  folderPath: z.ZodString;
4599
4695
  order: z.ZodOptional<z.ZodNumber>;
4600
4696
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
4601
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
4697
+ resourceVersion: z.ZodDefault<z.ZodString>;
4602
4698
  }, "strip", z.ZodTypeAny, {
4603
4699
  name: string;
4604
4700
  resourceType: "GMFolder";
4605
- resourceVersion: "1.0";
4701
+ resourceVersion: string;
4606
4702
  folderPath: string;
4607
4703
  tags?: string[] | undefined;
4608
4704
  order?: number | undefined;
@@ -4612,18 +4708,18 @@ export declare class Yy {
4612
4708
  tags?: string[] | undefined;
4613
4709
  order?: number | undefined;
4614
4710
  resourceType?: "GMFolder" | undefined;
4615
- resourceVersion?: "1.0" | undefined;
4711
+ resourceVersion?: string | undefined;
4616
4712
  }>, "many">>;
4617
4713
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4618
4714
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4619
4715
  name: z.ZodString;
4620
4716
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4621
4717
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
4622
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
4718
+ resourceVersion: z.ZodDefault<z.ZodString>;
4623
4719
  }, "strip", z.ZodTypeAny, {
4624
4720
  name: string;
4625
4721
  resourceType: "GMAudioGroup";
4626
- resourceVersion: "1.3";
4722
+ resourceVersion: string;
4627
4723
  targets: bigint;
4628
4724
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4629
4725
  }, {
@@ -4631,10 +4727,16 @@ export declare class Yy {
4631
4727
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4632
4728
  targets?: number | bigint | undefined;
4633
4729
  resourceType?: "GMAudioGroup" | undefined;
4634
- resourceVersion?: "1.3" | undefined;
4730
+ resourceVersion?: string | undefined;
4635
4731
  }>, "many">>;
4636
4732
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4637
4733
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4734
+ /**
4735
+ * Stringify an object into a Yy-formatted string,
4736
+ * including trailing commas. If a schema is provided,
4737
+ * it will be used to validate and populate defaults before
4738
+ * stringifying.
4739
+ */
4638
4740
  name: z.ZodString;
4639
4741
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4640
4742
  name: z.ZodString;
@@ -4655,11 +4757,11 @@ export declare class Yy {
4655
4757
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
4656
4758
  directory: z.ZodOptional<z.ZodString>;
4657
4759
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
4658
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
4760
+ resourceVersion: z.ZodDefault<z.ZodString>;
4659
4761
  }, "strip", z.ZodTypeAny, {
4660
4762
  name: string;
4661
4763
  resourceType: "GMTextureGroup";
4662
- resourceVersion: "1.3";
4764
+ resourceVersion: string;
4663
4765
  targets: bigint;
4664
4766
  groupParent: {
4665
4767
  path: string;
@@ -4689,7 +4791,7 @@ export declare class Yy {
4689
4791
  loadType?: "default" | "dynamicpages" | undefined;
4690
4792
  directory?: string | undefined;
4691
4793
  resourceType?: "GMTextureGroup" | undefined;
4692
- resourceVersion?: "1.3" | undefined;
4794
+ resourceVersion?: string | undefined;
4693
4795
  }>, "many">>;
4694
4796
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4695
4797
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4703,11 +4805,11 @@ export declare class Yy {
4703
4805
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4704
4806
  filePath: z.ZodString;
4705
4807
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
4706
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
4808
+ resourceVersion: z.ZodDefault<z.ZodString>;
4707
4809
  }, "strip", z.ZodTypeAny, {
4708
4810
  name: string;
4709
4811
  resourceType: "GMIncludedFile";
4710
- resourceVersion: "1.0";
4812
+ resourceVersion: string;
4711
4813
  CopyToMask: bigint;
4712
4814
  filePath: string;
4713
4815
  ConfigValues?: Record<string, {
@@ -4721,7 +4823,7 @@ export declare class Yy {
4721
4823
  }> | undefined;
4722
4824
  CopyToMask?: number | bigint | undefined;
4723
4825
  resourceType?: "GMIncludedFile" | undefined;
4724
- resourceVersion?: "1.0" | undefined;
4826
+ resourceVersion?: string | undefined;
4725
4827
  }>, "many">>;
4726
4828
  MetaData: z.ZodObject<{
4727
4829
  IDEVersion: z.ZodString;
@@ -4734,6 +4836,7 @@ export declare class Yy {
4734
4836
  resourceVersion: z.ZodString;
4735
4837
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4736
4838
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4839
+ "%Name": z.ZodOptional<z.ZodString>;
4737
4840
  name: z.ZodString;
4738
4841
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4739
4842
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4816,11 +4919,11 @@ export declare class Yy {
4816
4919
  folderPath: z.ZodString;
4817
4920
  order: z.ZodOptional<z.ZodNumber>;
4818
4921
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
4819
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
4922
+ resourceVersion: z.ZodDefault<z.ZodString>;
4820
4923
  }, "strip", z.ZodTypeAny, {
4821
4924
  name: string;
4822
4925
  resourceType: "GMFolder";
4823
- resourceVersion: "1.0";
4926
+ resourceVersion: string;
4824
4927
  folderPath: string;
4825
4928
  tags?: string[] | undefined;
4826
4929
  order?: number | undefined;
@@ -4830,18 +4933,18 @@ export declare class Yy {
4830
4933
  tags?: string[] | undefined;
4831
4934
  order?: number | undefined;
4832
4935
  resourceType?: "GMFolder" | undefined;
4833
- resourceVersion?: "1.0" | undefined;
4936
+ resourceVersion?: string | undefined;
4834
4937
  }>, "many">>;
4835
4938
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4836
4939
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4837
4940
  name: z.ZodString;
4838
4941
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4839
4942
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
4840
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
4943
+ resourceVersion: z.ZodDefault<z.ZodString>;
4841
4944
  }, "strip", z.ZodTypeAny, {
4842
4945
  name: string;
4843
4946
  resourceType: "GMAudioGroup";
4844
- resourceVersion: "1.3";
4947
+ resourceVersion: string;
4845
4948
  targets: bigint;
4846
4949
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4847
4950
  }, {
@@ -4849,10 +4952,16 @@ export declare class Yy {
4849
4952
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4850
4953
  targets?: number | bigint | undefined;
4851
4954
  resourceType?: "GMAudioGroup" | undefined;
4852
- resourceVersion?: "1.3" | undefined;
4955
+ resourceVersion?: string | undefined;
4853
4956
  }>, "many">>;
4854
4957
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4855
4958
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4959
+ /**
4960
+ * Stringify an object into a Yy-formatted string,
4961
+ * including trailing commas. If a schema is provided,
4962
+ * it will be used to validate and populate defaults before
4963
+ * stringifying.
4964
+ */
4856
4965
  name: z.ZodString;
4857
4966
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4858
4967
  name: z.ZodString;
@@ -4873,11 +4982,11 @@ export declare class Yy {
4873
4982
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
4874
4983
  directory: z.ZodOptional<z.ZodString>;
4875
4984
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
4876
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
4985
+ resourceVersion: z.ZodDefault<z.ZodString>;
4877
4986
  }, "strip", z.ZodTypeAny, {
4878
4987
  name: string;
4879
4988
  resourceType: "GMTextureGroup";
4880
- resourceVersion: "1.3";
4989
+ resourceVersion: string;
4881
4990
  targets: bigint;
4882
4991
  groupParent: {
4883
4992
  path: string;
@@ -4907,7 +5016,7 @@ export declare class Yy {
4907
5016
  loadType?: "default" | "dynamicpages" | undefined;
4908
5017
  directory?: string | undefined;
4909
5018
  resourceType?: "GMTextureGroup" | undefined;
4910
- resourceVersion?: "1.3" | undefined;
5019
+ resourceVersion?: string | undefined;
4911
5020
  }>, "many">>;
4912
5021
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4913
5022
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4921,11 +5030,11 @@ export declare class Yy {
4921
5030
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4922
5031
  filePath: z.ZodString;
4923
5032
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
4924
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5033
+ resourceVersion: z.ZodDefault<z.ZodString>;
4925
5034
  }, "strip", z.ZodTypeAny, {
4926
5035
  name: string;
4927
5036
  resourceType: "GMIncludedFile";
4928
- resourceVersion: "1.0";
5037
+ resourceVersion: string;
4929
5038
  CopyToMask: bigint;
4930
5039
  filePath: string;
4931
5040
  ConfigValues?: Record<string, {
@@ -4939,7 +5048,7 @@ export declare class Yy {
4939
5048
  }> | undefined;
4940
5049
  CopyToMask?: number | bigint | undefined;
4941
5050
  resourceType?: "GMIncludedFile" | undefined;
4942
- resourceVersion?: "1.0" | undefined;
5051
+ resourceVersion?: string | undefined;
4943
5052
  }>, "many">>;
4944
5053
  MetaData: z.ZodObject<{
4945
5054
  IDEVersion: z.ZodString;
@@ -4952,6 +5061,7 @@ export declare class Yy {
4952
5061
  resourceVersion: z.ZodString;
4953
5062
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4954
5063
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5064
+ "%Name": z.ZodOptional<z.ZodString>;
4955
5065
  name: z.ZodString;
4956
5066
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4957
5067
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -5034,11 +5144,11 @@ export declare class Yy {
5034
5144
  folderPath: z.ZodString;
5035
5145
  order: z.ZodOptional<z.ZodNumber>;
5036
5146
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
5037
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5147
+ resourceVersion: z.ZodDefault<z.ZodString>;
5038
5148
  }, "strip", z.ZodTypeAny, {
5039
5149
  name: string;
5040
5150
  resourceType: "GMFolder";
5041
- resourceVersion: "1.0";
5151
+ resourceVersion: string;
5042
5152
  folderPath: string;
5043
5153
  tags?: string[] | undefined;
5044
5154
  order?: number | undefined;
@@ -5048,18 +5158,18 @@ export declare class Yy {
5048
5158
  tags?: string[] | undefined;
5049
5159
  order?: number | undefined;
5050
5160
  resourceType?: "GMFolder" | undefined;
5051
- resourceVersion?: "1.0" | undefined;
5161
+ resourceVersion?: string | undefined;
5052
5162
  }>, "many">>;
5053
5163
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
5054
5164
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5055
5165
  name: z.ZodString;
5056
5166
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
5057
5167
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
5058
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5168
+ resourceVersion: z.ZodDefault<z.ZodString>;
5059
5169
  }, "strip", z.ZodTypeAny, {
5060
5170
  name: string;
5061
5171
  resourceType: "GMAudioGroup";
5062
- resourceVersion: "1.3";
5172
+ resourceVersion: string;
5063
5173
  targets: bigint;
5064
5174
  ConfigValues?: Record<string, Record<string, string>> | undefined;
5065
5175
  }, {
@@ -5067,10 +5177,16 @@ export declare class Yy {
5067
5177
  ConfigValues?: Record<string, Record<string, string>> | undefined;
5068
5178
  targets?: number | bigint | undefined;
5069
5179
  resourceType?: "GMAudioGroup" | undefined;
5070
- resourceVersion?: "1.3" | undefined;
5180
+ resourceVersion?: string | undefined;
5071
5181
  }>, "many">>;
5072
5182
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
5073
5183
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5184
+ /**
5185
+ * Stringify an object into a Yy-formatted string,
5186
+ * including trailing commas. If a schema is provided,
5187
+ * it will be used to validate and populate defaults before
5188
+ * stringifying.
5189
+ */
5074
5190
  name: z.ZodString;
5075
5191
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5076
5192
  name: z.ZodString;
@@ -5091,11 +5207,11 @@ export declare class Yy {
5091
5207
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
5092
5208
  directory: z.ZodOptional<z.ZodString>;
5093
5209
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
5094
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5210
+ resourceVersion: z.ZodDefault<z.ZodString>;
5095
5211
  }, "strip", z.ZodTypeAny, {
5096
5212
  name: string;
5097
5213
  resourceType: "GMTextureGroup";
5098
- resourceVersion: "1.3";
5214
+ resourceVersion: string;
5099
5215
  targets: bigint;
5100
5216
  groupParent: {
5101
5217
  path: string;
@@ -5125,7 +5241,7 @@ export declare class Yy {
5125
5241
  loadType?: "default" | "dynamicpages" | undefined;
5126
5242
  directory?: string | undefined;
5127
5243
  resourceType?: "GMTextureGroup" | undefined;
5128
- resourceVersion?: "1.3" | undefined;
5244
+ resourceVersion?: string | undefined;
5129
5245
  }>, "many">>;
5130
5246
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
5131
5247
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5139,11 +5255,11 @@ export declare class Yy {
5139
5255
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
5140
5256
  filePath: z.ZodString;
5141
5257
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
5142
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5258
+ resourceVersion: z.ZodDefault<z.ZodString>;
5143
5259
  }, "strip", z.ZodTypeAny, {
5144
5260
  name: string;
5145
5261
  resourceType: "GMIncludedFile";
5146
- resourceVersion: "1.0";
5262
+ resourceVersion: string;
5147
5263
  CopyToMask: bigint;
5148
5264
  filePath: string;
5149
5265
  ConfigValues?: Record<string, {
@@ -5157,7 +5273,7 @@ export declare class Yy {
5157
5273
  }> | undefined;
5158
5274
  CopyToMask?: number | bigint | undefined;
5159
5275
  resourceType?: "GMIncludedFile" | undefined;
5160
- resourceVersion?: "1.0" | undefined;
5276
+ resourceVersion?: string | undefined;
5161
5277
  }>, "many">>;
5162
5278
  MetaData: z.ZodObject<{
5163
5279
  IDEVersion: z.ZodString;
@@ -5170,6 +5286,7 @@ export declare class Yy {
5170
5286
  resourceVersion: z.ZodString;
5171
5287
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5172
5288
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
5289
+ "%Name": z.ZodOptional<z.ZodString>;
5173
5290
  name: z.ZodString;
5174
5291
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
5175
5292
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -5252,11 +5369,11 @@ export declare class Yy {
5252
5369
  folderPath: z.ZodString;
5253
5370
  order: z.ZodOptional<z.ZodNumber>;
5254
5371
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
5255
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5372
+ resourceVersion: z.ZodDefault<z.ZodString>;
5256
5373
  }, "strip", z.ZodTypeAny, {
5257
5374
  name: string;
5258
5375
  resourceType: "GMFolder";
5259
- resourceVersion: "1.0";
5376
+ resourceVersion: string;
5260
5377
  folderPath: string;
5261
5378
  tags?: string[] | undefined;
5262
5379
  order?: number | undefined;
@@ -5266,18 +5383,18 @@ export declare class Yy {
5266
5383
  tags?: string[] | undefined;
5267
5384
  order?: number | undefined;
5268
5385
  resourceType?: "GMFolder" | undefined;
5269
- resourceVersion?: "1.0" | undefined;
5386
+ resourceVersion?: string | undefined;
5270
5387
  }>, "many">>;
5271
5388
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
5272
5389
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5273
5390
  name: z.ZodString;
5274
5391
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
5275
5392
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
5276
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5393
+ resourceVersion: z.ZodDefault<z.ZodString>;
5277
5394
  }, "strip", z.ZodTypeAny, {
5278
5395
  name: string;
5279
5396
  resourceType: "GMAudioGroup";
5280
- resourceVersion: "1.3";
5397
+ resourceVersion: string;
5281
5398
  targets: bigint;
5282
5399
  ConfigValues?: Record<string, Record<string, string>> | undefined;
5283
5400
  }, {
@@ -5285,10 +5402,16 @@ export declare class Yy {
5285
5402
  ConfigValues?: Record<string, Record<string, string>> | undefined;
5286
5403
  targets?: number | bigint | undefined;
5287
5404
  resourceType?: "GMAudioGroup" | undefined;
5288
- resourceVersion?: "1.3" | undefined;
5405
+ resourceVersion?: string | undefined;
5289
5406
  }>, "many">>;
5290
5407
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
5291
5408
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5409
+ /**
5410
+ * Stringify an object into a Yy-formatted string,
5411
+ * including trailing commas. If a schema is provided,
5412
+ * it will be used to validate and populate defaults before
5413
+ * stringifying.
5414
+ */
5292
5415
  name: z.ZodString;
5293
5416
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5294
5417
  name: z.ZodString;
@@ -5309,11 +5432,11 @@ export declare class Yy {
5309
5432
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
5310
5433
  directory: z.ZodOptional<z.ZodString>;
5311
5434
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
5312
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5435
+ resourceVersion: z.ZodDefault<z.ZodString>;
5313
5436
  }, "strip", z.ZodTypeAny, {
5314
5437
  name: string;
5315
5438
  resourceType: "GMTextureGroup";
5316
- resourceVersion: "1.3";
5439
+ resourceVersion: string;
5317
5440
  targets: bigint;
5318
5441
  groupParent: {
5319
5442
  path: string;
@@ -5343,7 +5466,7 @@ export declare class Yy {
5343
5466
  loadType?: "default" | "dynamicpages" | undefined;
5344
5467
  directory?: string | undefined;
5345
5468
  resourceType?: "GMTextureGroup" | undefined;
5346
- resourceVersion?: "1.3" | undefined;
5469
+ resourceVersion?: string | undefined;
5347
5470
  }>, "many">>;
5348
5471
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
5349
5472
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5357,11 +5480,11 @@ export declare class Yy {
5357
5480
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
5358
5481
  filePath: z.ZodString;
5359
5482
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
5360
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5483
+ resourceVersion: z.ZodDefault<z.ZodString>;
5361
5484
  }, "strip", z.ZodTypeAny, {
5362
5485
  name: string;
5363
5486
  resourceType: "GMIncludedFile";
5364
- resourceVersion: "1.0";
5487
+ resourceVersion: string;
5365
5488
  CopyToMask: bigint;
5366
5489
  filePath: string;
5367
5490
  ConfigValues?: Record<string, {
@@ -5375,7 +5498,7 @@ export declare class Yy {
5375
5498
  }> | undefined;
5376
5499
  CopyToMask?: number | bigint | undefined;
5377
5500
  resourceType?: "GMIncludedFile" | undefined;
5378
- resourceVersion?: "1.0" | undefined;
5501
+ resourceVersion?: string | undefined;
5379
5502
  }>, "many">>;
5380
5503
  MetaData: z.ZodObject<{
5381
5504
  IDEVersion: z.ZodString;
@@ -5388,8 +5511,15 @@ export declare class Yy {
5388
5511
  resourceVersion: z.ZodString;
5389
5512
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5390
5513
  }, z.ZodTypeAny, "passthrough">, unknown>;
5391
- readonly animcurves: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
5514
+ readonly animcurves: z.ZodObject<{
5515
+ "%Name": z.ZodOptional<z.ZodString>;
5516
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5517
+ "%Name": z.ZodOptional<z.ZodString>;
5518
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5519
+ "%Name": z.ZodOptional<z.ZodString>;
5520
+ }, z.ZodTypeAny, "passthrough">>;
5392
5521
  readonly extensions: z.ZodObject<{
5522
+ "%Name": z.ZodOptional<z.ZodString>;
5393
5523
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
5394
5524
  resourceVersion: z.ZodDefault<z.ZodString>;
5395
5525
  name: z.ZodString;
@@ -5582,6 +5712,7 @@ export declare class Yy {
5582
5712
  name: string;
5583
5713
  }>>;
5584
5714
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5715
+ "%Name": z.ZodOptional<z.ZodString>;
5585
5716
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
5586
5717
  resourceVersion: z.ZodDefault<z.ZodString>;
5587
5718
  name: z.ZodString;
@@ -5774,6 +5905,7 @@ export declare class Yy {
5774
5905
  name: string;
5775
5906
  }>>;
5776
5907
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5908
+ "%Name": z.ZodOptional<z.ZodString>;
5777
5909
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
5778
5910
  resourceVersion: z.ZodDefault<z.ZodString>;
5779
5911
  name: z.ZodString;
@@ -5966,10 +6098,24 @@ export declare class Yy {
5966
6098
  name: string;
5967
6099
  }>>;
5968
6100
  }, z.ZodTypeAny, "passthrough">>;
5969
- readonly fonts: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
5970
- readonly notes: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
6101
+ readonly fonts: z.ZodObject<{
6102
+ "%Name": z.ZodOptional<z.ZodString>;
6103
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6104
+ "%Name": z.ZodOptional<z.ZodString>;
6105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6106
+ "%Name": z.ZodOptional<z.ZodString>;
6107
+ }, z.ZodTypeAny, "passthrough">>;
6108
+ readonly notes: z.ZodObject<{
6109
+ "%Name": z.ZodOptional<z.ZodString>;
6110
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6111
+ "%Name": z.ZodOptional<z.ZodString>;
6112
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6113
+ "%Name": z.ZodOptional<z.ZodString>;
6114
+ }, z.ZodTypeAny, "passthrough">>;
5971
6115
  readonly objects: z.ZodObject<{
6116
+ "%Name": z.ZodOptional<z.ZodString>;
5972
6117
  name: z.ZodString;
6118
+ resourceVersion: z.ZodDefault<z.ZodString>;
5973
6119
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5974
6120
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5975
6121
  parent: z.ZodDefault<z.ZodObject<{
@@ -5982,7 +6128,6 @@ export declare class Yy {
5982
6128
  path: string;
5983
6129
  name: string;
5984
6130
  }>>;
5985
- resourceVersion: z.ZodDefault<z.ZodString>;
5986
6131
  spriteId: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5987
6132
  name: z.ZodString;
5988
6133
  path: z.ZodString;
@@ -6053,13 +6198,13 @@ export declare class Yy {
6053
6198
  }>>>;
6054
6199
  name: z.ZodDefault<z.ZodString>;
6055
6200
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6056
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
6201
+ resourceVersion: z.ZodDefault<z.ZodString>;
6057
6202
  resourceType: z.ZodDefault<z.ZodLiteral<"GMEvent">>;
6058
6203
  parent: z.ZodOptional<z.ZodUnknown>;
6059
6204
  }, z.UnknownKeysParam, z.ZodTypeAny, {
6060
6205
  name: string;
6061
6206
  resourceType: "GMEvent";
6062
- resourceVersion: "1.0";
6207
+ resourceVersion: string;
6063
6208
  isDnD: boolean;
6064
6209
  eventNum: number;
6065
6210
  eventType: number;
@@ -6079,7 +6224,7 @@ export declare class Yy {
6079
6224
  } | null | undefined;
6080
6225
  name?: string | undefined;
6081
6226
  tags?: string[] | undefined;
6082
- resourceVersion?: "1.0" | undefined;
6227
+ resourceVersion?: string | undefined;
6083
6228
  resourceType?: "GMEvent" | undefined;
6084
6229
  parent?: unknown;
6085
6230
  }>, "many">>;
@@ -6092,21 +6237,15 @@ export declare class Yy {
6092
6237
  rangeMax: z.ZodNumber;
6093
6238
  listItems: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
6094
6239
  multiselect: z.ZodDefault<z.ZodBoolean>;
6095
- /**
6096
- * Stringify an object into a Yy-formatted string,
6097
- * including trailing commas. If a schema is provided,
6098
- * it will be used to validate and populate defaults before
6099
- * stringifying.
6100
- */
6101
6240
  filters: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
6102
6241
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6103
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
6242
+ resourceVersion: z.ZodDefault<z.ZodString>;
6104
6243
  resourceType: z.ZodDefault<z.ZodLiteral<"GMObjectProperty">>;
6105
6244
  }, z.UnknownKeysParam, z.ZodTypeAny, {
6106
6245
  value: string;
6107
6246
  name: string;
6108
6247
  resourceType: "GMObjectProperty";
6109
- resourceVersion: "1.0";
6248
+ resourceVersion: string;
6110
6249
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
6111
6250
  rangeEnabled: boolean;
6112
6251
  rangeMin: number;
@@ -6126,7 +6265,7 @@ export declare class Yy {
6126
6265
  multiselect?: boolean | undefined;
6127
6266
  filters?: unknown[] | undefined;
6128
6267
  tags?: string[] | undefined;
6129
- resourceVersion?: "1.0" | undefined;
6268
+ resourceVersion?: string | undefined;
6130
6269
  resourceType?: "GMObjectProperty" | undefined;
6131
6270
  }>, "many">>;
6132
6271
  overriddenProperties: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
@@ -6135,11 +6274,11 @@ export declare class Yy {
6135
6274
  }, z.UnknownKeysParam, z.ZodTypeAny, {
6136
6275
  name: string;
6137
6276
  resourceType: "GMObject";
6277
+ resourceVersion: string;
6138
6278
  parent: {
6139
6279
  path: string;
6140
6280
  name: string;
6141
6281
  };
6142
- resourceVersion: string;
6143
6282
  spriteId: {
6144
6283
  path: string;
6145
6284
  name: string;
@@ -6173,7 +6312,7 @@ export declare class Yy {
6173
6312
  eventList: {
6174
6313
  name: string;
6175
6314
  resourceType: "GMEvent";
6176
- resourceVersion: "1.0";
6315
+ resourceVersion: string;
6177
6316
  isDnD: boolean;
6178
6317
  eventNum: number;
6179
6318
  eventType: number;
@@ -6188,7 +6327,7 @@ export declare class Yy {
6188
6327
  value: string;
6189
6328
  name: string;
6190
6329
  resourceType: "GMObjectProperty";
6191
- resourceVersion: "1.0";
6330
+ resourceVersion: string;
6192
6331
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
6193
6332
  rangeEnabled: boolean;
6194
6333
  rangeMin: number;
@@ -6199,18 +6338,20 @@ export declare class Yy {
6199
6338
  tags?: string[] | undefined;
6200
6339
  }[];
6201
6340
  overriddenProperties: unknown[];
6341
+ "%Name"?: string | undefined;
6202
6342
  ConfigValues?: Record<string, Record<string, string>> | undefined;
6203
6343
  tags?: string[] | undefined;
6204
6344
  managed?: boolean | undefined;
6205
6345
  }, {
6206
6346
  name: string;
6347
+ "%Name"?: string | undefined;
6348
+ resourceVersion?: string | undefined;
6207
6349
  ConfigValues?: Record<string, Record<string, string>> | undefined;
6208
6350
  tags?: string[] | undefined;
6209
6351
  parent?: {
6210
6352
  path: string;
6211
6353
  name: string;
6212
6354
  } | undefined;
6213
- resourceVersion?: string | undefined;
6214
6355
  spriteId?: {
6215
6356
  path: string;
6216
6357
  name: string;
@@ -6251,7 +6392,7 @@ export declare class Yy {
6251
6392
  } | null | undefined;
6252
6393
  name?: string | undefined;
6253
6394
  tags?: string[] | undefined;
6254
- resourceVersion?: "1.0" | undefined;
6395
+ resourceVersion?: string | undefined;
6255
6396
  resourceType?: "GMEvent" | undefined;
6256
6397
  parent?: unknown;
6257
6398
  }[] | undefined;
@@ -6266,17 +6407,31 @@ export declare class Yy {
6266
6407
  multiselect?: boolean | undefined;
6267
6408
  filters?: unknown[] | undefined;
6268
6409
  tags?: string[] | undefined;
6269
- resourceVersion?: "1.0" | undefined;
6410
+ resourceVersion?: string | undefined;
6270
6411
  resourceType?: "GMObjectProperty" | undefined;
6271
6412
  }[] | undefined;
6272
6413
  overriddenProperties?: unknown[] | undefined;
6273
6414
  managed?: boolean | undefined;
6274
6415
  resourceType?: "GMObject" | undefined;
6275
6416
  }>;
6276
- readonly particles: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
6277
- readonly paths: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
6417
+ readonly particles: z.ZodObject<{
6418
+ "%Name": z.ZodOptional<z.ZodString>;
6419
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6420
+ "%Name": z.ZodOptional<z.ZodString>;
6421
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6422
+ "%Name": z.ZodOptional<z.ZodString>;
6423
+ }, z.ZodTypeAny, "passthrough">>;
6424
+ readonly paths: z.ZodObject<{
6425
+ "%Name": z.ZodOptional<z.ZodString>;
6426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6427
+ "%Name": z.ZodOptional<z.ZodString>;
6428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6429
+ "%Name": z.ZodOptional<z.ZodString>;
6430
+ }, z.ZodTypeAny, "passthrough">>;
6278
6431
  readonly rooms: z.ZodObject<{
6432
+ "%Name": z.ZodOptional<z.ZodString>;
6279
6433
  name: z.ZodString;
6434
+ resourceVersion: z.ZodDefault<z.ZodString>;
6280
6435
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
6281
6436
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6282
6437
  parent: z.ZodDefault<z.ZodObject<{
@@ -6289,7 +6444,6 @@ export declare class Yy {
6289
6444
  path: string;
6290
6445
  name: string;
6291
6446
  }>>;
6292
- resourceVersion: z.ZodDefault<z.ZodString>;
6293
6447
  layers: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
6294
6448
  visible: z.ZodDefault<z.ZodBoolean>;
6295
6449
  properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
@@ -7180,11 +7334,11 @@ export declare class Yy {
7180
7334
  }, z.UnknownKeysParam, z.ZodTypeAny, {
7181
7335
  name: string;
7182
7336
  resourceType: "GMRoom";
7337
+ resourceVersion: string;
7183
7338
  parent: {
7184
7339
  path: string;
7185
7340
  name: string;
7186
7341
  };
7187
- resourceVersion: string;
7188
7342
  isDnd: boolean;
7189
7343
  inheritCode: boolean;
7190
7344
  layers: (z.objectOutputType<{
@@ -7487,19 +7641,21 @@ export declare class Yy {
7487
7641
  inheritLayers: boolean;
7488
7642
  creationCodeFile: string;
7489
7643
  inheritCreationOrder: boolean;
7644
+ "%Name"?: string | undefined;
7490
7645
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7491
7646
  tags?: string[] | undefined;
7492
7647
  parentRoom?: unknown;
7493
7648
  sequenceId?: unknown;
7494
7649
  }, {
7495
7650
  name: string;
7651
+ "%Name"?: string | undefined;
7652
+ resourceVersion?: string | undefined;
7496
7653
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7497
7654
  tags?: string[] | undefined;
7498
7655
  parent?: {
7499
7656
  path: string;
7500
7657
  name: string;
7501
7658
  } | undefined;
7502
- resourceVersion?: string | undefined;
7503
7659
  layers?: (z.objectInputType<{
7504
7660
  resourceType: z.ZodLiteral<"GMRPathLayer">;
7505
7661
  resourceVersion: z.ZodDefault<z.ZodString>;
@@ -7805,7 +7961,9 @@ export declare class Yy {
7805
7961
  resourceType?: "GMRoom" | undefined;
7806
7962
  }>;
7807
7963
  readonly scripts: z.ZodObject<{
7964
+ "%Name": z.ZodOptional<z.ZodString>;
7808
7965
  name: z.ZodString;
7966
+ resourceVersion: z.ZodDefault<z.ZodString>;
7809
7967
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
7810
7968
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7811
7969
  parent: z.ZodDefault<z.ZodObject<{
@@ -7818,39 +7976,54 @@ export declare class Yy {
7818
7976
  path: string;
7819
7977
  name: string;
7820
7978
  }>>;
7821
- resourceVersion: z.ZodDefault<z.ZodString>;
7822
7979
  isDnD: z.ZodDefault<z.ZodBoolean>;
7823
7980
  isCompatibility: z.ZodDefault<z.ZodBoolean>;
7824
7981
  resourceType: z.ZodDefault<z.ZodLiteral<"GMScript">>;
7825
7982
  }, z.UnknownKeysParam, z.ZodTypeAny, {
7826
7983
  name: string;
7827
7984
  resourceType: "GMScript";
7985
+ resourceVersion: string;
7828
7986
  parent: {
7829
7987
  path: string;
7830
7988
  name: string;
7831
7989
  };
7832
- resourceVersion: string;
7833
7990
  isDnD: boolean;
7834
7991
  isCompatibility: boolean;
7992
+ "%Name"?: string | undefined;
7835
7993
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7836
7994
  tags?: string[] | undefined;
7837
7995
  }, {
7838
7996
  name: string;
7997
+ "%Name"?: string | undefined;
7998
+ resourceVersion?: string | undefined;
7839
7999
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7840
8000
  tags?: string[] | undefined;
7841
8001
  parent?: {
7842
8002
  path: string;
7843
8003
  name: string;
7844
8004
  } | undefined;
7845
- resourceVersion?: string | undefined;
7846
8005
  isDnD?: boolean | undefined;
7847
8006
  isCompatibility?: boolean | undefined;
7848
8007
  resourceType?: "GMScript" | undefined;
7849
8008
  }>;
7850
- readonly sequences: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
7851
- readonly shaders: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
8009
+ readonly sequences: z.ZodObject<{
8010
+ "%Name": z.ZodOptional<z.ZodString>;
8011
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8012
+ "%Name": z.ZodOptional<z.ZodString>;
8013
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8014
+ "%Name": z.ZodOptional<z.ZodString>;
8015
+ }, z.ZodTypeAny, "passthrough">>;
8016
+ readonly shaders: z.ZodObject<{
8017
+ "%Name": z.ZodOptional<z.ZodString>;
8018
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8019
+ "%Name": z.ZodOptional<z.ZodString>;
8020
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8021
+ "%Name": z.ZodOptional<z.ZodString>;
8022
+ }, z.ZodTypeAny, "passthrough">>;
7852
8023
  readonly sounds: z.ZodObject<{
8024
+ "%Name": z.ZodOptional<z.ZodString>;
7853
8025
  name: z.ZodString;
8026
+ resourceVersion: z.ZodDefault<z.ZodString>;
7854
8027
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
7855
8028
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7856
8029
  parent: z.ZodDefault<z.ZodObject<{
@@ -7863,7 +8036,6 @@ export declare class Yy {
7863
8036
  path: string;
7864
8037
  name: string;
7865
8038
  }>>;
7866
- resourceVersion: z.ZodDefault<z.ZodString>;
7867
8039
  compression: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySound.js").SoundCompression>>;
7868
8040
  conversionMode: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7869
8041
  volume: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>>;
@@ -7889,11 +8061,11 @@ export declare class Yy {
7889
8061
  type: import("./types/YySound.js").SoundChannel;
7890
8062
  name: string;
7891
8063
  resourceType: "GMSound";
8064
+ resourceVersion: string;
7892
8065
  parent: {
7893
8066
  path: string;
7894
8067
  name: string;
7895
8068
  };
7896
- resourceVersion: string;
7897
8069
  volume: import("./types/utility.js").FixedNumber;
7898
8070
  compression: import("./types/YySound.js").SoundCompression;
7899
8071
  conversionMode: number;
@@ -7906,19 +8078,21 @@ export declare class Yy {
7906
8078
  name: string;
7907
8079
  };
7908
8080
  soundFile: string;
8081
+ "%Name"?: string | undefined;
7909
8082
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7910
8083
  tags?: string[] | undefined;
7911
8084
  duration?: import("./types/utility.js").FixedNumber | undefined;
7912
8085
  }, {
7913
8086
  name: string;
7914
8087
  soundFile: string;
8088
+ "%Name"?: string | undefined;
8089
+ resourceVersion?: string | undefined;
7915
8090
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7916
8091
  tags?: string[] | undefined;
7917
8092
  parent?: {
7918
8093
  path: string;
7919
8094
  name: string;
7920
8095
  } | undefined;
7921
- resourceVersion?: string | undefined;
7922
8096
  compression?: import("./types/YySound.js").SoundCompression | undefined;
7923
8097
  conversionMode?: number | undefined;
7924
8098
  volume?: number | import("./types/utility.js").FixedNumber | undefined;
@@ -7935,7 +8109,9 @@ export declare class Yy {
7935
8109
  resourceType?: "GMSound" | undefined;
7936
8110
  }>;
7937
8111
  readonly sprites: z.ZodEffects<z.ZodEffects<z.ZodObject<{
8112
+ "%Name": z.ZodOptional<z.ZodString>;
7938
8113
  name: z.ZodString;
8114
+ resourceVersion: z.ZodDefault<z.ZodString>;
7939
8115
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
7940
8116
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7941
8117
  parent: z.ZodDefault<z.ZodObject<{
@@ -7948,7 +8124,6 @@ export declare class Yy {
7948
8124
  path: string;
7949
8125
  name: string;
7950
8126
  }>>;
7951
- resourceVersion: z.ZodDefault<z.ZodString>;
7952
8127
  bboxMode: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteBoundingBoxMode>>;
7953
8128
  collisionKind: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteCollisionKind>>;
7954
8129
  type: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteType>>;
@@ -7987,8 +8162,8 @@ export declare class Yy {
7987
8162
  compositeImage: z.ZodOptional<z.ZodObject<{
7988
8163
  name: z.ZodDefault<z.ZodString>;
7989
8164
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
7990
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7991
8165
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8166
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7992
8167
  FrameId: z.ZodObject<{
7993
8168
  name: z.ZodString;
7994
8169
  path: z.ZodString;
@@ -8018,14 +8193,14 @@ export declare class Yy {
8018
8193
  LayerId: null;
8019
8194
  name?: string | undefined;
8020
8195
  resourceType?: "GMSpriteBitmap" | undefined;
8021
- tags?: string[] | undefined;
8022
8196
  resourceVersion?: "1.0" | undefined;
8197
+ tags?: string[] | undefined;
8023
8198
  }>>;
8024
8199
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
8025
8200
  name: z.ZodDefault<z.ZodString>;
8026
8201
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
8027
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8028
8202
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8203
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8029
8204
  FrameId: z.ZodObject<{
8030
8205
  name: z.ZodString;
8031
8206
  path: z.ZodString;
@@ -8070,8 +8245,8 @@ export declare class Yy {
8070
8245
  };
8071
8246
  name?: string | undefined;
8072
8247
  resourceType?: "GMSpriteBitmap" | undefined;
8073
- tags?: string[] | undefined;
8074
8248
  resourceVersion?: "1.0" | undefined;
8249
+ tags?: string[] | undefined;
8075
8250
  }>, "many">>;
8076
8251
  parent: z.ZodOptional<z.ZodObject<{
8077
8252
  name: z.ZodString;
@@ -8083,11 +8258,11 @@ export declare class Yy {
8083
8258
  path: string;
8084
8259
  name: string;
8085
8260
  }>>;
8086
- resourceVersion: z.ZodDefault<z.ZodEnum<["1.0", "1.1"]>>;
8261
+ resourceVersion: z.ZodDefault<z.ZodString>;
8087
8262
  }, z.UnknownKeysParam, z.ZodTypeAny, {
8088
8263
  name: string;
8089
8264
  resourceType: "GMSpriteFrame";
8090
- resourceVersion: "1.0" | "1.1";
8265
+ resourceVersion: string;
8091
8266
  tags?: string[] | undefined;
8092
8267
  compositeImage?: {
8093
8268
  name: string;
@@ -8130,8 +8305,8 @@ export declare class Yy {
8130
8305
  LayerId: null;
8131
8306
  name?: string | undefined;
8132
8307
  resourceType?: "GMSpriteBitmap" | undefined;
8133
- tags?: string[] | undefined;
8134
8308
  resourceVersion?: "1.0" | undefined;
8309
+ tags?: string[] | undefined;
8135
8310
  } | undefined;
8136
8311
  images?: {
8137
8312
  FrameId: {
@@ -8144,14 +8319,14 @@ export declare class Yy {
8144
8319
  };
8145
8320
  name?: string | undefined;
8146
8321
  resourceType?: "GMSpriteBitmap" | undefined;
8147
- tags?: string[] | undefined;
8148
8322
  resourceVersion?: "1.0" | undefined;
8323
+ tags?: string[] | undefined;
8149
8324
  }[] | undefined;
8150
8325
  parent?: {
8151
8326
  path: string;
8152
8327
  name: string;
8153
8328
  } | undefined;
8154
- resourceVersion?: "1.0" | "1.1" | undefined;
8329
+ resourceVersion?: string | undefined;
8155
8330
  }>, "many">>;
8156
8331
  sequence: z.ZodEffects<z.ZodObject<{
8157
8332
  timeUnits: z.ZodDefault<z.ZodNumber>;
@@ -8160,9 +8335,6 @@ export declare class Yy {
8160
8335
  playbackSpeedType: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpritePlaybackSpeedType>>;
8161
8336
  autoRecord: z.ZodDefault<z.ZodBoolean>;
8162
8337
  volume: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>>;
8163
- /**
8164
- * Check for functional equality between two Yy objects.
8165
- */
8166
8338
  length: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>>;
8167
8339
  visibleRange: z.ZodDefault<z.ZodNullable<z.ZodObject<{
8168
8340
  x: z.ZodEffects<z.ZodEffects<z.ZodNumber, number, number | import("./types/utility.js").FixedNumber>, import("./types/utility.js").FixedNumber, number | import("./types/utility.js").FixedNumber>;
@@ -8193,13 +8365,13 @@ export declare class Yy {
8193
8365
  resourceVersion: z.ZodDefault<z.ZodString>;
8194
8366
  events: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
8195
8367
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
8196
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8368
+ resourceVersion: z.ZodDefault<z.ZodString>;
8197
8369
  }, "strip", z.ZodTypeAny, {
8198
- resourceVersion: "1.0";
8370
+ resourceVersion: string;
8199
8371
  Keyframes: unknown[];
8200
8372
  }, {
8201
8373
  Keyframes?: unknown[] | undefined;
8202
- resourceVersion?: "1.0" | undefined;
8374
+ resourceVersion?: string | undefined;
8203
8375
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
8204
8376
  resourceType: z.ZodLiteral<"KeyframeStore<MessageEventKeyframe>">;
8205
8377
  }, "strip", z.ZodTypeAny, {
@@ -8216,7 +8388,7 @@ export declare class Yy {
8216
8388
  resourceType: "KeyframeStore`1";
8217
8389
  elementType: "MessageEventKeyframe";
8218
8390
  }>]>>, {
8219
- resourceVersion: "1.0";
8391
+ resourceVersion: string;
8220
8392
  Keyframes: unknown[];
8221
8393
  } & ({
8222
8394
  resourceType: "KeyframeStore<MessageEventKeyframe>";
@@ -8226,13 +8398,13 @@ export declare class Yy {
8226
8398
  }), unknown>>;
8227
8399
  moments: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
8228
8400
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
8229
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8401
+ resourceVersion: z.ZodDefault<z.ZodString>;
8230
8402
  }, "strip", z.ZodTypeAny, {
8231
- resourceVersion: "1.0";
8403
+ resourceVersion: string;
8232
8404
  Keyframes: unknown[];
8233
8405
  }, {
8234
8406
  Keyframes?: unknown[] | undefined;
8235
- resourceVersion?: "1.0" | undefined;
8407
+ resourceVersion?: string | undefined;
8236
8408
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
8237
8409
  resourceType: z.ZodLiteral<"KeyframeStore<MomentsEventKeyframe>">;
8238
8410
  }, "strip", z.ZodTypeAny, {
@@ -8249,7 +8421,7 @@ export declare class Yy {
8249
8421
  resourceType: "KeyframeStore`1";
8250
8422
  elementType: "MomentsEventKeyframe";
8251
8423
  }>]>>, {
8252
- resourceVersion: "1.0";
8424
+ resourceVersion: string;
8253
8425
  Keyframes: unknown[];
8254
8426
  } & ({
8255
8427
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
@@ -8322,24 +8494,24 @@ export declare class Yy {
8322
8494
  xorigin: number;
8323
8495
  yorigin: number;
8324
8496
  events: ({
8325
- resourceVersion: "1.0";
8497
+ resourceVersion: string;
8326
8498
  Keyframes: unknown[];
8327
8499
  } & {
8328
8500
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8329
8501
  }) | ({
8330
- resourceVersion: "1.0";
8502
+ resourceVersion: string;
8331
8503
  Keyframes: unknown[];
8332
8504
  } & {
8333
8505
  resourceType: "KeyframeStore`1";
8334
8506
  elementType: "MessageEventKeyframe";
8335
8507
  });
8336
8508
  moments: ({
8337
- resourceVersion: "1.0";
8509
+ resourceVersion: string;
8338
8510
  Keyframes: unknown[];
8339
8511
  } & {
8340
8512
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8341
8513
  }) | ({
8342
- resourceVersion: "1.0";
8514
+ resourceVersion: string;
8343
8515
  Keyframes: unknown[];
8344
8516
  } & {
8345
8517
  resourceType: "KeyframeStore`1";
@@ -8418,24 +8590,24 @@ export declare class Yy {
8418
8590
  xorigin: number;
8419
8591
  yorigin: number;
8420
8592
  events: ({
8421
- resourceVersion: "1.0";
8593
+ resourceVersion: string;
8422
8594
  Keyframes: unknown[];
8423
8595
  } & {
8424
8596
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8425
8597
  }) | ({
8426
- resourceVersion: "1.0";
8598
+ resourceVersion: string;
8427
8599
  Keyframes: unknown[];
8428
8600
  } & {
8429
8601
  resourceType: "KeyframeStore`1";
8430
8602
  elementType: "MessageEventKeyframe";
8431
8603
  });
8432
8604
  moments: ({
8433
- resourceVersion: "1.0";
8605
+ resourceVersion: string;
8434
8606
  Keyframes: unknown[];
8435
8607
  } & {
8436
8608
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8437
8609
  }) | ({
8438
- resourceVersion: "1.0";
8610
+ resourceVersion: string;
8439
8611
  Keyframes: unknown[];
8440
8612
  } & {
8441
8613
  resourceType: "KeyframeStore`1";
@@ -8462,11 +8634,11 @@ export declare class Yy {
8462
8634
  type: import("./types/YySprite.js").SpriteType;
8463
8635
  name: string;
8464
8636
  resourceType: "GMSprite";
8637
+ resourceVersion: string;
8465
8638
  parent: {
8466
8639
  path: string;
8467
8640
  name: string;
8468
8641
  };
8469
- resourceVersion: string;
8470
8642
  gridX: number;
8471
8643
  gridY: number;
8472
8644
  layers: any[];
@@ -8494,7 +8666,7 @@ export declare class Yy {
8494
8666
  frames: {
8495
8667
  name: string;
8496
8668
  resourceType: "GMSpriteFrame";
8497
- resourceVersion: "1.0" | "1.1";
8669
+ resourceVersion: string;
8498
8670
  tags?: string[] | undefined;
8499
8671
  compositeImage?: {
8500
8672
  name: string;
@@ -8552,24 +8724,24 @@ export declare class Yy {
8552
8724
  xorigin: number;
8553
8725
  yorigin: number;
8554
8726
  events: ({
8555
- resourceVersion: "1.0";
8727
+ resourceVersion: string;
8556
8728
  Keyframes: unknown[];
8557
8729
  } & {
8558
8730
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8559
8731
  }) | ({
8560
- resourceVersion: "1.0";
8732
+ resourceVersion: string;
8561
8733
  Keyframes: unknown[];
8562
8734
  } & {
8563
8735
  resourceType: "KeyframeStore`1";
8564
8736
  elementType: "MessageEventKeyframe";
8565
8737
  });
8566
8738
  moments: ({
8567
- resourceVersion: "1.0";
8739
+ resourceVersion: string;
8568
8740
  Keyframes: unknown[];
8569
8741
  } & {
8570
8742
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8571
8743
  }) | ({
8572
- resourceVersion: "1.0";
8744
+ resourceVersion: string;
8573
8745
  Keyframes: unknown[];
8574
8746
  } & {
8575
8747
  resourceType: "KeyframeStore`1";
@@ -8589,19 +8761,21 @@ export declare class Yy {
8589
8761
  name: string;
8590
8762
  } | undefined;
8591
8763
  };
8764
+ "%Name"?: string | undefined;
8592
8765
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8593
8766
  tags?: string[] | undefined;
8594
8767
  swatchColours?: unknown;
8595
8768
  nineSlice?: unknown;
8596
8769
  }, {
8597
8770
  name: string;
8771
+ "%Name"?: string | undefined;
8772
+ resourceVersion?: string | undefined;
8598
8773
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8599
8774
  tags?: string[] | undefined;
8600
8775
  parent?: {
8601
8776
  path: string;
8602
8777
  name: string;
8603
8778
  } | undefined;
8604
- resourceVersion?: string | undefined;
8605
8779
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
8606
8780
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
8607
8781
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -8639,8 +8813,8 @@ export declare class Yy {
8639
8813
  LayerId: null;
8640
8814
  name?: string | undefined;
8641
8815
  resourceType?: "GMSpriteBitmap" | undefined;
8642
- tags?: string[] | undefined;
8643
8816
  resourceVersion?: "1.0" | undefined;
8817
+ tags?: string[] | undefined;
8644
8818
  } | undefined;
8645
8819
  images?: {
8646
8820
  FrameId: {
@@ -8653,14 +8827,14 @@ export declare class Yy {
8653
8827
  };
8654
8828
  name?: string | undefined;
8655
8829
  resourceType?: "GMSpriteBitmap" | undefined;
8656
- tags?: string[] | undefined;
8657
8830
  resourceVersion?: "1.0" | undefined;
8831
+ tags?: string[] | undefined;
8658
8832
  }[] | undefined;
8659
8833
  parent?: {
8660
8834
  path: string;
8661
8835
  name: string;
8662
8836
  } | undefined;
8663
- resourceVersion?: "1.0" | "1.1" | undefined;
8837
+ resourceVersion?: string | undefined;
8664
8838
  }[] | undefined;
8665
8839
  sequence?: unknown;
8666
8840
  layers?: unknown;
@@ -8670,11 +8844,11 @@ export declare class Yy {
8670
8844
  type: import("./types/YySprite.js").SpriteType;
8671
8845
  name: string;
8672
8846
  resourceType: "GMSprite";
8847
+ resourceVersion: string;
8673
8848
  parent: {
8674
8849
  path: string;
8675
8850
  name: string;
8676
8851
  };
8677
- resourceVersion: string;
8678
8852
  gridX: number;
8679
8853
  gridY: number;
8680
8854
  layers: any[];
@@ -8702,7 +8876,7 @@ export declare class Yy {
8702
8876
  frames: {
8703
8877
  name: string;
8704
8878
  resourceType: "GMSpriteFrame";
8705
- resourceVersion: "1.0" | "1.1";
8879
+ resourceVersion: string;
8706
8880
  tags?: string[] | undefined;
8707
8881
  compositeImage?: {
8708
8882
  name: string;
@@ -8760,24 +8934,24 @@ export declare class Yy {
8760
8934
  xorigin: number;
8761
8935
  yorigin: number;
8762
8936
  events: ({
8763
- resourceVersion: "1.0";
8937
+ resourceVersion: string;
8764
8938
  Keyframes: unknown[];
8765
8939
  } & {
8766
8940
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8767
8941
  }) | ({
8768
- resourceVersion: "1.0";
8942
+ resourceVersion: string;
8769
8943
  Keyframes: unknown[];
8770
8944
  } & {
8771
8945
  resourceType: "KeyframeStore`1";
8772
8946
  elementType: "MessageEventKeyframe";
8773
8947
  });
8774
8948
  moments: ({
8775
- resourceVersion: "1.0";
8949
+ resourceVersion: string;
8776
8950
  Keyframes: unknown[];
8777
8951
  } & {
8778
8952
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8779
8953
  }) | ({
8780
- resourceVersion: "1.0";
8954
+ resourceVersion: string;
8781
8955
  Keyframes: unknown[];
8782
8956
  } & {
8783
8957
  resourceType: "KeyframeStore`1";
@@ -8797,19 +8971,21 @@ export declare class Yy {
8797
8971
  name: string;
8798
8972
  } | undefined;
8799
8973
  };
8974
+ "%Name"?: string | undefined;
8800
8975
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8801
8976
  tags?: string[] | undefined;
8802
8977
  swatchColours?: unknown;
8803
8978
  nineSlice?: unknown;
8804
8979
  }, {
8805
8980
  name: string;
8981
+ "%Name"?: string | undefined;
8982
+ resourceVersion?: string | undefined;
8806
8983
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8807
8984
  tags?: string[] | undefined;
8808
8985
  parent?: {
8809
8986
  path: string;
8810
8987
  name: string;
8811
8988
  } | undefined;
8812
- resourceVersion?: string | undefined;
8813
8989
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
8814
8990
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
8815
8991
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -8847,8 +9023,8 @@ export declare class Yy {
8847
9023
  LayerId: null;
8848
9024
  name?: string | undefined;
8849
9025
  resourceType?: "GMSpriteBitmap" | undefined;
8850
- tags?: string[] | undefined;
8851
9026
  resourceVersion?: "1.0" | undefined;
9027
+ tags?: string[] | undefined;
8852
9028
  } | undefined;
8853
9029
  images?: {
8854
9030
  FrameId: {
@@ -8861,14 +9037,14 @@ export declare class Yy {
8861
9037
  };
8862
9038
  name?: string | undefined;
8863
9039
  resourceType?: "GMSpriteBitmap" | undefined;
8864
- tags?: string[] | undefined;
8865
9040
  resourceVersion?: "1.0" | undefined;
9041
+ tags?: string[] | undefined;
8866
9042
  }[] | undefined;
8867
9043
  parent?: {
8868
9044
  path: string;
8869
9045
  name: string;
8870
9046
  } | undefined;
8871
- resourceVersion?: "1.0" | "1.1" | undefined;
9047
+ resourceVersion?: string | undefined;
8872
9048
  }[] | undefined;
8873
9049
  sequence?: unknown;
8874
9050
  layers?: unknown;
@@ -8878,11 +9054,11 @@ export declare class Yy {
8878
9054
  type: import("./types/YySprite.js").SpriteType;
8879
9055
  name: string;
8880
9056
  resourceType: "GMSprite";
9057
+ resourceVersion: string;
8881
9058
  parent: {
8882
9059
  path: string;
8883
9060
  name: string;
8884
9061
  };
8885
- resourceVersion: string;
8886
9062
  gridX: number;
8887
9063
  gridY: number;
8888
9064
  layers: any[];
@@ -8910,7 +9086,7 @@ export declare class Yy {
8910
9086
  frames: {
8911
9087
  name: string;
8912
9088
  resourceType: "GMSpriteFrame";
8913
- resourceVersion: "1.0" | "1.1";
9089
+ resourceVersion: string;
8914
9090
  tags?: string[] | undefined;
8915
9091
  compositeImage?: {
8916
9092
  name: string;
@@ -8968,24 +9144,24 @@ export declare class Yy {
8968
9144
  xorigin: number;
8969
9145
  yorigin: number;
8970
9146
  events: ({
8971
- resourceVersion: "1.0";
9147
+ resourceVersion: string;
8972
9148
  Keyframes: unknown[];
8973
9149
  } & {
8974
9150
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8975
9151
  }) | ({
8976
- resourceVersion: "1.0";
9152
+ resourceVersion: string;
8977
9153
  Keyframes: unknown[];
8978
9154
  } & {
8979
9155
  resourceType: "KeyframeStore`1";
8980
9156
  elementType: "MessageEventKeyframe";
8981
9157
  });
8982
9158
  moments: ({
8983
- resourceVersion: "1.0";
9159
+ resourceVersion: string;
8984
9160
  Keyframes: unknown[];
8985
9161
  } & {
8986
9162
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8987
9163
  }) | ({
8988
- resourceVersion: "1.0";
9164
+ resourceVersion: string;
8989
9165
  Keyframes: unknown[];
8990
9166
  } & {
8991
9167
  resourceType: "KeyframeStore`1";
@@ -9005,13 +9181,26 @@ export declare class Yy {
9005
9181
  name: string;
9006
9182
  } | undefined;
9007
9183
  };
9184
+ "%Name"?: string | undefined;
9008
9185
  ConfigValues?: Record<string, Record<string, string>> | undefined;
9009
9186
  tags?: string[] | undefined;
9010
9187
  swatchColours?: unknown;
9011
9188
  nineSlice?: unknown;
9012
9189
  }, unknown>;
9013
- readonly tilesets: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
9014
- readonly timelines: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
9190
+ readonly tilesets: z.ZodObject<{
9191
+ "%Name": z.ZodOptional<z.ZodString>;
9192
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9193
+ "%Name": z.ZodOptional<z.ZodString>;
9194
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9195
+ "%Name": z.ZodOptional<z.ZodString>;
9196
+ }, z.ZodTypeAny, "passthrough">>;
9197
+ readonly timelines: z.ZodObject<{
9198
+ "%Name": z.ZodOptional<z.ZodString>;
9199
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9200
+ "%Name": z.ZodOptional<z.ZodString>;
9201
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9202
+ "%Name": z.ZodOptional<z.ZodString>;
9203
+ }, z.ZodTypeAny, "passthrough">>;
9015
9204
  };
9016
9205
  static getSchema<T extends YySchemaRef>(ref: T): YySchema<T>;
9017
9206
  /**
@@ -9020,7 +9209,7 @@ export declare class Yy {
9020
9209
  * it will be used to validate and populate defaults before
9021
9210
  * stringifying.
9022
9211
  */
9023
- static stringify(yyObject: unknown, schema?: YySchemaRef): string;
9212
+ static stringify(yyObject: unknown, schema?: YySchemaRef, yyp?: Yyp): string;
9024
9213
  static parse<T extends YySchemaRef>(yyString: string, schema?: T): YyDataStrict<T>;
9025
9214
  static read<T extends YySchemaRef>(filePath: string, schema: T): Promise<YyDataStrict<T>>;
9026
9215
  static read(filePath: string): Promise<unknown>;
@@ -9044,24 +9233,17 @@ export declare class Yy {
9044
9233
  * Calls that result in a no-op because the existing
9045
9234
  * file matches return `false`, while calls that *do*
9046
9235
  * write to disk return `true`.
9236
+ *
9237
+ * @param yyp If provided, the yyp will be used to determine format information
9047
9238
  */
9048
- static write<T extends YySchemaRef>(filePath: string, yyData: YyDataLoose<T>, schema: T): Promise<boolean>;
9239
+ static write<T extends YySchemaRef>(filePath: string, yyData: YyDataLoose<T>, schema: T, yyp?: Yyp): Promise<boolean>;
9049
9240
  /**
9050
9241
  * Synchronous version of {@link Yy.write}.
9242
+ *
9243
+ * @param yyp If provided, the yyp will be used to determine format information
9051
9244
  */
9052
- static writeSync<T extends YySchemaRef>(filePath: string, yyData: YyDataLoose<T>, schema: T): boolean;
9053
- static populate<T extends Exclude<YySchemaRef, undefined>>(yyData: PartialDeep<YyDataLoose<T>>, schema: T, options?: {
9054
- sortKeys?: boolean;
9055
- }): YyDataStrict<T>;
9056
- /**
9057
- * Sort keys GameMaker-style (which does change over time!).
9058
- * At this time, the order is:
9059
- * - "resourceType": "GMSprite",
9060
- * - "resourceVersion": "1.0",
9061
- * - "name": "barrel_tendraam",
9062
- * - Everything else, in alphabetical order (case-insensitive).
9063
- */
9064
- static sortKeys<T>(yyData: T): T;
9245
+ static writeSync<T extends YySchemaRef>(filePath: string, yyData: YyDataLoose<T>, schema: T, yyp?: Yyp): boolean;
9246
+ static populate<T extends Exclude<YySchemaRef, undefined>>(yyData: PartialDeep<YyDataLoose<T>>, schema: T): YyDataStrict<T>;
9065
9247
  static diff(firstYy: unknown, secondYy: unknown): YyDiff;
9066
9248
  /**
9067
9249
  * Check for functional equality between two Yy objects.