@izara_project/izara-shared-service-schemas 1.0.13 → 1.0.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@izara_project/izara-shared-service-schemas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Shared Libraries frontend/backend for Service Schemas",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@izara_project/izara-core-library-core": "^1.0.19",
|
|
24
|
+
"@izara_project/izara-shared-core": "^1.0.2",
|
|
24
25
|
"lodash": "^4.17.21",
|
|
25
26
|
"object-hash": "^3.0.0"
|
|
26
27
|
}
|
package/src/GetObjectSchema.js
CHANGED
|
@@ -18,9 +18,9 @@ along with this program.If not, see < http://www.gnu.org/licenses/>.
|
|
|
18
18
|
'use strict';
|
|
19
19
|
|
|
20
20
|
const lodash = require('lodash');
|
|
21
|
-
const hash = require('object-hash');
|
|
22
21
|
|
|
23
22
|
|
|
23
|
+
const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
24
24
|
const izaraCore = require('@izara_project/izara-core-library-core');
|
|
25
25
|
const NoRetryError = izaraCore.NoRetryError;
|
|
26
26
|
const { validateObject } = izaraCore.validator;
|
package/src/Utils.js
CHANGED
|
@@ -17,7 +17,7 @@ along with this program.If not, see < http://www.gnu.org/licenses/>.
|
|
|
17
17
|
|
|
18
18
|
'use strict';
|
|
19
19
|
|
|
20
|
-
const hash = require('
|
|
20
|
+
const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
21
21
|
const NoRetryError = require('@izara_project/izara-core-library-core/src/NoRetryError');
|
|
22
22
|
|
|
23
23
|
const { validateObjType, validateRelType } = require('./libs/ValidateObjType');
|
|
@@ -940,7 +940,7 @@ const basicFlowSchema = {
|
|
|
940
940
|
},
|
|
941
941
|
flowSteps: {
|
|
942
942
|
type: "object",
|
|
943
|
-
minProperties:
|
|
943
|
+
minProperties: 1, // incase outputTopic === false
|
|
944
944
|
patternProperties: {
|
|
945
945
|
[strNotEmptyRegex]: {
|
|
946
946
|
type: "object",
|
|
@@ -965,6 +965,9 @@ const basicFlowSchema = {
|
|
|
965
965
|
bucketName: {
|
|
966
966
|
type: "string",
|
|
967
967
|
pattern: strNotEmptyRegex
|
|
968
|
+
},
|
|
969
|
+
outputTopic: {
|
|
970
|
+
type: "boolean"
|
|
968
971
|
}
|
|
969
972
|
}
|
|
970
973
|
}
|
package/src/libs/RelSchemaLib.js
CHANGED
|
@@ -18,7 +18,7 @@ along with this program.If not, see < http://www.gnu.org/licenses/>.
|
|
|
18
18
|
'use strict';
|
|
19
19
|
|
|
20
20
|
const NoRetryError = require('@izara_project/izara-core-library-core/src/NoRetryError');
|
|
21
|
-
const hash = require("
|
|
21
|
+
const hash = require("@izara_project/izara-shared-core").objectHash;
|
|
22
22
|
const lodash = require("lodash");
|
|
23
23
|
|
|
24
24
|
const getObjectSchema = require("../GetObjectSchema");
|