Remove unnused StringFieldMetadata
This commit is contained in:
parent
f57104730e
commit
0113b5d8e8
|
@ -57,7 +57,6 @@ export interface AutoColumnFieldMetadata
|
||||||
|
|
||||||
export interface NumberFieldMetadata extends Omit<BaseFieldSchema, "subtype"> {
|
export interface NumberFieldMetadata extends Omit<BaseFieldSchema, "subtype"> {
|
||||||
type: FieldType.NUMBER
|
type: FieldType.NUMBER
|
||||||
autocolumn?: boolean
|
|
||||||
subtype?: AutoFieldSubTypes.AUTO_ID
|
subtype?: AutoFieldSubTypes.AUTO_ID
|
||||||
autoReason?: AutoReason.FOREIGN_KEY
|
autoReason?: AutoReason.FOREIGN_KEY
|
||||||
// used specifically when Budibase generates external tables, this denotes if a number field
|
// used specifically when Budibase generates external tables, this denotes if a number field
|
||||||
|
@ -74,10 +73,6 @@ export interface DateFieldMetadata extends BaseFieldSchema {
|
||||||
timeOnly?: boolean
|
timeOnly?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface StringFieldMetadata extends BaseFieldSchema {
|
|
||||||
type: FieldType.STRING
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface LongFormFieldMetadata extends BaseFieldSchema {
|
export interface LongFormFieldMetadata extends BaseFieldSchema {
|
||||||
type: FieldType.LONGFORM
|
type: FieldType.LONGFORM
|
||||||
useRichText?: boolean | null
|
useRichText?: boolean | null
|
||||||
|
@ -136,7 +131,6 @@ interface OtherFieldMetadata extends BaseFieldSchema {
|
||||||
| FieldType.DATETIME
|
| FieldType.DATETIME
|
||||||
| FieldType.LINK
|
| FieldType.LINK
|
||||||
| FieldType.AUTO
|
| FieldType.AUTO
|
||||||
| FieldType.STRING
|
|
||||||
| FieldType.FORMULA
|
| FieldType.FORMULA
|
||||||
| FieldType.NUMBER
|
| FieldType.NUMBER
|
||||||
| FieldType.LONGFORM
|
| FieldType.LONGFORM
|
||||||
|
@ -148,7 +142,6 @@ export type FieldSchema =
|
||||||
| DateFieldMetadata
|
| DateFieldMetadata
|
||||||
| RelationshipFieldMetadata
|
| RelationshipFieldMetadata
|
||||||
| AutoColumnFieldMetadata
|
| AutoColumnFieldMetadata
|
||||||
| StringFieldMetadata
|
|
||||||
| FormulaFieldMetadata
|
| FormulaFieldMetadata
|
||||||
| NumberFieldMetadata
|
| NumberFieldMetadata
|
||||||
| LongFormFieldMetadata
|
| LongFormFieldMetadata
|
||||||
|
|
Loading…
Reference in New Issue