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;
|
|
|
|
}[];
|
2022-06-26 15:07:37 +02:00
|
|
|
includes: {[key: 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;
|
|
|
|
}
|