From 0113b5d8e8f41b2b5bc7e7de7741bd2d796b3bce Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 11 Oct 2023 12:33:01 +0200 Subject: [PATCH] Remove unnused StringFieldMetadata --- packages/types/src/documents/app/table/schema.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/types/src/documents/app/table/schema.ts b/packages/types/src/documents/app/table/schema.ts index 6ecc32dca4..5cab8e5da0 100644 --- a/packages/types/src/documents/app/table/schema.ts +++ b/packages/types/src/documents/app/table/schema.ts @@ -57,7 +57,6 @@ export interface AutoColumnFieldMetadata export interface NumberFieldMetadata extends Omit { type: FieldType.NUMBER - autocolumn?: boolean subtype?: AutoFieldSubTypes.AUTO_ID autoReason?: AutoReason.FOREIGN_KEY // used specifically when Budibase generates external tables, this denotes if a number field @@ -74,10 +73,6 @@ export interface DateFieldMetadata extends BaseFieldSchema { timeOnly?: boolean } -export interface StringFieldMetadata extends BaseFieldSchema { - type: FieldType.STRING -} - export interface LongFormFieldMetadata extends BaseFieldSchema { type: FieldType.LONGFORM useRichText?: boolean | null @@ -136,7 +131,6 @@ interface OtherFieldMetadata extends BaseFieldSchema { | FieldType.DATETIME | FieldType.LINK | FieldType.AUTO - | FieldType.STRING | FieldType.FORMULA | FieldType.NUMBER | FieldType.LONGFORM @@ -148,7 +142,6 @@ export type FieldSchema = | DateFieldMetadata | RelationshipFieldMetadata | AutoColumnFieldMetadata - | StringFieldMetadata | FormulaFieldMetadata | NumberFieldMetadata | LongFormFieldMetadata