pmcf 3.0.0 → 3.1.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.
Files changed (45) hide show
  1. package/package.json +3 -3
  2. package/src/base.mjs +9 -9
  3. package/src/cluster.mjs +5 -5
  4. package/src/extra-source-service.mjs +1 -1
  5. package/src/host.mjs +19 -19
  6. package/src/location.mjs +1 -1
  7. package/src/network-interfaces/ethernet.mjs +1 -1
  8. package/src/network-interfaces/network-interface.mjs +6 -6
  9. package/src/network-support.mjs +14 -14
  10. package/src/network.mjs +2 -2
  11. package/src/owner.mjs +11 -11
  12. package/src/service.mjs +7 -7
  13. package/src/services/bind.mjs +18 -18
  14. package/src/services/chrony.mjs +0 -1
  15. package/src/services/kea.mjs +47 -6
  16. package/src/services/openldap.mjs +3 -3
  17. package/src/services/systemd-journal-upload.mjs +1 -1
  18. package/src/subnet.mjs +2 -2
  19. package/types/base.d.mts +8 -14
  20. package/types/cluster.d.mts +58 -95
  21. package/types/extra-source-service.d.mts +22 -37
  22. package/types/host.d.mts +32 -56
  23. package/types/location.d.mts +43 -70
  24. package/types/network-interfaces/ethernet.d.mts +56 -96
  25. package/types/network-interfaces/loopback.d.mts +54 -94
  26. package/types/network-interfaces/network-interface.d.mts +54 -94
  27. package/types/network-interfaces/wireguard.d.mts +54 -94
  28. package/types/network-interfaces/wlan.d.mts +82 -142
  29. package/types/network-support.d.mts +16 -27
  30. package/types/network.d.mts +31 -50
  31. package/types/owner.d.mts +21 -34
  32. package/types/root.d.mts +43 -70
  33. package/types/service.d.mts +44 -77
  34. package/types/services/bind.d.mts +59 -101
  35. package/types/services/chrony.d.mts +41 -71
  36. package/types/services/influxdb.d.mts +40 -70
  37. package/types/services/kea.d.mts +122 -71
  38. package/types/services/mosquitto.d.mts +40 -70
  39. package/types/services/openldap.d.mts +43 -76
  40. package/types/services/systemd-journal-remote.d.mts +40 -70
  41. package/types/services/systemd-journal-upload.d.mts +41 -72
  42. package/types/services/systemd-journal.d.mts +40 -70
  43. package/types/services/systemd-resolved.d.mts +40 -70
  44. package/types/services/systemd-timesyncd.d.mts +40 -70
  45. package/types/subnet.d.mts +2 -2
@@ -1,11 +1,10 @@
1
1
  export namespace networkProperties {
2
2
  export let scope: {
3
- writeable: boolean;
3
+ writable: boolean;
4
4
  values: string[];
5
5
  default: string;
6
6
  type: string;
7
7
  isKey: boolean;
8
- writable: boolean;
9
8
  mandatory: boolean;
10
9
  collection: boolean;
11
10
  private?: boolean;
@@ -17,11 +16,10 @@ export namespace networkProperties {
17
16
  env?: string[] | string;
18
17
  };
19
18
  let _class: {
20
- writeable: boolean;
19
+ writable: boolean;
21
20
  values: string[];
22
21
  type: string;
23
22
  isKey: boolean;
24
- writable: boolean;
25
23
  mandatory: boolean;
26
24
  collection: boolean;
27
25
  private?: boolean;
@@ -35,11 +33,10 @@ export namespace networkProperties {
35
33
  };
36
34
  export { _class as class };
37
35
  export let kind: {
38
- writeable: boolean;
36
+ writable: boolean;
39
37
  values: string[];
40
38
  type: string;
41
39
  isKey: boolean;
42
- writable: boolean;
43
40
  mandatory: boolean;
44
41
  collection: boolean;
45
42
  private?: boolean;
@@ -52,10 +49,9 @@ export namespace networkProperties {
52
49
  env?: string[] | string;
53
50
  };
54
51
  export let ssid: {
55
- writeable: boolean;
52
+ writable: boolean;
56
53
  type: string;
57
54
  isKey: boolean;
58
- writable: boolean;
59
55
  mandatory: boolean;
60
56
  collection: boolean;
61
57
  private?: boolean;
@@ -68,10 +64,9 @@ export namespace networkProperties {
68
64
  env?: string[] | string;
69
65
  };
70
66
  export let psk: {
71
- writeable: boolean;
67
+ writable: boolean;
72
68
  type: string;
73
69
  isKey: boolean;
74
- writable: boolean;
75
70
  mandatory: boolean;
76
71
  collection: boolean;
77
72
  private?: boolean;
@@ -86,7 +81,7 @@ export namespace networkProperties {
86
81
  export namespace metric {
87
82
  export let type: string;
88
83
  export let collection: boolean;
89
- export let writeable: boolean;
84
+ export let writable: boolean;
90
85
  let _default: number;
91
86
  export { _default as default };
92
87
  }
@@ -95,8 +90,8 @@ export namespace networkProperties {
95
90
  export { type_1 as type };
96
91
  let collection_1: boolean;
97
92
  export { collection_1 as collection };
98
- let writeable_1: boolean;
99
- export { writeable_1 as writeable };
93
+ let writable_1: boolean;
94
+ export { writable_1 as writable };
100
95
  let _default_1: number;
101
96
  export { _default_1 as default };
102
97
  }
@@ -105,14 +100,13 @@ export namespace networkProperties {
105
100
  export { type_2 as type };
106
101
  let collection_2: boolean;
107
102
  export { collection_2 as collection };
108
- let writeable_2: boolean;
109
- export { writeable_2 as writeable };
103
+ let writable_2: boolean;
104
+ export { writable_2 as writable };
110
105
  }
111
106
  export let multicastDNS: {
112
- writeable: boolean;
107
+ writable: boolean;
113
108
  type: string;
114
109
  isKey: boolean;
115
- writable: boolean;
116
110
  mandatory: boolean;
117
111
  collection: boolean;
118
112
  private?: boolean;
@@ -127,10 +121,9 @@ export namespace networkProperties {
127
121
  }
128
122
  export namespace networkAddressProperties {
129
123
  let hostName: {
130
- writeable: boolean;
124
+ writable: boolean;
131
125
  type: string;
132
126
  isKey: boolean;
133
- writable: boolean;
134
127
  mandatory: boolean;
135
128
  collection: boolean;
136
129
  private?: boolean;
@@ -144,10 +137,9 @@ export namespace networkAddressProperties {
144
137
  };
145
138
  let cidrAddresses: {
146
139
  collection: boolean;
147
- writeable: boolean;
140
+ writable: boolean;
148
141
  type: string;
149
142
  isKey: boolean;
150
- writable: boolean;
151
143
  mandatory: boolean;
152
144
  private?: boolean;
153
145
  depends?: string;
@@ -159,10 +151,9 @@ export namespace networkAddressProperties {
159
151
  env?: string[] | string;
160
152
  };
161
153
  let cidrAddress: {
162
- writeable: boolean;
154
+ writable: boolean;
163
155
  type: string;
164
156
  isKey: boolean;
165
- writable: boolean;
166
157
  mandatory: boolean;
167
158
  collection: boolean;
168
159
  private?: boolean;
@@ -176,10 +167,9 @@ export namespace networkAddressProperties {
176
167
  };
177
168
  let addresses: {
178
169
  collection: boolean;
179
- writeable: boolean;
170
+ writable: boolean;
180
171
  type: string;
181
172
  isKey: boolean;
182
- writable: boolean;
183
173
  mandatory: boolean;
184
174
  private?: boolean;
185
175
  depends?: string;
@@ -191,10 +181,9 @@ export namespace networkAddressProperties {
191
181
  env?: string[] | string;
192
182
  };
193
183
  let address: {
194
- writeable: boolean;
184
+ writable: boolean;
195
185
  type: string;
196
186
  isKey: boolean;
197
- writable: boolean;
198
187
  mandatory: boolean;
199
188
  collection: boolean;
200
189
  private?: boolean;
@@ -14,14 +14,13 @@ export class Network extends Owner {
14
14
  owner: {
15
15
  type: string;
16
16
  collection: boolean;
17
- writeable: boolean;
17
+ writable: boolean;
18
18
  };
19
19
  type: import("pacc").AttributeDefinition;
20
20
  name: {
21
21
  isKey: boolean;
22
- writeable: boolean;
23
- type: string;
24
22
  writable: boolean;
23
+ type: string;
25
24
  mandatory: boolean;
26
25
  collection: boolean;
27
26
  private?: boolean;
@@ -34,10 +33,9 @@ export class Network extends Owner {
34
33
  env?: string[] | string;
35
34
  };
36
35
  description: {
37
- writeable: boolean;
36
+ writable: boolean;
38
37
  type: string;
39
38
  isKey: boolean;
40
- writable: boolean;
41
39
  mandatory: boolean;
42
40
  collection: boolean;
43
41
  private?: boolean;
@@ -52,13 +50,12 @@ export class Network extends Owner {
52
50
  priority: {
53
51
  type: string;
54
52
  collection: boolean;
55
- writeable: boolean;
53
+ writable: boolean;
56
54
  };
57
55
  directory: {
58
- writeable: boolean;
56
+ writable: boolean;
59
57
  type: string;
60
58
  isKey: boolean;
61
- writable: boolean;
62
59
  mandatory: boolean;
63
60
  collection: boolean;
64
61
  private?: boolean;
@@ -71,10 +68,9 @@ export class Network extends Owner {
71
68
  env?: string[] | string;
72
69
  };
73
70
  packaging: {
74
- writeable: boolean;
71
+ writable: boolean;
75
72
  type: string;
76
73
  isKey: boolean;
77
- writable: boolean;
78
74
  mandatory: boolean;
79
75
  collection: boolean;
80
76
  private?: boolean;
@@ -87,11 +83,10 @@ export class Network extends Owner {
87
83
  env?: string[] | string;
88
84
  };
89
85
  disabled: {
90
- writeable: boolean;
86
+ writable: boolean;
91
87
  default: boolean;
92
88
  type: string;
93
89
  isKey: boolean;
94
- writable: boolean;
95
90
  mandatory: boolean;
96
91
  collection: boolean;
97
92
  private?: boolean;
@@ -104,10 +99,9 @@ export class Network extends Owner {
104
99
  };
105
100
  tags: {
106
101
  collection: boolean;
107
- writeable: boolean;
102
+ writable: boolean;
108
103
  type: string;
109
104
  isKey: boolean;
110
- writable: boolean;
111
105
  mandatory: boolean;
112
106
  private?: boolean;
113
107
  depends?: string;
@@ -124,17 +118,17 @@ export class Network extends Owner {
124
118
  networks: {
125
119
  type: string;
126
120
  collection: boolean;
127
- writeable: boolean;
121
+ writable: boolean;
128
122
  };
129
123
  hosts: {
130
124
  type: string;
131
125
  collection: boolean;
132
- writeable: boolean;
126
+ writable: boolean;
133
127
  };
134
128
  clusters: {
135
129
  type: string;
136
130
  collection: boolean;
137
- writeable: boolean;
131
+ writable: boolean;
138
132
  };
139
133
  subnets: {
140
134
  type: {
@@ -161,23 +155,22 @@ export class Network extends Owner {
161
155
  networks: {
162
156
  type: string;
163
157
  collection: boolean;
164
- writeable: boolean;
158
+ writable: boolean;
165
159
  };
166
160
  prefixLength: {
167
161
  type: string;
168
162
  collection: boolean;
169
- writeable: boolean;
163
+ writable: boolean;
170
164
  };
171
165
  };
172
166
  };
173
167
  collection: boolean;
174
- writeable: boolean;
168
+ writable: boolean;
175
169
  };
176
170
  country: {
177
- writeable: boolean;
171
+ writable: boolean;
178
172
  type: string;
179
173
  isKey: boolean;
180
- writable: boolean;
181
174
  mandatory: boolean;
182
175
  collection: boolean;
183
176
  private?: boolean;
@@ -190,10 +183,9 @@ export class Network extends Owner {
190
183
  env?: string[] | string;
191
184
  };
192
185
  domain: {
193
- writeable: boolean;
186
+ writable: boolean;
194
187
  type: string;
195
188
  isKey: boolean;
196
- writable: boolean;
197
189
  mandatory: boolean;
198
190
  collection: boolean;
199
191
  private?: boolean;
@@ -207,10 +199,9 @@ export class Network extends Owner {
207
199
  };
208
200
  domains: {
209
201
  collection: boolean;
210
- writeable: boolean;
202
+ writable: boolean;
211
203
  type: string;
212
204
  isKey: boolean;
213
- writable: boolean;
214
205
  mandatory: boolean;
215
206
  private?: boolean;
216
207
  depends?: string;
@@ -222,10 +213,9 @@ export class Network extends Owner {
222
213
  env?: string[] | string;
223
214
  };
224
215
  timezone: {
225
- writeable: boolean;
216
+ writable: boolean;
226
217
  type: string;
227
218
  isKey: boolean;
228
- writable: boolean;
229
219
  mandatory: boolean;
230
220
  collection: boolean;
231
221
  private?: boolean;
@@ -239,10 +229,9 @@ export class Network extends Owner {
239
229
  };
240
230
  architectures: {
241
231
  collection: boolean;
242
- writeable: boolean;
232
+ writable: boolean;
243
233
  type: string;
244
234
  isKey: boolean;
245
- writable: boolean;
246
235
  mandatory: boolean;
247
236
  private?: boolean;
248
237
  depends?: string;
@@ -255,10 +244,9 @@ export class Network extends Owner {
255
244
  };
256
245
  locales: {
257
246
  collection: boolean;
258
- writeable: boolean;
247
+ writable: boolean;
259
248
  type: string;
260
249
  isKey: boolean;
261
- writable: boolean;
262
250
  mandatory: boolean;
263
251
  private?: boolean;
264
252
  depends?: string;
@@ -270,10 +258,9 @@ export class Network extends Owner {
270
258
  env?: string[] | string;
271
259
  };
272
260
  administratorEmail: {
273
- writeable: boolean;
261
+ writable: boolean;
274
262
  type: string;
275
263
  isKey: boolean;
276
- writable: boolean;
277
264
  mandatory: boolean;
278
265
  collection: boolean;
279
266
  private?: boolean;
@@ -291,20 +278,19 @@ export class Network extends Owner {
291
278
  bridge: {
292
279
  type: string;
293
280
  collection: boolean;
294
- writeable: boolean;
281
+ writable: boolean;
295
282
  };
296
283
  gateway: {
297
284
  type: string;
298
285
  collection: boolean;
299
- writeable: boolean;
286
+ writable: boolean;
300
287
  };
301
288
  scope: {
302
- writeable: boolean;
289
+ writable: boolean;
303
290
  values: string[];
304
291
  default: string;
305
292
  type: string;
306
293
  isKey: boolean;
307
- writable: boolean;
308
294
  mandatory: boolean;
309
295
  collection: boolean;
310
296
  private?: boolean;
@@ -316,11 +302,10 @@ export class Network extends Owner {
316
302
  env?: string[] | string;
317
303
  };
318
304
  class: {
319
- writeable: boolean;
305
+ writable: boolean;
320
306
  values: string[];
321
307
  type: string;
322
308
  isKey: boolean;
323
- writable: boolean;
324
309
  mandatory: boolean;
325
310
  collection: boolean;
326
311
  private?: boolean;
@@ -333,11 +318,10 @@ export class Network extends Owner {
333
318
  env?: string[] | string;
334
319
  };
335
320
  kind: {
336
- writeable: boolean;
321
+ writable: boolean;
337
322
  values: string[];
338
323
  type: string;
339
324
  isKey: boolean;
340
- writable: boolean;
341
325
  mandatory: boolean;
342
326
  collection: boolean;
343
327
  private?: boolean;
@@ -350,10 +334,9 @@ export class Network extends Owner {
350
334
  env?: string[] | string;
351
335
  };
352
336
  ssid: {
353
- writeable: boolean;
337
+ writable: boolean;
354
338
  type: string;
355
339
  isKey: boolean;
356
- writable: boolean;
357
340
  mandatory: boolean;
358
341
  collection: boolean;
359
342
  private?: boolean;
@@ -366,10 +349,9 @@ export class Network extends Owner {
366
349
  env?: string[] | string;
367
350
  };
368
351
  psk: {
369
- writeable: boolean;
352
+ writable: boolean;
370
353
  type: string;
371
354
  isKey: boolean;
372
- writable: boolean;
373
355
  mandatory: boolean;
374
356
  collection: boolean;
375
357
  private?: boolean;
@@ -384,20 +366,19 @@ export class Network extends Owner {
384
366
  metric: {
385
367
  type: string;
386
368
  collection: boolean;
387
- writeable: boolean;
369
+ writable: boolean;
388
370
  default: number;
389
371
  };
390
372
  mtu: {
391
373
  type: string;
392
374
  collection: boolean;
393
- writeable: boolean;
375
+ writable: boolean;
394
376
  default: number;
395
377
  };
396
378
  multicastDNS: {
397
- writeable: boolean;
379
+ writable: boolean;
398
380
  type: string;
399
381
  isKey: boolean;
400
- writable: boolean;
401
382
  mandatory: boolean;
402
383
  collection: boolean;
403
384
  private?: boolean;
package/types/owner.d.mts CHANGED
@@ -10,14 +10,13 @@ export class Owner extends Base {
10
10
  owner: {
11
11
  type: string;
12
12
  collection: boolean;
13
- writeable: boolean;
13
+ writable: boolean;
14
14
  };
15
15
  type: import("pacc").AttributeDefinition;
16
16
  name: {
17
17
  isKey: boolean;
18
- writeable: boolean;
19
- type: string;
20
18
  writable: boolean;
19
+ type: string;
21
20
  mandatory: boolean;
22
21
  collection: boolean;
23
22
  private?: boolean;
@@ -30,10 +29,9 @@ export class Owner extends Base {
30
29
  env?: string[] | string;
31
30
  };
32
31
  description: {
33
- writeable: boolean;
32
+ writable: boolean;
34
33
  type: string;
35
34
  isKey: boolean;
36
- writable: boolean;
37
35
  mandatory: boolean;
38
36
  collection: boolean;
39
37
  private?: boolean;
@@ -48,13 +46,12 @@ export class Owner extends Base {
48
46
  priority: {
49
47
  type: string;
50
48
  collection: boolean;
51
- writeable: boolean;
49
+ writable: boolean;
52
50
  };
53
51
  directory: {
54
- writeable: boolean;
52
+ writable: boolean;
55
53
  type: string;
56
54
  isKey: boolean;
57
- writable: boolean;
58
55
  mandatory: boolean;
59
56
  collection: boolean;
60
57
  private?: boolean;
@@ -67,10 +64,9 @@ export class Owner extends Base {
67
64
  env?: string[] | string;
68
65
  };
69
66
  packaging: {
70
- writeable: boolean;
67
+ writable: boolean;
71
68
  type: string;
72
69
  isKey: boolean;
73
- writable: boolean;
74
70
  mandatory: boolean;
75
71
  collection: boolean;
76
72
  private?: boolean;
@@ -83,11 +79,10 @@ export class Owner extends Base {
83
79
  env?: string[] | string;
84
80
  };
85
81
  disabled: {
86
- writeable: boolean;
82
+ writable: boolean;
87
83
  default: boolean;
88
84
  type: string;
89
85
  isKey: boolean;
90
- writable: boolean;
91
86
  mandatory: boolean;
92
87
  collection: boolean;
93
88
  private?: boolean;
@@ -100,10 +95,9 @@ export class Owner extends Base {
100
95
  };
101
96
  tags: {
102
97
  collection: boolean;
103
- writeable: boolean;
98
+ writable: boolean;
104
99
  type: string;
105
100
  isKey: boolean;
106
- writable: boolean;
107
101
  mandatory: boolean;
108
102
  private?: boolean;
109
103
  depends?: string;
@@ -120,17 +114,17 @@ export class Owner extends Base {
120
114
  networks: {
121
115
  type: string;
122
116
  collection: boolean;
123
- writeable: boolean;
117
+ writable: boolean;
124
118
  };
125
119
  hosts: {
126
120
  type: string;
127
121
  collection: boolean;
128
- writeable: boolean;
122
+ writable: boolean;
129
123
  };
130
124
  clusters: {
131
125
  type: string;
132
126
  collection: boolean;
133
- writeable: boolean;
127
+ writable: boolean;
134
128
  };
135
129
  subnets: {
136
130
  type: {
@@ -157,23 +151,22 @@ export class Owner extends Base {
157
151
  networks: {
158
152
  type: string;
159
153
  collection: boolean;
160
- writeable: boolean;
154
+ writable: boolean;
161
155
  };
162
156
  prefixLength: {
163
157
  type: string;
164
158
  collection: boolean;
165
- writeable: boolean;
159
+ writable: boolean;
166
160
  };
167
161
  };
168
162
  };
169
163
  collection: boolean;
170
- writeable: boolean;
164
+ writable: boolean;
171
165
  };
172
166
  country: {
173
- writeable: boolean;
167
+ writable: boolean;
174
168
  type: string;
175
169
  isKey: boolean;
176
- writable: boolean;
177
170
  mandatory: boolean;
178
171
  collection: boolean;
179
172
  private?: boolean;
@@ -186,10 +179,9 @@ export class Owner extends Base {
186
179
  env?: string[] | string;
187
180
  };
188
181
  domain: {
189
- writeable: boolean;
182
+ writable: boolean;
190
183
  type: string;
191
184
  isKey: boolean;
192
- writable: boolean;
193
185
  mandatory: boolean;
194
186
  collection: boolean;
195
187
  private?: boolean;
@@ -203,10 +195,9 @@ export class Owner extends Base {
203
195
  };
204
196
  domains: {
205
197
  collection: boolean;
206
- writeable: boolean;
198
+ writable: boolean;
207
199
  type: string;
208
200
  isKey: boolean;
209
- writable: boolean;
210
201
  mandatory: boolean;
211
202
  private?: boolean;
212
203
  depends?: string;
@@ -218,10 +209,9 @@ export class Owner extends Base {
218
209
  env?: string[] | string;
219
210
  };
220
211
  timezone: {
221
- writeable: boolean;
212
+ writable: boolean;
222
213
  type: string;
223
214
  isKey: boolean;
224
- writable: boolean;
225
215
  mandatory: boolean;
226
216
  collection: boolean;
227
217
  private?: boolean;
@@ -235,10 +225,9 @@ export class Owner extends Base {
235
225
  };
236
226
  architectures: {
237
227
  collection: boolean;
238
- writeable: boolean;
228
+ writable: boolean;
239
229
  type: string;
240
230
  isKey: boolean;
241
- writable: boolean;
242
231
  mandatory: boolean;
243
232
  private?: boolean;
244
233
  depends?: string;
@@ -251,10 +240,9 @@ export class Owner extends Base {
251
240
  };
252
241
  locales: {
253
242
  collection: boolean;
254
- writeable: boolean;
243
+ writable: boolean;
255
244
  type: string;
256
245
  isKey: boolean;
257
- writable: boolean;
258
246
  mandatory: boolean;
259
247
  private?: boolean;
260
248
  depends?: string;
@@ -266,10 +254,9 @@ export class Owner extends Base {
266
254
  env?: string[] | string;
267
255
  };
268
256
  administratorEmail: {
269
- writeable: boolean;
257
+ writable: boolean;
270
258
  type: string;
271
259
  isKey: boolean;
272
- writable: boolean;
273
260
  mandatory: boolean;
274
261
  collection: boolean;
275
262
  private?: boolean;