import { IGeneralStatus } from './status'; interface TableRows { documentId?: string; [key: string]: string; } export interface ITable { id?: string; workflowId: string; name: string; service: string; language: string; status: IGeneralStatus; table_headers: string[]; table_rows: TableRows[]; createdAt: Date; updatedAt: Date; } export declare enum IColumnTypes { integer = "integer", smallint = "smallint", decimal = "decimal", bigint = "bigint", doublePrecision = "doublePrecision", string = "string", boolean = "boolean", date = "date", timestamp = "timestamp", uuid = "uuid", json = "json", text = "text" } export interface IColumnSchema { name: string; type: IColumnTypes; length?: number; autoIncrement?: boolean; primaryKey?: boolean; notNull?: boolean; } export interface IStorageSchema { _id?: string; id?: string; workflowId?: string; tableName: string; columns: IColumnSchema[]; status: IGeneralStatus; createdAt: Date; updatedAt: Date; } export {};