@izara_project/izara-core-generate-service-code 1.0.37 → 1.0.38
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
|
@@ -135,6 +135,16 @@ import { <%= action %>MainLogical } from './<%= functionName %>_Main.js';
|
|
|
135
135
|
})
|
|
136
136
|
);
|
|
137
137
|
|
|
138
|
+
if (callingFlowConfig.callingFlow === `${process.env.iz_resourcePrefix}CreateBeforeLogical`) {
|
|
139
|
+
callingFlowConfig =
|
|
140
|
+
callingFlowConfig.callingFlowProperties.parentPassBackProperties;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
_izContext.logger.debug(
|
|
144
|
+
'[createBeforeLogicalMain] callingFlowConfig',
|
|
145
|
+
callingFlowConfig
|
|
146
|
+
);
|
|
147
|
+
|
|
138
148
|
//(<beforeLogicalMain>)
|
|
139
149
|
//(</beforeLogicalMain>)
|
|
140
150
|
|
|
@@ -143,8 +143,8 @@ export default async function createRelationship(
|
|
|
143
143
|
const { serviceTag: fromServiceTag, objectType: fromObjectType } = link.from.objType;
|
|
144
144
|
const { serviceTag: toServiceTag, objectType: toObjType } = link.to.objType;
|
|
145
145
|
|
|
146
|
-
const { serviceTag: firstServiceTag, objectType: firstObjectType } =
|
|
147
|
-
const { serviceTag: secondServiceTag, objectType: secondObjectType } =
|
|
146
|
+
const { serviceTag: firstServiceTag, objectType: firstObjectType } = firstObject.objType;
|
|
147
|
+
const { serviceTag: secondServiceTag, objectType: secondObjectType } = secondObject.objType;
|
|
148
148
|
|
|
149
149
|
const matchFromTo = fromServiceTag === firstServiceTag && fromObjectType === firstObjectType &&
|
|
150
150
|
toServiceTag === secondServiceTag && toObjType === secondObjectType;
|
package/src/libs/Consts.js
CHANGED
|
@@ -161,7 +161,7 @@ const SAVE_FILE_NAME = {
|
|
|
161
161
|
refObjectRelationship: 'RefObjectRelationships',
|
|
162
162
|
objectSchema: 'ObjectFieldSchema',
|
|
163
163
|
roleNameConfig: 'RoleNameConfig',
|
|
164
|
-
systemTextSchema: '
|
|
164
|
+
systemTextSchema: 'SystemTextSchemas'
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
const FUNCTION_NAME = {
|