@budibase/pro 3.34.1 → 3.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +45 -41
- package/dist/types/init.d.ts +7 -2
- package/package.json +2 -2
package/dist/types/init.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WorkspaceBackupContents } from "@budibase/types";
|
|
1
|
+
import { Database, WorkspaceBackupContents } from "@budibase/types";
|
|
2
2
|
export interface InitOpts {
|
|
3
3
|
backups?: BackupInitOpts;
|
|
4
4
|
}
|
|
@@ -12,10 +12,15 @@ export interface ImportAppConfig {
|
|
|
12
12
|
};
|
|
13
13
|
key: string;
|
|
14
14
|
}
|
|
15
|
+
export interface ImportAppOpts {
|
|
16
|
+
updateAttachmentColumns?: boolean;
|
|
17
|
+
importObjStoreContents?: boolean;
|
|
18
|
+
objectStoreAppId?: string;
|
|
19
|
+
}
|
|
15
20
|
type ExportAppFn = (devAppId: string, opts: {
|
|
16
21
|
tar: boolean;
|
|
17
22
|
}) => Promise<string>;
|
|
18
|
-
type ImportAppFn = (
|
|
23
|
+
type ImportAppFn = (targetWorkspaceId: string, destinationDb: Database, config: ImportAppConfig, opts?: ImportAppOpts) => Promise<string>;
|
|
19
24
|
type StatsFn = (devAppId: string) => Promise<WorkspaceBackupContents>;
|
|
20
25
|
export interface BackupProcessingOpts {
|
|
21
26
|
exportAppFn: ExportAppFn;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"dist"
|
|
5
5
|
],
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
|
-
"version": "3.34.
|
|
7
|
+
"version": "3.34.2",
|
|
8
8
|
"description": "Budibase Pro (Backend)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "4d4c308333cb78bd5454f322f983dc0da62e5505"
|
|
73
73
|
}
|