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
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,11 @@ Prismabox offers annotations to adjust the output of models and fields.
37
37
|@prismabox.hide | - | Hides the field or model from the output |
38
38
|@prismabox.hidden | - | Alias for @prismabox.hide |
39
39
|@prismabox.input.hide | - | Hides the field or model from the output only in the input model |
40
-
|@prismabox.create.input.hide| - | Hides the field or model from the outputs only in the input create model|
41
-
|@prismabox.update.input.hide| - | Hides the field or model from the outputs only in the input update model|
40
+
|@prismabox.create.input.hide| - | Hides the field or model from the outputs only in the input create model|
41
+
|@prismabox.update.input.hide| - | Hides the field or model from the outputs only in the input update model|
42
42
|@prismabox.options |@prismabox.options{ min: 10, max: 20 } | Uses the provided options for the field or model in the generated schema. Be careful to use valid JS/TS syntax! |
43
+
|@prismabox.typeOverwrite |@prismabox.typeOverwrite=Type.CustomName | Overwrite the type prismabox outputs for a field with a custom string. See [m1212e/prismabox#29](https://github.com/m1212e/prismabox/issues/29) for an extended usecase |
44
+
43
45
> For a more detailed list of available annotations, please see [annotations.ts](src/annotations/annotations.ts)
0 commit comments