pmcf 6.3.4 → 6.3.5
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
package/src/base.mjs
CHANGED
|
@@ -12,7 +12,7 @@ export class SkeletonNetworkInterface extends ServiceOwner {
|
|
|
12
12
|
static get typeName() {
|
|
13
13
|
return "network_interface";
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
static commonNamePattern = new RegExp(`^${this.name}\d+$`);
|
|
17
17
|
|
|
18
18
|
static isCommonName(name) {
|
|
@@ -25,6 +25,11 @@ export class SkeletonNetworkInterface extends ServiceOwner {
|
|
|
25
25
|
|
|
26
26
|
_network;
|
|
27
27
|
|
|
28
|
+
get typeName() {
|
|
29
|
+
const type = this.constructor;
|
|
30
|
+
return type.specializationOf?.name || type.name;
|
|
31
|
+
}
|
|
32
|
+
|
|
28
33
|
get kind() {
|
|
29
34
|
return this.constructor.name;
|
|
30
35
|
}
|