@drzl/cli 4.35.0 → 4.37.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/dist/{chunk-S5JWTWWU.js → chunk-EQ4OSVMJ.js} +68 -4
- package/dist/chunk-EQ4OSVMJ.js.map +1 -0
- package/dist/cli.cjs +498 -31
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +436 -29
- package/dist/cli.js.map +1 -1
- package/dist/config.cjs +69 -3
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +49 -5
- package/dist/config.d.ts +49 -5
- package/dist/config.js +5 -1
- package/dist/drzl.config.schema.json +23 -1
- package/package.json +13 -11
- package/dist/chunk-S5JWTWWU.js.map +0 -1
package/dist/config.d.cts
CHANGED
|
@@ -128,6 +128,8 @@ declare const GeneratorKindSchema: z.ZodEnum<{
|
|
|
128
128
|
next: "next";
|
|
129
129
|
"tanstack-start": "tanstack-start";
|
|
130
130
|
"ts-rest": "ts-rest";
|
|
131
|
+
"openapi-fetch": "openapi-fetch";
|
|
132
|
+
forms: "forms";
|
|
131
133
|
seed: "seed";
|
|
132
134
|
"fast-check": "fast-check";
|
|
133
135
|
service: "service";
|
|
@@ -159,6 +161,8 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
159
161
|
next: "next";
|
|
160
162
|
"tanstack-start": "tanstack-start";
|
|
161
163
|
"ts-rest": "ts-rest";
|
|
164
|
+
"openapi-fetch": "openapi-fetch";
|
|
165
|
+
forms: "forms";
|
|
162
166
|
seed: "seed";
|
|
163
167
|
"fast-check": "fast-check";
|
|
164
168
|
service: "service";
|
|
@@ -184,6 +188,7 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
184
188
|
apiName: z.ZodOptional<z.ZodString>;
|
|
185
189
|
contractName: z.ZodOptional<z.ZodString>;
|
|
186
190
|
appName: z.ZodOptional<z.ZodString>;
|
|
191
|
+
clientName: z.ZodOptional<z.ZodString>;
|
|
187
192
|
count: z.ZodOptional<z.ZodNumber>;
|
|
188
193
|
prefix: z.ZodOptional<z.ZodString>;
|
|
189
194
|
pathPrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -199,8 +204,8 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
199
204
|
includeRelations: z.ZodOptional<z.ZodBoolean>;
|
|
200
205
|
sharedEnums: z.ZodOptional<z.ZodBoolean>;
|
|
201
206
|
coerceDates: z.ZodOptional<z.ZodEnum<{
|
|
202
|
-
none: "none";
|
|
203
207
|
input: "input";
|
|
208
|
+
none: "none";
|
|
204
209
|
all: "all";
|
|
205
210
|
}>>;
|
|
206
211
|
typedJson: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -214,6 +219,7 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
214
219
|
meta: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
215
220
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
216
221
|
description: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
registryIds: z.ZodOptional<z.ZodBoolean>;
|
|
217
223
|
}, z.core.$strict>]>>;
|
|
218
224
|
standardSchema: z.ZodOptional<z.ZodBoolean>;
|
|
219
225
|
nestedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -249,14 +255,22 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
249
255
|
"draft-2020-12": "draft-2020-12";
|
|
250
256
|
"openapi-3.1": "openapi-3.1";
|
|
251
257
|
"openapi-3.0": "openapi-3.0";
|
|
258
|
+
"react-hook-form": "react-hook-form";
|
|
259
|
+
"tanstack-form": "tanstack-form";
|
|
260
|
+
both: "both";
|
|
252
261
|
}>>;
|
|
262
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
263
|
+
insert: "insert";
|
|
264
|
+
update: "update";
|
|
265
|
+
select: "select";
|
|
266
|
+
}>>>;
|
|
253
267
|
components: z.ZodOptional<z.ZodBoolean>;
|
|
254
268
|
document: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
255
269
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
256
270
|
format: z.ZodOptional<z.ZodEnum<{
|
|
257
271
|
ts: "ts";
|
|
258
|
-
json: "json";
|
|
259
272
|
both: "both";
|
|
273
|
+
json: "json";
|
|
260
274
|
}>>;
|
|
261
275
|
info: z.ZodOptional<z.ZodObject<{
|
|
262
276
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -412,6 +426,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
412
426
|
next: "next";
|
|
413
427
|
"tanstack-start": "tanstack-start";
|
|
414
428
|
"ts-rest": "ts-rest";
|
|
429
|
+
"openapi-fetch": "openapi-fetch";
|
|
430
|
+
forms: "forms";
|
|
415
431
|
seed: "seed";
|
|
416
432
|
"fast-check": "fast-check";
|
|
417
433
|
service: "service";
|
|
@@ -437,6 +453,7 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
437
453
|
apiName: z.ZodOptional<z.ZodString>;
|
|
438
454
|
contractName: z.ZodOptional<z.ZodString>;
|
|
439
455
|
appName: z.ZodOptional<z.ZodString>;
|
|
456
|
+
clientName: z.ZodOptional<z.ZodString>;
|
|
440
457
|
count: z.ZodOptional<z.ZodNumber>;
|
|
441
458
|
prefix: z.ZodOptional<z.ZodString>;
|
|
442
459
|
pathPrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -452,8 +469,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
452
469
|
includeRelations: z.ZodOptional<z.ZodBoolean>;
|
|
453
470
|
sharedEnums: z.ZodOptional<z.ZodBoolean>;
|
|
454
471
|
coerceDates: z.ZodOptional<z.ZodEnum<{
|
|
455
|
-
none: "none";
|
|
456
472
|
input: "input";
|
|
473
|
+
none: "none";
|
|
457
474
|
all: "all";
|
|
458
475
|
}>>;
|
|
459
476
|
typedJson: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -467,6 +484,7 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
467
484
|
meta: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
468
485
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
469
486
|
description: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
registryIds: z.ZodOptional<z.ZodBoolean>;
|
|
470
488
|
}, z.core.$strict>]>>;
|
|
471
489
|
standardSchema: z.ZodOptional<z.ZodBoolean>;
|
|
472
490
|
nestedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -502,14 +520,22 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
502
520
|
"draft-2020-12": "draft-2020-12";
|
|
503
521
|
"openapi-3.1": "openapi-3.1";
|
|
504
522
|
"openapi-3.0": "openapi-3.0";
|
|
523
|
+
"react-hook-form": "react-hook-form";
|
|
524
|
+
"tanstack-form": "tanstack-form";
|
|
525
|
+
both: "both";
|
|
505
526
|
}>>;
|
|
527
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
528
|
+
insert: "insert";
|
|
529
|
+
update: "update";
|
|
530
|
+
select: "select";
|
|
531
|
+
}>>>;
|
|
506
532
|
components: z.ZodOptional<z.ZodBoolean>;
|
|
507
533
|
document: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
508
534
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
509
535
|
format: z.ZodOptional<z.ZodEnum<{
|
|
510
536
|
ts: "ts";
|
|
511
|
-
json: "json";
|
|
512
537
|
both: "both";
|
|
538
|
+
json: "json";
|
|
513
539
|
}>>;
|
|
514
540
|
info: z.ZodOptional<z.ZodObject<{
|
|
515
541
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -833,6 +859,24 @@ declare function tsRestOutDir(g: {
|
|
|
833
859
|
}, cfg: {
|
|
834
860
|
outDir: string;
|
|
835
861
|
}): string;
|
|
862
|
+
/**
|
|
863
|
+
* Where the openapi-fetch client goes.
|
|
864
|
+
*
|
|
865
|
+
* The same rule again. It writes one module, `client.ts`, rather than a barrel, but a client is a
|
|
866
|
+
* thing a project imports by path and giving it its own `path` is what lets it sit beside the
|
|
867
|
+
* document it describes rather than inside a router's output directory.
|
|
868
|
+
*/
|
|
869
|
+
declare function openApiFetchOutDir(g: {
|
|
870
|
+
path?: string;
|
|
871
|
+
}, cfg: {
|
|
872
|
+
outDir: string;
|
|
873
|
+
}): string;
|
|
874
|
+
/** Where the form modules go. The same rule again: it writes a barrel of its own. */
|
|
875
|
+
declare function formsOutDir(g: {
|
|
876
|
+
path?: string;
|
|
877
|
+
}, cfg: {
|
|
878
|
+
outDir: string;
|
|
879
|
+
}): string;
|
|
836
880
|
/**
|
|
837
881
|
* Where the Elysia generator writes.
|
|
838
882
|
*
|
|
@@ -964,4 +1008,4 @@ declare function tableFilterWarnings(tables: readonly {
|
|
|
964
1008
|
}): string[];
|
|
965
1009
|
declare function computeWatchTargets(cfg: DrzlConfig, cwd?: string, source?: ResolvedSchemaSource): string[];
|
|
966
1010
|
|
|
967
|
-
export { AffixSchema, AnalyzerSchema, CONFIG_FILE_NAMES, CONFIG_SCHEMA_ID, ColumnRulesSchema, ConfigSchema, type DrzlConfig, type DrzlConfigInput, GENERATOR_KINDS, type GeneratorKind, GeneratorKindSchema, GeneratorSchema, ImportExtensionSchema, NamingSchema, aiOutDir, buildConfigJsonSchema, computeGeneratorOutputDirs, computeWatchTargets, configFromKinds, defineConfig, effectHttpOutDir, elysiaOutDir, expressOutDir, fastCheckOutDir, fastifyOutDir, filterTables, graphqlOutDir, h3OutDir, honoOutDir, importFreshConfigModule, loadConfig, mcpOutDir, nestjsOutDir, nextOutDir, resolveConfig, resolveTemplateDirsSync, seedOutDir, tableFilterWarnings, tanstackStartOutDir, trpcOutDir, tsRestOutDir };
|
|
1011
|
+
export { AffixSchema, AnalyzerSchema, CONFIG_FILE_NAMES, CONFIG_SCHEMA_ID, ColumnRulesSchema, ConfigSchema, type DrzlConfig, type DrzlConfigInput, GENERATOR_KINDS, type GeneratorKind, GeneratorKindSchema, GeneratorSchema, ImportExtensionSchema, NamingSchema, aiOutDir, buildConfigJsonSchema, computeGeneratorOutputDirs, computeWatchTargets, configFromKinds, defineConfig, effectHttpOutDir, elysiaOutDir, expressOutDir, fastCheckOutDir, fastifyOutDir, filterTables, formsOutDir, graphqlOutDir, h3OutDir, honoOutDir, importFreshConfigModule, loadConfig, mcpOutDir, nestjsOutDir, nextOutDir, openApiFetchOutDir, resolveConfig, resolveTemplateDirsSync, seedOutDir, tableFilterWarnings, tanstackStartOutDir, trpcOutDir, tsRestOutDir };
|
package/dist/config.d.ts
CHANGED
|
@@ -128,6 +128,8 @@ declare const GeneratorKindSchema: z.ZodEnum<{
|
|
|
128
128
|
next: "next";
|
|
129
129
|
"tanstack-start": "tanstack-start";
|
|
130
130
|
"ts-rest": "ts-rest";
|
|
131
|
+
"openapi-fetch": "openapi-fetch";
|
|
132
|
+
forms: "forms";
|
|
131
133
|
seed: "seed";
|
|
132
134
|
"fast-check": "fast-check";
|
|
133
135
|
service: "service";
|
|
@@ -159,6 +161,8 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
159
161
|
next: "next";
|
|
160
162
|
"tanstack-start": "tanstack-start";
|
|
161
163
|
"ts-rest": "ts-rest";
|
|
164
|
+
"openapi-fetch": "openapi-fetch";
|
|
165
|
+
forms: "forms";
|
|
162
166
|
seed: "seed";
|
|
163
167
|
"fast-check": "fast-check";
|
|
164
168
|
service: "service";
|
|
@@ -184,6 +188,7 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
184
188
|
apiName: z.ZodOptional<z.ZodString>;
|
|
185
189
|
contractName: z.ZodOptional<z.ZodString>;
|
|
186
190
|
appName: z.ZodOptional<z.ZodString>;
|
|
191
|
+
clientName: z.ZodOptional<z.ZodString>;
|
|
187
192
|
count: z.ZodOptional<z.ZodNumber>;
|
|
188
193
|
prefix: z.ZodOptional<z.ZodString>;
|
|
189
194
|
pathPrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -199,8 +204,8 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
199
204
|
includeRelations: z.ZodOptional<z.ZodBoolean>;
|
|
200
205
|
sharedEnums: z.ZodOptional<z.ZodBoolean>;
|
|
201
206
|
coerceDates: z.ZodOptional<z.ZodEnum<{
|
|
202
|
-
none: "none";
|
|
203
207
|
input: "input";
|
|
208
|
+
none: "none";
|
|
204
209
|
all: "all";
|
|
205
210
|
}>>;
|
|
206
211
|
typedJson: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -214,6 +219,7 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
214
219
|
meta: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
215
220
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
216
221
|
description: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
registryIds: z.ZodOptional<z.ZodBoolean>;
|
|
217
223
|
}, z.core.$strict>]>>;
|
|
218
224
|
standardSchema: z.ZodOptional<z.ZodBoolean>;
|
|
219
225
|
nestedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -249,14 +255,22 @@ declare const GeneratorSchema: z.ZodObject<{
|
|
|
249
255
|
"draft-2020-12": "draft-2020-12";
|
|
250
256
|
"openapi-3.1": "openapi-3.1";
|
|
251
257
|
"openapi-3.0": "openapi-3.0";
|
|
258
|
+
"react-hook-form": "react-hook-form";
|
|
259
|
+
"tanstack-form": "tanstack-form";
|
|
260
|
+
both: "both";
|
|
252
261
|
}>>;
|
|
262
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
263
|
+
insert: "insert";
|
|
264
|
+
update: "update";
|
|
265
|
+
select: "select";
|
|
266
|
+
}>>>;
|
|
253
267
|
components: z.ZodOptional<z.ZodBoolean>;
|
|
254
268
|
document: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
255
269
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
256
270
|
format: z.ZodOptional<z.ZodEnum<{
|
|
257
271
|
ts: "ts";
|
|
258
|
-
json: "json";
|
|
259
272
|
both: "both";
|
|
273
|
+
json: "json";
|
|
260
274
|
}>>;
|
|
261
275
|
info: z.ZodOptional<z.ZodObject<{
|
|
262
276
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -412,6 +426,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
412
426
|
next: "next";
|
|
413
427
|
"tanstack-start": "tanstack-start";
|
|
414
428
|
"ts-rest": "ts-rest";
|
|
429
|
+
"openapi-fetch": "openapi-fetch";
|
|
430
|
+
forms: "forms";
|
|
415
431
|
seed: "seed";
|
|
416
432
|
"fast-check": "fast-check";
|
|
417
433
|
service: "service";
|
|
@@ -437,6 +453,7 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
437
453
|
apiName: z.ZodOptional<z.ZodString>;
|
|
438
454
|
contractName: z.ZodOptional<z.ZodString>;
|
|
439
455
|
appName: z.ZodOptional<z.ZodString>;
|
|
456
|
+
clientName: z.ZodOptional<z.ZodString>;
|
|
440
457
|
count: z.ZodOptional<z.ZodNumber>;
|
|
441
458
|
prefix: z.ZodOptional<z.ZodString>;
|
|
442
459
|
pathPrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -452,8 +469,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
452
469
|
includeRelations: z.ZodOptional<z.ZodBoolean>;
|
|
453
470
|
sharedEnums: z.ZodOptional<z.ZodBoolean>;
|
|
454
471
|
coerceDates: z.ZodOptional<z.ZodEnum<{
|
|
455
|
-
none: "none";
|
|
456
472
|
input: "input";
|
|
473
|
+
none: "none";
|
|
457
474
|
all: "all";
|
|
458
475
|
}>>;
|
|
459
476
|
typedJson: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -467,6 +484,7 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
467
484
|
meta: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
468
485
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
469
486
|
description: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
registryIds: z.ZodOptional<z.ZodBoolean>;
|
|
470
488
|
}, z.core.$strict>]>>;
|
|
471
489
|
standardSchema: z.ZodOptional<z.ZodBoolean>;
|
|
472
490
|
nestedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -502,14 +520,22 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
502
520
|
"draft-2020-12": "draft-2020-12";
|
|
503
521
|
"openapi-3.1": "openapi-3.1";
|
|
504
522
|
"openapi-3.0": "openapi-3.0";
|
|
523
|
+
"react-hook-form": "react-hook-form";
|
|
524
|
+
"tanstack-form": "tanstack-form";
|
|
525
|
+
both: "both";
|
|
505
526
|
}>>;
|
|
527
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
528
|
+
insert: "insert";
|
|
529
|
+
update: "update";
|
|
530
|
+
select: "select";
|
|
531
|
+
}>>>;
|
|
506
532
|
components: z.ZodOptional<z.ZodBoolean>;
|
|
507
533
|
document: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
508
534
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
509
535
|
format: z.ZodOptional<z.ZodEnum<{
|
|
510
536
|
ts: "ts";
|
|
511
|
-
json: "json";
|
|
512
537
|
both: "both";
|
|
538
|
+
json: "json";
|
|
513
539
|
}>>;
|
|
514
540
|
info: z.ZodOptional<z.ZodObject<{
|
|
515
541
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -833,6 +859,24 @@ declare function tsRestOutDir(g: {
|
|
|
833
859
|
}, cfg: {
|
|
834
860
|
outDir: string;
|
|
835
861
|
}): string;
|
|
862
|
+
/**
|
|
863
|
+
* Where the openapi-fetch client goes.
|
|
864
|
+
*
|
|
865
|
+
* The same rule again. It writes one module, `client.ts`, rather than a barrel, but a client is a
|
|
866
|
+
* thing a project imports by path and giving it its own `path` is what lets it sit beside the
|
|
867
|
+
* document it describes rather than inside a router's output directory.
|
|
868
|
+
*/
|
|
869
|
+
declare function openApiFetchOutDir(g: {
|
|
870
|
+
path?: string;
|
|
871
|
+
}, cfg: {
|
|
872
|
+
outDir: string;
|
|
873
|
+
}): string;
|
|
874
|
+
/** Where the form modules go. The same rule again: it writes a barrel of its own. */
|
|
875
|
+
declare function formsOutDir(g: {
|
|
876
|
+
path?: string;
|
|
877
|
+
}, cfg: {
|
|
878
|
+
outDir: string;
|
|
879
|
+
}): string;
|
|
836
880
|
/**
|
|
837
881
|
* Where the Elysia generator writes.
|
|
838
882
|
*
|
|
@@ -964,4 +1008,4 @@ declare function tableFilterWarnings(tables: readonly {
|
|
|
964
1008
|
}): string[];
|
|
965
1009
|
declare function computeWatchTargets(cfg: DrzlConfig, cwd?: string, source?: ResolvedSchemaSource): string[];
|
|
966
1010
|
|
|
967
|
-
export { AffixSchema, AnalyzerSchema, CONFIG_FILE_NAMES, CONFIG_SCHEMA_ID, ColumnRulesSchema, ConfigSchema, type DrzlConfig, type DrzlConfigInput, GENERATOR_KINDS, type GeneratorKind, GeneratorKindSchema, GeneratorSchema, ImportExtensionSchema, NamingSchema, aiOutDir, buildConfigJsonSchema, computeGeneratorOutputDirs, computeWatchTargets, configFromKinds, defineConfig, effectHttpOutDir, elysiaOutDir, expressOutDir, fastCheckOutDir, fastifyOutDir, filterTables, graphqlOutDir, h3OutDir, honoOutDir, importFreshConfigModule, loadConfig, mcpOutDir, nestjsOutDir, nextOutDir, resolveConfig, resolveTemplateDirsSync, seedOutDir, tableFilterWarnings, tanstackStartOutDir, trpcOutDir, tsRestOutDir };
|
|
1011
|
+
export { AffixSchema, AnalyzerSchema, CONFIG_FILE_NAMES, CONFIG_SCHEMA_ID, ColumnRulesSchema, ConfigSchema, type DrzlConfig, type DrzlConfigInput, GENERATOR_KINDS, type GeneratorKind, GeneratorKindSchema, GeneratorSchema, ImportExtensionSchema, NamingSchema, aiOutDir, buildConfigJsonSchema, computeGeneratorOutputDirs, computeWatchTargets, configFromKinds, defineConfig, effectHttpOutDir, elysiaOutDir, expressOutDir, fastCheckOutDir, fastifyOutDir, filterTables, formsOutDir, graphqlOutDir, h3OutDir, honoOutDir, importFreshConfigModule, loadConfig, mcpOutDir, nestjsOutDir, nextOutDir, openApiFetchOutDir, resolveConfig, resolveTemplateDirsSync, seedOutDir, tableFilterWarnings, tanstackStartOutDir, trpcOutDir, tsRestOutDir };
|
package/dist/config.js
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
fastCheckOutDir,
|
|
23
23
|
fastifyOutDir,
|
|
24
24
|
filterTables,
|
|
25
|
+
formsOutDir,
|
|
25
26
|
graphqlOutDir,
|
|
26
27
|
h3OutDir,
|
|
27
28
|
honoOutDir,
|
|
@@ -30,6 +31,7 @@ import {
|
|
|
30
31
|
mcpOutDir,
|
|
31
32
|
nestjsOutDir,
|
|
32
33
|
nextOutDir,
|
|
34
|
+
openApiFetchOutDir,
|
|
33
35
|
resolveConfig,
|
|
34
36
|
resolveTemplateDirsSync,
|
|
35
37
|
seedOutDir,
|
|
@@ -37,7 +39,7 @@ import {
|
|
|
37
39
|
tanstackStartOutDir,
|
|
38
40
|
trpcOutDir,
|
|
39
41
|
tsRestOutDir
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EQ4OSVMJ.js";
|
|
41
43
|
export {
|
|
42
44
|
AffixSchema,
|
|
43
45
|
AnalyzerSchema,
|
|
@@ -62,6 +64,7 @@ export {
|
|
|
62
64
|
fastCheckOutDir,
|
|
63
65
|
fastifyOutDir,
|
|
64
66
|
filterTables,
|
|
67
|
+
formsOutDir,
|
|
65
68
|
graphqlOutDir,
|
|
66
69
|
h3OutDir,
|
|
67
70
|
honoOutDir,
|
|
@@ -70,6 +73,7 @@ export {
|
|
|
70
73
|
mcpOutDir,
|
|
71
74
|
nestjsOutDir,
|
|
72
75
|
nextOutDir,
|
|
76
|
+
openApiFetchOutDir,
|
|
73
77
|
resolveConfig,
|
|
74
78
|
resolveTemplateDirsSync,
|
|
75
79
|
seedOutDir,
|
|
@@ -122,6 +122,8 @@
|
|
|
122
122
|
"next",
|
|
123
123
|
"tanstack-start",
|
|
124
124
|
"ts-rest",
|
|
125
|
+
"openapi-fetch",
|
|
126
|
+
"forms",
|
|
125
127
|
"seed",
|
|
126
128
|
"fast-check",
|
|
127
129
|
"service",
|
|
@@ -163,6 +165,9 @@
|
|
|
163
165
|
"appName": {
|
|
164
166
|
"type": "string"
|
|
165
167
|
},
|
|
168
|
+
"clientName": {
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
166
171
|
"count": {
|
|
167
172
|
"type": "integer",
|
|
168
173
|
"exclusiveMinimum": 0,
|
|
@@ -252,6 +257,9 @@
|
|
|
252
257
|
},
|
|
253
258
|
"description": {
|
|
254
259
|
"type": "boolean"
|
|
260
|
+
},
|
|
261
|
+
"registryIds": {
|
|
262
|
+
"type": "boolean"
|
|
255
263
|
}
|
|
256
264
|
},
|
|
257
265
|
"additionalProperties": false
|
|
@@ -350,9 +358,23 @@
|
|
|
350
358
|
"enum": [
|
|
351
359
|
"draft-2020-12",
|
|
352
360
|
"openapi-3.1",
|
|
353
|
-
"openapi-3.0"
|
|
361
|
+
"openapi-3.0",
|
|
362
|
+
"react-hook-form",
|
|
363
|
+
"tanstack-form",
|
|
364
|
+
"both"
|
|
354
365
|
]
|
|
355
366
|
},
|
|
367
|
+
"modes": {
|
|
368
|
+
"type": "array",
|
|
369
|
+
"items": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"enum": [
|
|
372
|
+
"insert",
|
|
373
|
+
"update",
|
|
374
|
+
"select"
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
},
|
|
356
378
|
"components": {
|
|
357
379
|
"type": "boolean"
|
|
358
380
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drzl/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.37.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -29,26 +29,32 @@
|
|
|
29
29
|
"jiti": "^2.7.0",
|
|
30
30
|
"ora": "^9.4.1",
|
|
31
31
|
"zod": "^4.4.3",
|
|
32
|
-
"@drzl/analyzer": "^1.
|
|
32
|
+
"@drzl/analyzer": "^1.22.0",
|
|
33
33
|
"@drzl/generator-ai": "^0.1.0",
|
|
34
34
|
"@drzl/generator-arktype": "^3.17.5",
|
|
35
35
|
"@drzl/generator-effect": "^0.5.4",
|
|
36
|
+
"@drzl/generator-effect-http": "^0.1.0",
|
|
37
|
+
"@drzl/generator-elysia": "^0.2.0",
|
|
36
38
|
"@drzl/generator-express": "^0.2.2",
|
|
39
|
+
"@drzl/generator-fast-check": "^0.2.0",
|
|
37
40
|
"@drzl/generator-fastify": "^0.2.2",
|
|
38
41
|
"@drzl/generator-graphql": "^0.2.1",
|
|
42
|
+
"@drzl/generator-h3": "^0.1.0",
|
|
39
43
|
"@drzl/generator-hono": "^0.2.2",
|
|
40
44
|
"@drzl/generator-json-schema": "^0.9.3",
|
|
41
45
|
"@drzl/generator-mcp": "^0.1.0",
|
|
42
46
|
"@drzl/generator-nestjs": "^0.2.3",
|
|
43
|
-
"@drzl/generator-next": "^0.1.
|
|
47
|
+
"@drzl/generator-next": "^0.1.1",
|
|
44
48
|
"@drzl/generator-orpc": "^2.9.2",
|
|
49
|
+
"@drzl/generator-seed": "^0.2.0",
|
|
45
50
|
"@drzl/generator-service": "^2.5.3",
|
|
46
51
|
"@drzl/generator-tanstack-start": "^0.1.0",
|
|
47
52
|
"@drzl/generator-trpc": "^0.3.2",
|
|
53
|
+
"@drzl/generator-ts-rest": "^0.2.0",
|
|
48
54
|
"@drzl/generator-typebox": "^0.14.6",
|
|
49
55
|
"@drzl/generator-valibot": "^3.20.5",
|
|
50
|
-
"@drzl/generator-zod": "^3.
|
|
51
|
-
"@drzl/validation-core": "^3.
|
|
56
|
+
"@drzl/generator-zod": "^3.22.0",
|
|
57
|
+
"@drzl/validation-core": "^3.23.0"
|
|
52
58
|
},
|
|
53
59
|
"devDependencies": {
|
|
54
60
|
"ajv": "^8.17.1",
|
|
@@ -75,12 +81,8 @@
|
|
|
75
81
|
"url": "https://github.com/sponsors/omar-dulaimi"
|
|
76
82
|
},
|
|
77
83
|
"optionalDependencies": {
|
|
78
|
-
"@drzl/generator-
|
|
79
|
-
"@drzl/generator-
|
|
80
|
-
"@drzl/generator-fast-check": "^0.2.0",
|
|
81
|
-
"@drzl/generator-h3": "^0.1.0",
|
|
82
|
-
"@drzl/generator-seed": "^0.2.0",
|
|
83
|
-
"@drzl/generator-ts-rest": "^0.2.0"
|
|
84
|
+
"@drzl/generator-forms": "^0.2.0",
|
|
85
|
+
"@drzl/generator-openapi-fetch": "^0.2.0"
|
|
84
86
|
},
|
|
85
87
|
"scripts": {
|
|
86
88
|
"build": "tsup src/cli.ts src/config.ts --format esm,cjs --sourcemap --dts --clean && node scripts/gen-config-schema.mjs",
|