@izara_project/izara-core-library-service-schemas 1.0.102 → 1.0.103

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-core-library-service-schemas",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
4
4
  "description": "Schemas for the service and objects it controls",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -127,8 +127,8 @@ async function uploadObjectSchemaByUseCase(_izContext, bucketName) {
127
127
  // const allReferenceObjectRelationships = getDataFromPath(_izContext, consts.LOCAL_FILENAME.REFERENCE_OBJECT_RELATIONSHIPS, consts.LOCAL_OBJECT_SCHEMA_PATH, { fileLimit: 1 })[0] || [];
128
128
  const allFlowSchemas = await getObjectSchema.getAllLocalFlowSchemas(_izContext).then(res => res.records);
129
129
 
130
- const allObjectRelationships = getObjectSchema.getAllLocalRelationshipSchema(_izContext)
131
- const allReferenceObjectRelationships = getObjectSchema.getAllLocalRefObjectRelationshipSchema(_izContext)
130
+ const allObjectRelationships = await getObjectSchema.getAllLocalRelationshipSchema(_izContext)
131
+ const allReferenceObjectRelationships = await getObjectSchema.getAllLocalRefObjectRelationshipSchema(_izContext)
132
132
  let refRelationshipPerObjectType = uploadUseCase.groupRefObjectRelPerObjectType(_izContext, allReferenceObjectRelationships);
133
133
  _izContext.logger.debug("refRelationshipPerObjectType: ", refRelationshipPerObjectType);
134
134
 
@@ -313,10 +313,10 @@ function groupLinksPerObjectType(_izContext, allObjectRelationships, objectTypes
313
313
  objectType,
314
314
  serviceTag: process.env.iz_serviceTag
315
315
  },
316
- { // relType
317
- relationshipTag,
318
- serviceTag: process.env.iz_serviceTag
319
- },
316
+ // { // relType
317
+ // relationshipTag,
318
+ // serviceTag: process.env.iz_serviceTag
319
+ // },
320
320
  relationshipTagData
321
321
  );
322
322