sonamu 0.4.12 → 0.4.14
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/.pnp.cjs +5 -5
- package/dist/{base-model-BvVra-8f.d.mts → base-model-CEB0H0aO.d.mts} +1 -1
- package/dist/{base-model-Br6krkwK.d.ts → base-model-CrqDMYhI.d.ts} +1 -1
- package/dist/bin/cli.js +51 -51
- package/dist/bin/cli.mjs +2 -2
- package/dist/{chunk-ZLFDB43J.js → chunk-2WAC2GER.js} +147 -96
- package/dist/chunk-2WAC2GER.js.map +1 -0
- package/dist/{chunk-FKZK27YL.mjs → chunk-C3IPIF6O.mjs} +2 -2
- package/dist/{chunk-INTZUNZ6.js → chunk-EXHKSVTE.js} +7 -7
- package/dist/{chunk-LNZTU4JC.mjs → chunk-FCERKIIF.mjs} +104 -53
- package/dist/chunk-FCERKIIF.mjs.map +1 -0
- package/dist/{chunk-JQJTQQ7D.mjs → chunk-HGIBJYOU.mjs} +2 -2
- package/dist/{chunk-NPLUHS5L.mjs → chunk-JKSOJRQA.mjs} +2 -2
- package/dist/{chunk-FYLFH3Q6.js → chunk-OTKKFP3Y.js} +100 -100
- package/dist/{chunk-IEMX4VPN.js → chunk-UZ2IY5VE.js} +4 -4
- package/dist/database/drivers/knex/base-model.d.mts +2 -2
- package/dist/database/drivers/knex/base-model.d.ts +2 -2
- package/dist/database/drivers/knex/base-model.js +8 -8
- package/dist/database/drivers/knex/base-model.mjs +3 -3
- package/dist/database/drivers/kysely/base-model.d.mts +2 -2
- package/dist/database/drivers/kysely/base-model.d.ts +2 -2
- package/dist/database/drivers/kysely/base-model.js +9 -9
- package/dist/database/drivers/kysely/base-model.mjs +3 -3
- package/dist/index.d.mts +17 -4
- package/dist/index.d.ts +17 -4
- package/dist/index.js +13 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/api/caster.ts +2 -2
- package/src/api/code-converters.ts +7 -0
- package/src/api/decorators.ts +36 -4
- package/src/shared/web.shared.ts.txt +225 -0
- package/src/syncer/syncer.ts +7 -1
- package/src/templates/service.template.ts +50 -9
- package/dist/chunk-LNZTU4JC.mjs.map +0 -1
- package/dist/chunk-ZLFDB43J.js.map +0 -1
- package/dist/{chunk-FKZK27YL.mjs.map → chunk-C3IPIF6O.mjs.map} +0 -0
- package/dist/{chunk-INTZUNZ6.js.map → chunk-EXHKSVTE.js.map} +0 -0
- package/dist/{chunk-JQJTQQ7D.mjs.map → chunk-HGIBJYOU.mjs.map} +0 -0
- package/dist/{chunk-NPLUHS5L.mjs.map → chunk-JKSOJRQA.mjs.map} +0 -0
- package/dist/{chunk-FYLFH3Q6.js.map → chunk-OTKKFP3Y.js.map} +0 -0
- package/dist/{chunk-IEMX4VPN.js.map → chunk-UZ2IY5VE.js.map} +0 -0
- package/dist/{model-DWoinpJ7.d.mts → model-aFgomcdc.d.mts} +4 -4
- package/dist/{model-DWoinpJ7.d.ts → model-aFgomcdc.d.ts} +4 -4
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -409,21 +409,21 @@ declare const TemplateOptions: z.ZodObject<{
|
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
410
|
entityId: string;
|
|
411
411
|
title: string;
|
|
412
|
+
enums?: {} | undefined;
|
|
412
413
|
parentId?: string | undefined;
|
|
413
414
|
table?: string | undefined;
|
|
414
415
|
props?: {}[] | undefined;
|
|
415
416
|
indexes?: {}[] | undefined;
|
|
416
417
|
subsets?: {} | undefined;
|
|
417
|
-
enums?: {} | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
entityId: string;
|
|
420
420
|
title: string;
|
|
421
|
+
enums?: {} | undefined;
|
|
421
422
|
parentId?: string | undefined;
|
|
422
423
|
table?: string | undefined;
|
|
423
424
|
props?: {}[] | undefined;
|
|
424
425
|
indexes?: {}[] | undefined;
|
|
425
426
|
subsets?: {} | undefined;
|
|
426
|
-
enums?: {} | undefined;
|
|
427
427
|
}>;
|
|
428
428
|
init_types: z.ZodObject<{
|
|
429
429
|
entityId: z.ZodString;
|
|
@@ -632,12 +632,12 @@ declare const TemplateOptions: z.ZodObject<{
|
|
|
632
632
|
entity: {
|
|
633
633
|
entityId: string;
|
|
634
634
|
title: string;
|
|
635
|
+
enums?: {} | undefined;
|
|
635
636
|
parentId?: string | undefined;
|
|
636
637
|
table?: string | undefined;
|
|
637
638
|
props?: {}[] | undefined;
|
|
638
639
|
indexes?: {}[] | undefined;
|
|
639
640
|
subsets?: {} | undefined;
|
|
640
|
-
enums?: {} | undefined;
|
|
641
641
|
};
|
|
642
642
|
init_types: {
|
|
643
643
|
entityId: string;
|
|
@@ -714,12 +714,12 @@ declare const TemplateOptions: z.ZodObject<{
|
|
|
714
714
|
entity: {
|
|
715
715
|
entityId: string;
|
|
716
716
|
title: string;
|
|
717
|
+
enums?: {} | undefined;
|
|
717
718
|
parentId?: string | undefined;
|
|
718
719
|
table?: string | undefined;
|
|
719
720
|
props?: {}[] | undefined;
|
|
720
721
|
indexes?: {}[] | undefined;
|
|
721
722
|
subsets?: {} | undefined;
|
|
722
|
-
enums?: {} | undefined;
|
|
723
723
|
};
|
|
724
724
|
init_types: {
|
|
725
725
|
entityId: string;
|
|
@@ -409,21 +409,21 @@ declare const TemplateOptions: z.ZodObject<{
|
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
410
|
entityId: string;
|
|
411
411
|
title: string;
|
|
412
|
+
enums?: {} | undefined;
|
|
412
413
|
parentId?: string | undefined;
|
|
413
414
|
table?: string | undefined;
|
|
414
415
|
props?: {}[] | undefined;
|
|
415
416
|
indexes?: {}[] | undefined;
|
|
416
417
|
subsets?: {} | undefined;
|
|
417
|
-
enums?: {} | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
entityId: string;
|
|
420
420
|
title: string;
|
|
421
|
+
enums?: {} | undefined;
|
|
421
422
|
parentId?: string | undefined;
|
|
422
423
|
table?: string | undefined;
|
|
423
424
|
props?: {}[] | undefined;
|
|
424
425
|
indexes?: {}[] | undefined;
|
|
425
426
|
subsets?: {} | undefined;
|
|
426
|
-
enums?: {} | undefined;
|
|
427
427
|
}>;
|
|
428
428
|
init_types: z.ZodObject<{
|
|
429
429
|
entityId: z.ZodString;
|
|
@@ -632,12 +632,12 @@ declare const TemplateOptions: z.ZodObject<{
|
|
|
632
632
|
entity: {
|
|
633
633
|
entityId: string;
|
|
634
634
|
title: string;
|
|
635
|
+
enums?: {} | undefined;
|
|
635
636
|
parentId?: string | undefined;
|
|
636
637
|
table?: string | undefined;
|
|
637
638
|
props?: {}[] | undefined;
|
|
638
639
|
indexes?: {}[] | undefined;
|
|
639
640
|
subsets?: {} | undefined;
|
|
640
|
-
enums?: {} | undefined;
|
|
641
641
|
};
|
|
642
642
|
init_types: {
|
|
643
643
|
entityId: string;
|
|
@@ -714,12 +714,12 @@ declare const TemplateOptions: z.ZodObject<{
|
|
|
714
714
|
entity: {
|
|
715
715
|
entityId: string;
|
|
716
716
|
title: string;
|
|
717
|
+
enums?: {} | undefined;
|
|
717
718
|
parentId?: string | undefined;
|
|
718
719
|
table?: string | undefined;
|
|
719
720
|
props?: {}[] | undefined;
|
|
720
721
|
indexes?: {}[] | undefined;
|
|
721
722
|
subsets?: {} | undefined;
|
|
722
|
-
enums?: {} | undefined;
|
|
723
723
|
};
|
|
724
724
|
init_types: {
|
|
725
725
|
entityId: string;
|