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