pmcf 6.44.10 → 6.45.0

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.44.10",
3
+ "version": "6.45.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -9,6 +9,7 @@ import {
9
9
  string_set_attribute_writable,
10
10
  number_attribute_writable,
11
11
  priority_attribute,
12
+ default_collection_attribute_writable,
12
13
  asArray
13
14
  } from "pacc";
14
15
  import {
@@ -40,6 +41,12 @@ import {
40
41
  dnsPriority
41
42
  } from "./dns-utils.mjs";
42
43
 
44
+ export class credential extends base {
45
+ static {
46
+ addType(this);
47
+ }
48
+ }
49
+
43
50
  export class CoreService extends base {
44
51
  static name = "core-service";
45
52
  static priority = 1.1;
@@ -69,7 +76,8 @@ export class CoreService extends base {
69
76
  types: { ...string_set_attribute_writable, name: "types" },
70
77
  systemdService: { ...string_attribute_writable, name: "systemdService" },
71
78
  systemUserName: { ...string_attribute_writable, name: "systemUserName" },
72
- systemGroupName: { ...string_attribute_writable, name: "systemGroupName" }
79
+ systemGroupName: { ...string_attribute_writable, name: "systemGroupName" },
80
+ credentials: { ...default_collection_attribute_writable, type: credential, name: "credentials" }
73
81
  };
74
82
 
75
83
  static {
@@ -79,6 +87,7 @@ export class CoreService extends base {
79
87
  _weight;
80
88
  _port;
81
89
  _systemdService;
90
+ credentials = new Map();
82
91
 
83
92
  toString() {
84
93
  return `${this.fullName}(${this.type})`;