@skmtc/core 0.0.465 → 0.0.467

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/esm/context/GenerateContext.d.ts +3 -3
  2. package/esm/context/GenerateContext.d.ts.map +1 -1
  3. package/esm/context/GenerateContext.js +62 -29
  4. package/esm/context/ParseContext.d.ts.map +1 -1
  5. package/esm/context/ParseContext.js +11 -0
  6. package/esm/dsl/ContentSettings.d.ts +3 -1
  7. package/esm/dsl/ContentSettings.d.ts.map +1 -1
  8. package/esm/dsl/ContentSettings.js +10 -2
  9. package/esm/dsl/File.d.ts +1 -1
  10. package/esm/dsl/File.d.ts.map +1 -1
  11. package/esm/dsl/File.js +6 -9
  12. package/esm/dsl/model/ModelInsertable.d.ts +5 -2
  13. package/esm/dsl/model/ModelInsertable.d.ts.map +1 -1
  14. package/esm/dsl/model/toModelInsertable.d.ts +4 -4
  15. package/esm/dsl/model/toModelInsertable.d.ts.map +1 -1
  16. package/esm/dsl/operation/OperationInsertable.d.ts +7 -4
  17. package/esm/dsl/operation/OperationInsertable.d.ts.map +1 -1
  18. package/esm/dsl/operation/toOperationGateway.d.ts +5 -4
  19. package/esm/dsl/operation/toOperationGateway.d.ts.map +1 -1
  20. package/esm/dsl/operation/toOperationInsertable.d.ts +4 -4
  21. package/esm/dsl/operation/toOperationInsertable.d.ts.map +1 -1
  22. package/esm/types/Settings.d.ts +482 -52
  23. package/esm/types/Settings.d.ts.map +1 -1
  24. package/esm/types/Settings.js +11 -5
  25. package/package.json +2 -1
  26. package/script/context/GenerateContext.d.ts +3 -3
  27. package/script/context/GenerateContext.d.ts.map +1 -1
  28. package/script/context/GenerateContext.js +61 -28
  29. package/script/context/ParseContext.d.ts.map +1 -1
  30. package/script/context/ParseContext.js +11 -0
  31. package/script/dsl/ContentSettings.d.ts +3 -1
  32. package/script/dsl/ContentSettings.d.ts.map +1 -1
  33. package/script/dsl/ContentSettings.js +10 -2
  34. package/script/dsl/File.d.ts +1 -1
  35. package/script/dsl/File.d.ts.map +1 -1
  36. package/script/dsl/File.js +6 -9
  37. package/script/dsl/model/ModelInsertable.d.ts +5 -2
  38. package/script/dsl/model/ModelInsertable.d.ts.map +1 -1
  39. package/script/dsl/model/toModelInsertable.d.ts +4 -4
  40. package/script/dsl/model/toModelInsertable.d.ts.map +1 -1
  41. package/script/dsl/operation/OperationInsertable.d.ts +7 -4
  42. package/script/dsl/operation/OperationInsertable.d.ts.map +1 -1
  43. package/script/dsl/operation/toOperationGateway.d.ts +5 -4
  44. package/script/dsl/operation/toOperationGateway.d.ts.map +1 -1
  45. package/script/dsl/operation/toOperationInsertable.d.ts +4 -4
  46. package/script/dsl/operation/toOperationInsertable.d.ts.map +1 -1
  47. package/script/types/Settings.d.ts +482 -52
  48. package/script/types/Settings.d.ts.map +1 -1
  49. package/script/types/Settings.js +12 -6
@@ -1 +1 @@
1
- {"version":3,"file":"toOperationInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationInsertable.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AAEpG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,yBAAyB,KAAK,UAAU,CAAA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CACnB,CAAA;AAED,eAAO,MAAM,qBAAqB,WAAY,yBAAyB;eAajD,uBAAuB;;;;;;;;;;;;;;;;;;gDAnBC,yBAAyB,KAAK,UAAU;gDACxC,yBAAyB,KAAK,MAAM;6BACtD,YAAY,KAAK,OAAO;;CA6BnD,CAAA"}
@@ -1,88 +1,354 @@
1
1
  import "../_dnt.polyfills.js";
2
2
  import { type Method } from './Method.js';
3
3
  import { z } from 'zod';
4
+ export declare const baseSettings: z.ZodObject<{
5
+ selected: z.ZodBoolean;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ importFrom: z.ZodOptional<z.ZodString>;
8
+ exportPath: z.ZodOptional<z.ZodString>;
9
+ parentExportPath: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ selected: boolean;
12
+ name?: string | undefined;
13
+ exportPath?: string | undefined;
14
+ importFrom?: string | undefined;
15
+ parentExportPath?: string | undefined;
16
+ }, {
17
+ selected: boolean;
18
+ name?: string | undefined;
19
+ exportPath?: string | undefined;
20
+ importFrom?: string | undefined;
21
+ parentExportPath?: string | undefined;
22
+ }>;
23
+ export type BaseSettings = {
24
+ parentExportPath?: string;
25
+ exportPath?: string;
26
+ selected: boolean;
27
+ name?: string;
28
+ importFrom?: string;
29
+ };
4
30
  export type BaseSettingsKeyType = 'selected' | 'name' | 'importFrom' | 'exportPath';
5
31
  export declare const operationsGeneratorSettings: z.ZodObject<{
6
32
  id: z.ZodString;
7
33
  description: z.ZodOptional<z.ZodString>;
8
- operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodBoolean>>;
9
- selected: z.ZodOptional<z.ZodBoolean>;
34
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodObject<{
35
+ selected: z.ZodBoolean;
36
+ name: z.ZodOptional<z.ZodString>;
37
+ importFrom: z.ZodOptional<z.ZodString>;
38
+ exportPath: z.ZodOptional<z.ZodString>;
39
+ parentExportPath: z.ZodOptional<z.ZodString>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ selected: boolean;
42
+ name?: string | undefined;
43
+ exportPath?: string | undefined;
44
+ importFrom?: string | undefined;
45
+ parentExportPath?: string | undefined;
46
+ }, {
47
+ selected: boolean;
48
+ name?: string | undefined;
49
+ exportPath?: string | undefined;
50
+ importFrom?: string | undefined;
51
+ parentExportPath?: string | undefined;
52
+ }>>>;
53
+ baseSettings: z.ZodObject<{
54
+ selected: z.ZodBoolean;
55
+ name: z.ZodOptional<z.ZodString>;
56
+ importFrom: z.ZodOptional<z.ZodString>;
57
+ exportPath: z.ZodOptional<z.ZodString>;
58
+ parentExportPath: z.ZodOptional<z.ZodString>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ selected: boolean;
61
+ name?: string | undefined;
62
+ exportPath?: string | undefined;
63
+ importFrom?: string | undefined;
64
+ parentExportPath?: string | undefined;
65
+ }, {
66
+ selected: boolean;
67
+ name?: string | undefined;
68
+ exportPath?: string | undefined;
69
+ importFrom?: string | undefined;
70
+ parentExportPath?: string | undefined;
71
+ }>;
10
72
  }, "strip", z.ZodTypeAny, {
11
73
  id: string;
12
- operations: Record<string, Partial<Record<Method, boolean>>>;
74
+ operations: Record<string, Partial<Record<Method, {
75
+ selected: boolean;
76
+ name?: string | undefined;
77
+ exportPath?: string | undefined;
78
+ importFrom?: string | undefined;
79
+ parentExportPath?: string | undefined;
80
+ }>>>;
81
+ baseSettings: {
82
+ selected: boolean;
83
+ name?: string | undefined;
84
+ exportPath?: string | undefined;
85
+ importFrom?: string | undefined;
86
+ parentExportPath?: string | undefined;
87
+ };
13
88
  description?: string | undefined;
14
- selected?: boolean | undefined;
15
89
  }, {
16
90
  id: string;
17
- operations: Record<string, Partial<Record<Method, boolean>>>;
91
+ operations: Record<string, Partial<Record<Method, {
92
+ selected: boolean;
93
+ name?: string | undefined;
94
+ exportPath?: string | undefined;
95
+ importFrom?: string | undefined;
96
+ parentExportPath?: string | undefined;
97
+ }>>>;
98
+ baseSettings: {
99
+ selected: boolean;
100
+ name?: string | undefined;
101
+ exportPath?: string | undefined;
102
+ importFrom?: string | undefined;
103
+ parentExportPath?: string | undefined;
104
+ };
18
105
  description?: string | undefined;
19
- selected?: boolean | undefined;
20
106
  }>;
21
107
  export type OperationsGeneratorSettings = {
22
108
  id: string;
23
109
  description?: string;
24
- operations: Record<string, Partial<Record<Method, boolean>>>;
25
- selected?: boolean;
110
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
111
+ baseSettings: BaseSettings;
26
112
  };
27
113
  export declare const modelsGeneratorSettings: z.ZodObject<{
28
114
  id: z.ZodString;
29
115
  exportPath: z.ZodOptional<z.ZodString>;
30
116
  description: z.ZodOptional<z.ZodString>;
31
- models: z.ZodRecord<z.ZodString, z.ZodBoolean>;
32
- selected: z.ZodOptional<z.ZodBoolean>;
117
+ models: z.ZodRecord<z.ZodString, z.ZodObject<{
118
+ selected: z.ZodBoolean;
119
+ name: z.ZodOptional<z.ZodString>;
120
+ importFrom: z.ZodOptional<z.ZodString>;
121
+ exportPath: z.ZodOptional<z.ZodString>;
122
+ parentExportPath: z.ZodOptional<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ selected: boolean;
125
+ name?: string | undefined;
126
+ exportPath?: string | undefined;
127
+ importFrom?: string | undefined;
128
+ parentExportPath?: string | undefined;
129
+ }, {
130
+ selected: boolean;
131
+ name?: string | undefined;
132
+ exportPath?: string | undefined;
133
+ importFrom?: string | undefined;
134
+ parentExportPath?: string | undefined;
135
+ }>>;
136
+ baseSettings: z.ZodObject<{
137
+ selected: z.ZodBoolean;
138
+ name: z.ZodOptional<z.ZodString>;
139
+ importFrom: z.ZodOptional<z.ZodString>;
140
+ exportPath: z.ZodOptional<z.ZodString>;
141
+ parentExportPath: z.ZodOptional<z.ZodString>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ selected: boolean;
144
+ name?: string | undefined;
145
+ exportPath?: string | undefined;
146
+ importFrom?: string | undefined;
147
+ parentExportPath?: string | undefined;
148
+ }, {
149
+ selected: boolean;
150
+ name?: string | undefined;
151
+ exportPath?: string | undefined;
152
+ importFrom?: string | undefined;
153
+ parentExportPath?: string | undefined;
154
+ }>;
33
155
  }, "strip", z.ZodTypeAny, {
34
156
  id: string;
35
- models: Record<string, boolean>;
157
+ baseSettings: {
158
+ selected: boolean;
159
+ name?: string | undefined;
160
+ exportPath?: string | undefined;
161
+ importFrom?: string | undefined;
162
+ parentExportPath?: string | undefined;
163
+ };
164
+ models: Record<string, {
165
+ selected: boolean;
166
+ name?: string | undefined;
167
+ exportPath?: string | undefined;
168
+ importFrom?: string | undefined;
169
+ parentExportPath?: string | undefined;
170
+ }>;
36
171
  description?: string | undefined;
37
172
  exportPath?: string | undefined;
38
- selected?: boolean | undefined;
39
173
  }, {
40
174
  id: string;
41
- models: Record<string, boolean>;
175
+ baseSettings: {
176
+ selected: boolean;
177
+ name?: string | undefined;
178
+ exportPath?: string | undefined;
179
+ importFrom?: string | undefined;
180
+ parentExportPath?: string | undefined;
181
+ };
182
+ models: Record<string, {
183
+ selected: boolean;
184
+ name?: string | undefined;
185
+ exportPath?: string | undefined;
186
+ importFrom?: string | undefined;
187
+ parentExportPath?: string | undefined;
188
+ }>;
42
189
  description?: string | undefined;
43
190
  exportPath?: string | undefined;
44
- selected?: boolean | undefined;
45
191
  }>;
46
192
  export type ModelsGeneratorSettings = {
47
193
  id: string;
48
194
  exportPath?: string;
49
195
  description?: string;
50
- models: Record<string, boolean>;
51
- selected?: boolean;
196
+ models: Record<string, BaseSettings>;
197
+ baseSettings: BaseSettings;
52
198
  };
53
199
  export declare const clientGeneratorSettings: z.ZodUnion<[z.ZodObject<{
54
200
  id: z.ZodString;
55
201
  description: z.ZodOptional<z.ZodString>;
56
- operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodBoolean>>;
57
- selected: z.ZodOptional<z.ZodBoolean>;
202
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodObject<{
203
+ selected: z.ZodBoolean;
204
+ name: z.ZodOptional<z.ZodString>;
205
+ importFrom: z.ZodOptional<z.ZodString>;
206
+ exportPath: z.ZodOptional<z.ZodString>;
207
+ parentExportPath: z.ZodOptional<z.ZodString>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ selected: boolean;
210
+ name?: string | undefined;
211
+ exportPath?: string | undefined;
212
+ importFrom?: string | undefined;
213
+ parentExportPath?: string | undefined;
214
+ }, {
215
+ selected: boolean;
216
+ name?: string | undefined;
217
+ exportPath?: string | undefined;
218
+ importFrom?: string | undefined;
219
+ parentExportPath?: string | undefined;
220
+ }>>>;
221
+ baseSettings: z.ZodObject<{
222
+ selected: z.ZodBoolean;
223
+ name: z.ZodOptional<z.ZodString>;
224
+ importFrom: z.ZodOptional<z.ZodString>;
225
+ exportPath: z.ZodOptional<z.ZodString>;
226
+ parentExportPath: z.ZodOptional<z.ZodString>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ selected: boolean;
229
+ name?: string | undefined;
230
+ exportPath?: string | undefined;
231
+ importFrom?: string | undefined;
232
+ parentExportPath?: string | undefined;
233
+ }, {
234
+ selected: boolean;
235
+ name?: string | undefined;
236
+ exportPath?: string | undefined;
237
+ importFrom?: string | undefined;
238
+ parentExportPath?: string | undefined;
239
+ }>;
58
240
  }, "strip", z.ZodTypeAny, {
59
241
  id: string;
60
- operations: Record<string, Partial<Record<Method, boolean>>>;
242
+ operations: Record<string, Partial<Record<Method, {
243
+ selected: boolean;
244
+ name?: string | undefined;
245
+ exportPath?: string | undefined;
246
+ importFrom?: string | undefined;
247
+ parentExportPath?: string | undefined;
248
+ }>>>;
249
+ baseSettings: {
250
+ selected: boolean;
251
+ name?: string | undefined;
252
+ exportPath?: string | undefined;
253
+ importFrom?: string | undefined;
254
+ parentExportPath?: string | undefined;
255
+ };
61
256
  description?: string | undefined;
62
- selected?: boolean | undefined;
63
257
  }, {
64
258
  id: string;
65
- operations: Record<string, Partial<Record<Method, boolean>>>;
259
+ operations: Record<string, Partial<Record<Method, {
260
+ selected: boolean;
261
+ name?: string | undefined;
262
+ exportPath?: string | undefined;
263
+ importFrom?: string | undefined;
264
+ parentExportPath?: string | undefined;
265
+ }>>>;
266
+ baseSettings: {
267
+ selected: boolean;
268
+ name?: string | undefined;
269
+ exportPath?: string | undefined;
270
+ importFrom?: string | undefined;
271
+ parentExportPath?: string | undefined;
272
+ };
66
273
  description?: string | undefined;
67
- selected?: boolean | undefined;
68
274
  }>, z.ZodObject<{
69
275
  id: z.ZodString;
70
276
  exportPath: z.ZodOptional<z.ZodString>;
71
277
  description: z.ZodOptional<z.ZodString>;
72
- models: z.ZodRecord<z.ZodString, z.ZodBoolean>;
73
- selected: z.ZodOptional<z.ZodBoolean>;
278
+ models: z.ZodRecord<z.ZodString, z.ZodObject<{
279
+ selected: z.ZodBoolean;
280
+ name: z.ZodOptional<z.ZodString>;
281
+ importFrom: z.ZodOptional<z.ZodString>;
282
+ exportPath: z.ZodOptional<z.ZodString>;
283
+ parentExportPath: z.ZodOptional<z.ZodString>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ selected: boolean;
286
+ name?: string | undefined;
287
+ exportPath?: string | undefined;
288
+ importFrom?: string | undefined;
289
+ parentExportPath?: string | undefined;
290
+ }, {
291
+ selected: boolean;
292
+ name?: string | undefined;
293
+ exportPath?: string | undefined;
294
+ importFrom?: string | undefined;
295
+ parentExportPath?: string | undefined;
296
+ }>>;
297
+ baseSettings: z.ZodObject<{
298
+ selected: z.ZodBoolean;
299
+ name: z.ZodOptional<z.ZodString>;
300
+ importFrom: z.ZodOptional<z.ZodString>;
301
+ exportPath: z.ZodOptional<z.ZodString>;
302
+ parentExportPath: z.ZodOptional<z.ZodString>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ selected: boolean;
305
+ name?: string | undefined;
306
+ exportPath?: string | undefined;
307
+ importFrom?: string | undefined;
308
+ parentExportPath?: string | undefined;
309
+ }, {
310
+ selected: boolean;
311
+ name?: string | undefined;
312
+ exportPath?: string | undefined;
313
+ importFrom?: string | undefined;
314
+ parentExportPath?: string | undefined;
315
+ }>;
74
316
  }, "strip", z.ZodTypeAny, {
75
317
  id: string;
76
- models: Record<string, boolean>;
318
+ baseSettings: {
319
+ selected: boolean;
320
+ name?: string | undefined;
321
+ exportPath?: string | undefined;
322
+ importFrom?: string | undefined;
323
+ parentExportPath?: string | undefined;
324
+ };
325
+ models: Record<string, {
326
+ selected: boolean;
327
+ name?: string | undefined;
328
+ exportPath?: string | undefined;
329
+ importFrom?: string | undefined;
330
+ parentExportPath?: string | undefined;
331
+ }>;
77
332
  description?: string | undefined;
78
333
  exportPath?: string | undefined;
79
- selected?: boolean | undefined;
80
334
  }, {
81
335
  id: string;
82
- models: Record<string, boolean>;
336
+ baseSettings: {
337
+ selected: boolean;
338
+ name?: string | undefined;
339
+ exportPath?: string | undefined;
340
+ importFrom?: string | undefined;
341
+ parentExportPath?: string | undefined;
342
+ };
343
+ models: Record<string, {
344
+ selected: boolean;
345
+ name?: string | undefined;
346
+ exportPath?: string | undefined;
347
+ importFrom?: string | undefined;
348
+ parentExportPath?: string | undefined;
349
+ }>;
83
350
  description?: string | undefined;
84
351
  exportPath?: string | undefined;
85
- selected?: boolean | undefined;
86
352
  }>]>;
87
353
  export type ClientGeneratorSettings = OperationsGeneratorSettings | ModelsGeneratorSettings;
88
354
  export declare const modulePackage: z.ZodObject<{
@@ -101,7 +367,6 @@ export type ModulePackage = {
101
367
  };
102
368
  export declare const clientSettings: z.ZodObject<{
103
369
  basePath: z.ZodOptional<z.ZodString>;
104
- alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
105
370
  packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
106
371
  rootPath: z.ZodString;
107
372
  moduleName: z.ZodString;
@@ -115,51 +380,194 @@ export declare const clientSettings: z.ZodObject<{
115
380
  generators: z.ZodArray<z.ZodUnion<[z.ZodObject<{
116
381
  id: z.ZodString;
117
382
  description: z.ZodOptional<z.ZodString>;
118
- operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodBoolean>>;
119
- selected: z.ZodOptional<z.ZodBoolean>;
383
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodObject<{
384
+ selected: z.ZodBoolean;
385
+ name: z.ZodOptional<z.ZodString>;
386
+ importFrom: z.ZodOptional<z.ZodString>;
387
+ exportPath: z.ZodOptional<z.ZodString>;
388
+ parentExportPath: z.ZodOptional<z.ZodString>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ selected: boolean;
391
+ name?: string | undefined;
392
+ exportPath?: string | undefined;
393
+ importFrom?: string | undefined;
394
+ parentExportPath?: string | undefined;
395
+ }, {
396
+ selected: boolean;
397
+ name?: string | undefined;
398
+ exportPath?: string | undefined;
399
+ importFrom?: string | undefined;
400
+ parentExportPath?: string | undefined;
401
+ }>>>;
402
+ baseSettings: z.ZodObject<{
403
+ selected: z.ZodBoolean;
404
+ name: z.ZodOptional<z.ZodString>;
405
+ importFrom: z.ZodOptional<z.ZodString>;
406
+ exportPath: z.ZodOptional<z.ZodString>;
407
+ parentExportPath: z.ZodOptional<z.ZodString>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ selected: boolean;
410
+ name?: string | undefined;
411
+ exportPath?: string | undefined;
412
+ importFrom?: string | undefined;
413
+ parentExportPath?: string | undefined;
414
+ }, {
415
+ selected: boolean;
416
+ name?: string | undefined;
417
+ exportPath?: string | undefined;
418
+ importFrom?: string | undefined;
419
+ parentExportPath?: string | undefined;
420
+ }>;
120
421
  }, "strip", z.ZodTypeAny, {
121
422
  id: string;
122
- operations: Record<string, Partial<Record<Method, boolean>>>;
423
+ operations: Record<string, Partial<Record<Method, {
424
+ selected: boolean;
425
+ name?: string | undefined;
426
+ exportPath?: string | undefined;
427
+ importFrom?: string | undefined;
428
+ parentExportPath?: string | undefined;
429
+ }>>>;
430
+ baseSettings: {
431
+ selected: boolean;
432
+ name?: string | undefined;
433
+ exportPath?: string | undefined;
434
+ importFrom?: string | undefined;
435
+ parentExportPath?: string | undefined;
436
+ };
123
437
  description?: string | undefined;
124
- selected?: boolean | undefined;
125
438
  }, {
126
439
  id: string;
127
- operations: Record<string, Partial<Record<Method, boolean>>>;
440
+ operations: Record<string, Partial<Record<Method, {
441
+ selected: boolean;
442
+ name?: string | undefined;
443
+ exportPath?: string | undefined;
444
+ importFrom?: string | undefined;
445
+ parentExportPath?: string | undefined;
446
+ }>>>;
447
+ baseSettings: {
448
+ selected: boolean;
449
+ name?: string | undefined;
450
+ exportPath?: string | undefined;
451
+ importFrom?: string | undefined;
452
+ parentExportPath?: string | undefined;
453
+ };
128
454
  description?: string | undefined;
129
- selected?: boolean | undefined;
130
455
  }>, z.ZodObject<{
131
456
  id: z.ZodString;
132
457
  exportPath: z.ZodOptional<z.ZodString>;
133
458
  description: z.ZodOptional<z.ZodString>;
134
- models: z.ZodRecord<z.ZodString, z.ZodBoolean>;
135
- selected: z.ZodOptional<z.ZodBoolean>;
459
+ models: z.ZodRecord<z.ZodString, z.ZodObject<{
460
+ selected: z.ZodBoolean;
461
+ name: z.ZodOptional<z.ZodString>;
462
+ importFrom: z.ZodOptional<z.ZodString>;
463
+ exportPath: z.ZodOptional<z.ZodString>;
464
+ parentExportPath: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ selected: boolean;
467
+ name?: string | undefined;
468
+ exportPath?: string | undefined;
469
+ importFrom?: string | undefined;
470
+ parentExportPath?: string | undefined;
471
+ }, {
472
+ selected: boolean;
473
+ name?: string | undefined;
474
+ exportPath?: string | undefined;
475
+ importFrom?: string | undefined;
476
+ parentExportPath?: string | undefined;
477
+ }>>;
478
+ baseSettings: z.ZodObject<{
479
+ selected: z.ZodBoolean;
480
+ name: z.ZodOptional<z.ZodString>;
481
+ importFrom: z.ZodOptional<z.ZodString>;
482
+ exportPath: z.ZodOptional<z.ZodString>;
483
+ parentExportPath: z.ZodOptional<z.ZodString>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ selected: boolean;
486
+ name?: string | undefined;
487
+ exportPath?: string | undefined;
488
+ importFrom?: string | undefined;
489
+ parentExportPath?: string | undefined;
490
+ }, {
491
+ selected: boolean;
492
+ name?: string | undefined;
493
+ exportPath?: string | undefined;
494
+ importFrom?: string | undefined;
495
+ parentExportPath?: string | undefined;
496
+ }>;
136
497
  }, "strip", z.ZodTypeAny, {
137
498
  id: string;
138
- models: Record<string, boolean>;
499
+ baseSettings: {
500
+ selected: boolean;
501
+ name?: string | undefined;
502
+ exportPath?: string | undefined;
503
+ importFrom?: string | undefined;
504
+ parentExportPath?: string | undefined;
505
+ };
506
+ models: Record<string, {
507
+ selected: boolean;
508
+ name?: string | undefined;
509
+ exportPath?: string | undefined;
510
+ importFrom?: string | undefined;
511
+ parentExportPath?: string | undefined;
512
+ }>;
139
513
  description?: string | undefined;
140
514
  exportPath?: string | undefined;
141
- selected?: boolean | undefined;
142
515
  }, {
143
516
  id: string;
144
- models: Record<string, boolean>;
517
+ baseSettings: {
518
+ selected: boolean;
519
+ name?: string | undefined;
520
+ exportPath?: string | undefined;
521
+ importFrom?: string | undefined;
522
+ parentExportPath?: string | undefined;
523
+ };
524
+ models: Record<string, {
525
+ selected: boolean;
526
+ name?: string | undefined;
527
+ exportPath?: string | undefined;
528
+ importFrom?: string | undefined;
529
+ parentExportPath?: string | undefined;
530
+ }>;
145
531
  description?: string | undefined;
146
532
  exportPath?: string | undefined;
147
- selected?: boolean | undefined;
148
533
  }>]>, "many">;
149
534
  }, "strip", z.ZodTypeAny, {
150
535
  generators: ({
151
536
  id: string;
152
- operations: Record<string, Partial<Record<Method, boolean>>>;
537
+ operations: Record<string, Partial<Record<Method, {
538
+ selected: boolean;
539
+ name?: string | undefined;
540
+ exportPath?: string | undefined;
541
+ importFrom?: string | undefined;
542
+ parentExportPath?: string | undefined;
543
+ }>>>;
544
+ baseSettings: {
545
+ selected: boolean;
546
+ name?: string | undefined;
547
+ exportPath?: string | undefined;
548
+ importFrom?: string | undefined;
549
+ parentExportPath?: string | undefined;
550
+ };
153
551
  description?: string | undefined;
154
- selected?: boolean | undefined;
155
552
  } | {
156
553
  id: string;
157
- models: Record<string, boolean>;
554
+ baseSettings: {
555
+ selected: boolean;
556
+ name?: string | undefined;
557
+ exportPath?: string | undefined;
558
+ importFrom?: string | undefined;
559
+ parentExportPath?: string | undefined;
560
+ };
561
+ models: Record<string, {
562
+ selected: boolean;
563
+ name?: string | undefined;
564
+ exportPath?: string | undefined;
565
+ importFrom?: string | undefined;
566
+ parentExportPath?: string | undefined;
567
+ }>;
158
568
  description?: string | undefined;
159
569
  exportPath?: string | undefined;
160
- selected?: boolean | undefined;
161
570
  })[];
162
- alias?: Record<string, string> | undefined;
163
571
  basePath?: string | undefined;
164
572
  packages?: {
165
573
  rootPath: string;
@@ -168,17 +576,40 @@ export declare const clientSettings: z.ZodObject<{
168
576
  }, {
169
577
  generators: ({
170
578
  id: string;
171
- operations: Record<string, Partial<Record<Method, boolean>>>;
579
+ operations: Record<string, Partial<Record<Method, {
580
+ selected: boolean;
581
+ name?: string | undefined;
582
+ exportPath?: string | undefined;
583
+ importFrom?: string | undefined;
584
+ parentExportPath?: string | undefined;
585
+ }>>>;
586
+ baseSettings: {
587
+ selected: boolean;
588
+ name?: string | undefined;
589
+ exportPath?: string | undefined;
590
+ importFrom?: string | undefined;
591
+ parentExportPath?: string | undefined;
592
+ };
172
593
  description?: string | undefined;
173
- selected?: boolean | undefined;
174
594
  } | {
175
595
  id: string;
176
- models: Record<string, boolean>;
596
+ baseSettings: {
597
+ selected: boolean;
598
+ name?: string | undefined;
599
+ exportPath?: string | undefined;
600
+ importFrom?: string | undefined;
601
+ parentExportPath?: string | undefined;
602
+ };
603
+ models: Record<string, {
604
+ selected: boolean;
605
+ name?: string | undefined;
606
+ exportPath?: string | undefined;
607
+ importFrom?: string | undefined;
608
+ parentExportPath?: string | undefined;
609
+ }>;
177
610
  description?: string | undefined;
178
611
  exportPath?: string | undefined;
179
- selected?: boolean | undefined;
180
612
  })[];
181
- alias?: Record<string, string> | undefined;
182
613
  basePath?: string | undefined;
183
614
  packages?: {
184
615
  rootPath: string;
@@ -187,7 +618,6 @@ export declare const clientSettings: z.ZodObject<{
187
618
  }>;
188
619
  export type ClientSettings = {
189
620
  basePath?: string;
190
- alias?: Record<string, string>;
191
621
  packages?: ModulePackage[];
192
622
  generators: ClientGeneratorSettings[];
193
623
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,MAAM,EAAU,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,CAAA;AAEnF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;EAMlC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO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