From 909e6e1afc08ef0b043a3bb9e0677a49cf5d4c94 Mon Sep 17 00:00:00 2001 From: Cyrille Perois Date: Tue, 18 Jul 2023 09:10:47 +0200 Subject: [PATCH] feat: export all field schema types --- src/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types.ts b/src/types.ts index ec57b66..685d530 100644 --- a/src/types.ts +++ b/src/types.ts @@ -78,17 +78,17 @@ export type BooleanFieldSchema = CommonFieldSchema & { default?: boolean; }; -type NumberFieldSchema = CommonFieldSchema & { +export type NumberFieldSchema = CommonFieldSchema & { type: "number"; default?: number; }; -type IntegerFieldSchema = CommonFieldSchema & { +export type IntegerFieldSchema = CommonFieldSchema & { type: "integer"; default?: number; }; -type ArrayFieldSchema = CommonFieldSchema & { +export type ArrayFieldSchema = CommonFieldSchema & { type: "array"; };