You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Currently does not support [mongoDB composite types](https://www.prisma.io/docs/orm/prisma-schema/data-model/models#defining-composite-types)
5
5
6
-
> Development is currently on hold, please see [here](https://github.com/m1212e/prismabox/issues/59)
6
+
> Development is currently on hold, please see [here](https://github.com/m1212e/prismabox/issues/59)
7
7
8
8
Install it in your project,
9
9
```bash
@@ -22,6 +22,10 @@ generator prismabox {
22
22
typeboxImportVariableName = "t"
23
23
// you also can specify the dependency from which the above import should happen. This is useful if a package re-exports the typebox package and you would like to use that
24
24
typeboxImportDependencyName = "elysia"
25
+
// optionally generate TS aliases for each schema: export type MySchema = UnwrapSchema<typeof MySchema>
26
+
generateTsTypes = true
27
+
// optionally customize the unwrap utility type symbol (imported from the same package as typeboxImportDependencyName)
28
+
unwrapSchemaImportName = "UnwrapSchema"
25
29
// by default the generated schemes do not allow additional properties. You can allow them by setting this to true
26
30
additionalProperties = true
27
31
// optionally enable the data model generation. See the data model section below for more info
0 commit comments