pmcf 2.74.4 → 3.1.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.
Files changed (46) hide show
  1. package/package.json +3 -3
  2. package/src/base.mjs +14 -16
  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 +46 -6
  16. package/src/services/openldap.mjs +3 -3
  17. package/src/services/systemd-journal-upload.mjs +1 -1
  18. package/src/subnet.mjs +3 -3
  19. package/src/types.mjs +1 -1
  20. package/types/base.d.mts +29 -19
  21. package/types/cluster.d.mts +101 -107
  22. package/types/extra-source-service.d.mts +43 -42
  23. package/types/host.d.mts +53 -61
  24. package/types/location.d.mts +87 -84
  25. package/types/network-interfaces/ethernet.d.mts +98 -106
  26. package/types/network-interfaces/loopback.d.mts +96 -104
  27. package/types/network-interfaces/network-interface.d.mts +96 -104
  28. package/types/network-interfaces/wireguard.d.mts +96 -104
  29. package/types/network-interfaces/wlan.d.mts +145 -157
  30. package/types/network-support.d.mts +16 -27
  31. package/types/network.d.mts +53 -57
  32. package/types/owner.d.mts +43 -41
  33. package/types/root.d.mts +87 -84
  34. package/types/service.d.mts +86 -87
  35. package/types/services/bind.d.mts +101 -111
  36. package/types/services/chrony.d.mts +83 -81
  37. package/types/services/influxdb.d.mts +82 -80
  38. package/types/services/kea.d.mts +164 -81
  39. package/types/services/mosquitto.d.mts +82 -80
  40. package/types/services/openldap.d.mts +85 -86
  41. package/types/services/systemd-journal-remote.d.mts +82 -80
  42. package/types/services/systemd-journal-upload.d.mts +83 -82
  43. package/types/services/systemd-journal.d.mts +82 -80
  44. package/types/services/systemd-resolved.d.mts +82 -80
  45. package/types/services/systemd-timesyncd.d.mts +82 -80
  46. package/types/subnet.d.mts +3 -4
package/types/owner.d.mts CHANGED
@@ -10,24 +10,28 @@ export class Owner extends Base {
10
10
  owner: {
11
11
  type: string;
12
12
  collection: boolean;
13
- writeable: boolean;
14
- };
15
- type: {
16
- type: string;
17
- collection: boolean;
18
- writeable: boolean;
13
+ writable: boolean;
19
14
  };
15
+ type: import("pacc").AttributeDefinition;
20
16
  name: {
17
+ isKey: boolean;
18
+ writable: boolean;
21
19
  type: string;
20
+ mandatory: boolean;
22
21
  collection: boolean;
23
- identifier: boolean;
24
- writeable: boolean;
22
+ private?: boolean;
23
+ depends?: string;
24
+ additionalAttributes: string[];
25
+ description?: string;
26
+ default?: any;
27
+ set?: Function;
28
+ get?: Function;
29
+ env?: string[] | string;
25
30
  };
26
31
  description: {
27
- writeable: boolean;
32
+ writable: boolean;
28
33
  type: string;
29
34
  isKey: boolean;
30
- writable: boolean;
31
35
  mandatory: boolean;
32
36
  collection: boolean;
33
37
  private?: boolean;
@@ -42,13 +46,12 @@ export class Owner extends Base {
42
46
  priority: {
43
47
  type: string;
44
48
  collection: boolean;
45
- writeable: boolean;
49
+ writable: boolean;
46
50
  };
47
51
  directory: {
48
- writeable: boolean;
52
+ writable: boolean;
49
53
  type: string;
50
54
  isKey: boolean;
51
- writable: boolean;
52
55
  mandatory: boolean;
53
56
  collection: boolean;
54
57
  private?: boolean;
@@ -61,10 +64,9 @@ export class Owner extends Base {
61
64
  env?: string[] | string;
62
65
  };
63
66
  packaging: {
64
- writeable: boolean;
67
+ writable: boolean;
65
68
  type: string;
66
69
  isKey: boolean;
67
- writable: boolean;
68
70
  mandatory: boolean;
69
71
  collection: boolean;
70
72
  private?: boolean;
@@ -77,17 +79,25 @@ export class Owner extends Base {
77
79
  env?: string[] | string;
78
80
  };
79
81
  disabled: {
82
+ writable: boolean;
83
+ default: boolean;
80
84
  type: string;
85
+ isKey: boolean;
86
+ mandatory: boolean;
81
87
  collection: boolean;
82
- writeable: boolean;
83
- default: boolean;
88
+ private?: boolean;
89
+ depends?: string;
90
+ additionalAttributes: string[];
91
+ description?: string;
92
+ set?: Function;
93
+ get?: Function;
94
+ env?: string[] | string;
84
95
  };
85
96
  tags: {
86
97
  collection: boolean;
87
- writeable: boolean;
98
+ writable: boolean;
88
99
  type: string;
89
100
  isKey: boolean;
90
- writable: boolean;
91
101
  mandatory: boolean;
92
102
  private?: boolean;
93
103
  depends?: string;
@@ -104,17 +114,17 @@ export class Owner extends Base {
104
114
  networks: {
105
115
  type: string;
106
116
  collection: boolean;
107
- writeable: boolean;
117
+ writable: boolean;
108
118
  };
109
119
  hosts: {
110
120
  type: string;
111
121
  collection: boolean;
112
- writeable: boolean;
122
+ writable: boolean;
113
123
  };
114
124
  clusters: {
115
125
  type: string;
116
126
  collection: boolean;
117
- writeable: boolean;
127
+ writable: boolean;
118
128
  };
119
129
  subnets: {
120
130
  type: {
@@ -124,9 +134,8 @@ export class Owner extends Base {
124
134
  constructWithIdentifierOnly: boolean;
125
135
  properties: {
126
136
  address: {
127
- identifier: boolean;
128
- type: string;
129
137
  isKey: boolean;
138
+ type: string;
130
139
  writable: boolean;
131
140
  mandatory: boolean;
132
141
  collection: boolean;
@@ -142,23 +151,22 @@ export class Owner extends Base {
142
151
  networks: {
143
152
  type: string;
144
153
  collection: boolean;
145
- writeable: boolean;
154
+ writable: boolean;
146
155
  };
147
156
  prefixLength: {
148
157
  type: string;
149
158
  collection: boolean;
150
- writeable: boolean;
159
+ writable: boolean;
151
160
  };
152
161
  };
153
162
  };
154
163
  collection: boolean;
155
- writeable: boolean;
164
+ writable: boolean;
156
165
  };
157
166
  country: {
158
- writeable: boolean;
167
+ writable: boolean;
159
168
  type: string;
160
169
  isKey: boolean;
161
- writable: boolean;
162
170
  mandatory: boolean;
163
171
  collection: boolean;
164
172
  private?: boolean;
@@ -171,10 +179,9 @@ export class Owner extends Base {
171
179
  env?: string[] | string;
172
180
  };
173
181
  domain: {
174
- writeable: boolean;
182
+ writable: boolean;
175
183
  type: string;
176
184
  isKey: boolean;
177
- writable: boolean;
178
185
  mandatory: boolean;
179
186
  collection: boolean;
180
187
  private?: boolean;
@@ -188,10 +195,9 @@ export class Owner extends Base {
188
195
  };
189
196
  domains: {
190
197
  collection: boolean;
191
- writeable: boolean;
198
+ writable: boolean;
192
199
  type: string;
193
200
  isKey: boolean;
194
- writable: boolean;
195
201
  mandatory: boolean;
196
202
  private?: boolean;
197
203
  depends?: string;
@@ -203,10 +209,9 @@ export class Owner extends Base {
203
209
  env?: string[] | string;
204
210
  };
205
211
  timezone: {
206
- writeable: boolean;
212
+ writable: boolean;
207
213
  type: string;
208
214
  isKey: boolean;
209
- writable: boolean;
210
215
  mandatory: boolean;
211
216
  collection: boolean;
212
217
  private?: boolean;
@@ -220,10 +225,9 @@ export class Owner extends Base {
220
225
  };
221
226
  architectures: {
222
227
  collection: boolean;
223
- writeable: boolean;
228
+ writable: boolean;
224
229
  type: string;
225
230
  isKey: boolean;
226
- writable: boolean;
227
231
  mandatory: boolean;
228
232
  private?: boolean;
229
233
  depends?: string;
@@ -236,10 +240,9 @@ export class Owner extends Base {
236
240
  };
237
241
  locales: {
238
242
  collection: boolean;
239
- writeable: boolean;
243
+ writable: boolean;
240
244
  type: string;
241
245
  isKey: boolean;
242
- writable: boolean;
243
246
  mandatory: boolean;
244
247
  private?: boolean;
245
248
  depends?: string;
@@ -251,10 +254,9 @@ export class Owner extends Base {
251
254
  env?: string[] | string;
252
255
  };
253
256
  administratorEmail: {
254
- writeable: boolean;
257
+ writable: boolean;
255
258
  type: string;
256
259
  isKey: boolean;
257
- writable: boolean;
258
260
  mandatory: boolean;
259
261
  collection: boolean;
260
262
  private?: boolean;
package/types/root.d.mts CHANGED
@@ -16,24 +16,28 @@ export class Root extends Location {
16
16
  owner: {
17
17
  type: string;
18
18
  collection: boolean;
19
- writeable: boolean;
20
- };
21
- type: {
22
- type: string;
23
- collection: boolean;
24
- writeable: boolean;
19
+ writable: boolean;
25
20
  };
21
+ type: import("pacc").AttributeDefinition;
26
22
  name: {
23
+ isKey: boolean;
24
+ writable: boolean;
27
25
  type: string;
26
+ mandatory: boolean;
28
27
  collection: boolean;
29
- identifier: boolean;
30
- writeable: boolean;
28
+ private?: boolean;
29
+ depends?: string;
30
+ additionalAttributes: string[];
31
+ description?: string;
32
+ default?: any;
33
+ set?: Function;
34
+ get?: Function;
35
+ env?: string[] | string;
31
36
  };
32
37
  description: {
33
- writeable: boolean;
38
+ writable: boolean;
34
39
  type: string;
35
40
  isKey: boolean;
36
- writable: boolean;
37
41
  mandatory: boolean;
38
42
  collection: boolean;
39
43
  private?: boolean;
@@ -48,13 +52,12 @@ export class Root extends Location {
48
52
  priority: {
49
53
  type: string;
50
54
  collection: boolean;
51
- writeable: boolean;
55
+ writable: boolean;
52
56
  };
53
57
  directory: {
54
- writeable: boolean;
58
+ writable: boolean;
55
59
  type: string;
56
60
  isKey: boolean;
57
- writable: boolean;
58
61
  mandatory: boolean;
59
62
  collection: boolean;
60
63
  private?: boolean;
@@ -67,10 +70,9 @@ export class Root extends Location {
67
70
  env?: string[] | string;
68
71
  };
69
72
  packaging: {
70
- writeable: boolean;
73
+ writable: boolean;
71
74
  type: string;
72
75
  isKey: boolean;
73
- writable: boolean;
74
76
  mandatory: boolean;
75
77
  collection: boolean;
76
78
  private?: boolean;
@@ -83,17 +85,25 @@ export class Root extends Location {
83
85
  env?: string[] | string;
84
86
  };
85
87
  disabled: {
88
+ writable: boolean;
89
+ default: boolean;
86
90
  type: string;
91
+ isKey: boolean;
92
+ mandatory: boolean;
87
93
  collection: boolean;
88
- writeable: boolean;
89
- default: boolean;
94
+ private?: boolean;
95
+ depends?: string;
96
+ additionalAttributes: string[];
97
+ description?: string;
98
+ set?: Function;
99
+ get?: Function;
100
+ env?: string[] | string;
90
101
  };
91
102
  tags: {
92
103
  collection: boolean;
93
- writeable: boolean;
104
+ writable: boolean;
94
105
  type: string;
95
106
  isKey: boolean;
96
- writable: boolean;
97
107
  mandatory: boolean;
98
108
  private?: boolean;
99
109
  depends?: string;
@@ -110,17 +120,17 @@ export class Root extends Location {
110
120
  networks: {
111
121
  type: string;
112
122
  collection: boolean;
113
- writeable: boolean;
123
+ writable: boolean;
114
124
  };
115
125
  hosts: {
116
126
  type: string;
117
127
  collection: boolean;
118
- writeable: boolean;
128
+ writable: boolean;
119
129
  };
120
130
  clusters: {
121
131
  type: string;
122
132
  collection: boolean;
123
- writeable: boolean;
133
+ writable: boolean;
124
134
  };
125
135
  subnets: {
126
136
  type: {
@@ -130,9 +140,8 @@ export class Root extends Location {
130
140
  constructWithIdentifierOnly: boolean;
131
141
  properties: {
132
142
  address: {
133
- identifier: boolean;
134
- type: string;
135
143
  isKey: boolean;
144
+ type: string;
136
145
  writable: boolean;
137
146
  mandatory: boolean;
138
147
  collection: boolean;
@@ -148,23 +157,22 @@ export class Root extends Location {
148
157
  networks: {
149
158
  type: string;
150
159
  collection: boolean;
151
- writeable: boolean;
160
+ writable: boolean;
152
161
  };
153
162
  prefixLength: {
154
163
  type: string;
155
164
  collection: boolean;
156
- writeable: boolean;
165
+ writable: boolean;
157
166
  };
158
167
  };
159
168
  };
160
169
  collection: boolean;
161
- writeable: boolean;
170
+ writable: boolean;
162
171
  };
163
172
  country: {
164
- writeable: boolean;
173
+ writable: boolean;
165
174
  type: string;
166
175
  isKey: boolean;
167
- writable: boolean;
168
176
  mandatory: boolean;
169
177
  collection: boolean;
170
178
  private?: boolean;
@@ -177,10 +185,9 @@ export class Root extends Location {
177
185
  env?: string[] | string;
178
186
  };
179
187
  domain: {
180
- writeable: boolean;
188
+ writable: boolean;
181
189
  type: string;
182
190
  isKey: boolean;
183
- writable: boolean;
184
191
  mandatory: boolean;
185
192
  collection: boolean;
186
193
  private?: boolean;
@@ -194,10 +201,9 @@ export class Root extends Location {
194
201
  };
195
202
  domains: {
196
203
  collection: boolean;
197
- writeable: boolean;
204
+ writable: boolean;
198
205
  type: string;
199
206
  isKey: boolean;
200
- writable: boolean;
201
207
  mandatory: boolean;
202
208
  private?: boolean;
203
209
  depends?: string;
@@ -209,10 +215,9 @@ export class Root extends Location {
209
215
  env?: string[] | string;
210
216
  };
211
217
  timezone: {
212
- writeable: boolean;
218
+ writable: boolean;
213
219
  type: string;
214
220
  isKey: boolean;
215
- writable: boolean;
216
221
  mandatory: boolean;
217
222
  collection: boolean;
218
223
  private?: boolean;
@@ -226,10 +231,9 @@ export class Root extends Location {
226
231
  };
227
232
  architectures: {
228
233
  collection: boolean;
229
- writeable: boolean;
234
+ writable: boolean;
230
235
  type: string;
231
236
  isKey: boolean;
232
- writable: boolean;
233
237
  mandatory: boolean;
234
238
  private?: boolean;
235
239
  depends?: string;
@@ -242,10 +246,9 @@ export class Root extends Location {
242
246
  };
243
247
  locales: {
244
248
  collection: boolean;
245
- writeable: boolean;
249
+ writable: boolean;
246
250
  type: string;
247
251
  isKey: boolean;
248
- writable: boolean;
249
252
  mandatory: boolean;
250
253
  private?: boolean;
251
254
  depends?: string;
@@ -257,10 +260,9 @@ export class Root extends Location {
257
260
  env?: string[] | string;
258
261
  };
259
262
  administratorEmail: {
260
- writeable: boolean;
263
+ writable: boolean;
261
264
  type: string;
262
265
  isKey: boolean;
263
- writable: boolean;
264
266
  mandatory: boolean;
265
267
  collection: boolean;
266
268
  private?: boolean;
@@ -286,24 +288,28 @@ export class Root extends Location {
286
288
  owner: {
287
289
  type: string;
288
290
  collection: boolean;
289
- writeable: boolean;
290
- };
291
- type: {
292
- type: string;
293
- collection: boolean;
294
- writeable: boolean;
291
+ writable: boolean;
295
292
  };
293
+ type: import("pacc").AttributeDefinition;
296
294
  name: {
295
+ isKey: boolean;
296
+ writable: boolean;
297
297
  type: string;
298
+ mandatory: boolean;
298
299
  collection: boolean;
299
- identifier: boolean;
300
- writeable: boolean;
300
+ private?: boolean;
301
+ depends?: string;
302
+ additionalAttributes: string[];
303
+ description?: string;
304
+ default?: any;
305
+ set?: Function;
306
+ get?: Function;
307
+ env?: string[] | string;
301
308
  };
302
309
  description: {
303
- writeable: boolean;
310
+ writable: boolean;
304
311
  type: string;
305
312
  isKey: boolean;
306
- writable: boolean;
307
313
  mandatory: boolean;
308
314
  collection: boolean;
309
315
  private?: boolean;
@@ -318,13 +324,12 @@ export class Root extends Location {
318
324
  priority: {
319
325
  type: string;
320
326
  collection: boolean;
321
- writeable: boolean;
327
+ writable: boolean;
322
328
  };
323
329
  directory: {
324
- writeable: boolean;
330
+ writable: boolean;
325
331
  type: string;
326
332
  isKey: boolean;
327
- writable: boolean;
328
333
  mandatory: boolean;
329
334
  collection: boolean;
330
335
  private?: boolean;
@@ -337,10 +342,9 @@ export class Root extends Location {
337
342
  env?: string[] | string;
338
343
  };
339
344
  packaging: {
340
- writeable: boolean;
345
+ writable: boolean;
341
346
  type: string;
342
347
  isKey: boolean;
343
- writable: boolean;
344
348
  mandatory: boolean;
345
349
  collection: boolean;
346
350
  private?: boolean;
@@ -353,17 +357,25 @@ export class Root extends Location {
353
357
  env?: string[] | string;
354
358
  };
355
359
  disabled: {
360
+ writable: boolean;
361
+ default: boolean;
356
362
  type: string;
363
+ isKey: boolean;
364
+ mandatory: boolean;
357
365
  collection: boolean;
358
- writeable: boolean;
359
- default: boolean;
366
+ private?: boolean;
367
+ depends?: string;
368
+ additionalAttributes: string[];
369
+ description?: string;
370
+ set?: Function;
371
+ get?: Function;
372
+ env?: string[] | string;
360
373
  };
361
374
  tags: {
362
375
  collection: boolean;
363
- writeable: boolean;
376
+ writable: boolean;
364
377
  type: string;
365
378
  isKey: boolean;
366
- writable: boolean;
367
379
  mandatory: boolean;
368
380
  private?: boolean;
369
381
  depends?: string;
@@ -380,17 +392,17 @@ export class Root extends Location {
380
392
  networks: {
381
393
  type: string;
382
394
  collection: boolean;
383
- writeable: boolean;
395
+ writable: boolean;
384
396
  };
385
397
  hosts: {
386
398
  type: string;
387
399
  collection: boolean;
388
- writeable: boolean;
400
+ writable: boolean;
389
401
  };
390
402
  clusters: {
391
403
  type: string;
392
404
  collection: boolean;
393
- writeable: boolean;
405
+ writable: boolean;
394
406
  };
395
407
  subnets: {
396
408
  type: {
@@ -400,9 +412,8 @@ export class Root extends Location {
400
412
  constructWithIdentifierOnly: boolean;
401
413
  properties: {
402
414
  address: {
403
- identifier: boolean;
404
- type: string;
405
415
  isKey: boolean;
416
+ type: string;
406
417
  writable: boolean;
407
418
  mandatory: boolean;
408
419
  collection: boolean;
@@ -418,23 +429,22 @@ export class Root extends Location {
418
429
  networks: {
419
430
  type: string;
420
431
  collection: boolean;
421
- writeable: boolean;
432
+ writable: boolean;
422
433
  };
423
434
  prefixLength: {
424
435
  type: string;
425
436
  collection: boolean;
426
- writeable: boolean;
437
+ writable: boolean;
427
438
  };
428
439
  };
429
440
  };
430
441
  collection: boolean;
431
- writeable: boolean;
442
+ writable: boolean;
432
443
  };
433
444
  country: {
434
- writeable: boolean;
445
+ writable: boolean;
435
446
  type: string;
436
447
  isKey: boolean;
437
- writable: boolean;
438
448
  mandatory: boolean;
439
449
  collection: boolean;
440
450
  private?: boolean;
@@ -447,10 +457,9 @@ export class Root extends Location {
447
457
  env?: string[] | string;
448
458
  };
449
459
  domain: {
450
- writeable: boolean;
460
+ writable: boolean;
451
461
  type: string;
452
462
  isKey: boolean;
453
- writable: boolean;
454
463
  mandatory: boolean;
455
464
  collection: boolean;
456
465
  private?: boolean;
@@ -464,10 +473,9 @@ export class Root extends Location {
464
473
  };
465
474
  domains: {
466
475
  collection: boolean;
467
- writeable: boolean;
476
+ writable: boolean;
468
477
  type: string;
469
478
  isKey: boolean;
470
- writable: boolean;
471
479
  mandatory: boolean;
472
480
  private?: boolean;
473
481
  depends?: string;
@@ -479,10 +487,9 @@ export class Root extends Location {
479
487
  env?: string[] | string;
480
488
  };
481
489
  timezone: {
482
- writeable: boolean;
490
+ writable: boolean;
483
491
  type: string;
484
492
  isKey: boolean;
485
- writable: boolean;
486
493
  mandatory: boolean;
487
494
  collection: boolean;
488
495
  private?: boolean;
@@ -496,10 +503,9 @@ export class Root extends Location {
496
503
  };
497
504
  architectures: {
498
505
  collection: boolean;
499
- writeable: boolean;
506
+ writable: boolean;
500
507
  type: string;
501
508
  isKey: boolean;
502
- writable: boolean;
503
509
  mandatory: boolean;
504
510
  private?: boolean;
505
511
  depends?: string;
@@ -512,10 +518,9 @@ export class Root extends Location {
512
518
  };
513
519
  locales: {
514
520
  collection: boolean;
515
- writeable: boolean;
521
+ writable: boolean;
516
522
  type: string;
517
523
  isKey: boolean;
518
- writable: boolean;
519
524
  mandatory: boolean;
520
525
  private?: boolean;
521
526
  depends?: string;
@@ -527,10 +532,9 @@ export class Root extends Location {
527
532
  env?: string[] | string;
528
533
  };
529
534
  administratorEmail: {
530
- writeable: boolean;
535
+ writable: boolean;
531
536
  type: string;
532
537
  isKey: boolean;
533
- writable: boolean;
534
538
  mandatory: boolean;
535
539
  collection: boolean;
536
540
  private?: boolean;
@@ -547,10 +551,9 @@ export class Root extends Location {
547
551
  properties: {
548
552
  locales: {
549
553
  collection: boolean;
550
- writeable: boolean;
554
+ writable: boolean;
551
555
  type: string;
552
556
  isKey: boolean;
553
- writable: boolean;
554
557
  mandatory: boolean;
555
558
  private?: boolean;
556
559
  depends?: string;