2022-05-21 08:16:29 +12:00
|
|
|
import { Document } from "../document"
|
2022-05-20 23:29:31 +12:00
|
|
|
|
2022-08-12 00:50:05 +12:00
|
|
|
export enum FieldType {
|
2022-08-11 22:48:58 +12:00
|
|
|
STRING = "string",
|
|
|
|
LONGFORM = "longform",
|
|
|
|
OPTIONS = "options",
|
|
|
|
NUMBER = "number",
|
|
|
|
BOOLEAN = "boolean",
|
|
|
|
ARRAY = "array",
|
|
|
|
DATETIME = "datetime",
|
|
|
|
ATTACHMENT = "attachment",
|
|
|
|
LINK = "link",
|
|
|
|
FORMULA = "formula",
|
|
|
|
AUTO = "auto",
|
|
|
|
JSON = "json",
|
|
|
|
INTERNAL = "internal",
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Row extends Document {
|
|
|
|
type?: string
|
|
|
|
tableId?: string
|
|
|
|
[key: string]: any
|
|
|
|
}
|