Updates
This commit is contained in:
Vendored
+5
-3
@@ -1,15 +1,17 @@
|
||||
export declare const ExportArchiveMembers: {
|
||||
readonly SqlFileName: "dump.sql";
|
||||
readonly SchemaFileName: "schema.ts";
|
||||
readonly SchemaFileName: "schema";
|
||||
};
|
||||
export type ExportArchiveContents = {
|
||||
sql: string;
|
||||
schemaTs: string;
|
||||
schema: string;
|
||||
/** Archive member basename, e.g. schema.ts / schema.json / schema.yaml */
|
||||
schemaFileName: string;
|
||||
};
|
||||
export declare function isArchivePath(filePath: string): boolean;
|
||||
export declare function isSqlPath(filePath: string): boolean;
|
||||
/**
|
||||
* Create a portable export archive (tar / tar.gz / zip) with dump.sql + schema.ts.
|
||||
* Create a portable export archive (tar / tar.gz / zip) with dump.sql + schema file.
|
||||
*/
|
||||
export declare function writeExportArchive({ contents, outPath, }: {
|
||||
contents: ExportArchiveContents;
|
||||
|
||||
Reference in New Issue
Block a user