@runnerpro/backend 1.0.4 → 1.0.6
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/lib/cjs/err/index.js +7 -0
- package/lib/cjs/index.js +3 -1
- package/lib/cjs/sendMail/index.js +1 -1
- package/lib/cjs/types/err/index.d.ts +3 -0
- package/lib/cjs/types/err/index.d.ts.map +1 -0
- package/lib/cjs/types/index.d.ts +2 -1
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sendMail = exports.batchQuery = exports.query = exports.sleep = exports.sendNotification = void 0;
|
|
3
|
+
exports.err = exports.sendMail = exports.batchQuery = exports.query = exports.sleep = exports.sendNotification = void 0;
|
|
4
4
|
const sendNotification_1 = require("./sendNotification");
|
|
5
5
|
Object.defineProperty(exports, "sendNotification", { enumerable: true, get: function () { return sendNotification_1.sendNotification; } });
|
|
6
6
|
const sleep_1 = require("./sleep");
|
|
@@ -10,3 +10,5 @@ Object.defineProperty(exports, "query", { enumerable: true, get: function () { r
|
|
|
10
10
|
Object.defineProperty(exports, "batchQuery", { enumerable: true, get: function () { return db_1.batchQuery; } });
|
|
11
11
|
const sendMail_1 = require("./sendMail");
|
|
12
12
|
Object.defineProperty(exports, "sendMail", { enumerable: true, get: function () { return sendMail_1.sendMail; } });
|
|
13
|
+
const err_1 = require("./err");
|
|
14
|
+
Object.defineProperty(exports, "err", { enumerable: true, get: function () { return err_1.err; } });
|
|
@@ -36,7 +36,7 @@ const sendMail = ({ subject, title, body, to, link, attachments, bcc, }) => __aw
|
|
|
36
36
|
...(attachments || []),
|
|
37
37
|
{
|
|
38
38
|
filename: 'logo-large.png',
|
|
39
|
-
path:
|
|
39
|
+
path: 'https://storage.googleapis.com/assets_runnerpro/logo-large.png',
|
|
40
40
|
cid: 'logo',
|
|
41
41
|
},
|
|
42
42
|
],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/err/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG,QAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAE1C,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ import { sendNotification } from './sendNotification';
|
|
|
2
2
|
import { sleep } from './sleep';
|
|
3
3
|
import { query, batchQuery } from './db';
|
|
4
4
|
import { sendMail } from './sendMail';
|
|
5
|
-
|
|
5
|
+
import { err } from './err';
|
|
6
|
+
export { sendNotification, sleep, query, batchQuery, sendMail, err };
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC"}
|