import { UsableLocale } from '@faker-js/faker'; export interface TableUpdateParams { uid: string; schema: string; table: string; primary?: string; id: number | string; content: number | string | boolean | Date | Blob | null; type: string; field: string; } export interface TableDeleteParams { uid: string; schema: string; table: string; primary?: string; field: string; // eslint-disable-next-line @typescript-eslint/no-explicit-any rows: Record; } export type TableFilterOperator = '=' | '!=' | '>' | '<' | '>=' | '<=' | 'IN' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'RLIKE' | 'NOT RLIKE' | 'BETWEEN' | 'IS NULL' | 'IS NOT NULL' export interface TableFilterClausole { active: boolean; field: string; op:TableFilterOperator; value: ''; value2: ''; } export interface InsertRowsParams { uid: string; schema: string; table: string; row: Record; repeat: number; fields: Record; locale: UsableLocale; }