Remove unnused StringFieldMetadata

This commit is contained in:
Adria Navarro 2023-10-11 12:33:01 +02:00
parent f57104730e
commit 0113b5d8e8
1 changed files with 0 additions and 7 deletions

View File

@ -57,7 +57,6 @@ export interface AutoColumnFieldMetadata
export interface NumberFieldMetadata extends Omit<BaseFieldSchema, "subtype"> {
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