@contrail/flexplm 1.1.45 → 1.1.46
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/.github/pull_request_template.md +1 -1
- package/lib/publish/base-process-publish-assortment.js +12 -9
- package/lib/publish/base-process-publish-assortment.spec.js +20 -6
- package/lib/util/type-utils.js +4 -3
- package/package.json +1 -1
- package/src/publish/base-process-publish-assortment.spec.ts +22 -6
- package/src/publish/base-process-publish-assortment.ts +1095 -1090
- package/src/util/type-utils.ts +4 -3
package/src/util/type-utils.ts
CHANGED
|
@@ -111,12 +111,13 @@ export class TypeUtils {
|
|
|
111
111
|
filterTypeProperties(type, newData): TypeProperty[] {
|
|
112
112
|
let filteredProps: TypeProperty[] = type['typeProperties'];
|
|
113
113
|
const typePath = type['typePath'];
|
|
114
|
+
const roles = newData['roles'];
|
|
114
115
|
if (typePath && (typePath.startsWith('item') || typePath.startsWith('project-item'))) {
|
|
115
116
|
if (Logger.isDebugOn()) {
|
|
116
|
-
console.debug('
|
|
117
|
-
|
|
117
|
+
console.debug('filterTypeProperties():id: ' +newData?.id
|
|
118
|
+
+ ', typePath: ' + typePath
|
|
119
|
+
+ ', newData.roles: ' + newData?.roles);
|
|
118
120
|
}
|
|
119
|
-
const roles = newData['roles'];
|
|
120
121
|
if (roles) {
|
|
121
122
|
const isFamily = roles.includes('family');
|
|
122
123
|
if (Logger.isDebugOn()) {
|