Skip to content

Commit 35cce79

Browse files
committed
Removing required, adding fullText and json type
1 parent db81cbc commit 35cce79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface Property {
1818
pattern?: string;
1919
readOnly?: boolean;
2020
unique?: boolean;
21-
type: "array" | "boolean" | "date" | "integer" | "number" | "object" | "string";
21+
type: "array" | "boolean" | "date" | "integer" | "json" | "number" | "object" | "string";
2222
writeOnly?: boolean;
2323
}
2424

@@ -28,9 +28,9 @@ export interface Column extends Property {
2828
dateOn?: "delete" | "insert" | "update";
2929
constraint?: string;
3030
format?: string;
31+
fullText?: boolean;
3132
index?: string[];
3233
primaryKey?: boolean;
33-
required?: boolean;
3434
}
3535

3636
// Extra properties such as `array`, 'subType' and 'unique can only be defined externally

0 commit comments

Comments
 (0)