mirror of https://github.com/Fabio286/antares.git
29 lines
633 B
TypeScript
29 lines
633 B
TypeScript
export interface TableParams {
|
|
table: string;
|
|
includeStructure: boolean;
|
|
includeContent: boolean;
|
|
includeDropStatement: boolean;
|
|
}
|
|
|
|
export interface ExportOptions {
|
|
schema: string;
|
|
tables: {
|
|
table: string;
|
|
includeStructure: boolean;
|
|
includeContent: boolean;
|
|
includeDropStatement: boolean;
|
|
}[];
|
|
includes: Record<string, boolean>;
|
|
outputFormat: 'sql' | 'sql.zip';
|
|
outputFile: string;
|
|
sqlInsertAfter: number;
|
|
sqlInsertDivider: 'bytes' | 'rows';
|
|
}
|
|
|
|
export interface ExportState {
|
|
totalItems?: number;
|
|
currentItemIndex?: number;
|
|
currentItem?: string;
|
|
op?: string;
|
|
}
|