@awell-health/awell-extensions 1.0.113 → 1.0.115
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/extensions/cloudinary/actions/uploadSingleFile/config/index.d.ts +1 -1
- package/dist/extensions/cloudinary/actions/uploadSingleFile/config/index.js +2 -1
- package/dist/extensions/cloudinary/actions/uploadSingleFile/config/index.js.map +1 -1
- package/dist/extensions/cloudinary/actions/uploadSingleFile/uploadSingleFile.js +2 -2
- package/dist/extensions/cloudinary/actions/uploadSingleFile/uploadSingleFile.js.map +1 -1
- package/dist/extensions/index.js +2 -2
- package/dist/extensions/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
export { fields } from './fields';
|
1
|
+
export { fields, FieldsValidationSchema } from './fields';
|
2
2
|
export { dataPoints } from './dataPoints';
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.dataPoints = exports.fields = void 0;
|
3
|
+
exports.dataPoints = exports.FieldsValidationSchema = exports.fields = void 0;
|
4
4
|
var fields_1 = require("./fields");
|
5
5
|
Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
|
6
|
+
Object.defineProperty(exports, "FieldsValidationSchema", { enumerable: true, get: function () { return fields_1.FieldsValidationSchema; } });
|
6
7
|
var dataPoints_1 = require("./dataPoints");
|
7
8
|
Object.defineProperty(exports, "dataPoints", { enumerable: true, get: function () { return dataPoints_1.dataPoints; } });
|
8
9
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/cloudinary/actions/uploadSingleFile/config/index.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/cloudinary/actions/uploadSingleFile/config/index.ts"],"names":[],"mappings":";;;AAAA,mCAAyD;AAAhD,gGAAA,MAAM,OAAA;AAAE,gHAAA,sBAAsB,OAAA;AACvC,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
|
@@ -6,7 +6,6 @@ const settings_1 = require("../../settings");
|
|
6
6
|
const config_1 = require("./config");
|
7
7
|
const zod_validation_error_1 = require("zod-validation-error");
|
8
8
|
const zod_1 = require("zod");
|
9
|
-
const fields_1 = require("./config/fields");
|
10
9
|
exports.uploadSingleFile = {
|
11
10
|
key: 'uploadSingleFile',
|
12
11
|
title: 'Upload single file',
|
@@ -19,13 +18,14 @@ exports.uploadSingleFile = {
|
|
19
18
|
mode: 'single',
|
20
19
|
},
|
21
20
|
},
|
21
|
+
dataPoints: config_1.dataPoints,
|
22
22
|
previewable: false,
|
23
23
|
onActivityCreated: async (payload, onComplete, onError) => {
|
24
24
|
try {
|
25
25
|
(0, extensions_core_1.validate)({
|
26
26
|
schema: zod_1.z.object({
|
27
27
|
settings: settings_1.SettingsValidationSchema,
|
28
|
-
fields:
|
28
|
+
fields: config_1.FieldsValidationSchema,
|
29
29
|
}),
|
30
30
|
payload,
|
31
31
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"uploadSingleFile.js","sourceRoot":"","sources":["../../../../../extensions/cloudinary/actions/uploadSingleFile/uploadSingleFile.ts"],"names":[],"mappings":";;;AACA,mEAAkE;AAClE,6CAAwE;AACxE,
|
1
|
+
{"version":3,"file":"uploadSingleFile.js","sourceRoot":"","sources":["../../../../../extensions/cloudinary/actions/uploadSingleFile/uploadSingleFile.ts"],"names":[],"mappings":";;;AACA,mEAAkE;AAClE,6CAAwE;AACxE,qCAAqE;AACrE,+DAAmD;AACnD,6BAAiC;AAEpB,QAAA,gBAAgB,GAA2C;IACtE,GAAG,EAAE,kBAAkB;IACvB,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,0BAAQ,CAAC,iBAAiB;IACpC,MAAM,EAAN,eAA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45,6 @@ const sendgrid_extension_1 = require("./sendgrid-extension");
|
|
45
45
|
const cmDotCom_1 = require("./cmDotCom");
|
46
46
|
const docuSign_1 = require("./docuSign");
|
47
47
|
const sendbird_1 = require("./sendbird");
|
48
|
-
const zusHealth_1 = require("./zusHealth");
|
49
48
|
const transform_1 = require("./transform");
|
50
49
|
const iterable_1 = require("./iterable");
|
51
50
|
const json = __importStar(require("./markdown.json"));
|
@@ -73,7 +72,8 @@ exports.extensions = [
|
|
73
72
|
cmDotCom_1.CmDotCom,
|
74
73
|
docuSign_1.DocuSign,
|
75
74
|
sendbird_1.Sendbird,
|
76
|
-
|
75
|
+
// ZusHealth is not ready for public use yet
|
76
|
+
// ZusHealth,
|
77
77
|
iterable_1.Iterable,
|
78
78
|
];
|
79
79
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kCAAkC;AAClC,mCAA+B;AAC/B,2CAAuC;AACvC,mDAA+C;AAC/C,6CAAyC;AACzC,+CAA2C;AAC3C,uCAAmC;AACnC,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,+CAA2C;AAC3C,2CAAuC;AACvC,qCAAiC;AACjC,yCAAqC;AACrC,6DAA+C;AAC/C,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kCAAkC;AAClC,mCAA+B;AAC/B,2CAAuC;AACvC,mDAA+C;AAC/C,6CAAyC;AACzC,+CAA2C;AAC3C,uCAAmC;AACnC,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,+CAA2C;AAC3C,2CAAuC;AACvC,qCAAiC;AACjC,yCAAqC;AACrC,6DAA+C;AAC/C,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,yCAAqC;AAErC,sDAAuC;AAG1B,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,oFAAoF;IACpF,aAAK;IACL,qBAAS;IACT,6BAAa;IACb,uBAAU;IACV,yBAAW;IACX,iBAAO;IACP,mBAAQ;IACR,mBAAQ;IACR,wBAAU;IACV,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,qBAAS;IACT,qBAAS;IACT,eAAM;IACN,mBAAQ;IACR,6BAAQ;IACR,mBAAQ;IACR,mBAAQ;IACR,mBAAQ;IACR,4CAA4C;IAC5C,aAAa;IACb,mBAAQ;CACT,CAAA"}
|