@budibase/backend-core 3.34.5 → 3.34.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/backend-core",
|
|
3
|
-
"version": "3.34.
|
|
3
|
+
"version": "3.34.7",
|
|
4
4
|
"description": "Budibase backend core libraries used in server and worker",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"bull": "4.10.1",
|
|
46
46
|
"correlation-id": "4.0.0",
|
|
47
47
|
"csvtojson": "2.0.13",
|
|
48
|
-
"dd-trace": "5.
|
|
48
|
+
"dd-trace": "5.92.0",
|
|
49
49
|
"dotenv": "16.0.1",
|
|
50
50
|
"google-auth-library": "^10.5.0",
|
|
51
51
|
"google-spreadsheet": "npm:@budibase/google-spreadsheet@4.1.5",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "0842f52bf3b8700529e56800ef866175e2850e19"
|
|
114
114
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackupTrigger, BackupType, WorkspaceBackup } from "@budibase/types";
|
|
2
|
-
declare function
|
|
3
|
-
declare function
|
|
2
|
+
declare function workspaceBackupRestored(backup: WorkspaceBackup): Promise<void>;
|
|
3
|
+
declare function workspaceBackupTriggered(appId: string, backupId: string, type: BackupType, trigger: BackupTrigger, name: string): Promise<void>;
|
|
4
4
|
declare const _default: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
workspaceBackupRestored: typeof workspaceBackupRestored;
|
|
6
|
+
workspaceBackupTriggered: typeof workspaceBackupTriggered;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const types_1 = require("@budibase/types");
|
|
13
13
|
const events_1 = require("../events");
|
|
14
|
-
function
|
|
14
|
+
function workspaceBackupRestored(backup) {
|
|
15
15
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16
16
|
const properties = {
|
|
17
17
|
appId: backup.appId,
|
|
@@ -22,7 +22,7 @@ function appBackupRestored(backup) {
|
|
|
22
22
|
yield (0, events_1.publishEvent)(types_1.Event.APP_BACKUP_RESTORED, properties);
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function workspaceBackupTriggered(appId, backupId, type, trigger, name) {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
27
27
|
const properties = {
|
|
28
28
|
appId: appId,
|
|
@@ -35,7 +35,7 @@ function appBackupTriggered(appId, backupId, type, trigger, name) {
|
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
exports.default = {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
workspaceBackupRestored,
|
|
39
|
+
workspaceBackupTriggered,
|
|
40
40
|
};
|
|
41
41
|
//# sourceMappingURL=backup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../../../src/events/publishers/backup.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAOwB;AACxB,sCAAwC;AAExC,SAAe,
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../../../src/events/publishers/backup.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAOwB;AACxB,sCAAwC;AAExC,SAAe,uBAAuB,CAAC,MAAuB;;QAC5D,MAAM,UAAU,GAAgC;YAC9C,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,SAAS,EAAE,MAAM,CAAC,GAAI;YACtB,eAAe,EAAE,MAAM,CAAC,SAAS;YACjC,IAAI,EAAE,MAAM,CAAC,IAAc;SAC5B,CAAA;QAED,MAAM,IAAA,qBAAY,EAAC,aAAK,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;IAC3D,CAAC;CAAA;AAED,SAAe,wBAAwB,CACrC,KAAa,EACb,QAAgB,EAChB,IAAgB,EAChB,OAAsB,EACtB,IAAY;;QAEZ,MAAM,UAAU,GAAkC;YAChD,KAAK,EAAE,KAAK;YACZ,QAAQ;YACR,IAAI;YACJ,OAAO;YACP,IAAI;SACL,CAAA;QACD,MAAM,IAAA,qBAAY,EAAC,aAAK,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAA;IAC5D,CAAC;CAAA;AAED,kBAAe;IACb,uBAAuB;IACvB,wBAAwB;CACzB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/backend-core",
|
|
3
|
-
"version": "3.34.
|
|
3
|
+
"version": "3.34.7",
|
|
4
4
|
"description": "Budibase backend core libraries used in server and worker",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"bull": "4.10.1",
|
|
46
46
|
"correlation-id": "4.0.0",
|
|
47
47
|
"csvtojson": "2.0.13",
|
|
48
|
-
"dd-trace": "5.
|
|
48
|
+
"dd-trace": "5.92.0",
|
|
49
49
|
"dotenv": "16.0.1",
|
|
50
50
|
"google-auth-library": "^10.5.0",
|
|
51
51
|
"google-spreadsheet": "npm:@budibase/google-spreadsheet@4.1.5",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "0842f52bf3b8700529e56800ef866175e2850e19"
|
|
114
114
|
}
|