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
@@ -8,7 +8,7 @@ export namespace EthernetNetworkInterfaceTypeDefinition {
8
8
  namespace arpbridge {
9
9
  let type: string;
10
10
  let collection: boolean;
11
- let writeable: boolean;
11
+ let writable: boolean;
12
12
  }
13
13
  }
14
14
  }
@@ -26,24 +26,28 @@ export class EthernetNetworkInterface extends NetworkInterface {
26
26
  owner: {
27
27
  type: string;
28
28
  collection: boolean;
29
- writeable: boolean;
30
- };
31
- type: {
32
- type: string;
33
- collection: boolean;
34
- writeable: boolean;
29
+ writable: boolean;
35
30
  };
31
+ type: import("pacc").AttributeDefinition;
36
32
  name: {
33
+ isKey: boolean;
34
+ writable: boolean;
37
35
  type: string;
36
+ mandatory: boolean;
38
37
  collection: boolean;
39
- identifier: boolean;
40
- writeable: boolean;
38
+ private?: boolean;
39
+ depends?: string;
40
+ additionalAttributes: string[];
41
+ description?: string;
42
+ default?: any;
43
+ set?: Function;
44
+ get?: Function;
45
+ env?: string[] | string;
41
46
  };
42
47
  description: {
43
- writeable: boolean;
48
+ writable: boolean;
44
49
  type: string;
45
50
  isKey: boolean;
46
- writable: boolean;
47
51
  mandatory: boolean;
48
52
  collection: boolean;
49
53
  private?: boolean;
@@ -58,13 +62,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
58
62
  priority: {
59
63
  type: string;
60
64
  collection: boolean;
61
- writeable: boolean;
65
+ writable: boolean;
62
66
  };
63
67
  directory: {
64
- writeable: boolean;
68
+ writable: boolean;
65
69
  type: string;
66
70
  isKey: boolean;
67
- writable: boolean;
68
71
  mandatory: boolean;
69
72
  collection: boolean;
70
73
  private?: boolean;
@@ -77,10 +80,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
77
80
  env?: string[] | string;
78
81
  };
79
82
  packaging: {
80
- writeable: boolean;
83
+ writable: boolean;
81
84
  type: string;
82
85
  isKey: boolean;
83
- writable: boolean;
84
86
  mandatory: boolean;
85
87
  collection: boolean;
86
88
  private?: boolean;
@@ -93,17 +95,25 @@ export class EthernetNetworkInterface extends NetworkInterface {
93
95
  env?: string[] | string;
94
96
  };
95
97
  disabled: {
98
+ writable: boolean;
99
+ default: boolean;
96
100
  type: string;
101
+ isKey: boolean;
102
+ mandatory: boolean;
97
103
  collection: boolean;
98
- writeable: boolean;
99
- default: boolean;
104
+ private?: boolean;
105
+ depends?: string;
106
+ additionalAttributes: string[];
107
+ description?: string;
108
+ set?: Function;
109
+ get?: Function;
110
+ env?: string[] | string;
100
111
  };
101
112
  tags: {
102
113
  collection: boolean;
103
- writeable: boolean;
114
+ writable: boolean;
104
115
  type: string;
105
116
  isKey: boolean;
106
- writable: boolean;
107
117
  mandatory: boolean;
108
118
  private?: boolean;
109
119
  depends?: string;
@@ -122,13 +132,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
122
132
  services: {
123
133
  type: string;
124
134
  collection: boolean;
125
- writeable: boolean;
135
+ writable: boolean;
126
136
  };
127
137
  hostName: {
128
- writeable: boolean;
138
+ writable: boolean;
129
139
  type: string;
130
140
  isKey: boolean;
131
- writable: boolean;
132
141
  mandatory: boolean;
133
142
  collection: boolean;
134
143
  private?: boolean;
@@ -141,10 +150,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
141
150
  env?: string[] | string;
142
151
  };
143
152
  ipAddresses: {
144
- writeable: boolean;
153
+ writable: boolean;
145
154
  type: string;
146
155
  isKey: boolean;
147
- writable: boolean;
148
156
  mandatory: boolean;
149
157
  collection: boolean;
150
158
  private?: boolean;
@@ -157,10 +165,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
157
165
  env?: string[] | string;
158
166
  };
159
167
  hwaddr: {
160
- writeable: boolean;
168
+ writable: boolean;
161
169
  type: string;
162
170
  isKey: boolean;
163
- writable: boolean;
164
171
  mandatory: boolean;
165
172
  collection: boolean;
166
173
  private?: boolean;
@@ -175,13 +182,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
175
182
  network: {
176
183
  type: string;
177
184
  collection: boolean;
178
- writeable: boolean;
185
+ writable: boolean;
179
186
  };
180
187
  destination: {
181
- writeable: boolean;
188
+ writable: boolean;
182
189
  type: string;
183
190
  isKey: boolean;
184
- writable: boolean;
185
191
  mandatory: boolean;
186
192
  collection: boolean;
187
193
  private?: boolean;
@@ -195,10 +201,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
195
201
  };
196
202
  cidrAddresses: {
197
203
  collection: boolean;
198
- writeable: boolean;
204
+ writable: boolean;
199
205
  type: string;
200
206
  isKey: boolean;
201
- writable: boolean;
202
207
  mandatory: boolean;
203
208
  private?: boolean;
204
209
  depends?: string;
@@ -210,10 +215,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
210
215
  env?: string[] | string;
211
216
  };
212
217
  cidrAddress: {
213
- writeable: boolean;
218
+ writable: boolean;
214
219
  type: string;
215
220
  isKey: boolean;
216
- writable: boolean;
217
221
  mandatory: boolean;
218
222
  collection: boolean;
219
223
  private?: boolean;
@@ -227,10 +231,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
227
231
  };
228
232
  addresses: {
229
233
  collection: boolean;
230
- writeable: boolean;
234
+ writable: boolean;
231
235
  type: string;
232
236
  isKey: boolean;
233
- writable: boolean;
234
237
  mandatory: boolean;
235
238
  private?: boolean;
236
239
  depends?: string;
@@ -242,10 +245,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
242
245
  env?: string[] | string;
243
246
  };
244
247
  address: {
245
- writeable: boolean;
248
+ writable: boolean;
246
249
  type: string;
247
250
  isKey: boolean;
248
- writable: boolean;
249
251
  mandatory: boolean;
250
252
  collection: boolean;
251
253
  private?: boolean;
@@ -258,12 +260,11 @@ export class EthernetNetworkInterface extends NetworkInterface {
258
260
  env?: string[] | string;
259
261
  };
260
262
  scope: {
261
- writeable: boolean;
263
+ writable: boolean;
262
264
  values: string[];
263
265
  default: string;
264
266
  type: string;
265
267
  isKey: boolean;
266
- writable: boolean;
267
268
  mandatory: boolean;
268
269
  collection: boolean;
269
270
  private?: boolean;
@@ -275,11 +276,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
275
276
  env?: string[] | string;
276
277
  };
277
278
  class: {
278
- writeable: boolean;
279
+ writable: boolean;
279
280
  values: string[];
280
281
  type: string;
281
282
  isKey: boolean;
282
- writable: boolean;
283
283
  mandatory: boolean;
284
284
  collection: boolean;
285
285
  private?: boolean;
@@ -292,11 +292,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
292
292
  env?: string[] | string;
293
293
  };
294
294
  kind: {
295
- writeable: boolean;
295
+ writable: boolean;
296
296
  values: string[];
297
297
  type: string;
298
298
  isKey: boolean;
299
- writable: boolean;
300
299
  mandatory: boolean;
301
300
  collection: boolean;
302
301
  private?: boolean;
@@ -309,10 +308,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
309
308
  env?: string[] | string;
310
309
  };
311
310
  ssid: {
312
- writeable: boolean;
311
+ writable: boolean;
313
312
  type: string;
314
313
  isKey: boolean;
315
- writable: boolean;
316
314
  mandatory: boolean;
317
315
  collection: boolean;
318
316
  private?: boolean;
@@ -325,10 +323,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
325
323
  env?: string[] | string;
326
324
  };
327
325
  psk: {
328
- writeable: boolean;
326
+ writable: boolean;
329
327
  type: string;
330
328
  isKey: boolean;
331
- writable: boolean;
332
329
  mandatory: boolean;
333
330
  collection: boolean;
334
331
  private?: boolean;
@@ -343,25 +340,24 @@ export class EthernetNetworkInterface extends NetworkInterface {
343
340
  metric: {
344
341
  type: string;
345
342
  collection: boolean;
346
- writeable: boolean;
343
+ writable: boolean;
347
344
  default: number;
348
345
  };
349
346
  mtu: {
350
347
  type: string;
351
348
  collection: boolean;
352
- writeable: boolean;
349
+ writable: boolean;
353
350
  default: number;
354
351
  };
355
352
  gateway: {
356
353
  type: string;
357
354
  collection: boolean;
358
- writeable: boolean;
355
+ writable: boolean;
359
356
  };
360
357
  multicastDNS: {
361
- writeable: boolean;
358
+ writable: boolean;
362
359
  type: string;
363
360
  isKey: boolean;
364
- writable: boolean;
365
361
  mandatory: boolean;
366
362
  collection: boolean;
367
363
  private?: boolean;
@@ -387,24 +383,28 @@ export class EthernetNetworkInterface extends NetworkInterface {
387
383
  owner: {
388
384
  type: string;
389
385
  collection: boolean;
390
- writeable: boolean;
391
- };
392
- type: {
393
- type: string;
394
- collection: boolean;
395
- writeable: boolean;
386
+ writable: boolean;
396
387
  };
388
+ type: import("pacc").AttributeDefinition;
397
389
  name: {
390
+ isKey: boolean;
391
+ writable: boolean;
398
392
  type: string;
393
+ mandatory: boolean;
399
394
  collection: boolean;
400
- identifier: boolean;
401
- writeable: boolean;
395
+ private?: boolean;
396
+ depends?: string;
397
+ additionalAttributes: string[];
398
+ description?: string;
399
+ default?: any;
400
+ set?: Function;
401
+ get?: Function;
402
+ env?: string[] | string;
402
403
  };
403
404
  description: {
404
- writeable: boolean;
405
+ writable: boolean;
405
406
  type: string;
406
407
  isKey: boolean;
407
- writable: boolean;
408
408
  mandatory: boolean;
409
409
  collection: boolean;
410
410
  private?: boolean;
@@ -419,13 +419,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
419
419
  priority: {
420
420
  type: string;
421
421
  collection: boolean;
422
- writeable: boolean;
422
+ writable: boolean;
423
423
  };
424
424
  directory: {
425
- writeable: boolean;
425
+ writable: boolean;
426
426
  type: string;
427
427
  isKey: boolean;
428
- writable: boolean;
429
428
  mandatory: boolean;
430
429
  collection: boolean;
431
430
  private?: boolean;
@@ -438,10 +437,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
438
437
  env?: string[] | string;
439
438
  };
440
439
  packaging: {
441
- writeable: boolean;
440
+ writable: boolean;
442
441
  type: string;
443
442
  isKey: boolean;
444
- writable: boolean;
445
443
  mandatory: boolean;
446
444
  collection: boolean;
447
445
  private?: boolean;
@@ -454,17 +452,25 @@ export class EthernetNetworkInterface extends NetworkInterface {
454
452
  env?: string[] | string;
455
453
  };
456
454
  disabled: {
455
+ writable: boolean;
456
+ default: boolean;
457
457
  type: string;
458
+ isKey: boolean;
459
+ mandatory: boolean;
458
460
  collection: boolean;
459
- writeable: boolean;
460
- default: boolean;
461
+ private?: boolean;
462
+ depends?: string;
463
+ additionalAttributes: string[];
464
+ description?: string;
465
+ set?: Function;
466
+ get?: Function;
467
+ env?: string[] | string;
461
468
  };
462
469
  tags: {
463
470
  collection: boolean;
464
- writeable: boolean;
471
+ writable: boolean;
465
472
  type: string;
466
473
  isKey: boolean;
467
- writable: boolean;
468
474
  mandatory: boolean;
469
475
  private?: boolean;
470
476
  depends?: string;
@@ -483,13 +489,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
483
489
  services: {
484
490
  type: string;
485
491
  collection: boolean;
486
- writeable: boolean;
492
+ writable: boolean;
487
493
  };
488
494
  hostName: {
489
- writeable: boolean;
495
+ writable: boolean;
490
496
  type: string;
491
497
  isKey: boolean;
492
- writable: boolean;
493
498
  mandatory: boolean;
494
499
  collection: boolean;
495
500
  private?: boolean;
@@ -502,10 +507,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
502
507
  env?: string[] | string;
503
508
  };
504
509
  ipAddresses: {
505
- writeable: boolean;
510
+ writable: boolean;
506
511
  type: string;
507
512
  isKey: boolean;
508
- writable: boolean;
509
513
  mandatory: boolean;
510
514
  collection: boolean;
511
515
  private?: boolean;
@@ -518,10 +522,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
518
522
  env?: string[] | string;
519
523
  };
520
524
  hwaddr: {
521
- writeable: boolean;
525
+ writable: boolean;
522
526
  type: string;
523
527
  isKey: boolean;
524
- writable: boolean;
525
528
  mandatory: boolean;
526
529
  collection: boolean;
527
530
  private?: boolean;
@@ -536,13 +539,12 @@ export class EthernetNetworkInterface extends NetworkInterface {
536
539
  network: {
537
540
  type: string;
538
541
  collection: boolean;
539
- writeable: boolean;
542
+ writable: boolean;
540
543
  };
541
544
  destination: {
542
- writeable: boolean;
545
+ writable: boolean;
543
546
  type: string;
544
547
  isKey: boolean;
545
- writable: boolean;
546
548
  mandatory: boolean;
547
549
  collection: boolean;
548
550
  private?: boolean;
@@ -556,10 +558,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
556
558
  };
557
559
  cidrAddresses: {
558
560
  collection: boolean;
559
- writeable: boolean;
561
+ writable: boolean;
560
562
  type: string;
561
563
  isKey: boolean;
562
- writable: boolean;
563
564
  mandatory: boolean;
564
565
  private?: boolean;
565
566
  depends?: string;
@@ -571,10 +572,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
571
572
  env?: string[] | string;
572
573
  };
573
574
  cidrAddress: {
574
- writeable: boolean;
575
+ writable: boolean;
575
576
  type: string;
576
577
  isKey: boolean;
577
- writable: boolean;
578
578
  mandatory: boolean;
579
579
  collection: boolean;
580
580
  private?: boolean;
@@ -588,10 +588,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
588
588
  };
589
589
  addresses: {
590
590
  collection: boolean;
591
- writeable: boolean;
591
+ writable: boolean;
592
592
  type: string;
593
593
  isKey: boolean;
594
- writable: boolean;
595
594
  mandatory: boolean;
596
595
  private?: boolean;
597
596
  depends?: string;
@@ -603,10 +602,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
603
602
  env?: string[] | string;
604
603
  };
605
604
  address: {
606
- writeable: boolean;
605
+ writable: boolean;
607
606
  type: string;
608
607
  isKey: boolean;
609
- writable: boolean;
610
608
  mandatory: boolean;
611
609
  collection: boolean;
612
610
  private?: boolean;
@@ -619,12 +617,11 @@ export class EthernetNetworkInterface extends NetworkInterface {
619
617
  env?: string[] | string;
620
618
  };
621
619
  scope: {
622
- writeable: boolean;
620
+ writable: boolean;
623
621
  values: string[];
624
622
  default: string;
625
623
  type: string;
626
624
  isKey: boolean;
627
- writable: boolean;
628
625
  mandatory: boolean;
629
626
  collection: boolean;
630
627
  private?: boolean;
@@ -636,11 +633,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
636
633
  env?: string[] | string;
637
634
  };
638
635
  class: {
639
- writeable: boolean;
636
+ writable: boolean;
640
637
  values: string[];
641
638
  type: string;
642
639
  isKey: boolean;
643
- writable: boolean;
644
640
  mandatory: boolean;
645
641
  collection: boolean;
646
642
  private?: boolean;
@@ -653,11 +649,10 @@ export class EthernetNetworkInterface extends NetworkInterface {
653
649
  env?: string[] | string;
654
650
  };
655
651
  kind: {
656
- writeable: boolean;
652
+ writable: boolean;
657
653
  values: string[];
658
654
  type: string;
659
655
  isKey: boolean;
660
- writable: boolean;
661
656
  mandatory: boolean;
662
657
  collection: boolean;
663
658
  private?: boolean;
@@ -670,10 +665,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
670
665
  env?: string[] | string;
671
666
  };
672
667
  ssid: {
673
- writeable: boolean;
668
+ writable: boolean;
674
669
  type: string;
675
670
  isKey: boolean;
676
- writable: boolean;
677
671
  mandatory: boolean;
678
672
  collection: boolean;
679
673
  private?: boolean;
@@ -686,10 +680,9 @@ export class EthernetNetworkInterface extends NetworkInterface {
686
680
  env?: string[] | string;
687
681
  };
688
682
  psk: {
689
- writeable: boolean;
683
+ writable: boolean;
690
684
  type: string;
691
685
  isKey: boolean;
692
- writable: boolean;
693
686
  mandatory: boolean;
694
687
  collection: boolean;
695
688
  private?: boolean;
@@ -704,25 +697,24 @@ export class EthernetNetworkInterface extends NetworkInterface {
704
697
  metric: {
705
698
  type: string;
706
699
  collection: boolean;
707
- writeable: boolean;
700
+ writable: boolean;
708
701
  default: number;
709
702
  };
710
703
  mtu: {
711
704
  type: string;
712
705
  collection: boolean;
713
- writeable: boolean;
706
+ writable: boolean;
714
707
  default: number;
715
708
  };
716
709
  gateway: {
717
710
  type: string;
718
711
  collection: boolean;
719
- writeable: boolean;
712
+ writable: boolean;
720
713
  };
721
714
  multicastDNS: {
722
- writeable: boolean;
715
+ writable: boolean;
723
716
  type: string;
724
717
  isKey: boolean;
725
- writable: boolean;
726
718
  mandatory: boolean;
727
719
  collection: boolean;
728
720
  private?: boolean;
@@ -741,7 +733,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
741
733
  arpbridge: {
742
734
  type: string;
743
735
  collection: boolean;
744
- writeable: boolean;
736
+ writable: boolean;
745
737
  };
746
738
  };
747
739
  };