export interface Table { _id: string, _rev?: string, type?: string, views?: {}, name?: string, primary?: string[], schema: { [key: string]: { // TODO: replace with field types enum when done type: string, fieldName?: string, name: string, constraints?: { type?: string, email?: boolean, inclusion?: string[], length?: { minimum?: string | number, maximum?: string | number, }, presence?: boolean, }, } }, primaryDisplay?: string, sourceId?: string, }