@bscotch/yy 0.17.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/Yy.d.ts +977 -359
  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 +275 -50
  37. package/dist/types/Yyp.d.ts.map +1 -1
  38. package/dist/types/Yyp.js +18 -6
  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;
@@ -8,7 +9,8 @@ export type YyDataStrict<T extends YySchemaRef> = T extends undefined ? unknown
8
9
  export type YyDataLoose<T extends YySchemaRef> = T extends undefined ? unknown : z.input<YySchema<Exclude<T, undefined>>>;
9
10
  export type YySchemas = typeof yySchemas;
10
11
  export declare const yySchemas: {
11
- readonly project: z.ZodObject<{
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;
@@ -662,108 +684,340 @@ export declare const yySchemas: {
662
684
  LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
663
685
  resourceVersion: z.ZodString;
664
686
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
665
- }, z.ZodTypeAny, "passthrough">>;
666
- readonly animcurves: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
667
- readonly extensions: z.ZodObject<{
668
- resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
669
- resourceVersion: z.ZodDefault<z.ZodString>;
687
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
688
+ "%Name": z.ZodOptional<z.ZodString>;
670
689
  name: z.ZodString;
671
- files: z.ZodDefault<z.ZodArray<z.ZodObject<{
672
- resourceType: z.ZodLiteral<"GMExtensionFile">;
673
- resourceVersion: z.ZodDefault<z.ZodString>;
674
- constants: z.ZodDefault<z.ZodArray<z.ZodObject<{
675
- resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionConstant">>;
676
- resourceVersion: z.ZodDefault<z.ZodString>;
690
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
691
+ resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
692
+ id: z.ZodObject<{
677
693
  name: z.ZodString;
678
- hidden: z.ZodDefault<z.ZodBoolean>;
679
- value: z.ZodString;
694
+ path: z.ZodString;
680
695
  }, "strip", z.ZodTypeAny, {
681
- value: string;
696
+ path: string;
682
697
  name: string;
683
- resourceType: "GMExtensionConstant";
684
- resourceVersion: string;
685
- hidden: boolean;
686
698
  }, {
687
- value: string;
699
+ path: string;
688
700
  name: string;
689
- resourceType?: "GMExtensionConstant" | undefined;
690
- resourceVersion?: string | undefined;
691
- hidden?: boolean | undefined;
692
- }>, "many">>;
693
- functions: z.ZodDefault<z.ZodArray<z.ZodObject<{
694
- resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionFunction">>;
695
- resourceVersion: z.ZodDefault<z.ZodString>;
701
+ }>;
702
+ order: z.ZodOptional<z.ZodNumber>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ id: {
705
+ path: string;
706
+ name: string;
707
+ };
708
+ order?: number | undefined;
709
+ }, {
710
+ id: {
711
+ path: string;
712
+ name: string;
713
+ };
714
+ order?: number | undefined;
715
+ }>, "many">>;
716
+ RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
717
+ roomId: z.ZodObject<{
696
718
  name: z.ZodString;
697
- externalName: z.ZodString;
698
- documentation: z.ZodDefault<z.ZodString>;
699
- argCount: z.ZodDefault<z.ZodNumber>;
700
- args: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>, "many">>;
701
- help: z.ZodString;
702
- hidden: z.ZodDefault<z.ZodBoolean>;
703
- kind: z.ZodDefault<z.ZodNumber>;
704
- returnType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
719
+ path: z.ZodString;
705
720
  }, "strip", z.ZodTypeAny, {
721
+ path: string;
706
722
  name: string;
707
- resourceType: "GMExtensionFunction";
708
- resourceVersion: string;
709
- hidden: boolean;
710
- externalName: string;
711
- documentation: string;
712
- argCount: number;
713
- args: (2 | 1)[];
714
- help: string;
715
- kind: number;
716
- returnType: 2 | 1;
717
723
  }, {
724
+ path: string;
718
725
  name: string;
719
- externalName: string;
720
- help: string;
721
- returnType: 2 | 1;
722
- resourceType?: "GMExtensionFunction" | undefined;
723
- resourceVersion?: string | undefined;
724
- documentation?: string | undefined;
725
- argCount?: number | undefined;
726
- args?: (2 | 1)[] | undefined;
727
- hidden?: boolean | undefined;
728
- kind?: number | undefined;
729
- }>, "many">>;
730
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
731
- resourceType: z.ZodLiteral<"GMExtensionFile">;
726
+ }>;
727
+ }, "strip", z.ZodTypeAny, {
728
+ roomId: {
729
+ path: string;
730
+ name: string;
731
+ };
732
+ }, {
733
+ roomId: {
734
+ path: string;
735
+ name: string;
736
+ };
737
+ }>, "many">>;
738
+ Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
739
+ ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
740
+ name: z.ZodString;
741
+ path: z.ZodString;
742
+ }, "strip", z.ZodTypeAny, {
743
+ path: string;
744
+ name: string;
745
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
746
+ }, {
747
+ path: string;
748
+ name: string;
749
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
750
+ }>, "many">>;
751
+ isDnDProject: z.ZodOptional<z.ZodBoolean>;
752
+ defaultScriptType: z.ZodDefault<z.ZodNumber>;
753
+ isEcma: z.ZodDefault<z.ZodBoolean>;
754
+ tutorialPath: z.ZodOptional<z.ZodString>;
755
+ configs: z.ZodObject<{
756
+ name: z.ZodDefault<z.ZodLiteral<"Default">>;
757
+ children: z.ZodDefault<z.ZodArray<Schema<import("./types/Yyp.js").YypConfig, z.ZodTypeDef, import("./types/Yyp.js").YypConfig>, "many">>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ name: "Default";
760
+ children: import("./types/Yyp.js").YypConfig[];
761
+ }, {
762
+ name?: "Default" | undefined;
763
+ children?: import("./types/Yyp.js").YypConfig[] | undefined;
764
+ }>;
765
+ Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
766
+ name: z.ZodString;
767
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
+ folderPath: z.ZodString;
769
+ order: z.ZodOptional<z.ZodNumber>;
770
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
732
771
  resourceVersion: z.ZodDefault<z.ZodString>;
733
- constants: z.ZodDefault<z.ZodArray<z.ZodObject<{
734
- resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionConstant">>;
735
- resourceVersion: z.ZodDefault<z.ZodString>;
772
+ }, "strip", z.ZodTypeAny, {
773
+ name: string;
774
+ resourceType: "GMFolder";
775
+ resourceVersion: string;
776
+ folderPath: string;
777
+ tags?: string[] | undefined;
778
+ order?: number | undefined;
779
+ }, {
780
+ name: string;
781
+ folderPath: string;
782
+ tags?: string[] | undefined;
783
+ order?: number | undefined;
784
+ resourceType?: "GMFolder" | undefined;
785
+ resourceVersion?: string | undefined;
786
+ }>, "many">>;
787
+ AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
788
+ ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
789
+ name: z.ZodString;
790
+ targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
791
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
792
+ resourceVersion: z.ZodDefault<z.ZodString>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ name: string;
795
+ resourceType: "GMAudioGroup";
796
+ resourceVersion: string;
797
+ targets: bigint;
798
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
799
+ }, {
800
+ name: string;
801
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
802
+ targets?: number | bigint | undefined;
803
+ resourceType?: "GMAudioGroup" | undefined;
804
+ resourceVersion?: string | undefined;
805
+ }>, "many">>;
806
+ TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
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
+ */
814
+ name: z.ZodString;
815
+ groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
736
816
  name: z.ZodString;
737
- hidden: z.ZodDefault<z.ZodBoolean>;
738
- value: z.ZodString;
817
+ path: z.ZodString;
739
818
  }, "strip", z.ZodTypeAny, {
740
- value: string;
819
+ path: string;
741
820
  name: string;
742
- resourceType: "GMExtensionConstant";
743
- resourceVersion: string;
744
- hidden: boolean;
745
821
  }, {
746
- value: string;
747
- name: string;
748
- resourceType?: "GMExtensionConstant" | undefined;
749
- resourceVersion?: string | undefined;
750
- hidden?: boolean | undefined;
751
- }>, "many">>;
752
- functions: z.ZodDefault<z.ZodArray<z.ZodObject<{
753
- resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionFunction">>;
754
- resourceVersion: z.ZodDefault<z.ZodString>;
755
- name: z.ZodString;
756
- externalName: z.ZodString;
757
- documentation: z.ZodDefault<z.ZodString>;
758
- argCount: z.ZodDefault<z.ZodNumber>;
759
- args: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>, "many">>;
760
- help: z.ZodString;
761
- hidden: z.ZodDefault<z.ZodBoolean>;
762
- kind: z.ZodDefault<z.ZodNumber>;
763
- returnType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
764
- }, "strip", z.ZodTypeAny, {
822
+ path: string;
765
823
  name: string;
766
- resourceType: "GMExtensionFunction";
824
+ }>>>;
825
+ isScaled: z.ZodDefault<z.ZodBoolean>;
826
+ compressFormat: z.ZodOptional<z.ZodString>;
827
+ autocrop: z.ZodDefault<z.ZodBoolean>;
828
+ border: z.ZodDefault<z.ZodNumber>;
829
+ mipsToGenerate: z.ZodDefault<z.ZodNumber>;
830
+ targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
831
+ loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
832
+ directory: z.ZodOptional<z.ZodString>;
833
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
834
+ resourceVersion: z.ZodDefault<z.ZodString>;
835
+ }, "strip", z.ZodTypeAny, {
836
+ name: string;
837
+ resourceType: "GMTextureGroup";
838
+ resourceVersion: string;
839
+ targets: bigint;
840
+ groupParent: {
841
+ path: string;
842
+ name: string;
843
+ } | null;
844
+ isScaled: boolean;
845
+ autocrop: boolean;
846
+ border: number;
847
+ mipsToGenerate: number;
848
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
849
+ compressFormat?: string | undefined;
850
+ loadType?: "default" | "dynamicpages" | undefined;
851
+ directory?: string | undefined;
852
+ }, {
853
+ name: string;
854
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
855
+ groupParent?: {
856
+ path: string;
857
+ name: string;
858
+ } | null | undefined;
859
+ isScaled?: boolean | undefined;
860
+ compressFormat?: string | undefined;
861
+ autocrop?: boolean | undefined;
862
+ border?: number | undefined;
863
+ mipsToGenerate?: number | undefined;
864
+ targets?: number | bigint | undefined;
865
+ loadType?: "default" | "dynamicpages" | undefined;
866
+ directory?: string | undefined;
867
+ resourceType?: "GMTextureGroup" | undefined;
868
+ resourceVersion?: string | undefined;
869
+ }>, "many">>;
870
+ IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
871
+ ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
872
+ CopyToMask: z.ZodString;
873
+ }, "strip", z.ZodTypeAny, {
874
+ CopyToMask: string;
875
+ }, {
876
+ CopyToMask: string;
877
+ }>>>;
878
+ name: z.ZodString;
879
+ CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
880
+ filePath: z.ZodString;
881
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
882
+ resourceVersion: z.ZodDefault<z.ZodString>;
883
+ }, "strip", z.ZodTypeAny, {
884
+ name: string;
885
+ resourceType: "GMIncludedFile";
886
+ resourceVersion: string;
887
+ CopyToMask: bigint;
888
+ filePath: string;
889
+ ConfigValues?: Record<string, {
890
+ CopyToMask: string;
891
+ }> | undefined;
892
+ }, {
893
+ name: string;
894
+ filePath: string;
895
+ ConfigValues?: Record<string, {
896
+ CopyToMask: string;
897
+ }> | undefined;
898
+ CopyToMask?: number | bigint | undefined;
899
+ resourceType?: "GMIncludedFile" | undefined;
900
+ resourceVersion?: string | undefined;
901
+ }>, "many">>;
902
+ MetaData: z.ZodObject<{
903
+ IDEVersion: z.ZodString;
904
+ }, "strip", z.ZodTypeAny, {
905
+ IDEVersion: string;
906
+ }, {
907
+ IDEVersion: string;
908
+ }>;
909
+ LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
910
+ resourceVersion: z.ZodString;
911
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
912
+ }, z.ZodTypeAny, "passthrough">, unknown>;
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">>;
920
+ readonly extensions: z.ZodObject<{
921
+ "%Name": z.ZodOptional<z.ZodString>;
922
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
923
+ resourceVersion: z.ZodDefault<z.ZodString>;
924
+ name: z.ZodString;
925
+ files: z.ZodDefault<z.ZodArray<z.ZodObject<{
926
+ resourceType: z.ZodLiteral<"GMExtensionFile">;
927
+ resourceVersion: z.ZodDefault<z.ZodString>;
928
+ constants: z.ZodDefault<z.ZodArray<z.ZodObject<{
929
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionConstant">>;
930
+ resourceVersion: z.ZodDefault<z.ZodString>;
931
+ name: z.ZodString;
932
+ hidden: z.ZodDefault<z.ZodBoolean>;
933
+ value: z.ZodString;
934
+ }, "strip", z.ZodTypeAny, {
935
+ value: string;
936
+ name: string;
937
+ resourceType: "GMExtensionConstant";
938
+ resourceVersion: string;
939
+ hidden: boolean;
940
+ }, {
941
+ value: string;
942
+ name: string;
943
+ resourceType?: "GMExtensionConstant" | undefined;
944
+ resourceVersion?: string | undefined;
945
+ hidden?: boolean | undefined;
946
+ }>, "many">>;
947
+ functions: z.ZodDefault<z.ZodArray<z.ZodObject<{
948
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionFunction">>;
949
+ resourceVersion: z.ZodDefault<z.ZodString>;
950
+ name: z.ZodString;
951
+ externalName: z.ZodString;
952
+ documentation: z.ZodDefault<z.ZodString>;
953
+ argCount: z.ZodDefault<z.ZodNumber>;
954
+ args: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>, "many">>;
955
+ help: z.ZodString;
956
+ hidden: z.ZodDefault<z.ZodBoolean>;
957
+ kind: z.ZodDefault<z.ZodNumber>;
958
+ returnType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ name: string;
961
+ resourceType: "GMExtensionFunction";
962
+ resourceVersion: string;
963
+ hidden: boolean;
964
+ externalName: string;
965
+ documentation: string;
966
+ argCount: number;
967
+ args: (2 | 1)[];
968
+ help: string;
969
+ kind: number;
970
+ returnType: 2 | 1;
971
+ }, {
972
+ name: string;
973
+ externalName: string;
974
+ help: string;
975
+ returnType: 2 | 1;
976
+ resourceType?: "GMExtensionFunction" | undefined;
977
+ resourceVersion?: string | undefined;
978
+ documentation?: string | undefined;
979
+ argCount?: number | undefined;
980
+ args?: (2 | 1)[] | undefined;
981
+ hidden?: boolean | undefined;
982
+ kind?: number | undefined;
983
+ }>, "many">>;
984
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
985
+ resourceType: z.ZodLiteral<"GMExtensionFile">;
986
+ resourceVersion: z.ZodDefault<z.ZodString>;
987
+ constants: z.ZodDefault<z.ZodArray<z.ZodObject<{
988
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionConstant">>;
989
+ resourceVersion: z.ZodDefault<z.ZodString>;
990
+ name: z.ZodString;
991
+ hidden: z.ZodDefault<z.ZodBoolean>;
992
+ value: z.ZodString;
993
+ }, "strip", z.ZodTypeAny, {
994
+ value: string;
995
+ name: string;
996
+ resourceType: "GMExtensionConstant";
997
+ resourceVersion: string;
998
+ hidden: boolean;
999
+ }, {
1000
+ value: string;
1001
+ name: string;
1002
+ resourceType?: "GMExtensionConstant" | undefined;
1003
+ resourceVersion?: string | undefined;
1004
+ hidden?: boolean | undefined;
1005
+ }>, "many">>;
1006
+ functions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1007
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMExtensionFunction">>;
1008
+ resourceVersion: z.ZodDefault<z.ZodString>;
1009
+ name: z.ZodString;
1010
+ externalName: z.ZodString;
1011
+ documentation: z.ZodDefault<z.ZodString>;
1012
+ argCount: z.ZodDefault<z.ZodNumber>;
1013
+ args: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>, "many">>;
1014
+ help: z.ZodString;
1015
+ hidden: z.ZodDefault<z.ZodBoolean>;
1016
+ kind: z.ZodDefault<z.ZodNumber>;
1017
+ returnType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ name: string;
1020
+ resourceType: "GMExtensionFunction";
767
1021
  resourceVersion: string;
768
1022
  hidden: boolean;
769
1023
  externalName: string;
@@ -857,6 +1111,7 @@ export declare const yySchemas: {
857
1111
  name: string;
858
1112
  }>>;
859
1113
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1114
+ "%Name": z.ZodOptional<z.ZodString>;
860
1115
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
861
1116
  resourceVersion: z.ZodDefault<z.ZodString>;
862
1117
  name: z.ZodString;
@@ -1049,6 +1304,7 @@ export declare const yySchemas: {
1049
1304
  name: string;
1050
1305
  }>>;
1051
1306
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1307
+ "%Name": z.ZodOptional<z.ZodString>;
1052
1308
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
1053
1309
  resourceVersion: z.ZodDefault<z.ZodString>;
1054
1310
  name: z.ZodString;
@@ -1241,10 +1497,24 @@ export declare const yySchemas: {
1241
1497
  name: string;
1242
1498
  }>>;
1243
1499
  }, z.ZodTypeAny, "passthrough">>;
1244
- readonly fonts: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1245
- 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">>;
1246
1514
  readonly objects: z.ZodObject<{
1515
+ "%Name": z.ZodOptional<z.ZodString>;
1247
1516
  name: z.ZodString;
1517
+ resourceVersion: z.ZodDefault<z.ZodString>;
1248
1518
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
1249
1519
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1250
1520
  parent: z.ZodDefault<z.ZodObject<{
@@ -1257,7 +1527,6 @@ export declare const yySchemas: {
1257
1527
  path: string;
1258
1528
  name: string;
1259
1529
  }>>;
1260
- resourceVersion: z.ZodDefault<z.ZodString>;
1261
1530
  spriteId: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1262
1531
  name: z.ZodString;
1263
1532
  path: z.ZodString;
@@ -1328,13 +1597,13 @@ export declare const yySchemas: {
1328
1597
  }>>>;
1329
1598
  name: z.ZodDefault<z.ZodString>;
1330
1599
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1331
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
1600
+ resourceVersion: z.ZodDefault<z.ZodString>;
1332
1601
  resourceType: z.ZodDefault<z.ZodLiteral<"GMEvent">>;
1333
1602
  parent: z.ZodOptional<z.ZodUnknown>;
1334
1603
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1335
1604
  name: string;
1336
1605
  resourceType: "GMEvent";
1337
- resourceVersion: "1.0";
1606
+ resourceVersion: string;
1338
1607
  isDnD: boolean;
1339
1608
  eventNum: number;
1340
1609
  eventType: number;
@@ -1354,7 +1623,7 @@ export declare const yySchemas: {
1354
1623
  } | null | undefined;
1355
1624
  name?: string | undefined;
1356
1625
  tags?: string[] | undefined;
1357
- resourceVersion?: "1.0" | undefined;
1626
+ resourceVersion?: string | undefined;
1358
1627
  resourceType?: "GMEvent" | undefined;
1359
1628
  parent?: unknown;
1360
1629
  }>, "many">>;
@@ -1367,21 +1636,15 @@ export declare const yySchemas: {
1367
1636
  rangeMax: z.ZodNumber;
1368
1637
  listItems: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1369
1638
  multiselect: z.ZodDefault<z.ZodBoolean>;
1370
- /**
1371
- * Stringify an object into a Yy-formatted string,
1372
- * including trailing commas. If a schema is provided,
1373
- * it will be used to validate and populate defaults before
1374
- * stringifying.
1375
- */
1376
1639
  filters: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
1377
1640
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1378
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
1641
+ resourceVersion: z.ZodDefault<z.ZodString>;
1379
1642
  resourceType: z.ZodDefault<z.ZodLiteral<"GMObjectProperty">>;
1380
1643
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1381
1644
  value: string;
1382
1645
  name: string;
1383
1646
  resourceType: "GMObjectProperty";
1384
- resourceVersion: "1.0";
1647
+ resourceVersion: string;
1385
1648
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
1386
1649
  rangeEnabled: boolean;
1387
1650
  rangeMin: number;
@@ -1401,7 +1664,7 @@ export declare const yySchemas: {
1401
1664
  multiselect?: boolean | undefined;
1402
1665
  filters?: unknown[] | undefined;
1403
1666
  tags?: string[] | undefined;
1404
- resourceVersion?: "1.0" | undefined;
1667
+ resourceVersion?: string | undefined;
1405
1668
  resourceType?: "GMObjectProperty" | undefined;
1406
1669
  }>, "many">>;
1407
1670
  overriddenProperties: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
@@ -1410,11 +1673,11 @@ export declare const yySchemas: {
1410
1673
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1411
1674
  name: string;
1412
1675
  resourceType: "GMObject";
1676
+ resourceVersion: string;
1413
1677
  parent: {
1414
1678
  path: string;
1415
1679
  name: string;
1416
1680
  };
1417
- resourceVersion: string;
1418
1681
  spriteId: {
1419
1682
  path: string;
1420
1683
  name: string;
@@ -1448,7 +1711,7 @@ export declare const yySchemas: {
1448
1711
  eventList: {
1449
1712
  name: string;
1450
1713
  resourceType: "GMEvent";
1451
- resourceVersion: "1.0";
1714
+ resourceVersion: string;
1452
1715
  isDnD: boolean;
1453
1716
  eventNum: number;
1454
1717
  eventType: number;
@@ -1463,7 +1726,7 @@ export declare const yySchemas: {
1463
1726
  value: string;
1464
1727
  name: string;
1465
1728
  resourceType: "GMObjectProperty";
1466
- resourceVersion: "1.0";
1729
+ resourceVersion: string;
1467
1730
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
1468
1731
  rangeEnabled: boolean;
1469
1732
  rangeMin: number;
@@ -1474,18 +1737,20 @@ export declare const yySchemas: {
1474
1737
  tags?: string[] | undefined;
1475
1738
  }[];
1476
1739
  overriddenProperties: unknown[];
1740
+ "%Name"?: string | undefined;
1477
1741
  ConfigValues?: Record<string, Record<string, string>> | undefined;
1478
1742
  tags?: string[] | undefined;
1479
1743
  managed?: boolean | undefined;
1480
1744
  }, {
1481
1745
  name: string;
1746
+ "%Name"?: string | undefined;
1747
+ resourceVersion?: string | undefined;
1482
1748
  ConfigValues?: Record<string, Record<string, string>> | undefined;
1483
1749
  tags?: string[] | undefined;
1484
1750
  parent?: {
1485
1751
  path: string;
1486
1752
  name: string;
1487
1753
  } | undefined;
1488
- resourceVersion?: string | undefined;
1489
1754
  spriteId?: {
1490
1755
  path: string;
1491
1756
  name: string;
@@ -1526,7 +1791,7 @@ export declare const yySchemas: {
1526
1791
  } | null | undefined;
1527
1792
  name?: string | undefined;
1528
1793
  tags?: string[] | undefined;
1529
- resourceVersion?: "1.0" | undefined;
1794
+ resourceVersion?: string | undefined;
1530
1795
  resourceType?: "GMEvent" | undefined;
1531
1796
  parent?: unknown;
1532
1797
  }[] | undefined;
@@ -1541,17 +1806,31 @@ export declare const yySchemas: {
1541
1806
  multiselect?: boolean | undefined;
1542
1807
  filters?: unknown[] | undefined;
1543
1808
  tags?: string[] | undefined;
1544
- resourceVersion?: "1.0" | undefined;
1809
+ resourceVersion?: string | undefined;
1545
1810
  resourceType?: "GMObjectProperty" | undefined;
1546
1811
  }[] | undefined;
1547
1812
  overriddenProperties?: unknown[] | undefined;
1548
1813
  managed?: boolean | undefined;
1549
1814
  resourceType?: "GMObject" | undefined;
1550
1815
  }>;
1551
- readonly particles: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1552
- 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">>;
1553
1830
  readonly rooms: z.ZodObject<{
1831
+ "%Name": z.ZodOptional<z.ZodString>;
1554
1832
  name: z.ZodString;
1833
+ resourceVersion: z.ZodDefault<z.ZodString>;
1555
1834
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
1556
1835
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1557
1836
  parent: z.ZodDefault<z.ZodObject<{
@@ -1564,7 +1843,6 @@ export declare const yySchemas: {
1564
1843
  path: string;
1565
1844
  name: string;
1566
1845
  }>>;
1567
- resourceVersion: z.ZodDefault<z.ZodString>;
1568
1846
  layers: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
1569
1847
  visible: z.ZodDefault<z.ZodBoolean>;
1570
1848
  properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
@@ -2455,11 +2733,11 @@ export declare const yySchemas: {
2455
2733
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2456
2734
  name: string;
2457
2735
  resourceType: "GMRoom";
2736
+ resourceVersion: string;
2458
2737
  parent: {
2459
2738
  path: string;
2460
2739
  name: string;
2461
2740
  };
2462
- resourceVersion: string;
2463
2741
  isDnd: boolean;
2464
2742
  inheritCode: boolean;
2465
2743
  layers: (z.objectOutputType<{
@@ -2762,19 +3040,21 @@ export declare const yySchemas: {
2762
3040
  inheritLayers: boolean;
2763
3041
  creationCodeFile: string;
2764
3042
  inheritCreationOrder: boolean;
3043
+ "%Name"?: string | undefined;
2765
3044
  ConfigValues?: Record<string, Record<string, string>> | undefined;
2766
3045
  tags?: string[] | undefined;
2767
3046
  parentRoom?: unknown;
2768
3047
  sequenceId?: unknown;
2769
3048
  }, {
2770
3049
  name: string;
3050
+ "%Name"?: string | undefined;
3051
+ resourceVersion?: string | undefined;
2771
3052
  ConfigValues?: Record<string, Record<string, string>> | undefined;
2772
3053
  tags?: string[] | undefined;
2773
3054
  parent?: {
2774
3055
  path: string;
2775
3056
  name: string;
2776
3057
  } | undefined;
2777
- resourceVersion?: string | undefined;
2778
3058
  layers?: (z.objectInputType<{
2779
3059
  resourceType: z.ZodLiteral<"GMRPathLayer">;
2780
3060
  resourceVersion: z.ZodDefault<z.ZodString>;
@@ -3080,7 +3360,9 @@ export declare const yySchemas: {
3080
3360
  resourceType?: "GMRoom" | undefined;
3081
3361
  }>;
3082
3362
  readonly scripts: z.ZodObject<{
3363
+ "%Name": z.ZodOptional<z.ZodString>;
3083
3364
  name: z.ZodString;
3365
+ resourceVersion: z.ZodDefault<z.ZodString>;
3084
3366
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3085
3367
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3086
3368
  parent: z.ZodDefault<z.ZodObject<{
@@ -3093,39 +3375,54 @@ export declare const yySchemas: {
3093
3375
  path: string;
3094
3376
  name: string;
3095
3377
  }>>;
3096
- resourceVersion: z.ZodDefault<z.ZodString>;
3097
3378
  isDnD: z.ZodDefault<z.ZodBoolean>;
3098
3379
  isCompatibility: z.ZodDefault<z.ZodBoolean>;
3099
3380
  resourceType: z.ZodDefault<z.ZodLiteral<"GMScript">>;
3100
3381
  }, z.UnknownKeysParam, z.ZodTypeAny, {
3101
3382
  name: string;
3102
3383
  resourceType: "GMScript";
3384
+ resourceVersion: string;
3103
3385
  parent: {
3104
3386
  path: string;
3105
3387
  name: string;
3106
3388
  };
3107
- resourceVersion: string;
3108
3389
  isDnD: boolean;
3109
3390
  isCompatibility: boolean;
3391
+ "%Name"?: string | undefined;
3110
3392
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3111
3393
  tags?: string[] | undefined;
3112
3394
  }, {
3113
3395
  name: string;
3396
+ "%Name"?: string | undefined;
3397
+ resourceVersion?: string | undefined;
3114
3398
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3115
3399
  tags?: string[] | undefined;
3116
3400
  parent?: {
3117
3401
  path: string;
3118
3402
  name: string;
3119
3403
  } | undefined;
3120
- resourceVersion?: string | undefined;
3121
3404
  isDnD?: boolean | undefined;
3122
3405
  isCompatibility?: boolean | undefined;
3123
3406
  resourceType?: "GMScript" | undefined;
3124
3407
  }>;
3125
- readonly sequences: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
3126
- 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">>;
3127
3422
  readonly sounds: z.ZodObject<{
3423
+ "%Name": z.ZodOptional<z.ZodString>;
3128
3424
  name: z.ZodString;
3425
+ resourceVersion: z.ZodDefault<z.ZodString>;
3129
3426
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3130
3427
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3131
3428
  parent: z.ZodDefault<z.ZodObject<{
@@ -3138,7 +3435,6 @@ export declare const yySchemas: {
3138
3435
  path: string;
3139
3436
  name: string;
3140
3437
  }>>;
3141
- resourceVersion: z.ZodDefault<z.ZodString>;
3142
3438
  compression: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySound.js").SoundCompression>>;
3143
3439
  conversionMode: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3144
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>>;
@@ -3164,11 +3460,11 @@ export declare const yySchemas: {
3164
3460
  type: import("./types/YySound.js").SoundChannel;
3165
3461
  name: string;
3166
3462
  resourceType: "GMSound";
3463
+ resourceVersion: string;
3167
3464
  parent: {
3168
3465
  path: string;
3169
3466
  name: string;
3170
3467
  };
3171
- resourceVersion: string;
3172
3468
  volume: import("./types/utility.js").FixedNumber;
3173
3469
  compression: import("./types/YySound.js").SoundCompression;
3174
3470
  conversionMode: number;
@@ -3181,19 +3477,21 @@ export declare const yySchemas: {
3181
3477
  name: string;
3182
3478
  };
3183
3479
  soundFile: string;
3480
+ "%Name"?: string | undefined;
3184
3481
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3185
3482
  tags?: string[] | undefined;
3186
3483
  duration?: import("./types/utility.js").FixedNumber | undefined;
3187
3484
  }, {
3188
3485
  name: string;
3189
3486
  soundFile: string;
3487
+ "%Name"?: string | undefined;
3488
+ resourceVersion?: string | undefined;
3190
3489
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3191
3490
  tags?: string[] | undefined;
3192
3491
  parent?: {
3193
3492
  path: string;
3194
3493
  name: string;
3195
3494
  } | undefined;
3196
- resourceVersion?: string | undefined;
3197
3495
  compression?: import("./types/YySound.js").SoundCompression | undefined;
3198
3496
  conversionMode?: number | undefined;
3199
3497
  volume?: number | import("./types/utility.js").FixedNumber | undefined;
@@ -3210,7 +3508,9 @@ export declare const yySchemas: {
3210
3508
  resourceType?: "GMSound" | undefined;
3211
3509
  }>;
3212
3510
  readonly sprites: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3511
+ "%Name": z.ZodOptional<z.ZodString>;
3213
3512
  name: z.ZodString;
3513
+ resourceVersion: z.ZodDefault<z.ZodString>;
3214
3514
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3215
3515
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3216
3516
  parent: z.ZodDefault<z.ZodObject<{
@@ -3223,7 +3523,6 @@ export declare const yySchemas: {
3223
3523
  path: string;
3224
3524
  name: string;
3225
3525
  }>>;
3226
- resourceVersion: z.ZodDefault<z.ZodString>;
3227
3526
  bboxMode: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteBoundingBoxMode>>;
3228
3527
  collisionKind: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteCollisionKind>>;
3229
3528
  type: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteType>>;
@@ -3262,8 +3561,8 @@ export declare const yySchemas: {
3262
3561
  compositeImage: z.ZodOptional<z.ZodObject<{
3263
3562
  name: z.ZodDefault<z.ZodString>;
3264
3563
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
3265
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3266
3564
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3565
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3267
3566
  FrameId: z.ZodObject<{
3268
3567
  name: z.ZodString;
3269
3568
  path: z.ZodString;
@@ -3293,14 +3592,14 @@ export declare const yySchemas: {
3293
3592
  LayerId: null;
3294
3593
  name?: string | undefined;
3295
3594
  resourceType?: "GMSpriteBitmap" | undefined;
3296
- tags?: string[] | undefined;
3297
3595
  resourceVersion?: "1.0" | undefined;
3596
+ tags?: string[] | undefined;
3298
3597
  }>>;
3299
3598
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
3300
3599
  name: z.ZodDefault<z.ZodString>;
3301
3600
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
3302
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3303
3601
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3602
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3304
3603
  FrameId: z.ZodObject<{
3305
3604
  name: z.ZodString;
3306
3605
  path: z.ZodString;
@@ -3345,8 +3644,8 @@ export declare const yySchemas: {
3345
3644
  };
3346
3645
  name?: string | undefined;
3347
3646
  resourceType?: "GMSpriteBitmap" | undefined;
3348
- tags?: string[] | undefined;
3349
3647
  resourceVersion?: "1.0" | undefined;
3648
+ tags?: string[] | undefined;
3350
3649
  }>, "many">>;
3351
3650
  parent: z.ZodOptional<z.ZodObject<{
3352
3651
  name: z.ZodString;
@@ -3358,11 +3657,11 @@ export declare const yySchemas: {
3358
3657
  path: string;
3359
3658
  name: string;
3360
3659
  }>>;
3361
- resourceVersion: z.ZodDefault<z.ZodEnum<["1.0", "1.1"]>>;
3660
+ resourceVersion: z.ZodDefault<z.ZodString>;
3362
3661
  }, z.UnknownKeysParam, z.ZodTypeAny, {
3363
3662
  name: string;
3364
3663
  resourceType: "GMSpriteFrame";
3365
- resourceVersion: "1.0" | "1.1";
3664
+ resourceVersion: string;
3366
3665
  tags?: string[] | undefined;
3367
3666
  compositeImage?: {
3368
3667
  name: string;
@@ -3405,8 +3704,8 @@ export declare const yySchemas: {
3405
3704
  LayerId: null;
3406
3705
  name?: string | undefined;
3407
3706
  resourceType?: "GMSpriteBitmap" | undefined;
3408
- tags?: string[] | undefined;
3409
3707
  resourceVersion?: "1.0" | undefined;
3708
+ tags?: string[] | undefined;
3410
3709
  } | undefined;
3411
3710
  images?: {
3412
3711
  FrameId: {
@@ -3419,14 +3718,14 @@ export declare const yySchemas: {
3419
3718
  };
3420
3719
  name?: string | undefined;
3421
3720
  resourceType?: "GMSpriteBitmap" | undefined;
3422
- tags?: string[] | undefined;
3423
3721
  resourceVersion?: "1.0" | undefined;
3722
+ tags?: string[] | undefined;
3424
3723
  }[] | undefined;
3425
3724
  parent?: {
3426
3725
  path: string;
3427
3726
  name: string;
3428
3727
  } | undefined;
3429
- resourceVersion?: "1.0" | "1.1" | undefined;
3728
+ resourceVersion?: string | undefined;
3430
3729
  }>, "many">>;
3431
3730
  sequence: z.ZodEffects<z.ZodObject<{
3432
3731
  timeUnits: z.ZodDefault<z.ZodNumber>;
@@ -3435,9 +3734,6 @@ export declare const yySchemas: {
3435
3734
  playbackSpeedType: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpritePlaybackSpeedType>>;
3436
3735
  autoRecord: z.ZodDefault<z.ZodBoolean>;
3437
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>>;
3438
- /**
3439
- * Check for functional equality between two Yy objects.
3440
- */
3441
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>>;
3442
3738
  visibleRange: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3443
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>;
@@ -3468,13 +3764,13 @@ export declare const yySchemas: {
3468
3764
  resourceVersion: z.ZodDefault<z.ZodString>;
3469
3765
  events: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
3470
3766
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
3471
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3767
+ resourceVersion: z.ZodDefault<z.ZodString>;
3472
3768
  }, "strip", z.ZodTypeAny, {
3473
- resourceVersion: "1.0";
3769
+ resourceVersion: string;
3474
3770
  Keyframes: unknown[];
3475
3771
  }, {
3476
3772
  Keyframes?: unknown[] | undefined;
3477
- resourceVersion?: "1.0" | undefined;
3773
+ resourceVersion?: string | undefined;
3478
3774
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
3479
3775
  resourceType: z.ZodLiteral<"KeyframeStore<MessageEventKeyframe>">;
3480
3776
  }, "strip", z.ZodTypeAny, {
@@ -3491,7 +3787,7 @@ export declare const yySchemas: {
3491
3787
  resourceType: "KeyframeStore`1";
3492
3788
  elementType: "MessageEventKeyframe";
3493
3789
  }>]>>, {
3494
- resourceVersion: "1.0";
3790
+ resourceVersion: string;
3495
3791
  Keyframes: unknown[];
3496
3792
  } & ({
3497
3793
  resourceType: "KeyframeStore<MessageEventKeyframe>";
@@ -3501,13 +3797,13 @@ export declare const yySchemas: {
3501
3797
  }), unknown>>;
3502
3798
  moments: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
3503
3799
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
3504
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
3800
+ resourceVersion: z.ZodDefault<z.ZodString>;
3505
3801
  }, "strip", z.ZodTypeAny, {
3506
- resourceVersion: "1.0";
3802
+ resourceVersion: string;
3507
3803
  Keyframes: unknown[];
3508
3804
  }, {
3509
3805
  Keyframes?: unknown[] | undefined;
3510
- resourceVersion?: "1.0" | undefined;
3806
+ resourceVersion?: string | undefined;
3511
3807
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
3512
3808
  resourceType: z.ZodLiteral<"KeyframeStore<MomentsEventKeyframe>">;
3513
3809
  }, "strip", z.ZodTypeAny, {
@@ -3524,7 +3820,7 @@ export declare const yySchemas: {
3524
3820
  resourceType: "KeyframeStore`1";
3525
3821
  elementType: "MomentsEventKeyframe";
3526
3822
  }>]>>, {
3527
- resourceVersion: "1.0";
3823
+ resourceVersion: string;
3528
3824
  Keyframes: unknown[];
3529
3825
  } & ({
3530
3826
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
@@ -3597,24 +3893,24 @@ export declare const yySchemas: {
3597
3893
  xorigin: number;
3598
3894
  yorigin: number;
3599
3895
  events: ({
3600
- resourceVersion: "1.0";
3896
+ resourceVersion: string;
3601
3897
  Keyframes: unknown[];
3602
3898
  } & {
3603
3899
  resourceType: "KeyframeStore<MessageEventKeyframe>";
3604
3900
  }) | ({
3605
- resourceVersion: "1.0";
3901
+ resourceVersion: string;
3606
3902
  Keyframes: unknown[];
3607
3903
  } & {
3608
3904
  resourceType: "KeyframeStore`1";
3609
3905
  elementType: "MessageEventKeyframe";
3610
3906
  });
3611
3907
  moments: ({
3612
- resourceVersion: "1.0";
3908
+ resourceVersion: string;
3613
3909
  Keyframes: unknown[];
3614
3910
  } & {
3615
3911
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
3616
3912
  }) | ({
3617
- resourceVersion: "1.0";
3913
+ resourceVersion: string;
3618
3914
  Keyframes: unknown[];
3619
3915
  } & {
3620
3916
  resourceType: "KeyframeStore`1";
@@ -3693,24 +3989,24 @@ export declare const yySchemas: {
3693
3989
  xorigin: number;
3694
3990
  yorigin: number;
3695
3991
  events: ({
3696
- resourceVersion: "1.0";
3992
+ resourceVersion: string;
3697
3993
  Keyframes: unknown[];
3698
3994
  } & {
3699
3995
  resourceType: "KeyframeStore<MessageEventKeyframe>";
3700
3996
  }) | ({
3701
- resourceVersion: "1.0";
3997
+ resourceVersion: string;
3702
3998
  Keyframes: unknown[];
3703
3999
  } & {
3704
4000
  resourceType: "KeyframeStore`1";
3705
4001
  elementType: "MessageEventKeyframe";
3706
4002
  });
3707
4003
  moments: ({
3708
- resourceVersion: "1.0";
4004
+ resourceVersion: string;
3709
4005
  Keyframes: unknown[];
3710
4006
  } & {
3711
4007
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
3712
4008
  }) | ({
3713
- resourceVersion: "1.0";
4009
+ resourceVersion: string;
3714
4010
  Keyframes: unknown[];
3715
4011
  } & {
3716
4012
  resourceType: "KeyframeStore`1";
@@ -3737,11 +4033,11 @@ export declare const yySchemas: {
3737
4033
  type: import("./types/YySprite.js").SpriteType;
3738
4034
  name: string;
3739
4035
  resourceType: "GMSprite";
4036
+ resourceVersion: string;
3740
4037
  parent: {
3741
4038
  path: string;
3742
4039
  name: string;
3743
4040
  };
3744
- resourceVersion: string;
3745
4041
  gridX: number;
3746
4042
  gridY: number;
3747
4043
  layers: any[];
@@ -3769,7 +4065,7 @@ export declare const yySchemas: {
3769
4065
  frames: {
3770
4066
  name: string;
3771
4067
  resourceType: "GMSpriteFrame";
3772
- resourceVersion: "1.0" | "1.1";
4068
+ resourceVersion: string;
3773
4069
  tags?: string[] | undefined;
3774
4070
  compositeImage?: {
3775
4071
  name: string;
@@ -3827,24 +4123,24 @@ export declare const yySchemas: {
3827
4123
  xorigin: number;
3828
4124
  yorigin: number;
3829
4125
  events: ({
3830
- resourceVersion: "1.0";
4126
+ resourceVersion: string;
3831
4127
  Keyframes: unknown[];
3832
4128
  } & {
3833
4129
  resourceType: "KeyframeStore<MessageEventKeyframe>";
3834
4130
  }) | ({
3835
- resourceVersion: "1.0";
4131
+ resourceVersion: string;
3836
4132
  Keyframes: unknown[];
3837
4133
  } & {
3838
4134
  resourceType: "KeyframeStore`1";
3839
4135
  elementType: "MessageEventKeyframe";
3840
4136
  });
3841
4137
  moments: ({
3842
- resourceVersion: "1.0";
4138
+ resourceVersion: string;
3843
4139
  Keyframes: unknown[];
3844
4140
  } & {
3845
4141
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
3846
4142
  }) | ({
3847
- resourceVersion: "1.0";
4143
+ resourceVersion: string;
3848
4144
  Keyframes: unknown[];
3849
4145
  } & {
3850
4146
  resourceType: "KeyframeStore`1";
@@ -3864,19 +4160,21 @@ export declare const yySchemas: {
3864
4160
  name: string;
3865
4161
  } | undefined;
3866
4162
  };
4163
+ "%Name"?: string | undefined;
3867
4164
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3868
4165
  tags?: string[] | undefined;
3869
4166
  swatchColours?: unknown;
3870
4167
  nineSlice?: unknown;
3871
4168
  }, {
3872
4169
  name: string;
4170
+ "%Name"?: string | undefined;
4171
+ resourceVersion?: string | undefined;
3873
4172
  ConfigValues?: Record<string, Record<string, string>> | undefined;
3874
4173
  tags?: string[] | undefined;
3875
4174
  parent?: {
3876
4175
  path: string;
3877
4176
  name: string;
3878
4177
  } | undefined;
3879
- resourceVersion?: string | undefined;
3880
4178
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
3881
4179
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
3882
4180
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -3914,8 +4212,8 @@ export declare const yySchemas: {
3914
4212
  LayerId: null;
3915
4213
  name?: string | undefined;
3916
4214
  resourceType?: "GMSpriteBitmap" | undefined;
3917
- tags?: string[] | undefined;
3918
4215
  resourceVersion?: "1.0" | undefined;
4216
+ tags?: string[] | undefined;
3919
4217
  } | undefined;
3920
4218
  images?: {
3921
4219
  FrameId: {
@@ -3928,14 +4226,14 @@ export declare const yySchemas: {
3928
4226
  };
3929
4227
  name?: string | undefined;
3930
4228
  resourceType?: "GMSpriteBitmap" | undefined;
3931
- tags?: string[] | undefined;
3932
4229
  resourceVersion?: "1.0" | undefined;
4230
+ tags?: string[] | undefined;
3933
4231
  }[] | undefined;
3934
4232
  parent?: {
3935
4233
  path: string;
3936
4234
  name: string;
3937
4235
  } | undefined;
3938
- resourceVersion?: "1.0" | "1.1" | undefined;
4236
+ resourceVersion?: string | undefined;
3939
4237
  }[] | undefined;
3940
4238
  sequence?: unknown;
3941
4239
  layers?: unknown;
@@ -3945,11 +4243,11 @@ export declare const yySchemas: {
3945
4243
  type: import("./types/YySprite.js").SpriteType;
3946
4244
  name: string;
3947
4245
  resourceType: "GMSprite";
4246
+ resourceVersion: string;
3948
4247
  parent: {
3949
4248
  path: string;
3950
4249
  name: string;
3951
4250
  };
3952
- resourceVersion: string;
3953
4251
  gridX: number;
3954
4252
  gridY: number;
3955
4253
  layers: any[];
@@ -3977,7 +4275,7 @@ export declare const yySchemas: {
3977
4275
  frames: {
3978
4276
  name: string;
3979
4277
  resourceType: "GMSpriteFrame";
3980
- resourceVersion: "1.0" | "1.1";
4278
+ resourceVersion: string;
3981
4279
  tags?: string[] | undefined;
3982
4280
  compositeImage?: {
3983
4281
  name: string;
@@ -4035,24 +4333,24 @@ export declare const yySchemas: {
4035
4333
  xorigin: number;
4036
4334
  yorigin: number;
4037
4335
  events: ({
4038
- resourceVersion: "1.0";
4336
+ resourceVersion: string;
4039
4337
  Keyframes: unknown[];
4040
4338
  } & {
4041
4339
  resourceType: "KeyframeStore<MessageEventKeyframe>";
4042
4340
  }) | ({
4043
- resourceVersion: "1.0";
4341
+ resourceVersion: string;
4044
4342
  Keyframes: unknown[];
4045
4343
  } & {
4046
4344
  resourceType: "KeyframeStore`1";
4047
4345
  elementType: "MessageEventKeyframe";
4048
4346
  });
4049
4347
  moments: ({
4050
- resourceVersion: "1.0";
4348
+ resourceVersion: string;
4051
4349
  Keyframes: unknown[];
4052
4350
  } & {
4053
4351
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
4054
4352
  }) | ({
4055
- resourceVersion: "1.0";
4353
+ resourceVersion: string;
4056
4354
  Keyframes: unknown[];
4057
4355
  } & {
4058
4356
  resourceType: "KeyframeStore`1";
@@ -4072,19 +4370,21 @@ export declare const yySchemas: {
4072
4370
  name: string;
4073
4371
  } | undefined;
4074
4372
  };
4373
+ "%Name"?: string | undefined;
4075
4374
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4076
4375
  tags?: string[] | undefined;
4077
4376
  swatchColours?: unknown;
4078
4377
  nineSlice?: unknown;
4079
4378
  }, {
4080
4379
  name: string;
4380
+ "%Name"?: string | undefined;
4381
+ resourceVersion?: string | undefined;
4081
4382
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4082
4383
  tags?: string[] | undefined;
4083
4384
  parent?: {
4084
4385
  path: string;
4085
4386
  name: string;
4086
4387
  } | undefined;
4087
- resourceVersion?: string | undefined;
4088
4388
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
4089
4389
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
4090
4390
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -4122,8 +4422,8 @@ export declare const yySchemas: {
4122
4422
  LayerId: null;
4123
4423
  name?: string | undefined;
4124
4424
  resourceType?: "GMSpriteBitmap" | undefined;
4125
- tags?: string[] | undefined;
4126
4425
  resourceVersion?: "1.0" | undefined;
4426
+ tags?: string[] | undefined;
4127
4427
  } | undefined;
4128
4428
  images?: {
4129
4429
  FrameId: {
@@ -4136,14 +4436,14 @@ export declare const yySchemas: {
4136
4436
  };
4137
4437
  name?: string | undefined;
4138
4438
  resourceType?: "GMSpriteBitmap" | undefined;
4139
- tags?: string[] | undefined;
4140
4439
  resourceVersion?: "1.0" | undefined;
4440
+ tags?: string[] | undefined;
4141
4441
  }[] | undefined;
4142
4442
  parent?: {
4143
4443
  path: string;
4144
4444
  name: string;
4145
4445
  } | undefined;
4146
- resourceVersion?: "1.0" | "1.1" | undefined;
4446
+ resourceVersion?: string | undefined;
4147
4447
  }[] | undefined;
4148
4448
  sequence?: unknown;
4149
4449
  layers?: unknown;
@@ -4153,11 +4453,11 @@ export declare const yySchemas: {
4153
4453
  type: import("./types/YySprite.js").SpriteType;
4154
4454
  name: string;
4155
4455
  resourceType: "GMSprite";
4456
+ resourceVersion: string;
4156
4457
  parent: {
4157
4458
  path: string;
4158
4459
  name: string;
4159
4460
  };
4160
- resourceVersion: string;
4161
4461
  gridX: number;
4162
4462
  gridY: number;
4163
4463
  layers: any[];
@@ -4185,7 +4485,7 @@ export declare const yySchemas: {
4185
4485
  frames: {
4186
4486
  name: string;
4187
4487
  resourceType: "GMSpriteFrame";
4188
- resourceVersion: "1.0" | "1.1";
4488
+ resourceVersion: string;
4189
4489
  tags?: string[] | undefined;
4190
4490
  compositeImage?: {
4191
4491
  name: string;
@@ -4243,24 +4543,24 @@ export declare const yySchemas: {
4243
4543
  xorigin: number;
4244
4544
  yorigin: number;
4245
4545
  events: ({
4246
- resourceVersion: "1.0";
4546
+ resourceVersion: string;
4247
4547
  Keyframes: unknown[];
4248
4548
  } & {
4249
4549
  resourceType: "KeyframeStore<MessageEventKeyframe>";
4250
4550
  }) | ({
4251
- resourceVersion: "1.0";
4551
+ resourceVersion: string;
4252
4552
  Keyframes: unknown[];
4253
4553
  } & {
4254
4554
  resourceType: "KeyframeStore`1";
4255
4555
  elementType: "MessageEventKeyframe";
4256
4556
  });
4257
4557
  moments: ({
4258
- resourceVersion: "1.0";
4558
+ resourceVersion: string;
4259
4559
  Keyframes: unknown[];
4260
4560
  } & {
4261
4561
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
4262
4562
  }) | ({
4263
- resourceVersion: "1.0";
4563
+ resourceVersion: string;
4264
4564
  Keyframes: unknown[];
4265
4565
  } & {
4266
4566
  resourceType: "KeyframeStore`1";
@@ -4280,13 +4580,26 @@ export declare const yySchemas: {
4280
4580
  name: string;
4281
4581
  } | undefined;
4282
4582
  };
4583
+ "%Name"?: string | undefined;
4283
4584
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4284
4585
  tags?: string[] | undefined;
4285
4586
  swatchColours?: unknown;
4286
4587
  nineSlice?: unknown;
4287
4588
  }, unknown>;
4288
- readonly tilesets: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
4289
- 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">>;
4290
4603
  };
4291
4604
  export type YyDiff = {
4292
4605
  [path: string]: {
@@ -4297,7 +4610,233 @@ export type YyDiff = {
4297
4610
  export declare class Yy {
4298
4611
  protected constructor();
4299
4612
  static readonly schemas: {
4300
- readonly project: z.ZodObject<{
4613
+ readonly project: z.ZodEffects<z.ZodObject<{
4614
+ "%Name": z.ZodOptional<z.ZodString>;
4615
+ name: z.ZodString;
4616
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4617
+ resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
4618
+ id: z.ZodObject<{
4619
+ name: z.ZodString;
4620
+ path: z.ZodString;
4621
+ }, "strip", z.ZodTypeAny, {
4622
+ path: string;
4623
+ name: string;
4624
+ }, {
4625
+ path: string;
4626
+ name: string;
4627
+ }>;
4628
+ order: z.ZodOptional<z.ZodNumber>;
4629
+ }, "strip", z.ZodTypeAny, {
4630
+ id: {
4631
+ path: string;
4632
+ name: string;
4633
+ };
4634
+ order?: number | undefined;
4635
+ }, {
4636
+ id: {
4637
+ path: string;
4638
+ name: string;
4639
+ };
4640
+ order?: number | undefined;
4641
+ }>, "many">>;
4642
+ RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
4643
+ roomId: z.ZodObject<{
4644
+ name: z.ZodString;
4645
+ path: z.ZodString;
4646
+ }, "strip", z.ZodTypeAny, {
4647
+ path: string;
4648
+ name: string;
4649
+ }, {
4650
+ path: string;
4651
+ name: string;
4652
+ }>;
4653
+ }, "strip", z.ZodTypeAny, {
4654
+ roomId: {
4655
+ path: string;
4656
+ name: string;
4657
+ };
4658
+ }, {
4659
+ roomId: {
4660
+ path: string;
4661
+ name: string;
4662
+ };
4663
+ }>, "many">>;
4664
+ Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
4665
+ ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4666
+ name: z.ZodString;
4667
+ path: z.ZodString;
4668
+ }, "strip", z.ZodTypeAny, {
4669
+ path: string;
4670
+ name: string;
4671
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
4672
+ }, {
4673
+ path: string;
4674
+ name: string;
4675
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
4676
+ }>, "many">>;
4677
+ isDnDProject: z.ZodOptional<z.ZodBoolean>;
4678
+ defaultScriptType: z.ZodDefault<z.ZodNumber>;
4679
+ isEcma: z.ZodDefault<z.ZodBoolean>;
4680
+ tutorialPath: z.ZodOptional<z.ZodString>;
4681
+ configs: z.ZodObject<{
4682
+ name: z.ZodDefault<z.ZodLiteral<"Default">>;
4683
+ children: z.ZodDefault<z.ZodArray<Schema<import("./types/Yyp.js").YypConfig, z.ZodTypeDef, import("./types/Yyp.js").YypConfig>, "many">>;
4684
+ }, "strip", z.ZodTypeAny, {
4685
+ name: "Default";
4686
+ children: import("./types/Yyp.js").YypConfig[];
4687
+ }, {
4688
+ name?: "Default" | undefined;
4689
+ children?: import("./types/Yyp.js").YypConfig[] | undefined;
4690
+ }>;
4691
+ Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
4692
+ name: z.ZodString;
4693
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4694
+ folderPath: z.ZodString;
4695
+ order: z.ZodOptional<z.ZodNumber>;
4696
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
4697
+ resourceVersion: z.ZodDefault<z.ZodString>;
4698
+ }, "strip", z.ZodTypeAny, {
4699
+ name: string;
4700
+ resourceType: "GMFolder";
4701
+ resourceVersion: string;
4702
+ folderPath: string;
4703
+ tags?: string[] | undefined;
4704
+ order?: number | undefined;
4705
+ }, {
4706
+ name: string;
4707
+ folderPath: string;
4708
+ tags?: string[] | undefined;
4709
+ order?: number | undefined;
4710
+ resourceType?: "GMFolder" | undefined;
4711
+ resourceVersion?: string | undefined;
4712
+ }>, "many">>;
4713
+ AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4714
+ ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4715
+ name: z.ZodString;
4716
+ targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4717
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
4718
+ resourceVersion: z.ZodDefault<z.ZodString>;
4719
+ }, "strip", z.ZodTypeAny, {
4720
+ name: string;
4721
+ resourceType: "GMAudioGroup";
4722
+ resourceVersion: string;
4723
+ targets: bigint;
4724
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
4725
+ }, {
4726
+ name: string;
4727
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
4728
+ targets?: number | bigint | undefined;
4729
+ resourceType?: "GMAudioGroup" | undefined;
4730
+ resourceVersion?: string | undefined;
4731
+ }>, "many">>;
4732
+ TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
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
+ */
4740
+ name: z.ZodString;
4741
+ groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4742
+ name: z.ZodString;
4743
+ path: z.ZodString;
4744
+ }, "strip", z.ZodTypeAny, {
4745
+ path: string;
4746
+ name: string;
4747
+ }, {
4748
+ path: string;
4749
+ name: string;
4750
+ }>>>;
4751
+ isScaled: z.ZodDefault<z.ZodBoolean>;
4752
+ compressFormat: z.ZodOptional<z.ZodString>;
4753
+ autocrop: z.ZodDefault<z.ZodBoolean>;
4754
+ border: z.ZodDefault<z.ZodNumber>;
4755
+ mipsToGenerate: z.ZodDefault<z.ZodNumber>;
4756
+ targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4757
+ loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
4758
+ directory: z.ZodOptional<z.ZodString>;
4759
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
4760
+ resourceVersion: z.ZodDefault<z.ZodString>;
4761
+ }, "strip", z.ZodTypeAny, {
4762
+ name: string;
4763
+ resourceType: "GMTextureGroup";
4764
+ resourceVersion: string;
4765
+ targets: bigint;
4766
+ groupParent: {
4767
+ path: string;
4768
+ name: string;
4769
+ } | null;
4770
+ isScaled: boolean;
4771
+ autocrop: boolean;
4772
+ border: number;
4773
+ mipsToGenerate: number;
4774
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
4775
+ compressFormat?: string | undefined;
4776
+ loadType?: "default" | "dynamicpages" | undefined;
4777
+ directory?: string | undefined;
4778
+ }, {
4779
+ name: string;
4780
+ ConfigValues?: Record<string, Record<string, string>> | undefined;
4781
+ groupParent?: {
4782
+ path: string;
4783
+ name: string;
4784
+ } | null | undefined;
4785
+ isScaled?: boolean | undefined;
4786
+ compressFormat?: string | undefined;
4787
+ autocrop?: boolean | undefined;
4788
+ border?: number | undefined;
4789
+ mipsToGenerate?: number | undefined;
4790
+ targets?: number | bigint | undefined;
4791
+ loadType?: "default" | "dynamicpages" | undefined;
4792
+ directory?: string | undefined;
4793
+ resourceType?: "GMTextureGroup" | undefined;
4794
+ resourceVersion?: string | undefined;
4795
+ }>, "many">>;
4796
+ IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4797
+ ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4798
+ CopyToMask: z.ZodString;
4799
+ }, "strip", z.ZodTypeAny, {
4800
+ CopyToMask: string;
4801
+ }, {
4802
+ CopyToMask: string;
4803
+ }>>>;
4804
+ name: z.ZodString;
4805
+ CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4806
+ filePath: z.ZodString;
4807
+ resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
4808
+ resourceVersion: z.ZodDefault<z.ZodString>;
4809
+ }, "strip", z.ZodTypeAny, {
4810
+ name: string;
4811
+ resourceType: "GMIncludedFile";
4812
+ resourceVersion: string;
4813
+ CopyToMask: bigint;
4814
+ filePath: string;
4815
+ ConfigValues?: Record<string, {
4816
+ CopyToMask: string;
4817
+ }> | undefined;
4818
+ }, {
4819
+ name: string;
4820
+ filePath: string;
4821
+ ConfigValues?: Record<string, {
4822
+ CopyToMask: string;
4823
+ }> | undefined;
4824
+ CopyToMask?: number | bigint | undefined;
4825
+ resourceType?: "GMIncludedFile" | undefined;
4826
+ resourceVersion?: string | undefined;
4827
+ }>, "many">>;
4828
+ MetaData: z.ZodObject<{
4829
+ IDEVersion: z.ZodString;
4830
+ }, "strip", z.ZodTypeAny, {
4831
+ IDEVersion: string;
4832
+ }, {
4833
+ IDEVersion: string;
4834
+ }>;
4835
+ LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4836
+ resourceVersion: z.ZodString;
4837
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4838
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4839
+ "%Name": z.ZodOptional<z.ZodString>;
4301
4840
  name: z.ZodString;
4302
4841
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4303
4842
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4380,11 +4919,11 @@ export declare class Yy {
4380
4919
  folderPath: z.ZodString;
4381
4920
  order: z.ZodOptional<z.ZodNumber>;
4382
4921
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
4383
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
4922
+ resourceVersion: z.ZodDefault<z.ZodString>;
4384
4923
  }, "strip", z.ZodTypeAny, {
4385
4924
  name: string;
4386
4925
  resourceType: "GMFolder";
4387
- resourceVersion: "1.0";
4926
+ resourceVersion: string;
4388
4927
  folderPath: string;
4389
4928
  tags?: string[] | undefined;
4390
4929
  order?: number | undefined;
@@ -4394,18 +4933,18 @@ export declare class Yy {
4394
4933
  tags?: string[] | undefined;
4395
4934
  order?: number | undefined;
4396
4935
  resourceType?: "GMFolder" | undefined;
4397
- resourceVersion?: "1.0" | undefined;
4936
+ resourceVersion?: string | undefined;
4398
4937
  }>, "many">>;
4399
4938
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4400
4939
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4401
4940
  name: z.ZodString;
4402
4941
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4403
4942
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
4404
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
4943
+ resourceVersion: z.ZodDefault<z.ZodString>;
4405
4944
  }, "strip", z.ZodTypeAny, {
4406
4945
  name: string;
4407
4946
  resourceType: "GMAudioGroup";
4408
- resourceVersion: "1.3";
4947
+ resourceVersion: string;
4409
4948
  targets: bigint;
4410
4949
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4411
4950
  }, {
@@ -4413,10 +4952,16 @@ export declare class Yy {
4413
4952
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4414
4953
  targets?: number | bigint | undefined;
4415
4954
  resourceType?: "GMAudioGroup" | undefined;
4416
- resourceVersion?: "1.3" | undefined;
4955
+ resourceVersion?: string | undefined;
4417
4956
  }>, "many">>;
4418
4957
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4419
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
+ */
4420
4965
  name: z.ZodString;
4421
4966
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4422
4967
  name: z.ZodString;
@@ -4437,11 +4982,11 @@ export declare class Yy {
4437
4982
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
4438
4983
  directory: z.ZodOptional<z.ZodString>;
4439
4984
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
4440
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
4985
+ resourceVersion: z.ZodDefault<z.ZodString>;
4441
4986
  }, "strip", z.ZodTypeAny, {
4442
4987
  name: string;
4443
4988
  resourceType: "GMTextureGroup";
4444
- resourceVersion: "1.3";
4989
+ resourceVersion: string;
4445
4990
  targets: bigint;
4446
4991
  groupParent: {
4447
4992
  path: string;
@@ -4471,7 +5016,7 @@ export declare class Yy {
4471
5016
  loadType?: "default" | "dynamicpages" | undefined;
4472
5017
  directory?: string | undefined;
4473
5018
  resourceType?: "GMTextureGroup" | undefined;
4474
- resourceVersion?: "1.3" | undefined;
5019
+ resourceVersion?: string | undefined;
4475
5020
  }>, "many">>;
4476
5021
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4477
5022
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4485,11 +5030,11 @@ export declare class Yy {
4485
5030
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4486
5031
  filePath: z.ZodString;
4487
5032
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
4488
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5033
+ resourceVersion: z.ZodDefault<z.ZodString>;
4489
5034
  }, "strip", z.ZodTypeAny, {
4490
5035
  name: string;
4491
5036
  resourceType: "GMIncludedFile";
4492
- resourceVersion: "1.0";
5037
+ resourceVersion: string;
4493
5038
  CopyToMask: bigint;
4494
5039
  filePath: string;
4495
5040
  ConfigValues?: Record<string, {
@@ -4503,7 +5048,7 @@ export declare class Yy {
4503
5048
  }> | undefined;
4504
5049
  CopyToMask?: number | bigint | undefined;
4505
5050
  resourceType?: "GMIncludedFile" | undefined;
4506
- resourceVersion?: "1.0" | undefined;
5051
+ resourceVersion?: string | undefined;
4507
5052
  }>, "many">>;
4508
5053
  MetaData: z.ZodObject<{
4509
5054
  IDEVersion: z.ZodString;
@@ -4515,7 +5060,8 @@ export declare class Yy {
4515
5060
  LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4516
5061
  resourceVersion: z.ZodString;
4517
5062
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4518
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5063
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5064
+ "%Name": z.ZodOptional<z.ZodString>;
4519
5065
  name: z.ZodString;
4520
5066
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4521
5067
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4598,11 +5144,11 @@ export declare class Yy {
4598
5144
  folderPath: z.ZodString;
4599
5145
  order: z.ZodOptional<z.ZodNumber>;
4600
5146
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
4601
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5147
+ resourceVersion: z.ZodDefault<z.ZodString>;
4602
5148
  }, "strip", z.ZodTypeAny, {
4603
5149
  name: string;
4604
5150
  resourceType: "GMFolder";
4605
- resourceVersion: "1.0";
5151
+ resourceVersion: string;
4606
5152
  folderPath: string;
4607
5153
  tags?: string[] | undefined;
4608
5154
  order?: number | undefined;
@@ -4612,18 +5158,18 @@ export declare class Yy {
4612
5158
  tags?: string[] | undefined;
4613
5159
  order?: number | undefined;
4614
5160
  resourceType?: "GMFolder" | undefined;
4615
- resourceVersion?: "1.0" | undefined;
5161
+ resourceVersion?: string | undefined;
4616
5162
  }>, "many">>;
4617
5163
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4618
5164
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4619
5165
  name: z.ZodString;
4620
5166
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4621
5167
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
4622
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5168
+ resourceVersion: z.ZodDefault<z.ZodString>;
4623
5169
  }, "strip", z.ZodTypeAny, {
4624
5170
  name: string;
4625
5171
  resourceType: "GMAudioGroup";
4626
- resourceVersion: "1.3";
5172
+ resourceVersion: string;
4627
5173
  targets: bigint;
4628
5174
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4629
5175
  }, {
@@ -4631,10 +5177,16 @@ export declare class Yy {
4631
5177
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4632
5178
  targets?: number | bigint | undefined;
4633
5179
  resourceType?: "GMAudioGroup" | undefined;
4634
- resourceVersion?: "1.3" | undefined;
5180
+ resourceVersion?: string | undefined;
4635
5181
  }>, "many">>;
4636
5182
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4637
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
+ */
4638
5190
  name: z.ZodString;
4639
5191
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4640
5192
  name: z.ZodString;
@@ -4655,11 +5207,11 @@ export declare class Yy {
4655
5207
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
4656
5208
  directory: z.ZodOptional<z.ZodString>;
4657
5209
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
4658
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5210
+ resourceVersion: z.ZodDefault<z.ZodString>;
4659
5211
  }, "strip", z.ZodTypeAny, {
4660
5212
  name: string;
4661
5213
  resourceType: "GMTextureGroup";
4662
- resourceVersion: "1.3";
5214
+ resourceVersion: string;
4663
5215
  targets: bigint;
4664
5216
  groupParent: {
4665
5217
  path: string;
@@ -4689,7 +5241,7 @@ export declare class Yy {
4689
5241
  loadType?: "default" | "dynamicpages" | undefined;
4690
5242
  directory?: string | undefined;
4691
5243
  resourceType?: "GMTextureGroup" | undefined;
4692
- resourceVersion?: "1.3" | undefined;
5244
+ resourceVersion?: string | undefined;
4693
5245
  }>, "many">>;
4694
5246
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4695
5247
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4703,11 +5255,11 @@ export declare class Yy {
4703
5255
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4704
5256
  filePath: z.ZodString;
4705
5257
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
4706
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5258
+ resourceVersion: z.ZodDefault<z.ZodString>;
4707
5259
  }, "strip", z.ZodTypeAny, {
4708
5260
  name: string;
4709
5261
  resourceType: "GMIncludedFile";
4710
- resourceVersion: "1.0";
5262
+ resourceVersion: string;
4711
5263
  CopyToMask: bigint;
4712
5264
  filePath: string;
4713
5265
  ConfigValues?: Record<string, {
@@ -4721,7 +5273,7 @@ export declare class Yy {
4721
5273
  }> | undefined;
4722
5274
  CopyToMask?: number | bigint | undefined;
4723
5275
  resourceType?: "GMIncludedFile" | undefined;
4724
- resourceVersion?: "1.0" | undefined;
5276
+ resourceVersion?: string | undefined;
4725
5277
  }>, "many">>;
4726
5278
  MetaData: z.ZodObject<{
4727
5279
  IDEVersion: z.ZodString;
@@ -4733,7 +5285,8 @@ export declare class Yy {
4733
5285
  LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4734
5286
  resourceVersion: z.ZodString;
4735
5287
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4736
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5288
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
5289
+ "%Name": z.ZodOptional<z.ZodString>;
4737
5290
  name: z.ZodString;
4738
5291
  resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
4739
5292
  resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4816,11 +5369,11 @@ export declare class Yy {
4816
5369
  folderPath: z.ZodString;
4817
5370
  order: z.ZodOptional<z.ZodNumber>;
4818
5371
  resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
4819
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5372
+ resourceVersion: z.ZodDefault<z.ZodString>;
4820
5373
  }, "strip", z.ZodTypeAny, {
4821
5374
  name: string;
4822
5375
  resourceType: "GMFolder";
4823
- resourceVersion: "1.0";
5376
+ resourceVersion: string;
4824
5377
  folderPath: string;
4825
5378
  tags?: string[] | undefined;
4826
5379
  order?: number | undefined;
@@ -4830,18 +5383,18 @@ export declare class Yy {
4830
5383
  tags?: string[] | undefined;
4831
5384
  order?: number | undefined;
4832
5385
  resourceType?: "GMFolder" | undefined;
4833
- resourceVersion?: "1.0" | undefined;
5386
+ resourceVersion?: string | undefined;
4834
5387
  }>, "many">>;
4835
5388
  AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4836
5389
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
4837
5390
  name: z.ZodString;
4838
5391
  targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4839
5392
  resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
4840
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5393
+ resourceVersion: z.ZodDefault<z.ZodString>;
4841
5394
  }, "strip", z.ZodTypeAny, {
4842
5395
  name: string;
4843
5396
  resourceType: "GMAudioGroup";
4844
- resourceVersion: "1.3";
5397
+ resourceVersion: string;
4845
5398
  targets: bigint;
4846
5399
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4847
5400
  }, {
@@ -4849,10 +5402,16 @@ export declare class Yy {
4849
5402
  ConfigValues?: Record<string, Record<string, string>> | undefined;
4850
5403
  targets?: number | bigint | undefined;
4851
5404
  resourceType?: "GMAudioGroup" | undefined;
4852
- resourceVersion?: "1.3" | undefined;
5405
+ resourceVersion?: string | undefined;
4853
5406
  }>, "many">>;
4854
5407
  TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
4855
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
+ */
4856
5415
  name: z.ZodString;
4857
5416
  groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
4858
5417
  name: z.ZodString;
@@ -4873,11 +5432,11 @@ export declare class Yy {
4873
5432
  loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
4874
5433
  directory: z.ZodOptional<z.ZodString>;
4875
5434
  resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
4876
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
5435
+ resourceVersion: z.ZodDefault<z.ZodString>;
4877
5436
  }, "strip", z.ZodTypeAny, {
4878
5437
  name: string;
4879
5438
  resourceType: "GMTextureGroup";
4880
- resourceVersion: "1.3";
5439
+ resourceVersion: string;
4881
5440
  targets: bigint;
4882
5441
  groupParent: {
4883
5442
  path: string;
@@ -4907,7 +5466,7 @@ export declare class Yy {
4907
5466
  loadType?: "default" | "dynamicpages" | undefined;
4908
5467
  directory?: string | undefined;
4909
5468
  resourceType?: "GMTextureGroup" | undefined;
4910
- resourceVersion?: "1.3" | undefined;
5469
+ resourceVersion?: string | undefined;
4911
5470
  }>, "many">>;
4912
5471
  IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4913
5472
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4921,11 +5480,11 @@ export declare class Yy {
4921
5480
  CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
4922
5481
  filePath: z.ZodString;
4923
5482
  resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
4924
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
5483
+ resourceVersion: z.ZodDefault<z.ZodString>;
4925
5484
  }, "strip", z.ZodTypeAny, {
4926
5485
  name: string;
4927
5486
  resourceType: "GMIncludedFile";
4928
- resourceVersion: "1.0";
5487
+ resourceVersion: string;
4929
5488
  CopyToMask: bigint;
4930
5489
  filePath: string;
4931
5490
  ConfigValues?: Record<string, {
@@ -4939,7 +5498,7 @@ export declare class Yy {
4939
5498
  }> | undefined;
4940
5499
  CopyToMask?: number | bigint | undefined;
4941
5500
  resourceType?: "GMIncludedFile" | undefined;
4942
- resourceVersion?: "1.0" | undefined;
5501
+ resourceVersion?: string | undefined;
4943
5502
  }>, "many">>;
4944
5503
  MetaData: z.ZodObject<{
4945
5504
  IDEVersion: z.ZodString;
@@ -4951,9 +5510,16 @@ export declare class Yy {
4951
5510
  LibraryEmitters: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4952
5511
  resourceVersion: z.ZodString;
4953
5512
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5513
+ }, z.ZodTypeAny, "passthrough">, unknown>;
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>;
4954
5520
  }, z.ZodTypeAny, "passthrough">>;
4955
- readonly animcurves: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
4956
5521
  readonly extensions: z.ZodObject<{
5522
+ "%Name": z.ZodOptional<z.ZodString>;
4957
5523
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
4958
5524
  resourceVersion: z.ZodDefault<z.ZodString>;
4959
5525
  name: z.ZodString;
@@ -5146,6 +5712,7 @@ export declare class Yy {
5146
5712
  name: string;
5147
5713
  }>>;
5148
5714
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5715
+ "%Name": z.ZodOptional<z.ZodString>;
5149
5716
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
5150
5717
  resourceVersion: z.ZodDefault<z.ZodString>;
5151
5718
  name: z.ZodString;
@@ -5338,6 +5905,7 @@ export declare class Yy {
5338
5905
  name: string;
5339
5906
  }>>;
5340
5907
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5908
+ "%Name": z.ZodOptional<z.ZodString>;
5341
5909
  resourceType: z.ZodDefault<z.ZodLiteral<"GMExtension">>;
5342
5910
  resourceVersion: z.ZodDefault<z.ZodString>;
5343
5911
  name: z.ZodString;
@@ -5530,10 +6098,24 @@ export declare class Yy {
5530
6098
  name: string;
5531
6099
  }>>;
5532
6100
  }, z.ZodTypeAny, "passthrough">>;
5533
- readonly fonts: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
5534
- 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">>;
5535
6115
  readonly objects: z.ZodObject<{
6116
+ "%Name": z.ZodOptional<z.ZodString>;
5536
6117
  name: z.ZodString;
6118
+ resourceVersion: z.ZodDefault<z.ZodString>;
5537
6119
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5538
6120
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5539
6121
  parent: z.ZodDefault<z.ZodObject<{
@@ -5546,7 +6128,6 @@ export declare class Yy {
5546
6128
  path: string;
5547
6129
  name: string;
5548
6130
  }>>;
5549
- resourceVersion: z.ZodDefault<z.ZodString>;
5550
6131
  spriteId: z.ZodDefault<z.ZodNullable<z.ZodObject<{
5551
6132
  name: z.ZodString;
5552
6133
  path: z.ZodString;
@@ -5617,13 +6198,13 @@ export declare class Yy {
5617
6198
  }>>>;
5618
6199
  name: z.ZodDefault<z.ZodString>;
5619
6200
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5620
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
6201
+ resourceVersion: z.ZodDefault<z.ZodString>;
5621
6202
  resourceType: z.ZodDefault<z.ZodLiteral<"GMEvent">>;
5622
6203
  parent: z.ZodOptional<z.ZodUnknown>;
5623
6204
  }, z.UnknownKeysParam, z.ZodTypeAny, {
5624
6205
  name: string;
5625
6206
  resourceType: "GMEvent";
5626
- resourceVersion: "1.0";
6207
+ resourceVersion: string;
5627
6208
  isDnD: boolean;
5628
6209
  eventNum: number;
5629
6210
  eventType: number;
@@ -5643,7 +6224,7 @@ export declare class Yy {
5643
6224
  } | null | undefined;
5644
6225
  name?: string | undefined;
5645
6226
  tags?: string[] | undefined;
5646
- resourceVersion?: "1.0" | undefined;
6227
+ resourceVersion?: string | undefined;
5647
6228
  resourceType?: "GMEvent" | undefined;
5648
6229
  parent?: unknown;
5649
6230
  }>, "many">>;
@@ -5656,21 +6237,15 @@ export declare class Yy {
5656
6237
  rangeMax: z.ZodNumber;
5657
6238
  listItems: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5658
6239
  multiselect: z.ZodDefault<z.ZodBoolean>;
5659
- /**
5660
- * Stringify an object into a Yy-formatted string,
5661
- * including trailing commas. If a schema is provided,
5662
- * it will be used to validate and populate defaults before
5663
- * stringifying.
5664
- */
5665
6240
  filters: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
5666
6241
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5667
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
6242
+ resourceVersion: z.ZodDefault<z.ZodString>;
5668
6243
  resourceType: z.ZodDefault<z.ZodLiteral<"GMObjectProperty">>;
5669
6244
  }, z.UnknownKeysParam, z.ZodTypeAny, {
5670
6245
  value: string;
5671
6246
  name: string;
5672
6247
  resourceType: "GMObjectProperty";
5673
- resourceVersion: "1.0";
6248
+ resourceVersion: string;
5674
6249
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
5675
6250
  rangeEnabled: boolean;
5676
6251
  rangeMin: number;
@@ -5690,7 +6265,7 @@ export declare class Yy {
5690
6265
  multiselect?: boolean | undefined;
5691
6266
  filters?: unknown[] | undefined;
5692
6267
  tags?: string[] | undefined;
5693
- resourceVersion?: "1.0" | undefined;
6268
+ resourceVersion?: string | undefined;
5694
6269
  resourceType?: "GMObjectProperty" | undefined;
5695
6270
  }>, "many">>;
5696
6271
  overriddenProperties: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
@@ -5699,11 +6274,11 @@ export declare class Yy {
5699
6274
  }, z.UnknownKeysParam, z.ZodTypeAny, {
5700
6275
  name: string;
5701
6276
  resourceType: "GMObject";
6277
+ resourceVersion: string;
5702
6278
  parent: {
5703
6279
  path: string;
5704
6280
  name: string;
5705
6281
  };
5706
- resourceVersion: string;
5707
6282
  spriteId: {
5708
6283
  path: string;
5709
6284
  name: string;
@@ -5737,7 +6312,7 @@ export declare class Yy {
5737
6312
  eventList: {
5738
6313
  name: string;
5739
6314
  resourceType: "GMEvent";
5740
- resourceVersion: "1.0";
6315
+ resourceVersion: string;
5741
6316
  isDnD: boolean;
5742
6317
  eventNum: number;
5743
6318
  eventType: number;
@@ -5752,7 +6327,7 @@ export declare class Yy {
5752
6327
  value: string;
5753
6328
  name: string;
5754
6329
  resourceType: "GMObjectProperty";
5755
- resourceVersion: "1.0";
6330
+ resourceVersion: string;
5756
6331
  varType: import("./types/YyObject.js").YyObjectPropertyVarType;
5757
6332
  rangeEnabled: boolean;
5758
6333
  rangeMin: number;
@@ -5763,18 +6338,20 @@ export declare class Yy {
5763
6338
  tags?: string[] | undefined;
5764
6339
  }[];
5765
6340
  overriddenProperties: unknown[];
6341
+ "%Name"?: string | undefined;
5766
6342
  ConfigValues?: Record<string, Record<string, string>> | undefined;
5767
6343
  tags?: string[] | undefined;
5768
6344
  managed?: boolean | undefined;
5769
6345
  }, {
5770
6346
  name: string;
6347
+ "%Name"?: string | undefined;
6348
+ resourceVersion?: string | undefined;
5771
6349
  ConfigValues?: Record<string, Record<string, string>> | undefined;
5772
6350
  tags?: string[] | undefined;
5773
6351
  parent?: {
5774
6352
  path: string;
5775
6353
  name: string;
5776
6354
  } | undefined;
5777
- resourceVersion?: string | undefined;
5778
6355
  spriteId?: {
5779
6356
  path: string;
5780
6357
  name: string;
@@ -5815,7 +6392,7 @@ export declare class Yy {
5815
6392
  } | null | undefined;
5816
6393
  name?: string | undefined;
5817
6394
  tags?: string[] | undefined;
5818
- resourceVersion?: "1.0" | undefined;
6395
+ resourceVersion?: string | undefined;
5819
6396
  resourceType?: "GMEvent" | undefined;
5820
6397
  parent?: unknown;
5821
6398
  }[] | undefined;
@@ -5830,17 +6407,31 @@ export declare class Yy {
5830
6407
  multiselect?: boolean | undefined;
5831
6408
  filters?: unknown[] | undefined;
5832
6409
  tags?: string[] | undefined;
5833
- resourceVersion?: "1.0" | undefined;
6410
+ resourceVersion?: string | undefined;
5834
6411
  resourceType?: "GMObjectProperty" | undefined;
5835
6412
  }[] | undefined;
5836
6413
  overriddenProperties?: unknown[] | undefined;
5837
6414
  managed?: boolean | undefined;
5838
6415
  resourceType?: "GMObject" | undefined;
5839
6416
  }>;
5840
- readonly particles: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
5841
- 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">>;
5842
6431
  readonly rooms: z.ZodObject<{
6432
+ "%Name": z.ZodOptional<z.ZodString>;
5843
6433
  name: z.ZodString;
6434
+ resourceVersion: z.ZodDefault<z.ZodString>;
5844
6435
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
5845
6436
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5846
6437
  parent: z.ZodDefault<z.ZodObject<{
@@ -5853,7 +6444,6 @@ export declare class Yy {
5853
6444
  path: string;
5854
6445
  name: string;
5855
6446
  }>>;
5856
- resourceVersion: z.ZodDefault<z.ZodString>;
5857
6447
  layers: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
5858
6448
  visible: z.ZodDefault<z.ZodBoolean>;
5859
6449
  properties: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
@@ -6744,11 +7334,11 @@ export declare class Yy {
6744
7334
  }, z.UnknownKeysParam, z.ZodTypeAny, {
6745
7335
  name: string;
6746
7336
  resourceType: "GMRoom";
7337
+ resourceVersion: string;
6747
7338
  parent: {
6748
7339
  path: string;
6749
7340
  name: string;
6750
7341
  };
6751
- resourceVersion: string;
6752
7342
  isDnd: boolean;
6753
7343
  inheritCode: boolean;
6754
7344
  layers: (z.objectOutputType<{
@@ -7051,19 +7641,21 @@ export declare class Yy {
7051
7641
  inheritLayers: boolean;
7052
7642
  creationCodeFile: string;
7053
7643
  inheritCreationOrder: boolean;
7644
+ "%Name"?: string | undefined;
7054
7645
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7055
7646
  tags?: string[] | undefined;
7056
7647
  parentRoom?: unknown;
7057
7648
  sequenceId?: unknown;
7058
7649
  }, {
7059
7650
  name: string;
7651
+ "%Name"?: string | undefined;
7652
+ resourceVersion?: string | undefined;
7060
7653
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7061
7654
  tags?: string[] | undefined;
7062
7655
  parent?: {
7063
7656
  path: string;
7064
7657
  name: string;
7065
7658
  } | undefined;
7066
- resourceVersion?: string | undefined;
7067
7659
  layers?: (z.objectInputType<{
7068
7660
  resourceType: z.ZodLiteral<"GMRPathLayer">;
7069
7661
  resourceVersion: z.ZodDefault<z.ZodString>;
@@ -7369,7 +7961,9 @@ export declare class Yy {
7369
7961
  resourceType?: "GMRoom" | undefined;
7370
7962
  }>;
7371
7963
  readonly scripts: z.ZodObject<{
7964
+ "%Name": z.ZodOptional<z.ZodString>;
7372
7965
  name: z.ZodString;
7966
+ resourceVersion: z.ZodDefault<z.ZodString>;
7373
7967
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
7374
7968
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7375
7969
  parent: z.ZodDefault<z.ZodObject<{
@@ -7382,39 +7976,54 @@ export declare class Yy {
7382
7976
  path: string;
7383
7977
  name: string;
7384
7978
  }>>;
7385
- resourceVersion: z.ZodDefault<z.ZodString>;
7386
7979
  isDnD: z.ZodDefault<z.ZodBoolean>;
7387
7980
  isCompatibility: z.ZodDefault<z.ZodBoolean>;
7388
7981
  resourceType: z.ZodDefault<z.ZodLiteral<"GMScript">>;
7389
7982
  }, z.UnknownKeysParam, z.ZodTypeAny, {
7390
7983
  name: string;
7391
7984
  resourceType: "GMScript";
7985
+ resourceVersion: string;
7392
7986
  parent: {
7393
7987
  path: string;
7394
7988
  name: string;
7395
7989
  };
7396
- resourceVersion: string;
7397
7990
  isDnD: boolean;
7398
7991
  isCompatibility: boolean;
7992
+ "%Name"?: string | undefined;
7399
7993
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7400
7994
  tags?: string[] | undefined;
7401
7995
  }, {
7402
7996
  name: string;
7997
+ "%Name"?: string | undefined;
7998
+ resourceVersion?: string | undefined;
7403
7999
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7404
8000
  tags?: string[] | undefined;
7405
8001
  parent?: {
7406
8002
  path: string;
7407
8003
  name: string;
7408
8004
  } | undefined;
7409
- resourceVersion?: string | undefined;
7410
8005
  isDnD?: boolean | undefined;
7411
8006
  isCompatibility?: boolean | undefined;
7412
8007
  resourceType?: "GMScript" | undefined;
7413
8008
  }>;
7414
- readonly sequences: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
7415
- 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">>;
7416
8023
  readonly sounds: z.ZodObject<{
8024
+ "%Name": z.ZodOptional<z.ZodString>;
7417
8025
  name: z.ZodString;
8026
+ resourceVersion: z.ZodDefault<z.ZodString>;
7418
8027
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
7419
8028
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7420
8029
  parent: z.ZodDefault<z.ZodObject<{
@@ -7427,7 +8036,6 @@ export declare class Yy {
7427
8036
  path: string;
7428
8037
  name: string;
7429
8038
  }>>;
7430
- resourceVersion: z.ZodDefault<z.ZodString>;
7431
8039
  compression: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySound.js").SoundCompression>>;
7432
8040
  conversionMode: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7433
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>>;
@@ -7453,11 +8061,11 @@ export declare class Yy {
7453
8061
  type: import("./types/YySound.js").SoundChannel;
7454
8062
  name: string;
7455
8063
  resourceType: "GMSound";
8064
+ resourceVersion: string;
7456
8065
  parent: {
7457
8066
  path: string;
7458
8067
  name: string;
7459
8068
  };
7460
- resourceVersion: string;
7461
8069
  volume: import("./types/utility.js").FixedNumber;
7462
8070
  compression: import("./types/YySound.js").SoundCompression;
7463
8071
  conversionMode: number;
@@ -7470,19 +8078,21 @@ export declare class Yy {
7470
8078
  name: string;
7471
8079
  };
7472
8080
  soundFile: string;
8081
+ "%Name"?: string | undefined;
7473
8082
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7474
8083
  tags?: string[] | undefined;
7475
8084
  duration?: import("./types/utility.js").FixedNumber | undefined;
7476
8085
  }, {
7477
8086
  name: string;
7478
8087
  soundFile: string;
8088
+ "%Name"?: string | undefined;
8089
+ resourceVersion?: string | undefined;
7479
8090
  ConfigValues?: Record<string, Record<string, string>> | undefined;
7480
8091
  tags?: string[] | undefined;
7481
8092
  parent?: {
7482
8093
  path: string;
7483
8094
  name: string;
7484
8095
  } | undefined;
7485
- resourceVersion?: string | undefined;
7486
8096
  compression?: import("./types/YySound.js").SoundCompression | undefined;
7487
8097
  conversionMode?: number | undefined;
7488
8098
  volume?: number | import("./types/utility.js").FixedNumber | undefined;
@@ -7499,7 +8109,9 @@ export declare class Yy {
7499
8109
  resourceType?: "GMSound" | undefined;
7500
8110
  }>;
7501
8111
  readonly sprites: z.ZodEffects<z.ZodEffects<z.ZodObject<{
8112
+ "%Name": z.ZodOptional<z.ZodString>;
7502
8113
  name: z.ZodString;
8114
+ resourceVersion: z.ZodDefault<z.ZodString>;
7503
8115
  ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
7504
8116
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7505
8117
  parent: z.ZodDefault<z.ZodObject<{
@@ -7512,7 +8124,6 @@ export declare class Yy {
7512
8124
  path: string;
7513
8125
  name: string;
7514
8126
  }>>;
7515
- resourceVersion: z.ZodDefault<z.ZodString>;
7516
8127
  bboxMode: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteBoundingBoxMode>>;
7517
8128
  collisionKind: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteCollisionKind>>;
7518
8129
  type: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpriteType>>;
@@ -7551,8 +8162,8 @@ export declare class Yy {
7551
8162
  compositeImage: z.ZodOptional<z.ZodObject<{
7552
8163
  name: z.ZodDefault<z.ZodString>;
7553
8164
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
7554
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7555
8165
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8166
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7556
8167
  FrameId: z.ZodObject<{
7557
8168
  name: z.ZodString;
7558
8169
  path: z.ZodString;
@@ -7582,14 +8193,14 @@ export declare class Yy {
7582
8193
  LayerId: null;
7583
8194
  name?: string | undefined;
7584
8195
  resourceType?: "GMSpriteBitmap" | undefined;
7585
- tags?: string[] | undefined;
7586
8196
  resourceVersion?: "1.0" | undefined;
8197
+ tags?: string[] | undefined;
7587
8198
  }>>;
7588
8199
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
7589
8200
  name: z.ZodDefault<z.ZodString>;
7590
8201
  resourceType: z.ZodDefault<z.ZodLiteral<"GMSpriteBitmap">>;
7591
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7592
8202
  resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8203
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7593
8204
  FrameId: z.ZodObject<{
7594
8205
  name: z.ZodString;
7595
8206
  path: z.ZodString;
@@ -7634,8 +8245,8 @@ export declare class Yy {
7634
8245
  };
7635
8246
  name?: string | undefined;
7636
8247
  resourceType?: "GMSpriteBitmap" | undefined;
7637
- tags?: string[] | undefined;
7638
8248
  resourceVersion?: "1.0" | undefined;
8249
+ tags?: string[] | undefined;
7639
8250
  }>, "many">>;
7640
8251
  parent: z.ZodOptional<z.ZodObject<{
7641
8252
  name: z.ZodString;
@@ -7647,11 +8258,11 @@ export declare class Yy {
7647
8258
  path: string;
7648
8259
  name: string;
7649
8260
  }>>;
7650
- resourceVersion: z.ZodDefault<z.ZodEnum<["1.0", "1.1"]>>;
8261
+ resourceVersion: z.ZodDefault<z.ZodString>;
7651
8262
  }, z.UnknownKeysParam, z.ZodTypeAny, {
7652
8263
  name: string;
7653
8264
  resourceType: "GMSpriteFrame";
7654
- resourceVersion: "1.0" | "1.1";
8265
+ resourceVersion: string;
7655
8266
  tags?: string[] | undefined;
7656
8267
  compositeImage?: {
7657
8268
  name: string;
@@ -7694,8 +8305,8 @@ export declare class Yy {
7694
8305
  LayerId: null;
7695
8306
  name?: string | undefined;
7696
8307
  resourceType?: "GMSpriteBitmap" | undefined;
7697
- tags?: string[] | undefined;
7698
8308
  resourceVersion?: "1.0" | undefined;
8309
+ tags?: string[] | undefined;
7699
8310
  } | undefined;
7700
8311
  images?: {
7701
8312
  FrameId: {
@@ -7708,14 +8319,14 @@ export declare class Yy {
7708
8319
  };
7709
8320
  name?: string | undefined;
7710
8321
  resourceType?: "GMSpriteBitmap" | undefined;
7711
- tags?: string[] | undefined;
7712
8322
  resourceVersion?: "1.0" | undefined;
8323
+ tags?: string[] | undefined;
7713
8324
  }[] | undefined;
7714
8325
  parent?: {
7715
8326
  path: string;
7716
8327
  name: string;
7717
8328
  } | undefined;
7718
- resourceVersion?: "1.0" | "1.1" | undefined;
8329
+ resourceVersion?: string | undefined;
7719
8330
  }>, "many">>;
7720
8331
  sequence: z.ZodEffects<z.ZodObject<{
7721
8332
  timeUnits: z.ZodDefault<z.ZodNumber>;
@@ -7724,9 +8335,6 @@ export declare class Yy {
7724
8335
  playbackSpeedType: z.ZodDefault<z.ZodNativeEnum<typeof import("./types/YySprite.js").SpritePlaybackSpeedType>>;
7725
8336
  autoRecord: z.ZodDefault<z.ZodBoolean>;
7726
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>>;
7727
- /**
7728
- * Check for functional equality between two Yy objects.
7729
- */
7730
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>>;
7731
8339
  visibleRange: z.ZodDefault<z.ZodNullable<z.ZodObject<{
7732
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>;
@@ -7757,13 +8365,13 @@ export declare class Yy {
7757
8365
  resourceVersion: z.ZodDefault<z.ZodString>;
7758
8366
  events: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
7759
8367
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
7760
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8368
+ resourceVersion: z.ZodDefault<z.ZodString>;
7761
8369
  }, "strip", z.ZodTypeAny, {
7762
- resourceVersion: "1.0";
8370
+ resourceVersion: string;
7763
8371
  Keyframes: unknown[];
7764
8372
  }, {
7765
8373
  Keyframes?: unknown[] | undefined;
7766
- resourceVersion?: "1.0" | undefined;
8374
+ resourceVersion?: string | undefined;
7767
8375
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
7768
8376
  resourceType: z.ZodLiteral<"KeyframeStore<MessageEventKeyframe>">;
7769
8377
  }, "strip", z.ZodTypeAny, {
@@ -7780,7 +8388,7 @@ export declare class Yy {
7780
8388
  resourceType: "KeyframeStore`1";
7781
8389
  elementType: "MessageEventKeyframe";
7782
8390
  }>]>>, {
7783
- resourceVersion: "1.0";
8391
+ resourceVersion: string;
7784
8392
  Keyframes: unknown[];
7785
8393
  } & ({
7786
8394
  resourceType: "KeyframeStore<MessageEventKeyframe>";
@@ -7790,13 +8398,13 @@ export declare class Yy {
7790
8398
  }), unknown>>;
7791
8399
  moments: z.ZodDefault<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
7792
8400
  Keyframes: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
7793
- resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
8401
+ resourceVersion: z.ZodDefault<z.ZodString>;
7794
8402
  }, "strip", z.ZodTypeAny, {
7795
- resourceVersion: "1.0";
8403
+ resourceVersion: string;
7796
8404
  Keyframes: unknown[];
7797
8405
  }, {
7798
8406
  Keyframes?: unknown[] | undefined;
7799
- resourceVersion?: "1.0" | undefined;
8407
+ resourceVersion?: string | undefined;
7800
8408
  }>, z.ZodDiscriminatedUnion<"resourceType", [z.ZodObject<{
7801
8409
  resourceType: z.ZodLiteral<"KeyframeStore<MomentsEventKeyframe>">;
7802
8410
  }, "strip", z.ZodTypeAny, {
@@ -7813,7 +8421,7 @@ export declare class Yy {
7813
8421
  resourceType: "KeyframeStore`1";
7814
8422
  elementType: "MomentsEventKeyframe";
7815
8423
  }>]>>, {
7816
- resourceVersion: "1.0";
8424
+ resourceVersion: string;
7817
8425
  Keyframes: unknown[];
7818
8426
  } & ({
7819
8427
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
@@ -7886,24 +8494,24 @@ export declare class Yy {
7886
8494
  xorigin: number;
7887
8495
  yorigin: number;
7888
8496
  events: ({
7889
- resourceVersion: "1.0";
8497
+ resourceVersion: string;
7890
8498
  Keyframes: unknown[];
7891
8499
  } & {
7892
8500
  resourceType: "KeyframeStore<MessageEventKeyframe>";
7893
8501
  }) | ({
7894
- resourceVersion: "1.0";
8502
+ resourceVersion: string;
7895
8503
  Keyframes: unknown[];
7896
8504
  } & {
7897
8505
  resourceType: "KeyframeStore`1";
7898
8506
  elementType: "MessageEventKeyframe";
7899
8507
  });
7900
8508
  moments: ({
7901
- resourceVersion: "1.0";
8509
+ resourceVersion: string;
7902
8510
  Keyframes: unknown[];
7903
8511
  } & {
7904
8512
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
7905
8513
  }) | ({
7906
- resourceVersion: "1.0";
8514
+ resourceVersion: string;
7907
8515
  Keyframes: unknown[];
7908
8516
  } & {
7909
8517
  resourceType: "KeyframeStore`1";
@@ -7982,24 +8590,24 @@ export declare class Yy {
7982
8590
  xorigin: number;
7983
8591
  yorigin: number;
7984
8592
  events: ({
7985
- resourceVersion: "1.0";
8593
+ resourceVersion: string;
7986
8594
  Keyframes: unknown[];
7987
8595
  } & {
7988
8596
  resourceType: "KeyframeStore<MessageEventKeyframe>";
7989
8597
  }) | ({
7990
- resourceVersion: "1.0";
8598
+ resourceVersion: string;
7991
8599
  Keyframes: unknown[];
7992
8600
  } & {
7993
8601
  resourceType: "KeyframeStore`1";
7994
8602
  elementType: "MessageEventKeyframe";
7995
8603
  });
7996
8604
  moments: ({
7997
- resourceVersion: "1.0";
8605
+ resourceVersion: string;
7998
8606
  Keyframes: unknown[];
7999
8607
  } & {
8000
8608
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8001
8609
  }) | ({
8002
- resourceVersion: "1.0";
8610
+ resourceVersion: string;
8003
8611
  Keyframes: unknown[];
8004
8612
  } & {
8005
8613
  resourceType: "KeyframeStore`1";
@@ -8026,11 +8634,11 @@ export declare class Yy {
8026
8634
  type: import("./types/YySprite.js").SpriteType;
8027
8635
  name: string;
8028
8636
  resourceType: "GMSprite";
8637
+ resourceVersion: string;
8029
8638
  parent: {
8030
8639
  path: string;
8031
8640
  name: string;
8032
8641
  };
8033
- resourceVersion: string;
8034
8642
  gridX: number;
8035
8643
  gridY: number;
8036
8644
  layers: any[];
@@ -8058,7 +8666,7 @@ export declare class Yy {
8058
8666
  frames: {
8059
8667
  name: string;
8060
8668
  resourceType: "GMSpriteFrame";
8061
- resourceVersion: "1.0" | "1.1";
8669
+ resourceVersion: string;
8062
8670
  tags?: string[] | undefined;
8063
8671
  compositeImage?: {
8064
8672
  name: string;
@@ -8116,24 +8724,24 @@ export declare class Yy {
8116
8724
  xorigin: number;
8117
8725
  yorigin: number;
8118
8726
  events: ({
8119
- resourceVersion: "1.0";
8727
+ resourceVersion: string;
8120
8728
  Keyframes: unknown[];
8121
8729
  } & {
8122
8730
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8123
8731
  }) | ({
8124
- resourceVersion: "1.0";
8732
+ resourceVersion: string;
8125
8733
  Keyframes: unknown[];
8126
8734
  } & {
8127
8735
  resourceType: "KeyframeStore`1";
8128
8736
  elementType: "MessageEventKeyframe";
8129
8737
  });
8130
8738
  moments: ({
8131
- resourceVersion: "1.0";
8739
+ resourceVersion: string;
8132
8740
  Keyframes: unknown[];
8133
8741
  } & {
8134
8742
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8135
8743
  }) | ({
8136
- resourceVersion: "1.0";
8744
+ resourceVersion: string;
8137
8745
  Keyframes: unknown[];
8138
8746
  } & {
8139
8747
  resourceType: "KeyframeStore`1";
@@ -8153,19 +8761,21 @@ export declare class Yy {
8153
8761
  name: string;
8154
8762
  } | undefined;
8155
8763
  };
8764
+ "%Name"?: string | undefined;
8156
8765
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8157
8766
  tags?: string[] | undefined;
8158
8767
  swatchColours?: unknown;
8159
8768
  nineSlice?: unknown;
8160
8769
  }, {
8161
8770
  name: string;
8771
+ "%Name"?: string | undefined;
8772
+ resourceVersion?: string | undefined;
8162
8773
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8163
8774
  tags?: string[] | undefined;
8164
8775
  parent?: {
8165
8776
  path: string;
8166
8777
  name: string;
8167
8778
  } | undefined;
8168
- resourceVersion?: string | undefined;
8169
8779
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
8170
8780
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
8171
8781
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -8203,8 +8813,8 @@ export declare class Yy {
8203
8813
  LayerId: null;
8204
8814
  name?: string | undefined;
8205
8815
  resourceType?: "GMSpriteBitmap" | undefined;
8206
- tags?: string[] | undefined;
8207
8816
  resourceVersion?: "1.0" | undefined;
8817
+ tags?: string[] | undefined;
8208
8818
  } | undefined;
8209
8819
  images?: {
8210
8820
  FrameId: {
@@ -8217,14 +8827,14 @@ export declare class Yy {
8217
8827
  };
8218
8828
  name?: string | undefined;
8219
8829
  resourceType?: "GMSpriteBitmap" | undefined;
8220
- tags?: string[] | undefined;
8221
8830
  resourceVersion?: "1.0" | undefined;
8831
+ tags?: string[] | undefined;
8222
8832
  }[] | undefined;
8223
8833
  parent?: {
8224
8834
  path: string;
8225
8835
  name: string;
8226
8836
  } | undefined;
8227
- resourceVersion?: "1.0" | "1.1" | undefined;
8837
+ resourceVersion?: string | undefined;
8228
8838
  }[] | undefined;
8229
8839
  sequence?: unknown;
8230
8840
  layers?: unknown;
@@ -8234,11 +8844,11 @@ export declare class Yy {
8234
8844
  type: import("./types/YySprite.js").SpriteType;
8235
8845
  name: string;
8236
8846
  resourceType: "GMSprite";
8847
+ resourceVersion: string;
8237
8848
  parent: {
8238
8849
  path: string;
8239
8850
  name: string;
8240
8851
  };
8241
- resourceVersion: string;
8242
8852
  gridX: number;
8243
8853
  gridY: number;
8244
8854
  layers: any[];
@@ -8266,7 +8876,7 @@ export declare class Yy {
8266
8876
  frames: {
8267
8877
  name: string;
8268
8878
  resourceType: "GMSpriteFrame";
8269
- resourceVersion: "1.0" | "1.1";
8879
+ resourceVersion: string;
8270
8880
  tags?: string[] | undefined;
8271
8881
  compositeImage?: {
8272
8882
  name: string;
@@ -8324,24 +8934,24 @@ export declare class Yy {
8324
8934
  xorigin: number;
8325
8935
  yorigin: number;
8326
8936
  events: ({
8327
- resourceVersion: "1.0";
8937
+ resourceVersion: string;
8328
8938
  Keyframes: unknown[];
8329
8939
  } & {
8330
8940
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8331
8941
  }) | ({
8332
- resourceVersion: "1.0";
8942
+ resourceVersion: string;
8333
8943
  Keyframes: unknown[];
8334
8944
  } & {
8335
8945
  resourceType: "KeyframeStore`1";
8336
8946
  elementType: "MessageEventKeyframe";
8337
8947
  });
8338
8948
  moments: ({
8339
- resourceVersion: "1.0";
8949
+ resourceVersion: string;
8340
8950
  Keyframes: unknown[];
8341
8951
  } & {
8342
8952
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8343
8953
  }) | ({
8344
- resourceVersion: "1.0";
8954
+ resourceVersion: string;
8345
8955
  Keyframes: unknown[];
8346
8956
  } & {
8347
8957
  resourceType: "KeyframeStore`1";
@@ -8361,19 +8971,21 @@ export declare class Yy {
8361
8971
  name: string;
8362
8972
  } | undefined;
8363
8973
  };
8974
+ "%Name"?: string | undefined;
8364
8975
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8365
8976
  tags?: string[] | undefined;
8366
8977
  swatchColours?: unknown;
8367
8978
  nineSlice?: unknown;
8368
8979
  }, {
8369
8980
  name: string;
8981
+ "%Name"?: string | undefined;
8982
+ resourceVersion?: string | undefined;
8370
8983
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8371
8984
  tags?: string[] | undefined;
8372
8985
  parent?: {
8373
8986
  path: string;
8374
8987
  name: string;
8375
8988
  } | undefined;
8376
- resourceVersion?: string | undefined;
8377
8989
  bboxMode?: import("./types/YySprite.js").SpriteBoundingBoxMode | undefined;
8378
8990
  collisionKind?: import("./types/YySprite.js").SpriteCollisionKind | undefined;
8379
8991
  type?: import("./types/YySprite.js").SpriteType | undefined;
@@ -8411,8 +9023,8 @@ export declare class Yy {
8411
9023
  LayerId: null;
8412
9024
  name?: string | undefined;
8413
9025
  resourceType?: "GMSpriteBitmap" | undefined;
8414
- tags?: string[] | undefined;
8415
9026
  resourceVersion?: "1.0" | undefined;
9027
+ tags?: string[] | undefined;
8416
9028
  } | undefined;
8417
9029
  images?: {
8418
9030
  FrameId: {
@@ -8425,14 +9037,14 @@ export declare class Yy {
8425
9037
  };
8426
9038
  name?: string | undefined;
8427
9039
  resourceType?: "GMSpriteBitmap" | undefined;
8428
- tags?: string[] | undefined;
8429
9040
  resourceVersion?: "1.0" | undefined;
9041
+ tags?: string[] | undefined;
8430
9042
  }[] | undefined;
8431
9043
  parent?: {
8432
9044
  path: string;
8433
9045
  name: string;
8434
9046
  } | undefined;
8435
- resourceVersion?: "1.0" | "1.1" | undefined;
9047
+ resourceVersion?: string | undefined;
8436
9048
  }[] | undefined;
8437
9049
  sequence?: unknown;
8438
9050
  layers?: unknown;
@@ -8442,11 +9054,11 @@ export declare class Yy {
8442
9054
  type: import("./types/YySprite.js").SpriteType;
8443
9055
  name: string;
8444
9056
  resourceType: "GMSprite";
9057
+ resourceVersion: string;
8445
9058
  parent: {
8446
9059
  path: string;
8447
9060
  name: string;
8448
9061
  };
8449
- resourceVersion: string;
8450
9062
  gridX: number;
8451
9063
  gridY: number;
8452
9064
  layers: any[];
@@ -8474,7 +9086,7 @@ export declare class Yy {
8474
9086
  frames: {
8475
9087
  name: string;
8476
9088
  resourceType: "GMSpriteFrame";
8477
- resourceVersion: "1.0" | "1.1";
9089
+ resourceVersion: string;
8478
9090
  tags?: string[] | undefined;
8479
9091
  compositeImage?: {
8480
9092
  name: string;
@@ -8532,24 +9144,24 @@ export declare class Yy {
8532
9144
  xorigin: number;
8533
9145
  yorigin: number;
8534
9146
  events: ({
8535
- resourceVersion: "1.0";
9147
+ resourceVersion: string;
8536
9148
  Keyframes: unknown[];
8537
9149
  } & {
8538
9150
  resourceType: "KeyframeStore<MessageEventKeyframe>";
8539
9151
  }) | ({
8540
- resourceVersion: "1.0";
9152
+ resourceVersion: string;
8541
9153
  Keyframes: unknown[];
8542
9154
  } & {
8543
9155
  resourceType: "KeyframeStore`1";
8544
9156
  elementType: "MessageEventKeyframe";
8545
9157
  });
8546
9158
  moments: ({
8547
- resourceVersion: "1.0";
9159
+ resourceVersion: string;
8548
9160
  Keyframes: unknown[];
8549
9161
  } & {
8550
9162
  resourceType: "KeyframeStore<MomentsEventKeyframe>";
8551
9163
  }) | ({
8552
- resourceVersion: "1.0";
9164
+ resourceVersion: string;
8553
9165
  Keyframes: unknown[];
8554
9166
  } & {
8555
9167
  resourceType: "KeyframeStore`1";
@@ -8569,13 +9181,26 @@ export declare class Yy {
8569
9181
  name: string;
8570
9182
  } | undefined;
8571
9183
  };
9184
+ "%Name"?: string | undefined;
8572
9185
  ConfigValues?: Record<string, Record<string, string>> | undefined;
8573
9186
  tags?: string[] | undefined;
8574
9187
  swatchColours?: unknown;
8575
9188
  nineSlice?: unknown;
8576
9189
  }, unknown>;
8577
- readonly tilesets: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
8578
- 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">>;
8579
9204
  };
8580
9205
  static getSchema<T extends YySchemaRef>(ref: T): YySchema<T>;
8581
9206
  /**
@@ -8584,7 +9209,7 @@ export declare class Yy {
8584
9209
  * it will be used to validate and populate defaults before
8585
9210
  * stringifying.
8586
9211
  */
8587
- static stringify(yyObject: unknown, schema?: YySchemaRef): string;
9212
+ static stringify(yyObject: unknown, schema?: YySchemaRef, yyp?: Yyp): string;
8588
9213
  static parse<T extends YySchemaRef>(yyString: string, schema?: T): YyDataStrict<T>;
8589
9214
  static read<T extends YySchemaRef>(filePath: string, schema: T): Promise<YyDataStrict<T>>;
8590
9215
  static read(filePath: string): Promise<unknown>;
@@ -8608,24 +9233,17 @@ export declare class Yy {
8608
9233
  * Calls that result in a no-op because the existing
8609
9234
  * file matches return `false`, while calls that *do*
8610
9235
  * write to disk return `true`.
9236
+ *
9237
+ * @param yyp If provided, the yyp will be used to determine format information
8611
9238
  */
8612
- 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>;
8613
9240
  /**
8614
9241
  * Synchronous version of {@link Yy.write}.
9242
+ *
9243
+ * @param yyp If provided, the yyp will be used to determine format information
8615
9244
  */
8616
- static writeSync<T extends YySchemaRef>(filePath: string, yyData: YyDataLoose<T>, schema: T): boolean;
8617
- static populate<T extends Exclude<YySchemaRef, undefined>>(yyData: PartialDeep<YyDataLoose<T>>, schema: T, options?: {
8618
- sortKeys?: boolean;
8619
- }): YyDataStrict<T>;
8620
- /**
8621
- * Sort keys GameMaker-style (which does change over time!).
8622
- * At this time, the order is:
8623
- * - "resourceType": "GMSprite",
8624
- * - "resourceVersion": "1.0",
8625
- * - "name": "barrel_tendraam",
8626
- * - Everything else, in alphabetical order (case-insensitive).
8627
- */
8628
- 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>;
8629
9247
  static diff(firstYy: unknown, secondYy: unknown): YyDiff;
8630
9248
  /**
8631
9249
  * Check for functional equality between two Yy objects.