antares/src/common/interfaces/exporter.ts

29 lines
633 B
TypeScript
Raw Normal View History

2022-04-15 23:13:23 +02:00
export interface TableParams {
table: string;
includeStructure: boolean;
includeContent: boolean;
includeDropStatement: boolean;
}
export interface ExportOptions {
schema: string;
2022-07-06 10:26:24 +02:00
tables: {
table: string;
includeStructure: boolean;
includeContent: boolean;
includeDropStatement: boolean;
}[];
2024-01-19 18:03:20 +01:00
includes: Record<string, boolean>;
2022-04-15 23:13:23 +02:00
outputFormat: 'sql' | 'sql.zip';
outputFile: string;
sqlInsertAfter: number;
sqlInsertDivider: 'bytes' | 'rows';
}
export interface ExportState {
totalItems?: number;
currentItemIndex?: number;
currentItem?: string;
op?: string;
}