From b58fd7dc6b0e92976c330901b7b21b07b19163d1 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 29 Oct 2024 10:34:14 +0000 Subject: [PATCH] Fix OSS build. --- .../types/src/documents/app/table/schema.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/types/src/documents/app/table/schema.ts b/packages/types/src/documents/app/table/schema.ts index 9e4555e1a2..7e79902a49 100644 --- a/packages/types/src/documents/app/table/schema.ts +++ b/packages/types/src/documents/app/table/schema.ts @@ -186,6 +186,16 @@ export interface ArrayFieldMetadata extends BaseFieldSchema { default?: string[] } +export interface BooleanFieldMetadata extends BaseFieldSchema { + type: FieldType.BOOLEAN + default?: string +} + +export interface BigIntFieldMetadata extends BaseFieldSchema { + type: FieldType.BIGINT + default?: string +} + interface BaseFieldSchema extends UIFieldMetadata { type: FieldType name: string @@ -198,16 +208,6 @@ interface BaseFieldSchema extends UIFieldMetadata { subtype?: never } -interface BooleanFieldMetadata extends BaseFieldSchema { - type: FieldType.BOOLEAN - default?: string -} - -interface BigIntFieldMetadata extends BaseFieldSchema { - type: FieldType.BIGINT - default?: string -} - interface OtherFieldMetadata extends BaseFieldSchema { type: Exclude< FieldType,