pmcf 6.7.0 → 6.7.1

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": "pmcf",
3
- "version": "6.7.0",
3
+ "version": "6.7.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -92,6 +92,14 @@ export class Base {
92
92
  }
93
93
 
94
94
  materializeExtends() {
95
+ /*
96
+ console.log(
97
+ "materializeExtends",
98
+ this.fullName,
99
+ this.owner?.fullName,
100
+ [...this.extends].map(n => n.fullName)
101
+ );*/
102
+
95
103
  for (const [path, attribute] of extendingAttributeIterator(
96
104
  this.constructor,
97
105
  attribute => attribute.collection && !attribute.type.primitive
@@ -441,13 +449,11 @@ export class Base {
441
449
  return new Set(allOutputs.filter(o => this.packaging.has(o.name)));
442
450
  }
443
451
 
444
- get systemUserName()
445
- {
452
+ get systemUserName() {
446
453
  return this.constructor.name;
447
454
  }
448
455
 
449
- get systemGroupName()
450
- {
456
+ get systemGroupName() {
451
457
  return this.constructor.name;
452
458
  }
453
459
 
@@ -480,23 +480,6 @@ export class bind extends ExtraSourceService {
480
480
 
481
481
  groups = new Map();
482
482
 
483
- materializeExtends() {
484
- console.log("materializeExtends", this.fullName, this.owner, this.extends);
485
- super.materializeExtends();
486
-
487
- for (const service of this.walkDirections(["extends"])) {
488
- for (const group of service.groups.values()) {
489
- const present = this.groups.get(group.name);
490
-
491
- if (present) {
492
- present.extends.add(group);
493
- } else {
494
- this.groups.set(group.name, group.forOwner(this));
495
- }
496
- }
497
- }
498
- }
499
-
500
483
  get serverType() {
501
484
  return this.primaries ? "secondary" : "primary";
502
485
  }