@bscotch/yy 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +23 -0
- package/dist/Yy.d.ts +6859 -6829
- package/dist/Yy.d.ts.map +1 -1
- package/dist/Yy.js +247 -246
- package/dist/Yy.js.map +1 -1
- package/dist/Yy.parse.d.ts +5 -5
- package/dist/Yy.parse.js +240 -240
- package/dist/Yy.stringify.d.ts +6 -6
- package/dist/Yy.stringify.js +129 -129
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +16 -16
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/types/YyBase.d.ts +46 -46
- package/dist/types/YyBase.js +37 -37
- package/dist/types/YyObject.d.ts +454 -462
- package/dist/types/YyObject.d.ts.map +1 -1
- package/dist/types/YyObject.js +108 -108
- package/dist/types/YyRoom.d.ts +1474 -1507
- package/dist/types/YyRoom.d.ts.map +1 -1
- package/dist/types/YyRoom.js +155 -155
- package/dist/types/YyScript.d.ts +45 -47
- package/dist/types/YyScript.d.ts.map +1 -1
- package/dist/types/YyScript.js +8 -8
- package/dist/types/YySound.d.ts +107 -115
- package/dist/types/YySound.d.ts.map +1 -1
- package/dist/types/YySound.js +61 -61
- package/dist/types/YySprite.d.ts +5438 -5446
- package/dist/types/YySprite.d.ts.map +1 -1
- package/dist/types/YySprite.js +417 -417
- package/dist/types/YySprite.lib.d.ts +221 -215
- package/dist/types/YySprite.lib.d.ts.map +1 -1
- package/dist/types/YySprite.lib.js +35 -35
- package/dist/types/Yyp.d.ts +604 -604
- package/dist/types/Yyp.js +101 -101
- package/dist/types/utility.d.ts +64 -64
- package/dist/types/utility.js +104 -104
- package/package.json +16 -11
- package/dist/Schema.d.ts +0 -1
- package/dist/Schema.d.ts.map +0 -1
- package/dist/Schema.js +0 -2
- package/dist/Schema.js.map +0 -1
package/dist/types/Yyp.d.ts
CHANGED
|
@@ -1,605 +1,605 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* @file Typings for components of a freshly-parsed YYP file,
|
|
4
|
-
* when it is stored as a collection of plain objects.
|
|
5
|
-
* See {@link ./Gms2ProjectComponents.ts} for typings related
|
|
6
|
-
* to when the vanilla content has been replaced with class
|
|
7
|
-
* instances.
|
|
8
|
-
*/
|
|
9
|
-
export type YypResourceId = z.infer<typeof yypResourceIdSchema>;
|
|
10
|
-
export declare const yypResourceIdSchema: z.ZodObject<{
|
|
11
|
-
name: z.ZodString;
|
|
12
|
-
path: z.ZodString;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
path: string;
|
|
15
|
-
name: string;
|
|
16
|
-
}, {
|
|
17
|
-
path: string;
|
|
18
|
-
name: string;
|
|
19
|
-
}>;
|
|
20
|
-
/** A 'Resource' is a an asset like a sprite, object, script, and so on. */
|
|
21
|
-
export type YypResource = z.infer<typeof yypResourceSchema>;
|
|
22
|
-
declare const yypResourceSchema: z.ZodObject<{
|
|
23
|
-
id: z.ZodObject<{
|
|
24
|
-
name: z.ZodString;
|
|
25
|
-
path: z.ZodString;
|
|
26
|
-
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
path: string;
|
|
28
|
-
name: string;
|
|
29
|
-
}, {
|
|
30
|
-
path: string;
|
|
31
|
-
name: string;
|
|
32
|
-
}>;
|
|
33
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
id: {
|
|
36
|
-
path: string;
|
|
37
|
-
name: string;
|
|
38
|
-
};
|
|
39
|
-
order: number;
|
|
40
|
-
}, {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}>;
|
|
47
|
-
export type YypOption = z.infer<typeof yypOptionSchema>;
|
|
48
|
-
declare const yypOptionSchema: z.ZodObject<{
|
|
49
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
50
|
-
name: z.ZodString;
|
|
51
|
-
path: z.ZodString;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}>;
|
|
61
|
-
export interface YypConfig {
|
|
62
|
-
name: string;
|
|
63
|
-
children: YypConfig[];
|
|
64
|
-
}
|
|
65
|
-
export type YypRoomOrderNode = z.infer<typeof yypRoomOrderNodeSchema>;
|
|
66
|
-
declare const yypRoomOrderNodeSchema: z.ZodObject<{
|
|
67
|
-
roomId: z.ZodObject<{
|
|
68
|
-
name: z.ZodString;
|
|
69
|
-
/** rooms/{name}/{name}.yy */
|
|
70
|
-
path: z.ZodString;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
path: string;
|
|
73
|
-
name: string;
|
|
74
|
-
}, {
|
|
75
|
-
path: string;
|
|
76
|
-
name: string;
|
|
77
|
-
}>;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
roomId: {
|
|
80
|
-
path: string;
|
|
81
|
-
name: string;
|
|
82
|
-
};
|
|
83
|
-
}, {
|
|
84
|
-
roomId: {
|
|
85
|
-
path: string;
|
|
86
|
-
name: string;
|
|
87
|
-
};
|
|
88
|
-
}>;
|
|
89
|
-
export type YypFolder = z.infer<typeof yypFolderSchema>;
|
|
90
|
-
declare const yypFolderSchema: z.ZodObject<{
|
|
91
|
-
name: z.ZodString;
|
|
92
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
93
|
-
folderPath: z.ZodString;
|
|
94
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
95
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
96
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}, {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
order?: number | undefined;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}>;
|
|
112
|
-
export type YypAudioGroup = z.infer<typeof yypAudioGroupSchema>;
|
|
113
|
-
export type YypAudioGroupLoose = z.input<typeof yypAudioGroupSchema>;
|
|
114
|
-
export declare const yypAudioGroupSchema: z.ZodObject<{
|
|
115
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
116
|
-
name: z.ZodString;
|
|
117
|
-
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
118
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
119
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
120
|
-
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}, {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}>;
|
|
133
|
-
export type YypTextureGroup = z.infer<typeof yypTextureGroupSchema>;
|
|
134
|
-
export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
135
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
136
|
-
name: z.ZodString;
|
|
137
|
-
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
138
|
-
name: z.ZodString;
|
|
139
|
-
path: z.ZodString;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
path: string;
|
|
142
|
-
name: string;
|
|
143
|
-
}, {
|
|
144
|
-
path: string;
|
|
145
|
-
name: string;
|
|
146
|
-
}>>>;
|
|
147
|
-
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
148
|
-
compressFormat: z.ZodOptional<z.ZodString>;
|
|
149
|
-
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
150
|
-
border: z.ZodDefault<z.ZodNumber>;
|
|
151
|
-
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
152
|
-
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
153
|
-
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
154
|
-
directory: z.ZodOptional<z.ZodString>;
|
|
155
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
156
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
157
|
-
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}, {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}>;
|
|
192
|
-
export type YypIncludedFile = z.infer<typeof yypIncludedFileSchema>;
|
|
193
|
-
declare const yypIncludedFileSchema: z.ZodObject<{
|
|
194
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
195
|
-
CopyToMask: z.ZodString;
|
|
196
|
-
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
CopyToMask: string;
|
|
198
|
-
}, {
|
|
199
|
-
CopyToMask: string;
|
|
200
|
-
}>>>;
|
|
201
|
-
/** The name of the file, including extension, without the path */
|
|
202
|
-
name: z.ZodString;
|
|
203
|
-
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
204
|
-
/** `datafiles/${subdir}` */
|
|
205
|
-
filePath: z.ZodString;
|
|
206
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
207
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
208
|
-
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}, {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
CopyToMask?: number | bigint | undefined;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}>;
|
|
227
|
-
/** The YYP content that has not changed across GMS2.3 subversions */
|
|
228
|
-
export type Yyp = z.infer<typeof yypSchema>;
|
|
229
|
-
export declare const yypSchema: z.ZodObject<{
|
|
230
|
-
name: z.ZodString;
|
|
231
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
232
|
-
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
233
|
-
id: z.ZodObject<{
|
|
234
|
-
name: z.ZodString;
|
|
235
|
-
path: z.ZodString;
|
|
236
|
-
}, "strip", z.ZodTypeAny, {
|
|
237
|
-
path: string;
|
|
238
|
-
name: string;
|
|
239
|
-
}, {
|
|
240
|
-
path: string;
|
|
241
|
-
name: string;
|
|
242
|
-
}>;
|
|
243
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
244
|
-
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
id: {
|
|
246
|
-
path: string;
|
|
247
|
-
name: string;
|
|
248
|
-
};
|
|
249
|
-
order: number;
|
|
250
|
-
}, {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
}>, "many">>;
|
|
257
|
-
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
258
|
-
roomId: z.ZodObject<{
|
|
259
|
-
name: z.ZodString;
|
|
260
|
-
/** rooms/{name}/{name}.yy */
|
|
261
|
-
path: z.ZodString;
|
|
262
|
-
}, "strip", z.ZodTypeAny, {
|
|
263
|
-
path: string;
|
|
264
|
-
name: string;
|
|
265
|
-
}, {
|
|
266
|
-
path: string;
|
|
267
|
-
name: string;
|
|
268
|
-
}>;
|
|
269
|
-
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
roomId: {
|
|
271
|
-
path: string;
|
|
272
|
-
name: string;
|
|
273
|
-
};
|
|
274
|
-
}, {
|
|
275
|
-
roomId: {
|
|
276
|
-
path: string;
|
|
277
|
-
name: string;
|
|
278
|
-
};
|
|
279
|
-
}>, "many">>;
|
|
280
|
-
Options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
281
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
282
|
-
name: z.ZodString;
|
|
283
|
-
path: z.ZodString;
|
|
284
|
-
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}, {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
}>, "many">>;
|
|
293
|
-
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
-
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
295
|
-
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
296
|
-
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
297
|
-
configs: z.ZodObject<{
|
|
298
|
-
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
299
|
-
children: z.ZodDefault<z.ZodArray<z.ZodType<YypConfig, z.ZodTypeDef, YypConfig>, "many">>;
|
|
300
|
-
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
name: "Default";
|
|
302
|
-
children: YypConfig[];
|
|
303
|
-
}, {
|
|
304
|
-
name?: "Default" | undefined;
|
|
305
|
-
children?: YypConfig[] | undefined;
|
|
306
|
-
}>;
|
|
307
|
-
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
308
|
-
name: z.ZodString;
|
|
309
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
|
-
folderPath: z.ZodString;
|
|
311
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
312
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
313
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
314
|
-
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}, {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
order?: number | undefined;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}>, "many">>;
|
|
329
|
-
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
330
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
331
|
-
name: z.ZodString;
|
|
332
|
-
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
333
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
334
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
335
|
-
}, "strip", z.ZodTypeAny, {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
}, {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}>, "many">>;
|
|
348
|
-
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
350
|
-
name: z.ZodString;
|
|
351
|
-
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
352
|
-
name: z.ZodString;
|
|
353
|
-
path: z.ZodString;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
path: string;
|
|
356
|
-
name: string;
|
|
357
|
-
}, {
|
|
358
|
-
path: string;
|
|
359
|
-
name: string;
|
|
360
|
-
}>>>;
|
|
361
|
-
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
362
|
-
compressFormat: z.ZodOptional<z.ZodString>;
|
|
363
|
-
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
364
|
-
border: z.ZodDefault<z.ZodNumber>;
|
|
365
|
-
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
366
|
-
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
367
|
-
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
368
|
-
directory: z.ZodOptional<z.ZodString>;
|
|
369
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
370
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
371
|
-
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}, {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}>, "many">>;
|
|
406
|
-
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
407
|
-
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
408
|
-
CopyToMask: z.ZodString;
|
|
409
|
-
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
CopyToMask: string;
|
|
411
|
-
}, {
|
|
412
|
-
CopyToMask: string;
|
|
413
|
-
}>>>;
|
|
414
|
-
/** The name of the file, including extension, without the path */
|
|
415
|
-
name: z.ZodString;
|
|
416
|
-
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
417
|
-
/** `datafiles/${subdir}` */
|
|
418
|
-
filePath: z.ZodString;
|
|
419
|
-
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
420
|
-
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
421
|
-
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
}, {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
CopyToMask?: number | bigint | undefined;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
}>, "many">>;
|
|
440
|
-
MetaData: z.ZodObject<{
|
|
441
|
-
IDEVersion: z.ZodString;
|
|
442
|
-
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
IDEVersion: string;
|
|
444
|
-
}, {
|
|
445
|
-
IDEVersion: string;
|
|
446
|
-
}>;
|
|
447
|
-
resourceVersion: z.ZodString;
|
|
448
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
449
|
-
}, "strip", z.ZodTypeAny, {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
}, {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
targets?: number | bigint | undefined;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}>;
|
|
604
|
-
export {};
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* @file Typings for components of a freshly-parsed YYP file,
|
|
4
|
+
* when it is stored as a collection of plain objects.
|
|
5
|
+
* See {@link ./Gms2ProjectComponents.ts} for typings related
|
|
6
|
+
* to when the vanilla content has been replaced with class
|
|
7
|
+
* instances.
|
|
8
|
+
*/
|
|
9
|
+
export type YypResourceId = z.infer<typeof yypResourceIdSchema>;
|
|
10
|
+
export declare const yypResourceIdSchema: z.ZodObject<{
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
path: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
path: string;
|
|
15
|
+
name: string;
|
|
16
|
+
}, {
|
|
17
|
+
path: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}>;
|
|
20
|
+
/** A 'Resource' is a an asset like a sprite, object, script, and so on. */
|
|
21
|
+
export type YypResource = z.infer<typeof yypResourceSchema>;
|
|
22
|
+
declare const yypResourceSchema: z.ZodObject<{
|
|
23
|
+
id: z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
path: z.ZodString;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
path: string;
|
|
28
|
+
name: string;
|
|
29
|
+
}, {
|
|
30
|
+
path: string;
|
|
31
|
+
name: string;
|
|
32
|
+
}>;
|
|
33
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
id: {
|
|
36
|
+
path: string;
|
|
37
|
+
name: string;
|
|
38
|
+
};
|
|
39
|
+
order: number;
|
|
40
|
+
}, {
|
|
41
|
+
id: {
|
|
42
|
+
path: string;
|
|
43
|
+
name: string;
|
|
44
|
+
};
|
|
45
|
+
order?: number | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
export type YypOption = z.infer<typeof yypOptionSchema>;
|
|
48
|
+
declare const yypOptionSchema: z.ZodObject<{
|
|
49
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
path: string;
|
|
54
|
+
name: string;
|
|
55
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
path: string;
|
|
58
|
+
name: string;
|
|
59
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
export interface YypConfig {
|
|
62
|
+
name: string;
|
|
63
|
+
children: YypConfig[];
|
|
64
|
+
}
|
|
65
|
+
export type YypRoomOrderNode = z.infer<typeof yypRoomOrderNodeSchema>;
|
|
66
|
+
declare const yypRoomOrderNodeSchema: z.ZodObject<{
|
|
67
|
+
roomId: z.ZodObject<{
|
|
68
|
+
name: z.ZodString;
|
|
69
|
+
/** rooms/{name}/{name}.yy */
|
|
70
|
+
path: z.ZodString;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
path: string;
|
|
73
|
+
name: string;
|
|
74
|
+
}, {
|
|
75
|
+
path: string;
|
|
76
|
+
name: string;
|
|
77
|
+
}>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
roomId: {
|
|
80
|
+
path: string;
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
roomId: {
|
|
85
|
+
path: string;
|
|
86
|
+
name: string;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
89
|
+
export type YypFolder = z.infer<typeof yypFolderSchema>;
|
|
90
|
+
declare const yypFolderSchema: z.ZodObject<{
|
|
91
|
+
name: z.ZodString;
|
|
92
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
93
|
+
folderPath: z.ZodString;
|
|
94
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
95
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
96
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
name: string;
|
|
99
|
+
resourceType: "GMFolder";
|
|
100
|
+
resourceVersion: "1.0";
|
|
101
|
+
order: number;
|
|
102
|
+
folderPath: string;
|
|
103
|
+
tags?: string[] | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
name: string;
|
|
106
|
+
folderPath: string;
|
|
107
|
+
tags?: string[] | undefined;
|
|
108
|
+
order?: number | undefined;
|
|
109
|
+
resourceType?: "GMFolder" | undefined;
|
|
110
|
+
resourceVersion?: "1.0" | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
export type YypAudioGroup = z.infer<typeof yypAudioGroupSchema>;
|
|
113
|
+
export type YypAudioGroupLoose = z.input<typeof yypAudioGroupSchema>;
|
|
114
|
+
export declare const yypAudioGroupSchema: z.ZodObject<{
|
|
115
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
116
|
+
name: z.ZodString;
|
|
117
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
118
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
119
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
name: string;
|
|
122
|
+
resourceType: "GMAudioGroup";
|
|
123
|
+
resourceVersion: "1.3";
|
|
124
|
+
targets: bigint;
|
|
125
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
name: string;
|
|
128
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
129
|
+
targets?: number | bigint | undefined;
|
|
130
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
131
|
+
resourceVersion?: "1.3" | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
export type YypTextureGroup = z.infer<typeof yypTextureGroupSchema>;
|
|
134
|
+
export declare const yypTextureGroupSchema: z.ZodObject<{
|
|
135
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
136
|
+
name: z.ZodString;
|
|
137
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
138
|
+
name: z.ZodString;
|
|
139
|
+
path: z.ZodString;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
path: string;
|
|
142
|
+
name: string;
|
|
143
|
+
}, {
|
|
144
|
+
path: string;
|
|
145
|
+
name: string;
|
|
146
|
+
}>>>;
|
|
147
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
148
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
149
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
150
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
151
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
152
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
153
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
154
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
155
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
156
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
name: string;
|
|
159
|
+
resourceType: "GMTextureGroup";
|
|
160
|
+
resourceVersion: "1.3";
|
|
161
|
+
targets: bigint;
|
|
162
|
+
groupParent: {
|
|
163
|
+
path: string;
|
|
164
|
+
name: string;
|
|
165
|
+
} | null;
|
|
166
|
+
isScaled: boolean;
|
|
167
|
+
autocrop: boolean;
|
|
168
|
+
border: number;
|
|
169
|
+
mipsToGenerate: number;
|
|
170
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
171
|
+
compressFormat?: string | undefined;
|
|
172
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
173
|
+
directory?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
name: string;
|
|
176
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
177
|
+
groupParent?: {
|
|
178
|
+
path: string;
|
|
179
|
+
name: string;
|
|
180
|
+
} | null | undefined;
|
|
181
|
+
isScaled?: boolean | undefined;
|
|
182
|
+
compressFormat?: string | undefined;
|
|
183
|
+
autocrop?: boolean | undefined;
|
|
184
|
+
border?: number | undefined;
|
|
185
|
+
mipsToGenerate?: number | undefined;
|
|
186
|
+
targets?: number | bigint | undefined;
|
|
187
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
188
|
+
directory?: string | undefined;
|
|
189
|
+
resourceType?: "GMTextureGroup" | undefined;
|
|
190
|
+
resourceVersion?: "1.3" | undefined;
|
|
191
|
+
}>;
|
|
192
|
+
export type YypIncludedFile = z.infer<typeof yypIncludedFileSchema>;
|
|
193
|
+
declare const yypIncludedFileSchema: z.ZodObject<{
|
|
194
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
195
|
+
CopyToMask: z.ZodString;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
CopyToMask: string;
|
|
198
|
+
}, {
|
|
199
|
+
CopyToMask: string;
|
|
200
|
+
}>>>;
|
|
201
|
+
/** The name of the file, including extension, without the path */
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
204
|
+
/** `datafiles/${subdir}` */
|
|
205
|
+
filePath: z.ZodString;
|
|
206
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
207
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
name: string;
|
|
210
|
+
resourceType: "GMIncludedFile";
|
|
211
|
+
resourceVersion: "1.0";
|
|
212
|
+
CopyToMask: bigint;
|
|
213
|
+
filePath: string;
|
|
214
|
+
ConfigValues?: Record<string, {
|
|
215
|
+
CopyToMask: string;
|
|
216
|
+
}> | undefined;
|
|
217
|
+
}, {
|
|
218
|
+
name: string;
|
|
219
|
+
filePath: string;
|
|
220
|
+
ConfigValues?: Record<string, {
|
|
221
|
+
CopyToMask: string;
|
|
222
|
+
}> | undefined;
|
|
223
|
+
CopyToMask?: number | bigint | undefined;
|
|
224
|
+
resourceType?: "GMIncludedFile" | undefined;
|
|
225
|
+
resourceVersion?: "1.0" | undefined;
|
|
226
|
+
}>;
|
|
227
|
+
/** The YYP content that has not changed across GMS2.3 subversions */
|
|
228
|
+
export type Yyp = z.infer<typeof yypSchema>;
|
|
229
|
+
export declare const yypSchema: z.ZodObject<{
|
|
230
|
+
name: z.ZodString;
|
|
231
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMProject">>;
|
|
232
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
233
|
+
id: z.ZodObject<{
|
|
234
|
+
name: z.ZodString;
|
|
235
|
+
path: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
path: string;
|
|
238
|
+
name: string;
|
|
239
|
+
}, {
|
|
240
|
+
path: string;
|
|
241
|
+
name: string;
|
|
242
|
+
}>;
|
|
243
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
id: {
|
|
246
|
+
path: string;
|
|
247
|
+
name: string;
|
|
248
|
+
};
|
|
249
|
+
order: number;
|
|
250
|
+
}, {
|
|
251
|
+
id: {
|
|
252
|
+
path: string;
|
|
253
|
+
name: string;
|
|
254
|
+
};
|
|
255
|
+
order?: number | undefined;
|
|
256
|
+
}>, "many">>;
|
|
257
|
+
RoomOrderNodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
258
|
+
roomId: z.ZodObject<{
|
|
259
|
+
name: z.ZodString;
|
|
260
|
+
/** rooms/{name}/{name}.yy */
|
|
261
|
+
path: z.ZodString;
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
path: string;
|
|
264
|
+
name: string;
|
|
265
|
+
}, {
|
|
266
|
+
path: string;
|
|
267
|
+
name: string;
|
|
268
|
+
}>;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
roomId: {
|
|
271
|
+
path: string;
|
|
272
|
+
name: string;
|
|
273
|
+
};
|
|
274
|
+
}, {
|
|
275
|
+
roomId: {
|
|
276
|
+
path: string;
|
|
277
|
+
name: string;
|
|
278
|
+
};
|
|
279
|
+
}>, "many">>;
|
|
280
|
+
Options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
281
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
282
|
+
name: z.ZodString;
|
|
283
|
+
path: z.ZodString;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
path: string;
|
|
286
|
+
name: string;
|
|
287
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
path: string;
|
|
290
|
+
name: string;
|
|
291
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
292
|
+
}>, "many">>;
|
|
293
|
+
isDnDProject: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
defaultScriptType: z.ZodDefault<z.ZodNumber>;
|
|
295
|
+
isEcma: z.ZodDefault<z.ZodBoolean>;
|
|
296
|
+
tutorialPath: z.ZodOptional<z.ZodString>;
|
|
297
|
+
configs: z.ZodObject<{
|
|
298
|
+
name: z.ZodDefault<z.ZodLiteral<"Default">>;
|
|
299
|
+
children: z.ZodDefault<z.ZodArray<z.ZodType<YypConfig, z.ZodTypeDef, YypConfig>, "many">>;
|
|
300
|
+
}, "strip", z.ZodTypeAny, {
|
|
301
|
+
name: "Default";
|
|
302
|
+
children: YypConfig[];
|
|
303
|
+
}, {
|
|
304
|
+
name?: "Default" | undefined;
|
|
305
|
+
children?: YypConfig[] | undefined;
|
|
306
|
+
}>;
|
|
307
|
+
Folders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
308
|
+
name: z.ZodString;
|
|
309
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
|
+
folderPath: z.ZodString;
|
|
311
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
312
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMFolder">>;
|
|
313
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
name: string;
|
|
316
|
+
resourceType: "GMFolder";
|
|
317
|
+
resourceVersion: "1.0";
|
|
318
|
+
order: number;
|
|
319
|
+
folderPath: string;
|
|
320
|
+
tags?: string[] | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
name: string;
|
|
323
|
+
folderPath: string;
|
|
324
|
+
tags?: string[] | undefined;
|
|
325
|
+
order?: number | undefined;
|
|
326
|
+
resourceType?: "GMFolder" | undefined;
|
|
327
|
+
resourceVersion?: "1.0" | undefined;
|
|
328
|
+
}>, "many">>;
|
|
329
|
+
AudioGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
330
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
331
|
+
name: z.ZodString;
|
|
332
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
333
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMAudioGroup">>;
|
|
334
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
name: string;
|
|
337
|
+
resourceType: "GMAudioGroup";
|
|
338
|
+
resourceVersion: "1.3";
|
|
339
|
+
targets: bigint;
|
|
340
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
341
|
+
}, {
|
|
342
|
+
name: string;
|
|
343
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
344
|
+
targets?: number | bigint | undefined;
|
|
345
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
346
|
+
resourceVersion?: "1.3" | undefined;
|
|
347
|
+
}>, "many">>;
|
|
348
|
+
TextureGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
350
|
+
name: z.ZodString;
|
|
351
|
+
groupParent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
352
|
+
name: z.ZodString;
|
|
353
|
+
path: z.ZodString;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
path: string;
|
|
356
|
+
name: string;
|
|
357
|
+
}, {
|
|
358
|
+
path: string;
|
|
359
|
+
name: string;
|
|
360
|
+
}>>>;
|
|
361
|
+
isScaled: z.ZodDefault<z.ZodBoolean>;
|
|
362
|
+
compressFormat: z.ZodOptional<z.ZodString>;
|
|
363
|
+
autocrop: z.ZodDefault<z.ZodBoolean>;
|
|
364
|
+
border: z.ZodDefault<z.ZodNumber>;
|
|
365
|
+
mipsToGenerate: z.ZodDefault<z.ZodNumber>;
|
|
366
|
+
targets: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
367
|
+
loadType: z.ZodOptional<z.ZodEnum<["default", "dynamicpages"]>>;
|
|
368
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
369
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMTextureGroup">>;
|
|
370
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.3">>;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
name: string;
|
|
373
|
+
resourceType: "GMTextureGroup";
|
|
374
|
+
resourceVersion: "1.3";
|
|
375
|
+
targets: bigint;
|
|
376
|
+
groupParent: {
|
|
377
|
+
path: string;
|
|
378
|
+
name: string;
|
|
379
|
+
} | null;
|
|
380
|
+
isScaled: boolean;
|
|
381
|
+
autocrop: boolean;
|
|
382
|
+
border: number;
|
|
383
|
+
mipsToGenerate: number;
|
|
384
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
385
|
+
compressFormat?: string | undefined;
|
|
386
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
387
|
+
directory?: string | undefined;
|
|
388
|
+
}, {
|
|
389
|
+
name: string;
|
|
390
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
391
|
+
groupParent?: {
|
|
392
|
+
path: string;
|
|
393
|
+
name: string;
|
|
394
|
+
} | null | undefined;
|
|
395
|
+
isScaled?: boolean | undefined;
|
|
396
|
+
compressFormat?: string | undefined;
|
|
397
|
+
autocrop?: boolean | undefined;
|
|
398
|
+
border?: number | undefined;
|
|
399
|
+
mipsToGenerate?: number | undefined;
|
|
400
|
+
targets?: number | bigint | undefined;
|
|
401
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
402
|
+
directory?: string | undefined;
|
|
403
|
+
resourceType?: "GMTextureGroup" | undefined;
|
|
404
|
+
resourceVersion?: "1.3" | undefined;
|
|
405
|
+
}>, "many">>;
|
|
406
|
+
IncludedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
407
|
+
ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
408
|
+
CopyToMask: z.ZodString;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
CopyToMask: string;
|
|
411
|
+
}, {
|
|
412
|
+
CopyToMask: string;
|
|
413
|
+
}>>>;
|
|
414
|
+
/** The name of the file, including extension, without the path */
|
|
415
|
+
name: z.ZodString;
|
|
416
|
+
CopyToMask: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>, bigint, number | bigint>>;
|
|
417
|
+
/** `datafiles/${subdir}` */
|
|
418
|
+
filePath: z.ZodString;
|
|
419
|
+
resourceType: z.ZodDefault<z.ZodLiteral<"GMIncludedFile">>;
|
|
420
|
+
resourceVersion: z.ZodDefault<z.ZodLiteral<"1.0">>;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
name: string;
|
|
423
|
+
resourceType: "GMIncludedFile";
|
|
424
|
+
resourceVersion: "1.0";
|
|
425
|
+
CopyToMask: bigint;
|
|
426
|
+
filePath: string;
|
|
427
|
+
ConfigValues?: Record<string, {
|
|
428
|
+
CopyToMask: string;
|
|
429
|
+
}> | undefined;
|
|
430
|
+
}, {
|
|
431
|
+
name: string;
|
|
432
|
+
filePath: string;
|
|
433
|
+
ConfigValues?: Record<string, {
|
|
434
|
+
CopyToMask: string;
|
|
435
|
+
}> | undefined;
|
|
436
|
+
CopyToMask?: number | bigint | undefined;
|
|
437
|
+
resourceType?: "GMIncludedFile" | undefined;
|
|
438
|
+
resourceVersion?: "1.0" | undefined;
|
|
439
|
+
}>, "many">>;
|
|
440
|
+
MetaData: z.ZodObject<{
|
|
441
|
+
IDEVersion: z.ZodString;
|
|
442
|
+
}, "strip", z.ZodTypeAny, {
|
|
443
|
+
IDEVersion: string;
|
|
444
|
+
}, {
|
|
445
|
+
IDEVersion: string;
|
|
446
|
+
}>;
|
|
447
|
+
resourceVersion: z.ZodString;
|
|
448
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
name: string;
|
|
451
|
+
resourceType: "GMProject";
|
|
452
|
+
resourceVersion: string;
|
|
453
|
+
resources: {
|
|
454
|
+
id: {
|
|
455
|
+
path: string;
|
|
456
|
+
name: string;
|
|
457
|
+
};
|
|
458
|
+
order: number;
|
|
459
|
+
}[];
|
|
460
|
+
RoomOrderNodes: {
|
|
461
|
+
roomId: {
|
|
462
|
+
path: string;
|
|
463
|
+
name: string;
|
|
464
|
+
};
|
|
465
|
+
}[];
|
|
466
|
+
Options: {
|
|
467
|
+
path: string;
|
|
468
|
+
name: string;
|
|
469
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
470
|
+
}[];
|
|
471
|
+
defaultScriptType: number;
|
|
472
|
+
isEcma: boolean;
|
|
473
|
+
configs: {
|
|
474
|
+
name: "Default";
|
|
475
|
+
children: YypConfig[];
|
|
476
|
+
};
|
|
477
|
+
Folders: {
|
|
478
|
+
name: string;
|
|
479
|
+
resourceType: "GMFolder";
|
|
480
|
+
resourceVersion: "1.0";
|
|
481
|
+
order: number;
|
|
482
|
+
folderPath: string;
|
|
483
|
+
tags?: string[] | undefined;
|
|
484
|
+
}[];
|
|
485
|
+
AudioGroups: {
|
|
486
|
+
name: string;
|
|
487
|
+
resourceType: "GMAudioGroup";
|
|
488
|
+
resourceVersion: "1.3";
|
|
489
|
+
targets: bigint;
|
|
490
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
491
|
+
}[];
|
|
492
|
+
TextureGroups: {
|
|
493
|
+
name: string;
|
|
494
|
+
resourceType: "GMTextureGroup";
|
|
495
|
+
resourceVersion: "1.3";
|
|
496
|
+
targets: bigint;
|
|
497
|
+
groupParent: {
|
|
498
|
+
path: string;
|
|
499
|
+
name: string;
|
|
500
|
+
} | null;
|
|
501
|
+
isScaled: boolean;
|
|
502
|
+
autocrop: boolean;
|
|
503
|
+
border: number;
|
|
504
|
+
mipsToGenerate: number;
|
|
505
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
506
|
+
compressFormat?: string | undefined;
|
|
507
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
508
|
+
directory?: string | undefined;
|
|
509
|
+
}[];
|
|
510
|
+
IncludedFiles: {
|
|
511
|
+
name: string;
|
|
512
|
+
resourceType: "GMIncludedFile";
|
|
513
|
+
resourceVersion: "1.0";
|
|
514
|
+
CopyToMask: bigint;
|
|
515
|
+
filePath: string;
|
|
516
|
+
ConfigValues?: Record<string, {
|
|
517
|
+
CopyToMask: string;
|
|
518
|
+
}> | undefined;
|
|
519
|
+
}[];
|
|
520
|
+
MetaData: {
|
|
521
|
+
IDEVersion: string;
|
|
522
|
+
};
|
|
523
|
+
isDnDProject?: boolean | undefined;
|
|
524
|
+
tutorialPath?: string | undefined;
|
|
525
|
+
tags?: string[] | undefined;
|
|
526
|
+
}, {
|
|
527
|
+
name: string;
|
|
528
|
+
resourceVersion: string;
|
|
529
|
+
configs: {
|
|
530
|
+
name?: "Default" | undefined;
|
|
531
|
+
children?: YypConfig[] | undefined;
|
|
532
|
+
};
|
|
533
|
+
MetaData: {
|
|
534
|
+
IDEVersion: string;
|
|
535
|
+
};
|
|
536
|
+
resourceType?: "GMProject" | undefined;
|
|
537
|
+
resources?: {
|
|
538
|
+
id: {
|
|
539
|
+
path: string;
|
|
540
|
+
name: string;
|
|
541
|
+
};
|
|
542
|
+
order?: number | undefined;
|
|
543
|
+
}[] | undefined;
|
|
544
|
+
RoomOrderNodes?: {
|
|
545
|
+
roomId: {
|
|
546
|
+
path: string;
|
|
547
|
+
name: string;
|
|
548
|
+
};
|
|
549
|
+
}[] | undefined;
|
|
550
|
+
Options?: {
|
|
551
|
+
path: string;
|
|
552
|
+
name: string;
|
|
553
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
554
|
+
}[] | undefined;
|
|
555
|
+
isDnDProject?: boolean | undefined;
|
|
556
|
+
defaultScriptType?: number | undefined;
|
|
557
|
+
isEcma?: boolean | undefined;
|
|
558
|
+
tutorialPath?: string | undefined;
|
|
559
|
+
Folders?: {
|
|
560
|
+
name: string;
|
|
561
|
+
folderPath: string;
|
|
562
|
+
tags?: string[] | undefined;
|
|
563
|
+
order?: number | undefined;
|
|
564
|
+
resourceType?: "GMFolder" | undefined;
|
|
565
|
+
resourceVersion?: "1.0" | undefined;
|
|
566
|
+
}[] | undefined;
|
|
567
|
+
AudioGroups?: {
|
|
568
|
+
name: string;
|
|
569
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
570
|
+
targets?: number | bigint | undefined;
|
|
571
|
+
resourceType?: "GMAudioGroup" | undefined;
|
|
572
|
+
resourceVersion?: "1.3" | undefined;
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
TextureGroups?: {
|
|
575
|
+
name: string;
|
|
576
|
+
ConfigValues?: Record<string, Record<string, string>> | undefined;
|
|
577
|
+
groupParent?: {
|
|
578
|
+
path: string;
|
|
579
|
+
name: string;
|
|
580
|
+
} | null | undefined;
|
|
581
|
+
isScaled?: boolean | undefined;
|
|
582
|
+
compressFormat?: string | undefined;
|
|
583
|
+
autocrop?: boolean | undefined;
|
|
584
|
+
border?: number | undefined;
|
|
585
|
+
mipsToGenerate?: number | undefined;
|
|
586
|
+
targets?: number | bigint | undefined;
|
|
587
|
+
loadType?: "default" | "dynamicpages" | undefined;
|
|
588
|
+
directory?: string | undefined;
|
|
589
|
+
resourceType?: "GMTextureGroup" | undefined;
|
|
590
|
+
resourceVersion?: "1.3" | undefined;
|
|
591
|
+
}[] | undefined;
|
|
592
|
+
IncludedFiles?: {
|
|
593
|
+
name: string;
|
|
594
|
+
filePath: string;
|
|
595
|
+
ConfigValues?: Record<string, {
|
|
596
|
+
CopyToMask: string;
|
|
597
|
+
}> | undefined;
|
|
598
|
+
CopyToMask?: number | bigint | undefined;
|
|
599
|
+
resourceType?: "GMIncludedFile" | undefined;
|
|
600
|
+
resourceVersion?: "1.0" | undefined;
|
|
601
|
+
}[] | undefined;
|
|
602
|
+
tags?: string[] | undefined;
|
|
603
|
+
}>;
|
|
604
|
+
export {};
|
|
605
605
|
//# sourceMappingURL=Yyp.d.ts.map
|