@bscotch/yy 2.1.3 → 2.1.5

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.
@@ -3,14 +3,14 @@ import { YySprite } from './YySprite.js';
3
3
  export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
4
4
  recurseIntoArrays: true;
5
5
  }>): import("type-fest/source/partial-deep.js").PartialObjectDeep<{
6
+ type: import("./YySprite.js").SpriteType;
6
7
  name: string;
7
8
  resourceType: "GMSprite";
8
- type: import("./YySprite.js").SpriteType;
9
- resourceVersion: string;
10
9
  parent: {
11
- name: string;
12
10
  path: string;
11
+ name: string;
13
12
  };
13
+ resourceVersion: string;
14
14
  gridX: number;
15
15
  gridY: number;
16
16
  layers: any[];
@@ -32,8 +32,8 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
32
32
  width: number;
33
33
  height: number;
34
34
  textureGroupId: {
35
- name: string;
36
35
  path: string;
36
+ name: string;
37
37
  };
38
38
  frames: {
39
39
  name: string;
@@ -45,8 +45,8 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
45
45
  resourceType: "GMSpriteBitmap";
46
46
  resourceVersion: "1.0";
47
47
  FrameId: {
48
- name: string;
49
48
  path: string;
49
+ name: string;
50
50
  };
51
51
  LayerId: null;
52
52
  tags?: string[] | undefined;
@@ -56,23 +56,23 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
56
56
  resourceType: "GMSpriteBitmap";
57
57
  resourceVersion: "1.0";
58
58
  FrameId: {
59
- name: string;
60
59
  path: string;
60
+ name: string;
61
61
  };
62
62
  LayerId: {
63
- name: string;
64
63
  path: string;
64
+ name: string;
65
65
  };
66
66
  tags?: string[] | undefined;
67
67
  }[] | undefined;
68
68
  parent?: {
69
- name: string;
70
69
  path: string;
70
+ name: string;
71
71
  } | undefined;
72
72
  }[];
73
73
  sequence: {
74
- resourceType: "GMSequence";
75
74
  length: import("./utility.js").FixedNumber;
75
+ resourceType: "GMSequence";
76
76
  resourceVersion: string;
77
77
  volume: import("./utility.js").FixedNumber;
78
78
  timeUnits: number;
@@ -125,12 +125,12 @@ export declare function ensureTrackKeyFrames(sprite: PartialDeep<YySprite, {
125
125
  name?: string | undefined;
126
126
  tags?: string[] | undefined;
127
127
  spriteId?: {
128
- name: string;
129
128
  path: string;
129
+ name: string;
130
130
  } | undefined;
131
131
  parent?: {
132
- name: string;
133
132
  path: string;
133
+ name: string;
134
134
  } | undefined;
135
135
  };
136
136
  "%Name"?: string | undefined;
@@ -11,11 +11,11 @@ export declare const yypResourceIdSchema: z.ZodObject<{
11
11
  name: z.ZodString;
12
12
  path: z.ZodString;
13
13
  }, "strip", z.ZodTypeAny, {
14
- name: string;
15
14
  path: string;
16
- }, {
17
15
  name: string;
16
+ }, {
18
17
  path: string;
18
+ name: string;
19
19
  }>;
20
20
  /** A 'Resource' is a an asset like a sprite, object, script, and so on. */
21
21
  export type YypResource = z.infer<typeof yypResourceSchema>;
@@ -24,23 +24,23 @@ declare const yypResourceSchema: z.ZodObject<{
24
24
  name: z.ZodString;
25
25
  path: z.ZodString;
26
26
  }, "strip", z.ZodTypeAny, {
27
- name: string;
28
27
  path: string;
29
- }, {
30
28
  name: string;
29
+ }, {
31
30
  path: string;
31
+ name: string;
32
32
  }>;
33
33
  order: z.ZodOptional<z.ZodNumber>;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  id: {
36
- name: string;
37
36
  path: string;
37
+ name: string;
38
38
  };
39
39
  order?: number | undefined;
40
40
  }, {
41
41
  id: {
42
- name: string;
43
42
  path: string;
43
+ name: string;
44
44
  };
45
45
  order?: number | undefined;
46
46
  }>;
@@ -50,12 +50,12 @@ declare const yypOptionSchema: z.ZodObject<{
50
50
  name: z.ZodString;
51
51
  path: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- name: string;
54
53
  path: string;
54
+ name: string;
55
55
  ConfigValues?: Record<string, Record<string, string>> | undefined;
56
56
  }, {
57
- name: string;
58
57
  path: string;
58
+ name: string;
59
59
  ConfigValues?: Record<string, Record<string, string>> | undefined;
60
60
  }>;
61
61
  export interface YypConfig {
@@ -69,21 +69,21 @@ declare const yypRoomOrderNodeSchema: z.ZodObject<{
69
69
  /** rooms/{name}/{name}.yy */
70
70
  path: z.ZodString;
71
71
  }, "strip", z.ZodTypeAny, {
72
- name: string;
73
72
  path: string;
74
- }, {
75
73
  name: string;
74
+ }, {
76
75
  path: string;
76
+ name: string;
77
77
  }>;
78
78
  }, "strip", z.ZodTypeAny, {
79
79
  roomId: {
80
- name: string;
81
80
  path: string;
81
+ name: string;
82
82
  };
83
83
  }, {
84
84
  roomId: {
85
- name: string;
86
85
  path: string;
86
+ name: string;
87
87
  };
88
88
  }>;
89
89
  export type YypFolder = z.infer<typeof yypFolderSchema>;
@@ -97,8 +97,8 @@ export declare const yypFolderSchema: z.ZodObject<{
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  name: string;
99
99
  resourceType: "GMFolder";
100
- folderPath: string;
101
100
  resourceVersion: string;
101
+ folderPath: string;
102
102
  tags?: string[] | undefined;
103
103
  order?: number | undefined;
104
104
  }, {
@@ -138,11 +138,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
138
138
  name: z.ZodString;
139
139
  path: z.ZodString;
140
140
  }, "strip", z.ZodTypeAny, {
141
- name: string;
142
141
  path: string;
143
- }, {
144
142
  name: string;
143
+ }, {
145
144
  path: string;
145
+ name: string;
146
146
  }>>>;
147
147
  isScaled: z.ZodDefault<z.ZodBoolean>;
148
148
  customOptions: z.ZodOptional<z.ZodString>;
@@ -162,11 +162,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
162
162
  name: z.ZodString;
163
163
  path: z.ZodString;
164
164
  }, "strip", z.ZodTypeAny, {
165
- name: string;
166
165
  path: string;
167
- }, {
168
166
  name: string;
167
+ }, {
169
168
  path: string;
169
+ name: string;
170
170
  }>>>;
171
171
  isScaled: z.ZodDefault<z.ZodBoolean>;
172
172
  customOptions: z.ZodOptional<z.ZodString>;
@@ -186,11 +186,11 @@ export declare const yypTextureGroupSchema: z.ZodObject<{
186
186
  name: z.ZodString;
187
187
  path: z.ZodString;
188
188
  }, "strip", z.ZodTypeAny, {
189
- name: string;
190
189
  path: string;
191
- }, {
192
190
  name: string;
191
+ }, {
193
192
  path: string;
193
+ name: string;
194
194
  }>>>;
195
195
  isScaled: z.ZodDefault<z.ZodBoolean>;
196
196
  customOptions: z.ZodOptional<z.ZodString>;
@@ -250,23 +250,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
250
250
  name: z.ZodString;
251
251
  path: z.ZodString;
252
252
  }, "strip", z.ZodTypeAny, {
253
- name: string;
254
253
  path: string;
255
- }, {
256
254
  name: string;
255
+ }, {
257
256
  path: string;
257
+ name: string;
258
258
  }>;
259
259
  order: z.ZodOptional<z.ZodNumber>;
260
260
  }, "strip", z.ZodTypeAny, {
261
261
  id: {
262
- name: string;
263
262
  path: string;
263
+ name: string;
264
264
  };
265
265
  order?: number | undefined;
266
266
  }, {
267
267
  id: {
268
- name: string;
269
268
  path: string;
269
+ name: string;
270
270
  };
271
271
  order?: number | undefined;
272
272
  }>, "many">>;
@@ -276,21 +276,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
276
276
  /** rooms/{name}/{name}.yy */
277
277
  path: z.ZodString;
278
278
  }, "strip", z.ZodTypeAny, {
279
- name: string;
280
279
  path: string;
281
- }, {
282
280
  name: string;
281
+ }, {
283
282
  path: string;
283
+ name: string;
284
284
  }>;
285
285
  }, "strip", z.ZodTypeAny, {
286
286
  roomId: {
287
- name: string;
288
287
  path: string;
288
+ name: string;
289
289
  };
290
290
  }, {
291
291
  roomId: {
292
- name: string;
293
292
  path: string;
293
+ name: string;
294
294
  };
295
295
  }>, "many">>;
296
296
  Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -298,12 +298,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
298
298
  name: z.ZodString;
299
299
  path: z.ZodString;
300
300
  }, "strip", z.ZodTypeAny, {
301
- name: string;
302
301
  path: string;
302
+ name: string;
303
303
  ConfigValues?: Record<string, Record<string, string>> | undefined;
304
304
  }, {
305
- name: string;
306
305
  path: string;
306
+ name: string;
307
307
  ConfigValues?: Record<string, Record<string, string>> | undefined;
308
308
  }>, "many">>;
309
309
  isDnDProject: z.ZodOptional<z.ZodBoolean>;
@@ -330,8 +330,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
330
330
  }, "strip", z.ZodTypeAny, {
331
331
  name: string;
332
332
  resourceType: "GMFolder";
333
- folderPath: string;
334
333
  resourceVersion: string;
334
+ folderPath: string;
335
335
  tags?: string[] | undefined;
336
336
  order?: number | undefined;
337
337
  }, {
@@ -368,11 +368,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
368
368
  name: z.ZodString;
369
369
  path: z.ZodString;
370
370
  }, "strip", z.ZodTypeAny, {
371
- name: string;
372
371
  path: string;
373
- }, {
374
372
  name: string;
373
+ }, {
375
374
  path: string;
375
+ name: string;
376
376
  }>>>;
377
377
  isScaled: z.ZodDefault<z.ZodBoolean>;
378
378
  customOptions: z.ZodOptional<z.ZodString>;
@@ -392,11 +392,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
392
392
  name: z.ZodString;
393
393
  path: z.ZodString;
394
394
  }, "strip", z.ZodTypeAny, {
395
- name: string;
396
395
  path: string;
397
- }, {
398
396
  name: string;
397
+ }, {
399
398
  path: string;
399
+ name: string;
400
400
  }>>>;
401
401
  isScaled: z.ZodDefault<z.ZodBoolean>;
402
402
  customOptions: z.ZodOptional<z.ZodString>;
@@ -416,11 +416,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
416
416
  name: z.ZodString;
417
417
  path: z.ZodString;
418
418
  }, "strip", z.ZodTypeAny, {
419
- name: string;
420
419
  path: string;
421
- }, {
422
420
  name: string;
421
+ }, {
423
422
  path: string;
423
+ name: string;
424
424
  }>>>;
425
425
  isScaled: z.ZodDefault<z.ZodBoolean>;
426
426
  customOptions: z.ZodOptional<z.ZodString>;
@@ -487,23 +487,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
487
487
  name: z.ZodString;
488
488
  path: z.ZodString;
489
489
  }, "strip", z.ZodTypeAny, {
490
- name: string;
491
490
  path: string;
492
- }, {
493
491
  name: string;
492
+ }, {
494
493
  path: string;
494
+ name: string;
495
495
  }>;
496
496
  order: z.ZodOptional<z.ZodNumber>;
497
497
  }, "strip", z.ZodTypeAny, {
498
498
  id: {
499
- name: string;
500
499
  path: string;
500
+ name: string;
501
501
  };
502
502
  order?: number | undefined;
503
503
  }, {
504
504
  id: {
505
- name: string;
506
505
  path: string;
506
+ name: string;
507
507
  };
508
508
  order?: number | undefined;
509
509
  }>, "many">>;
@@ -513,21 +513,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
513
513
  /** rooms/{name}/{name}.yy */
514
514
  path: z.ZodString;
515
515
  }, "strip", z.ZodTypeAny, {
516
- name: string;
517
516
  path: string;
518
- }, {
519
517
  name: string;
518
+ }, {
520
519
  path: string;
520
+ name: string;
521
521
  }>;
522
522
  }, "strip", z.ZodTypeAny, {
523
523
  roomId: {
524
- name: string;
525
524
  path: string;
525
+ name: string;
526
526
  };
527
527
  }, {
528
528
  roomId: {
529
- name: string;
530
529
  path: string;
530
+ name: string;
531
531
  };
532
532
  }>, "many">>;
533
533
  Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -535,12 +535,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
535
535
  name: z.ZodString;
536
536
  path: z.ZodString;
537
537
  }, "strip", z.ZodTypeAny, {
538
- name: string;
539
538
  path: string;
539
+ name: string;
540
540
  ConfigValues?: Record<string, Record<string, string>> | undefined;
541
541
  }, {
542
- name: string;
543
542
  path: string;
543
+ name: string;
544
544
  ConfigValues?: Record<string, Record<string, string>> | undefined;
545
545
  }>, "many">>;
546
546
  isDnDProject: z.ZodOptional<z.ZodBoolean>;
@@ -567,8 +567,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
567
567
  }, "strip", z.ZodTypeAny, {
568
568
  name: string;
569
569
  resourceType: "GMFolder";
570
- folderPath: string;
571
570
  resourceVersion: string;
571
+ folderPath: string;
572
572
  tags?: string[] | undefined;
573
573
  order?: number | undefined;
574
574
  }, {
@@ -605,11 +605,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
605
605
  name: z.ZodString;
606
606
  path: z.ZodString;
607
607
  }, "strip", z.ZodTypeAny, {
608
- name: string;
609
608
  path: string;
610
- }, {
611
609
  name: string;
610
+ }, {
612
611
  path: string;
612
+ name: string;
613
613
  }>>>;
614
614
  isScaled: z.ZodDefault<z.ZodBoolean>;
615
615
  customOptions: z.ZodOptional<z.ZodString>;
@@ -629,11 +629,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
629
629
  name: z.ZodString;
630
630
  path: z.ZodString;
631
631
  }, "strip", z.ZodTypeAny, {
632
- name: string;
633
632
  path: string;
634
- }, {
635
633
  name: string;
634
+ }, {
636
635
  path: string;
636
+ name: string;
637
637
  }>>>;
638
638
  isScaled: z.ZodDefault<z.ZodBoolean>;
639
639
  customOptions: z.ZodOptional<z.ZodString>;
@@ -653,11 +653,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
653
653
  name: z.ZodString;
654
654
  path: z.ZodString;
655
655
  }, "strip", z.ZodTypeAny, {
656
- name: string;
657
656
  path: string;
658
- }, {
659
657
  name: string;
658
+ }, {
660
659
  path: string;
660
+ name: string;
661
661
  }>>>;
662
662
  isScaled: z.ZodDefault<z.ZodBoolean>;
663
663
  customOptions: z.ZodOptional<z.ZodString>;
@@ -724,23 +724,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
724
724
  name: z.ZodString;
725
725
  path: z.ZodString;
726
726
  }, "strip", z.ZodTypeAny, {
727
- name: string;
728
727
  path: string;
729
- }, {
730
728
  name: string;
729
+ }, {
731
730
  path: string;
731
+ name: string;
732
732
  }>;
733
733
  order: z.ZodOptional<z.ZodNumber>;
734
734
  }, "strip", z.ZodTypeAny, {
735
735
  id: {
736
- name: string;
737
736
  path: string;
737
+ name: string;
738
738
  };
739
739
  order?: number | undefined;
740
740
  }, {
741
741
  id: {
742
- name: string;
743
742
  path: string;
743
+ name: string;
744
744
  };
745
745
  order?: number | undefined;
746
746
  }>, "many">>;
@@ -750,21 +750,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
750
750
  /** rooms/{name}/{name}.yy */
751
751
  path: z.ZodString;
752
752
  }, "strip", z.ZodTypeAny, {
753
- name: string;
754
753
  path: string;
755
- }, {
756
754
  name: string;
755
+ }, {
757
756
  path: string;
757
+ name: string;
758
758
  }>;
759
759
  }, "strip", z.ZodTypeAny, {
760
760
  roomId: {
761
- name: string;
762
761
  path: string;
762
+ name: string;
763
763
  };
764
764
  }, {
765
765
  roomId: {
766
- name: string;
767
766
  path: string;
767
+ name: string;
768
768
  };
769
769
  }>, "many">>;
770
770
  Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -772,12 +772,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
772
772
  name: z.ZodString;
773
773
  path: z.ZodString;
774
774
  }, "strip", z.ZodTypeAny, {
775
- name: string;
776
775
  path: string;
776
+ name: string;
777
777
  ConfigValues?: Record<string, Record<string, string>> | undefined;
778
778
  }, {
779
- name: string;
780
779
  path: string;
780
+ name: string;
781
781
  ConfigValues?: Record<string, Record<string, string>> | undefined;
782
782
  }>, "many">>;
783
783
  isDnDProject: z.ZodOptional<z.ZodBoolean>;
@@ -804,8 +804,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
804
804
  }, "strip", z.ZodTypeAny, {
805
805
  name: string;
806
806
  resourceType: "GMFolder";
807
- folderPath: string;
808
807
  resourceVersion: string;
808
+ folderPath: string;
809
809
  tags?: string[] | undefined;
810
810
  order?: number | undefined;
811
811
  }, {
@@ -842,11 +842,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
842
842
  name: z.ZodString;
843
843
  path: z.ZodString;
844
844
  }, "strip", z.ZodTypeAny, {
845
- name: string;
846
845
  path: string;
847
- }, {
848
846
  name: string;
847
+ }, {
849
848
  path: string;
849
+ name: string;
850
850
  }>>>;
851
851
  isScaled: z.ZodDefault<z.ZodBoolean>;
852
852
  customOptions: z.ZodOptional<z.ZodString>;
@@ -866,11 +866,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
866
866
  name: z.ZodString;
867
867
  path: z.ZodString;
868
868
  }, "strip", z.ZodTypeAny, {
869
- name: string;
870
869
  path: string;
871
- }, {
872
870
  name: string;
871
+ }, {
873
872
  path: string;
873
+ name: string;
874
874
  }>>>;
875
875
  isScaled: z.ZodDefault<z.ZodBoolean>;
876
876
  customOptions: z.ZodOptional<z.ZodString>;
@@ -890,11 +890,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
890
890
  name: z.ZodString;
891
891
  path: z.ZodString;
892
892
  }, "strip", z.ZodTypeAny, {
893
- name: string;
894
893
  path: string;
895
- }, {
896
894
  name: string;
895
+ }, {
897
896
  path: string;
897
+ name: string;
898
898
  }>>>;
899
899
  isScaled: z.ZodDefault<z.ZodBoolean>;
900
900
  customOptions: z.ZodOptional<z.ZodString>;
@@ -961,23 +961,23 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
961
961
  name: z.ZodString;
962
962
  path: z.ZodString;
963
963
  }, "strip", z.ZodTypeAny, {
964
- name: string;
965
964
  path: string;
966
- }, {
967
965
  name: string;
966
+ }, {
968
967
  path: string;
968
+ name: string;
969
969
  }>;
970
970
  order: z.ZodOptional<z.ZodNumber>;
971
971
  }, "strip", z.ZodTypeAny, {
972
972
  id: {
973
- name: string;
974
973
  path: string;
974
+ name: string;
975
975
  };
976
976
  order?: number | undefined;
977
977
  }, {
978
978
  id: {
979
- name: string;
980
979
  path: string;
980
+ name: string;
981
981
  };
982
982
  order?: number | undefined;
983
983
  }>, "many">>;
@@ -987,21 +987,21 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
987
987
  /** rooms/{name}/{name}.yy */
988
988
  path: z.ZodString;
989
989
  }, "strip", z.ZodTypeAny, {
990
- name: string;
991
990
  path: string;
992
- }, {
993
991
  name: string;
992
+ }, {
994
993
  path: string;
994
+ name: string;
995
995
  }>;
996
996
  }, "strip", z.ZodTypeAny, {
997
997
  roomId: {
998
- name: string;
999
998
  path: string;
999
+ name: string;
1000
1000
  };
1001
1001
  }, {
1002
1002
  roomId: {
1003
- name: string;
1004
1003
  path: string;
1004
+ name: string;
1005
1005
  };
1006
1006
  }>, "many">>;
1007
1007
  Options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1009,12 +1009,12 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
1009
1009
  name: z.ZodString;
1010
1010
  path: z.ZodString;
1011
1011
  }, "strip", z.ZodTypeAny, {
1012
- name: string;
1013
1012
  path: string;
1013
+ name: string;
1014
1014
  ConfigValues?: Record<string, Record<string, string>> | undefined;
1015
1015
  }, {
1016
- name: string;
1017
1016
  path: string;
1017
+ name: string;
1018
1018
  ConfigValues?: Record<string, Record<string, string>> | undefined;
1019
1019
  }>, "many">>;
1020
1020
  isDnDProject: z.ZodOptional<z.ZodBoolean>;
@@ -1041,8 +1041,8 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
1041
1041
  }, "strip", z.ZodTypeAny, {
1042
1042
  name: string;
1043
1043
  resourceType: "GMFolder";
1044
- folderPath: string;
1045
1044
  resourceVersion: string;
1045
+ folderPath: string;
1046
1046
  tags?: string[] | undefined;
1047
1047
  order?: number | undefined;
1048
1048
  }, {
@@ -1079,11 +1079,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
1079
1079
  name: z.ZodString;
1080
1080
  path: z.ZodString;
1081
1081
  }, "strip", z.ZodTypeAny, {
1082
- name: string;
1083
1082
  path: string;
1084
- }, {
1085
1083
  name: string;
1084
+ }, {
1086
1085
  path: string;
1086
+ name: string;
1087
1087
  }>>>;
1088
1088
  isScaled: z.ZodDefault<z.ZodBoolean>;
1089
1089
  customOptions: z.ZodOptional<z.ZodString>;
@@ -1103,11 +1103,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
1103
1103
  name: z.ZodString;
1104
1104
  path: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
- name: string;
1107
1106
  path: string;
1108
- }, {
1109
1107
  name: string;
1108
+ }, {
1110
1109
  path: string;
1110
+ name: string;
1111
1111
  }>>>;
1112
1112
  isScaled: z.ZodDefault<z.ZodBoolean>;
1113
1113
  customOptions: z.ZodOptional<z.ZodString>;
@@ -1127,11 +1127,11 @@ export declare const yypSchema: z.ZodEffects<z.ZodObject<{
1127
1127
  name: z.ZodString;
1128
1128
  path: z.ZodString;
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
- name: string;
1131
1130
  path: string;
1132
- }, {
1133
1131
  name: string;
1132
+ }, {
1134
1133
  path: string;
1134
+ name: string;
1135
1135
  }>>>;
1136
1136
  isScaled: z.ZodDefault<z.ZodBoolean>;
1137
1137
  customOptions: z.ZodOptional<z.ZodString>;
package/dist/types/Yyp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by ts-to-zod
2
2
  import { z } from 'zod';
3
- import { bigNumber } from './utility.js';
3
+ import { bigNumber, nameField } from './utility.js';
4
4
  export const yypResourceIdSchema = z.object({
5
5
  name: z.string(),
6
6
  path: z.string(),
@@ -91,7 +91,7 @@ export const yypSchema = z.preprocess((input) => {
91
91
  return input;
92
92
  }, z
93
93
  .object({
94
- ['%Name']: z.string().optional(),
94
+ [nameField]: z.string().optional(),
95
95
  name: z.string(),
96
96
  resourceType: z.literal('GMProject').default('GMProject'),
97
97
  resources: z.array(yypResourceSchema).default([]),