@bscotch/gml-parser 1.14.3 → 1.14.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.
@@ -1,123 +1,42 @@
1
- import { ZodTypeAny, z } from 'zod';
1
+ import { z } from 'zod';
2
2
  export type GmlSpec = z.output<typeof gmlSpecSchema>;
3
3
  export type GmlSpecFunction = GmlSpec['functions'][number];
4
4
  export type GmlSpecVariable = GmlSpec['variables'][number];
5
5
  export type GmlSpecConstant = GmlSpec['constants'][number];
6
6
  export type GmlSpecEntry = GmlSpecFunction | GmlSpecVariable | GmlSpecConstant;
7
- export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
8
- GameMakerLanguageSpec: z.ZodEffects<z.ZodObject<{
7
+ export declare const gmlSpecSchema: z.ZodPipe<z.ZodObject<{
8
+ GameMakerLanguageSpec: z.ZodPipe<z.ZodObject<{
9
9
  $: z.ZodObject<{
10
10
  RuntimeVersion: z.ZodString;
11
11
  Module: z.ZodDefault<z.ZodString>;
12
- }, "strip", ZodTypeAny, {
13
- RuntimeVersion: string;
14
- Module: string;
15
- }, {
16
- RuntimeVersion: string;
17
- Module?: string | undefined;
18
- }>;
12
+ }, z.core.$strip>;
19
13
  Functions: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
- Function: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
14
+ Function: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
21
15
  $: z.ZodObject<{
22
16
  Name: z.ZodString;
23
- Deprecated: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
24
- ReturnType: z.ZodEffects<z.ZodString, string, string>;
25
- Pure: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
26
- Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
17
+ Deprecated: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
18
+ ReturnType: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
19
+ Pure: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
20
+ Locale: z.ZodOptional<z.ZodEnum<{
21
+ GB: "GB";
22
+ US: "US";
23
+ }>>;
27
24
  FeatureFlag: z.ZodOptional<z.ZodString>;
28
- }, "strict", ZodTypeAny, {
29
- Name: string;
30
- Deprecated: boolean;
31
- ReturnType: string;
32
- Pure: boolean;
33
- Locale?: "GB" | "US" | undefined;
34
- FeatureFlag?: string | undefined;
35
- }, {
36
- Name: string;
37
- Deprecated: "true" | "false";
38
- ReturnType: string;
39
- Pure: "true" | "false";
40
- Locale?: "GB" | "US" | undefined;
41
- FeatureFlag?: string | undefined;
42
- }>;
43
- Description: z.ZodEffects<z.ZodOptional<z.ZodTuple<[ZodTypeAny, ...ZodTypeAny[]], null>>, [any, ...any[]] | undefined, unknown>;
25
+ }, z.core.$strict>;
26
+ Description: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
27
  Parameter: z.ZodDefault<z.ZodArray<z.ZodObject<{
45
28
  _: z.ZodOptional<z.ZodString>;
46
29
  $: z.ZodObject<{
47
30
  Name: z.ZodString;
48
- Type: z.ZodEffects<z.ZodString, string, string>;
49
- Optional: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
50
- Coerce: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">>;
51
- }, "strict", ZodTypeAny, {
52
- Type: string;
53
- Name: string;
54
- Optional: boolean;
55
- Coerce?: boolean | undefined;
56
- }, {
57
- Type: string;
58
- Name: string;
59
- Optional: "true" | "false";
60
- Coerce?: "true" | "false" | undefined;
61
- }>;
62
- }, "strict", ZodTypeAny, {
63
- $: {
64
- Type: string;
65
- Name: string;
66
- Optional: boolean;
67
- Coerce?: boolean | undefined;
68
- };
69
- _?: string | undefined;
70
- }, {
71
- $: {
72
- Type: string;
73
- Name: string;
74
- Optional: "true" | "false";
75
- Coerce?: "true" | "false" | undefined;
76
- };
77
- _?: string | undefined;
78
- }>, "many">>;
79
- }, "strict", ZodTypeAny, {
80
- $: {
81
- Name: string;
82
- Deprecated: boolean;
83
- ReturnType: string;
84
- Pure: boolean;
85
- Locale?: "GB" | "US" | undefined;
86
- FeatureFlag?: string | undefined;
87
- };
88
- Parameter: {
89
- $: {
90
- Type: string;
91
- Name: string;
92
- Optional: boolean;
93
- Coerce?: boolean | undefined;
94
- };
95
- _?: string | undefined;
96
- }[];
97
- Description?: [any, ...any[]] | undefined;
98
- }, {
99
- $: {
100
- Name: string;
101
- Deprecated: "true" | "false";
102
- ReturnType: string;
103
- Pure: "true" | "false";
104
- Locale?: "GB" | "US" | undefined;
105
- FeatureFlag?: string | undefined;
106
- };
107
- Description?: unknown;
108
- Parameter?: {
109
- $: {
110
- Type: string;
111
- Name: string;
112
- Optional: "true" | "false";
113
- Coerce?: "true" | "false" | undefined;
114
- };
115
- _?: string | undefined;
116
- }[] | undefined;
117
- }>, {
31
+ Type: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
32
+ Optional: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
33
+ Coerce: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>>;
34
+ }, z.core.$strict>;
35
+ }, z.core.$strict>>>;
36
+ }, z.core.$strict>, z.ZodTransform<{
118
37
  module: string;
119
38
  name: string;
120
- description: any;
39
+ description: string | undefined;
121
40
  deprecated: boolean;
122
41
  pure: boolean;
123
42
  returnType: string;
@@ -133,119 +52,41 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
133
52
  }, {
134
53
  $: {
135
54
  Name: string;
136
- Deprecated: "true" | "false";
55
+ Deprecated: boolean;
137
56
  ReturnType: string;
138
- Pure: "true" | "false";
57
+ Pure: boolean;
139
58
  Locale?: "GB" | "US" | undefined;
140
59
  FeatureFlag?: string | undefined;
141
60
  };
142
- Description?: unknown;
143
- Parameter?: {
61
+ Parameter: {
144
62
  $: {
145
- Type: string;
146
63
  Name: string;
147
- Optional: "true" | "false";
148
- Coerce?: "true" | "false" | undefined;
149
- };
150
- _?: string | undefined;
151
- }[] | undefined;
152
- }>, "many">>;
153
- }, "strip", ZodTypeAny, {
154
- Function: {
155
- module: string;
156
- name: string;
157
- description: any;
158
- deprecated: boolean;
159
- pure: boolean;
160
- returnType: string;
161
- featureFlag: string | undefined;
162
- locale: "GB" | "US" | undefined;
163
- parameters: {
164
- name: string;
165
- description: string | undefined;
166
- type: string;
167
- optional: boolean;
168
- coerce: boolean | undefined;
169
- }[];
170
- }[];
171
- }, {
172
- Function?: {
173
- $: {
174
- Name: string;
175
- Deprecated: "true" | "false";
176
- ReturnType: string;
177
- Pure: "true" | "false";
178
- Locale?: "GB" | "US" | undefined;
179
- FeatureFlag?: string | undefined;
180
- };
181
- Description?: unknown;
182
- Parameter?: {
183
- $: {
184
64
  Type: string;
185
- Name: string;
186
- Optional: "true" | "false";
187
- Coerce?: "true" | "false" | undefined;
65
+ Optional: boolean;
66
+ Coerce?: boolean | undefined;
188
67
  };
189
68
  _?: string | undefined;
190
- }[] | undefined;
191
- }[] | undefined;
192
- }>, "many">>;
69
+ }[];
70
+ Description?: string[] | undefined;
71
+ }>>>>;
72
+ }, z.core.$strip>>>;
193
73
  Variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
- Variable: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
74
+ Variable: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
195
75
  _: z.ZodOptional<z.ZodString>;
196
76
  $: z.ZodObject<{
197
77
  Name: z.ZodString;
198
- Type: z.ZodEffects<z.ZodString, string, string>;
199
- Deprecated: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
200
- Get: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
201
- Set: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
202
- Instance: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
78
+ Type: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
79
+ Deprecated: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
80
+ Get: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
81
+ Set: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
82
+ Instance: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
203
83
  FeatureFlag: z.ZodOptional<z.ZodString>;
204
- Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
205
- }, "strict", ZodTypeAny, {
206
- Type: string;
207
- Name: string;
208
- Deprecated: boolean;
209
- Get: boolean;
210
- Set: boolean;
211
- Instance: boolean;
212
- Locale?: "GB" | "US" | undefined;
213
- FeatureFlag?: string | undefined;
214
- }, {
215
- Type: string;
216
- Name: string;
217
- Deprecated: "true" | "false";
218
- Get: "true" | "false";
219
- Set: "true" | "false";
220
- Instance: "true" | "false";
221
- Locale?: "GB" | "US" | undefined;
222
- FeatureFlag?: string | undefined;
223
- }>;
224
- }, "strict", ZodTypeAny, {
225
- $: {
226
- Type: string;
227
- Name: string;
228
- Deprecated: boolean;
229
- Get: boolean;
230
- Set: boolean;
231
- Instance: boolean;
232
- Locale?: "GB" | "US" | undefined;
233
- FeatureFlag?: string | undefined;
234
- };
235
- _?: string | undefined;
236
- }, {
237
- $: {
238
- Type: string;
239
- Name: string;
240
- Deprecated: "true" | "false";
241
- Get: "true" | "false";
242
- Set: "true" | "false";
243
- Instance: "true" | "false";
244
- Locale?: "GB" | "US" | undefined;
245
- FeatureFlag?: string | undefined;
246
- };
247
- _?: string | undefined;
248
- }>, {
84
+ Locale: z.ZodOptional<z.ZodEnum<{
85
+ GB: "GB";
86
+ US: "US";
87
+ }>>;
88
+ }, z.core.$strict>;
89
+ }, z.core.$strict>, z.ZodTransform<{
249
90
  module: string;
250
91
  name: string;
251
92
  description: string | undefined;
@@ -258,91 +99,33 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
258
99
  locale: "GB" | "US" | undefined;
259
100
  }, {
260
101
  $: {
261
- Type: string;
262
102
  Name: string;
263
- Deprecated: "true" | "false";
264
- Get: "true" | "false";
265
- Set: "true" | "false";
266
- Instance: "true" | "false";
267
- Locale?: "GB" | "US" | undefined;
268
- FeatureFlag?: string | undefined;
269
- };
270
- _?: string | undefined;
271
- }>, "many">>;
272
- }, "strip", ZodTypeAny, {
273
- Variable: {
274
- module: string;
275
- name: string;
276
- description: string | undefined;
277
- type: string;
278
- deprecated: boolean;
279
- readable: boolean;
280
- writable: boolean;
281
- instance: boolean;
282
- featureFlag: string | undefined;
283
- locale: "GB" | "US" | undefined;
284
- }[];
285
- }, {
286
- Variable?: {
287
- $: {
288
103
  Type: string;
289
- Name: string;
290
- Deprecated: "true" | "false";
291
- Get: "true" | "false";
292
- Set: "true" | "false";
293
- Instance: "true" | "false";
294
- Locale?: "GB" | "US" | undefined;
104
+ Deprecated: boolean;
105
+ Get: boolean;
106
+ Set: boolean;
107
+ Instance: boolean;
295
108
  FeatureFlag?: string | undefined;
109
+ Locale?: "GB" | "US" | undefined;
296
110
  };
297
111
  _?: string | undefined;
298
- }[] | undefined;
299
- }>, "many">>;
112
+ }>>>>;
113
+ }, z.core.$strip>>>;
300
114
  Constants: z.ZodOptional<z.ZodArray<z.ZodObject<{
301
- Constant: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
115
+ Constant: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
302
116
  _: z.ZodOptional<z.ZodString>;
303
117
  $: z.ZodObject<{
304
118
  Name: z.ZodString;
305
119
  Class: z.ZodOptional<z.ZodString>;
306
- Type: z.ZodEffects<z.ZodString, string, string>;
307
- Deprecated: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">>;
120
+ Type: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
121
+ Deprecated: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>>;
308
122
  FeatureFlag: z.ZodOptional<z.ZodString>;
309
- Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
310
- }, "strict", ZodTypeAny, {
311
- Type: string;
312
- Name: string;
313
- Deprecated?: boolean | undefined;
314
- Locale?: "GB" | "US" | undefined;
315
- FeatureFlag?: string | undefined;
316
- Class?: string | undefined;
317
- }, {
318
- Type: string;
319
- Name: string;
320
- Deprecated?: "true" | "false" | undefined;
321
- Locale?: "GB" | "US" | undefined;
322
- FeatureFlag?: string | undefined;
323
- Class?: string | undefined;
324
- }>;
325
- }, "strict", ZodTypeAny, {
326
- $: {
327
- Type: string;
328
- Name: string;
329
- Deprecated?: boolean | undefined;
330
- Locale?: "GB" | "US" | undefined;
331
- FeatureFlag?: string | undefined;
332
- Class?: string | undefined;
333
- };
334
- _?: string | undefined;
335
- }, {
336
- $: {
337
- Type: string;
338
- Name: string;
339
- Deprecated?: "true" | "false" | undefined;
340
- Locale?: "GB" | "US" | undefined;
341
- FeatureFlag?: string | undefined;
342
- Class?: string | undefined;
343
- };
344
- _?: string | undefined;
345
- }>, {
123
+ Locale: z.ZodOptional<z.ZodEnum<{
124
+ GB: "GB";
125
+ US: "US";
126
+ }>>;
127
+ }, z.core.$strict>;
128
+ }, z.core.$strict>, z.ZodTransform<{
346
129
  module: string;
347
130
  name: string;
348
131
  description: string | undefined;
@@ -353,91 +136,35 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
353
136
  locale: "GB" | "US" | undefined;
354
137
  }, {
355
138
  $: {
356
- Type: string;
357
139
  Name: string;
358
- Deprecated?: "true" | "false" | undefined;
359
- Locale?: "GB" | "US" | undefined;
360
- FeatureFlag?: string | undefined;
361
- Class?: string | undefined;
362
- };
363
- _?: string | undefined;
364
- }>, "many">>;
365
- }, "strip", ZodTypeAny, {
366
- Constant: {
367
- module: string;
368
- name: string;
369
- description: string | undefined;
370
- class: string | undefined;
371
- type: string;
372
- deprecated: boolean | undefined;
373
- featureFlag: string | undefined;
374
- locale: "GB" | "US" | undefined;
375
- }[];
376
- }, {
377
- Constant?: {
378
- $: {
379
140
  Type: string;
380
- Name: string;
381
- Deprecated?: "true" | "false" | undefined;
382
- Locale?: "GB" | "US" | undefined;
383
- FeatureFlag?: string | undefined;
384
141
  Class?: string | undefined;
142
+ Deprecated?: boolean | undefined;
143
+ FeatureFlag?: string | undefined;
144
+ Locale?: "GB" | "US" | undefined;
385
145
  };
386
146
  _?: string | undefined;
387
- }[] | undefined;
388
- }>, "many">>;
147
+ }>>>>;
148
+ }, z.core.$strip>>>;
389
149
  Structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
390
- Structure: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
150
+ Structure: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
391
151
  $: z.ZodObject<{
392
152
  Name: z.ZodString;
393
153
  FeatureFlag: z.ZodOptional<z.ZodString>;
394
- }, "strict", ZodTypeAny, {
395
- Name: string;
396
- FeatureFlag?: string | undefined;
397
- }, {
398
- Name: string;
399
- FeatureFlag?: string | undefined;
400
- }>;
401
- Field: z.ZodArray<z.ZodEffects<z.ZodObject<{
154
+ }, z.core.$strict>;
155
+ Field: z.ZodArray<z.ZodPipe<z.ZodObject<{
402
156
  _: z.ZodOptional<z.ZodString>;
403
157
  $: z.ZodObject<{
404
158
  Name: z.ZodString;
405
- Type: z.ZodEffects<z.ZodString, string, string>;
406
- Get: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
407
- Set: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
408
- Locale: z.ZodOptional<z.ZodEnum<["GB", "US"]>>;
409
- }, "strict", ZodTypeAny, {
410
- Type: string;
411
- Name: string;
412
- Get: boolean;
413
- Set: boolean;
414
- Locale?: "GB" | "US" | undefined;
415
- }, {
416
- Type: string;
417
- Name: string;
418
- Get: "true" | "false";
419
- Set: "true" | "false";
420
- Locale?: "GB" | "US" | undefined;
421
- }>;
422
- }, "strict", ZodTypeAny, {
423
- $: {
424
- Type: string;
425
- Name: string;
426
- Get: boolean;
427
- Set: boolean;
428
- Locale?: "GB" | "US" | undefined;
429
- };
430
- _?: string | undefined;
431
- }, {
432
- $: {
433
- Type: string;
434
- Name: string;
435
- Get: "true" | "false";
436
- Set: "true" | "false";
437
- Locale?: "GB" | "US" | undefined;
438
- };
439
- _?: string | undefined;
440
- }>, {
159
+ Type: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
160
+ Get: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
161
+ Set: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
162
+ Locale: z.ZodOptional<z.ZodEnum<{
163
+ GB: "GB";
164
+ US: "US";
165
+ }>>;
166
+ }, z.core.$strict>;
167
+ }, z.core.$strict>, z.ZodTransform<{
441
168
  name: string;
442
169
  description: string | undefined;
443
170
  type: string;
@@ -446,20 +173,19 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
446
173
  locale: "GB" | "US" | undefined;
447
174
  }, {
448
175
  $: {
449
- Type: string;
450
176
  Name: string;
451
- Get: "true" | "false";
452
- Set: "true" | "false";
177
+ Type: string;
178
+ Get: boolean;
179
+ Set: boolean;
453
180
  Locale?: "GB" | "US" | undefined;
454
181
  };
455
182
  _?: string | undefined;
456
- }>, "many">;
457
- }, "strict", ZodTypeAny, {
458
- $: {
459
- Name: string;
460
- FeatureFlag?: string | undefined;
461
- };
462
- Field: {
183
+ }>>>;
184
+ }, z.core.$strict>, z.ZodTransform<{
185
+ module: string;
186
+ name: string;
187
+ featureFlag: string | undefined;
188
+ properties: {
463
189
  name: string;
464
190
  description: string | undefined;
465
191
  type: string;
@@ -473,49 +199,6 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
473
199
  FeatureFlag?: string | undefined;
474
200
  };
475
201
  Field: {
476
- $: {
477
- Type: string;
478
- Name: string;
479
- Get: "true" | "false";
480
- Set: "true" | "false";
481
- Locale?: "GB" | "US" | undefined;
482
- };
483
- _?: string | undefined;
484
- }[];
485
- }>, {
486
- module: string;
487
- name: string;
488
- featureFlag: string | undefined;
489
- properties: {
490
- name: string;
491
- description: string | undefined;
492
- type: string;
493
- readable: boolean;
494
- writable: boolean;
495
- locale: "GB" | "US" | undefined;
496
- }[];
497
- }, {
498
- $: {
499
- Name: string;
500
- FeatureFlag?: string | undefined;
501
- };
502
- Field: {
503
- $: {
504
- Type: string;
505
- Name: string;
506
- Get: "true" | "false";
507
- Set: "true" | "false";
508
- Locale?: "GB" | "US" | undefined;
509
- };
510
- _?: string | undefined;
511
- }[];
512
- }>, "many">>;
513
- }, "strip", ZodTypeAny, {
514
- Structure: {
515
- module: string;
516
- name: string;
517
- featureFlag: string | undefined;
518
- properties: {
519
202
  name: string;
520
203
  description: string | undefined;
521
204
  type: string;
@@ -523,64 +206,21 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
523
206
  writable: boolean;
524
207
  locale: "GB" | "US" | undefined;
525
208
  }[];
526
- }[];
527
- }, {
528
- Structure?: {
529
- $: {
530
- Name: string;
531
- FeatureFlag?: string | undefined;
532
- };
533
- Field: {
534
- $: {
535
- Type: string;
536
- Name: string;
537
- Get: "true" | "false";
538
- Set: "true" | "false";
539
- Locale?: "GB" | "US" | undefined;
540
- };
541
- _?: string | undefined;
542
- }[];
543
- }[] | undefined;
544
- }>, "many">>;
209
+ }>>>>;
210
+ }, z.core.$strip>>>;
545
211
  Enumerations: z.ZodOptional<z.ZodArray<z.ZodObject<{
546
- Enumeration: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
212
+ Enumeration: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
547
213
  $: z.ZodObject<{
548
214
  Name: z.ZodString;
549
- }, "strict", ZodTypeAny, {
550
- Name: string;
551
- }, {
552
- Name: string;
553
- }>;
554
- Member: z.ZodArray<z.ZodEffects<z.ZodObject<{
215
+ }, z.core.$strict>;
216
+ Member: z.ZodArray<z.ZodPipe<z.ZodObject<{
555
217
  _: z.ZodOptional<z.ZodString>;
556
218
  $: z.ZodObject<{
557
219
  Name: z.ZodString;
558
- Value: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, number, string>;
559
- Deprecated: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "true" | "false">;
560
- }, "strict", ZodTypeAny, {
561
- Name: string;
562
- Deprecated: boolean;
563
- Value: number;
564
- }, {
565
- Name: string;
566
- Deprecated: "true" | "false";
567
- Value: string;
568
- }>;
569
- }, "strict", ZodTypeAny, {
570
- $: {
571
- Name: string;
572
- Deprecated: boolean;
573
- Value: number;
574
- };
575
- _?: string | undefined;
576
- }, {
577
- $: {
578
- Name: string;
579
- Deprecated: "true" | "false";
580
- Value: string;
581
- };
582
- _?: string | undefined;
583
- }>, {
220
+ Value: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
221
+ Deprecated: z.ZodPipe<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, z.ZodTransform<boolean, "true" | "false">>;
222
+ }, z.core.$strict>;
223
+ }, z.core.$strict>, z.ZodTransform<{
584
224
  name: string;
585
225
  description: string | undefined;
586
226
  value: number;
@@ -588,408 +228,39 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
588
228
  }, {
589
229
  $: {
590
230
  Name: string;
591
- Deprecated: "true" | "false";
592
- Value: string;
593
- };
594
- _?: string | undefined;
595
- }>, "many">;
596
- }, "strict", ZodTypeAny, {
597
- $: {
598
- Name: string;
599
- };
600
- Member: {
601
- name: string;
602
- description: string | undefined;
603
- value: number;
604
- deprecated: boolean;
605
- }[];
606
- }, {
607
- $: {
608
- Name: string;
609
- };
610
- Member: {
611
- $: {
612
- Name: string;
613
- Deprecated: "true" | "false";
614
- Value: string;
615
- };
616
- _?: string | undefined;
617
- }[];
618
- }>, {
619
- module: string;
620
- name: string;
621
- members: {
622
- name: string;
623
- description: string | undefined;
624
- value: number;
625
- deprecated: boolean;
626
- }[];
627
- }, {
628
- $: {
629
- Name: string;
630
- };
631
- Member: {
632
- $: {
633
- Name: string;
634
- Deprecated: "true" | "false";
635
- Value: string;
636
- };
637
- _?: string | undefined;
638
- }[];
639
- }>, "many">>;
640
- }, "strip", ZodTypeAny, {
641
- Enumeration: {
642
- module: string;
643
- name: string;
644
- members: {
645
- name: string;
646
- description: string | undefined;
647
- value: number;
648
- deprecated: boolean;
649
- }[];
650
- }[];
651
- }, {
652
- Enumeration?: {
653
- $: {
654
- Name: string;
655
- };
656
- Member: {
657
- $: {
658
- Name: string;
659
- Deprecated: "true" | "false";
660
- Value: string;
231
+ Value: number;
232
+ Deprecated: boolean;
661
233
  };
662
234
  _?: string | undefined;
663
- }[];
664
- }[] | undefined;
665
- }>, "many">>;
666
- }, "strict", ZodTypeAny, {
667
- $: {
668
- RuntimeVersion: string;
669
- Module: string;
670
- };
671
- Functions?: {
672
- Function: {
673
- module: string;
674
- name: string;
675
- description: any;
676
- deprecated: boolean;
677
- pure: boolean;
678
- returnType: string;
679
- featureFlag: string | undefined;
680
- locale: "GB" | "US" | undefined;
681
- parameters: {
682
- name: string;
683
- description: string | undefined;
684
- type: string;
685
- optional: boolean;
686
- coerce: boolean | undefined;
687
- }[];
688
- }[];
689
- }[] | undefined;
690
- Variables?: {
691
- Variable: {
692
- module: string;
693
- name: string;
694
- description: string | undefined;
695
- type: string;
696
- deprecated: boolean;
697
- readable: boolean;
698
- writable: boolean;
699
- instance: boolean;
700
- featureFlag: string | undefined;
701
- locale: "GB" | "US" | undefined;
702
- }[];
703
- }[] | undefined;
704
- Constants?: {
705
- Constant: {
706
- module: string;
707
- name: string;
708
- description: string | undefined;
709
- class: string | undefined;
710
- type: string;
711
- deprecated: boolean | undefined;
712
- featureFlag: string | undefined;
713
- locale: "GB" | "US" | undefined;
714
- }[];
715
- }[] | undefined;
716
- Structures?: {
717
- Structure: {
718
- module: string;
719
- name: string;
720
- featureFlag: string | undefined;
721
- properties: {
722
- name: string;
723
- description: string | undefined;
724
- type: string;
725
- readable: boolean;
726
- writable: boolean;
727
- locale: "GB" | "US" | undefined;
728
- }[];
729
- }[];
730
- }[] | undefined;
731
- Enumerations?: {
732
- Enumeration: {
235
+ }>>>;
236
+ }, z.core.$strict>, z.ZodTransform<{
733
237
  module: string;
734
- name: string;
735
- members: {
736
- name: string;
737
- description: string | undefined;
738
- value: number;
739
- deprecated: boolean;
740
- }[];
741
- }[];
742
- }[] | undefined;
743
- }, {
744
- $: {
745
- RuntimeVersion: string;
746
- Module?: string | undefined;
747
- };
748
- Functions?: {
749
- Function?: {
750
- $: {
751
- Name: string;
752
- Deprecated: "true" | "false";
753
- ReturnType: string;
754
- Pure: "true" | "false";
755
- Locale?: "GB" | "US" | undefined;
756
- FeatureFlag?: string | undefined;
757
- };
758
- Description?: unknown;
759
- Parameter?: {
760
- $: {
761
- Type: string;
762
- Name: string;
763
- Optional: "true" | "false";
764
- Coerce?: "true" | "false" | undefined;
765
- };
766
- _?: string | undefined;
767
- }[] | undefined;
768
- }[] | undefined;
769
- }[] | undefined;
770
- Variables?: {
771
- Variable?: {
772
- $: {
773
- Type: string;
774
- Name: string;
775
- Deprecated: "true" | "false";
776
- Get: "true" | "false";
777
- Set: "true" | "false";
778
- Instance: "true" | "false";
779
- Locale?: "GB" | "US" | undefined;
780
- FeatureFlag?: string | undefined;
781
- };
782
- _?: string | undefined;
783
- }[] | undefined;
784
- }[] | undefined;
785
- Constants?: {
786
- Constant?: {
787
- $: {
788
- Type: string;
789
- Name: string;
790
- Deprecated?: "true" | "false" | undefined;
791
- Locale?: "GB" | "US" | undefined;
792
- FeatureFlag?: string | undefined;
793
- Class?: string | undefined;
794
- };
795
- _?: string | undefined;
796
- }[] | undefined;
797
- }[] | undefined;
798
- Structures?: {
799
- Structure?: {
800
- $: {
801
- Name: string;
802
- FeatureFlag?: string | undefined;
803
- };
804
- Field: {
805
- $: {
806
- Type: string;
807
- Name: string;
808
- Get: "true" | "false";
809
- Set: "true" | "false";
810
- Locale?: "GB" | "US" | undefined;
811
- };
812
- _?: string | undefined;
813
- }[];
814
- }[] | undefined;
815
- }[] | undefined;
816
- Enumerations?: {
817
- Enumeration?: {
818
- $: {
819
- Name: string;
820
- };
821
- Member: {
822
- $: {
823
- Name: string;
824
- Deprecated: "true" | "false";
825
- Value: string;
826
- };
827
- _?: string | undefined;
828
- }[];
829
- }[] | undefined;
830
- }[] | undefined;
831
- }>, {
832
- runtime: string;
833
- module: string;
834
- functions: {
835
- module: string;
836
- name: string;
837
- description: any;
838
- deprecated: boolean;
839
- pure: boolean;
840
- returnType: string;
841
- featureFlag: string | undefined;
842
- locale: "GB" | "US" | undefined;
843
- parameters: {
844
- name: string;
845
- description: string | undefined;
846
- type: string;
847
- optional: boolean;
848
- coerce: boolean | undefined;
849
- }[];
850
- }[];
851
- variables: {
852
- module: string;
853
- name: string;
854
- description: string | undefined;
855
- type: string;
856
- deprecated: boolean;
857
- readable: boolean;
858
- writable: boolean;
859
- instance: boolean;
860
- featureFlag: string | undefined;
861
- locale: "GB" | "US" | undefined;
862
- }[];
863
- constants: {
864
- module: string;
865
- name: string;
866
- description: string | undefined;
867
- class: string | undefined;
868
- type: string;
869
- deprecated: boolean | undefined;
870
- featureFlag: string | undefined;
871
- locale: "GB" | "US" | undefined;
872
- }[];
873
- structures: {
874
- module: string;
875
- name: string;
876
- featureFlag: string | undefined;
877
- properties: {
878
- name: string;
879
- description: string | undefined;
880
- type: string;
881
- readable: boolean;
882
- writable: boolean;
883
- locale: "GB" | "US" | undefined;
884
- }[];
885
- }[];
886
- enumerations: {
887
- module: string;
888
- name: string;
889
- members: {
890
- name: string;
891
- description: string | undefined;
892
- value: number;
893
- deprecated: boolean;
894
- }[];
895
- }[];
896
- }, {
897
- $: {
898
- RuntimeVersion: string;
899
- Module?: string | undefined;
900
- };
901
- Functions?: {
902
- Function?: {
903
- $: {
904
- Name: string;
905
- Deprecated: "true" | "false";
906
- ReturnType: string;
907
- Pure: "true" | "false";
908
- Locale?: "GB" | "US" | undefined;
909
- FeatureFlag?: string | undefined;
910
- };
911
- Description?: unknown;
912
- Parameter?: {
913
- $: {
914
- Type: string;
915
- Name: string;
916
- Optional: "true" | "false";
917
- Coerce?: "true" | "false" | undefined;
918
- };
919
- _?: string | undefined;
920
- }[] | undefined;
921
- }[] | undefined;
922
- }[] | undefined;
923
- Variables?: {
924
- Variable?: {
925
- $: {
926
- Type: string;
927
- Name: string;
928
- Deprecated: "true" | "false";
929
- Get: "true" | "false";
930
- Set: "true" | "false";
931
- Instance: "true" | "false";
932
- Locale?: "GB" | "US" | undefined;
933
- FeatureFlag?: string | undefined;
934
- };
935
- _?: string | undefined;
936
- }[] | undefined;
937
- }[] | undefined;
938
- Constants?: {
939
- Constant?: {
940
- $: {
941
- Type: string;
942
- Name: string;
943
- Deprecated?: "true" | "false" | undefined;
944
- Locale?: "GB" | "US" | undefined;
945
- FeatureFlag?: string | undefined;
946
- Class?: string | undefined;
947
- };
948
- _?: string | undefined;
949
- }[] | undefined;
950
- }[] | undefined;
951
- Structures?: {
952
- Structure?: {
953
- $: {
954
- Name: string;
955
- FeatureFlag?: string | undefined;
956
- };
957
- Field: {
958
- $: {
959
- Type: string;
960
- Name: string;
961
- Get: "true" | "false";
962
- Set: "true" | "false";
963
- Locale?: "GB" | "US" | undefined;
964
- };
965
- _?: string | undefined;
238
+ name: string;
239
+ members: {
240
+ name: string;
241
+ description: string | undefined;
242
+ value: number;
243
+ deprecated: boolean;
966
244
  }[];
967
- }[] | undefined;
968
- }[] | undefined;
969
- Enumerations?: {
970
- Enumeration?: {
245
+ }, {
971
246
  $: {
972
247
  Name: string;
973
248
  };
974
249
  Member: {
975
- $: {
976
- Name: string;
977
- Deprecated: "true" | "false";
978
- Value: string;
979
- };
980
- _?: string | undefined;
250
+ name: string;
251
+ description: string | undefined;
252
+ value: number;
253
+ deprecated: boolean;
981
254
  }[];
982
- }[] | undefined;
983
- }[] | undefined;
984
- }>;
985
- }, "strict", ZodTypeAny, {
986
- GameMakerLanguageSpec: {
255
+ }>>>>;
256
+ }, z.core.$strip>>>;
257
+ }, z.core.$strict>, z.ZodTransform<{
987
258
  runtime: string;
988
259
  module: string;
989
260
  functions: {
990
261
  module: string;
991
262
  name: string;
992
- description: any;
263
+ description: string | undefined;
993
264
  deprecated: boolean;
994
265
  pure: boolean;
995
266
  returnType: string;
@@ -1048,104 +319,91 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
1048
319
  deprecated: boolean;
1049
320
  }[];
1050
321
  }[];
1051
- };
1052
- }, {
1053
- GameMakerLanguageSpec: {
322
+ }, {
1054
323
  $: {
1055
324
  RuntimeVersion: string;
1056
- Module?: string | undefined;
325
+ Module: string;
1057
326
  };
1058
327
  Functions?: {
1059
- Function?: {
1060
- $: {
1061
- Name: string;
1062
- Deprecated: "true" | "false";
1063
- ReturnType: string;
1064
- Pure: "true" | "false";
1065
- Locale?: "GB" | "US" | undefined;
1066
- FeatureFlag?: string | undefined;
1067
- };
1068
- Description?: unknown;
1069
- Parameter?: {
1070
- $: {
1071
- Type: string;
1072
- Name: string;
1073
- Optional: "true" | "false";
1074
- Coerce?: "true" | "false" | undefined;
1075
- };
1076
- _?: string | undefined;
1077
- }[] | undefined;
1078
- }[] | undefined;
328
+ Function: {
329
+ module: string;
330
+ name: string;
331
+ description: string | undefined;
332
+ deprecated: boolean;
333
+ pure: boolean;
334
+ returnType: string;
335
+ featureFlag: string | undefined;
336
+ locale: "GB" | "US" | undefined;
337
+ parameters: {
338
+ name: string;
339
+ description: string | undefined;
340
+ type: string;
341
+ optional: boolean;
342
+ coerce: boolean | undefined;
343
+ }[];
344
+ }[];
1079
345
  }[] | undefined;
1080
346
  Variables?: {
1081
- Variable?: {
1082
- $: {
1083
- Type: string;
1084
- Name: string;
1085
- Deprecated: "true" | "false";
1086
- Get: "true" | "false";
1087
- Set: "true" | "false";
1088
- Instance: "true" | "false";
1089
- Locale?: "GB" | "US" | undefined;
1090
- FeatureFlag?: string | undefined;
1091
- };
1092
- _?: string | undefined;
1093
- }[] | undefined;
347
+ Variable: {
348
+ module: string;
349
+ name: string;
350
+ description: string | undefined;
351
+ type: string;
352
+ deprecated: boolean;
353
+ readable: boolean;
354
+ writable: boolean;
355
+ instance: boolean;
356
+ featureFlag: string | undefined;
357
+ locale: "GB" | "US" | undefined;
358
+ }[];
1094
359
  }[] | undefined;
1095
360
  Constants?: {
1096
- Constant?: {
1097
- $: {
1098
- Type: string;
1099
- Name: string;
1100
- Deprecated?: "true" | "false" | undefined;
1101
- Locale?: "GB" | "US" | undefined;
1102
- FeatureFlag?: string | undefined;
1103
- Class?: string | undefined;
1104
- };
1105
- _?: string | undefined;
1106
- }[] | undefined;
361
+ Constant: {
362
+ module: string;
363
+ name: string;
364
+ description: string | undefined;
365
+ class: string | undefined;
366
+ type: string;
367
+ deprecated: boolean | undefined;
368
+ featureFlag: string | undefined;
369
+ locale: "GB" | "US" | undefined;
370
+ }[];
1107
371
  }[] | undefined;
1108
372
  Structures?: {
1109
- Structure?: {
1110
- $: {
1111
- Name: string;
1112
- FeatureFlag?: string | undefined;
1113
- };
1114
- Field: {
1115
- $: {
1116
- Type: string;
1117
- Name: string;
1118
- Get: "true" | "false";
1119
- Set: "true" | "false";
1120
- Locale?: "GB" | "US" | undefined;
1121
- };
1122
- _?: string | undefined;
373
+ Structure: {
374
+ module: string;
375
+ name: string;
376
+ featureFlag: string | undefined;
377
+ properties: {
378
+ name: string;
379
+ description: string | undefined;
380
+ type: string;
381
+ readable: boolean;
382
+ writable: boolean;
383
+ locale: "GB" | "US" | undefined;
1123
384
  }[];
1124
- }[] | undefined;
385
+ }[];
1125
386
  }[] | undefined;
1126
387
  Enumerations?: {
1127
- Enumeration?: {
1128
- $: {
1129
- Name: string;
1130
- };
1131
- Member: {
1132
- $: {
1133
- Name: string;
1134
- Deprecated: "true" | "false";
1135
- Value: string;
1136
- };
1137
- _?: string | undefined;
388
+ Enumeration: {
389
+ module: string;
390
+ name: string;
391
+ members: {
392
+ name: string;
393
+ description: string | undefined;
394
+ value: number;
395
+ deprecated: boolean;
1138
396
  }[];
1139
- }[] | undefined;
397
+ }[];
1140
398
  }[] | undefined;
1141
- };
1142
- }>, {
399
+ }>>;
400
+ }, z.core.$strict>, z.ZodTransform<{
1143
401
  runtime: string;
1144
402
  module: string;
1145
403
  functions: {
1146
404
  module: string;
1147
405
  name: string;
1148
- description: any;
406
+ description: string | undefined;
1149
407
  deprecated: boolean;
1150
408
  pure: boolean;
1151
409
  returnType: string;
@@ -1206,93 +464,70 @@ export declare const gmlSpecSchema: z.ZodEffects<z.ZodObject<{
1206
464
  }[];
1207
465
  }, {
1208
466
  GameMakerLanguageSpec: {
1209
- $: {
1210
- RuntimeVersion: string;
1211
- Module?: string | undefined;
1212
- };
1213
- Functions?: {
1214
- Function?: {
1215
- $: {
1216
- Name: string;
1217
- Deprecated: "true" | "false";
1218
- ReturnType: string;
1219
- Pure: "true" | "false";
1220
- Locale?: "GB" | "US" | undefined;
1221
- FeatureFlag?: string | undefined;
1222
- };
1223
- Description?: unknown;
1224
- Parameter?: {
1225
- $: {
1226
- Type: string;
1227
- Name: string;
1228
- Optional: "true" | "false";
1229
- Coerce?: "true" | "false" | undefined;
1230
- };
1231
- _?: string | undefined;
1232
- }[] | undefined;
1233
- }[] | undefined;
1234
- }[] | undefined;
1235
- Variables?: {
1236
- Variable?: {
1237
- $: {
1238
- Type: string;
1239
- Name: string;
1240
- Deprecated: "true" | "false";
1241
- Get: "true" | "false";
1242
- Set: "true" | "false";
1243
- Instance: "true" | "false";
1244
- Locale?: "GB" | "US" | undefined;
1245
- FeatureFlag?: string | undefined;
1246
- };
1247
- _?: string | undefined;
1248
- }[] | undefined;
1249
- }[] | undefined;
1250
- Constants?: {
1251
- Constant?: {
1252
- $: {
1253
- Type: string;
1254
- Name: string;
1255
- Deprecated?: "true" | "false" | undefined;
1256
- Locale?: "GB" | "US" | undefined;
1257
- FeatureFlag?: string | undefined;
1258
- Class?: string | undefined;
1259
- };
1260
- _?: string | undefined;
1261
- }[] | undefined;
1262
- }[] | undefined;
1263
- Structures?: {
1264
- Structure?: {
1265
- $: {
1266
- Name: string;
1267
- FeatureFlag?: string | undefined;
1268
- };
1269
- Field: {
1270
- $: {
1271
- Type: string;
1272
- Name: string;
1273
- Get: "true" | "false";
1274
- Set: "true" | "false";
1275
- Locale?: "GB" | "US" | undefined;
1276
- };
1277
- _?: string | undefined;
1278
- }[];
1279
- }[] | undefined;
1280
- }[] | undefined;
1281
- Enumerations?: {
1282
- Enumeration?: {
1283
- $: {
1284
- Name: string;
1285
- };
1286
- Member: {
1287
- $: {
1288
- Name: string;
1289
- Deprecated: "true" | "false";
1290
- Value: string;
1291
- };
1292
- _?: string | undefined;
1293
- }[];
1294
- }[] | undefined;
1295
- }[] | undefined;
467
+ runtime: string;
468
+ module: string;
469
+ functions: {
470
+ module: string;
471
+ name: string;
472
+ description: string | undefined;
473
+ deprecated: boolean;
474
+ pure: boolean;
475
+ returnType: string;
476
+ featureFlag: string | undefined;
477
+ locale: "GB" | "US" | undefined;
478
+ parameters: {
479
+ name: string;
480
+ description: string | undefined;
481
+ type: string;
482
+ optional: boolean;
483
+ coerce: boolean | undefined;
484
+ }[];
485
+ }[];
486
+ variables: {
487
+ module: string;
488
+ name: string;
489
+ description: string | undefined;
490
+ type: string;
491
+ deprecated: boolean;
492
+ readable: boolean;
493
+ writable: boolean;
494
+ instance: boolean;
495
+ featureFlag: string | undefined;
496
+ locale: "GB" | "US" | undefined;
497
+ }[];
498
+ constants: {
499
+ module: string;
500
+ name: string;
501
+ description: string | undefined;
502
+ class: string | undefined;
503
+ type: string;
504
+ deprecated: boolean | undefined;
505
+ featureFlag: string | undefined;
506
+ locale: "GB" | "US" | undefined;
507
+ }[];
508
+ structures: {
509
+ module: string;
510
+ name: string;
511
+ featureFlag: string | undefined;
512
+ properties: {
513
+ name: string;
514
+ description: string | undefined;
515
+ type: string;
516
+ readable: boolean;
517
+ writable: boolean;
518
+ locale: "GB" | "US" | undefined;
519
+ }[];
520
+ }[];
521
+ enumerations: {
522
+ module: string;
523
+ name: string;
524
+ members: {
525
+ name: string;
526
+ description: string | undefined;
527
+ value: number;
528
+ deprecated: boolean;
529
+ }[];
530
+ }[];
1296
531
  };
1297
- }>;
532
+ }>>;
1298
533
  //# sourceMappingURL=project.spec.d.ts.map