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
@@ -12,14 +12,13 @@ export class Cluster extends Host {
12
12
  owner: {
13
13
  type: string;
14
14
  collection: boolean;
15
- writeable: boolean;
15
+ writable: boolean;
16
16
  };
17
17
  type: import("pacc").AttributeDefinition;
18
18
  name: {
19
19
  isKey: boolean;
20
- writeable: boolean;
21
- type: string;
22
20
  writable: boolean;
21
+ type: string;
23
22
  mandatory: boolean;
24
23
  collection: boolean;
25
24
  private?: boolean;
@@ -32,10 +31,9 @@ export class Cluster extends Host {
32
31
  env?: string[] | string;
33
32
  };
34
33
  description: {
35
- writeable: boolean;
34
+ writable: boolean;
36
35
  type: string;
37
36
  isKey: boolean;
38
- writable: boolean;
39
37
  mandatory: boolean;
40
38
  collection: boolean;
41
39
  private?: boolean;
@@ -50,13 +48,12 @@ export class Cluster extends Host {
50
48
  priority: {
51
49
  type: string;
52
50
  collection: boolean;
53
- writeable: boolean;
51
+ writable: boolean;
54
52
  };
55
53
  directory: {
56
- writeable: boolean;
54
+ writable: boolean;
57
55
  type: string;
58
56
  isKey: boolean;
59
- writable: boolean;
60
57
  mandatory: boolean;
61
58
  collection: boolean;
62
59
  private?: boolean;
@@ -69,10 +66,9 @@ export class Cluster extends Host {
69
66
  env?: string[] | string;
70
67
  };
71
68
  packaging: {
72
- writeable: boolean;
69
+ writable: boolean;
73
70
  type: string;
74
71
  isKey: boolean;
75
- writable: boolean;
76
72
  mandatory: boolean;
77
73
  collection: boolean;
78
74
  private?: boolean;
@@ -85,11 +81,10 @@ export class Cluster extends Host {
85
81
  env?: string[] | string;
86
82
  };
87
83
  disabled: {
88
- writeable: boolean;
84
+ writable: boolean;
89
85
  default: boolean;
90
86
  type: string;
91
87
  isKey: boolean;
92
- writable: boolean;
93
88
  mandatory: boolean;
94
89
  collection: boolean;
95
90
  private?: boolean;
@@ -102,10 +97,9 @@ export class Cluster extends Host {
102
97
  };
103
98
  tags: {
104
99
  collection: boolean;
105
- writeable: boolean;
100
+ writable: boolean;
106
101
  type: string;
107
102
  isKey: boolean;
108
- writable: boolean;
109
103
  mandatory: boolean;
110
104
  private?: boolean;
111
105
  depends?: string;
@@ -122,17 +116,17 @@ export class Cluster extends Host {
122
116
  networks: {
123
117
  type: string;
124
118
  collection: boolean;
125
- writeable: boolean;
119
+ writable: boolean;
126
120
  };
127
121
  hosts: {
128
122
  type: string;
129
123
  collection: boolean;
130
- writeable: boolean;
124
+ writable: boolean;
131
125
  };
132
126
  clusters: {
133
127
  type: string;
134
128
  collection: boolean;
135
- writeable: boolean;
129
+ writable: boolean;
136
130
  };
137
131
  subnets: {
138
132
  type: {
@@ -159,23 +153,22 @@ export class Cluster extends Host {
159
153
  networks: {
160
154
  type: string;
161
155
  collection: boolean;
162
- writeable: boolean;
156
+ writable: boolean;
163
157
  };
164
158
  prefixLength: {
165
159
  type: string;
166
160
  collection: boolean;
167
- writeable: boolean;
161
+ writable: boolean;
168
162
  };
169
163
  };
170
164
  };
171
165
  collection: boolean;
172
- writeable: boolean;
166
+ writable: boolean;
173
167
  };
174
168
  country: {
175
- writeable: boolean;
169
+ writable: boolean;
176
170
  type: string;
177
171
  isKey: boolean;
178
- writable: boolean;
179
172
  mandatory: boolean;
180
173
  collection: boolean;
181
174
  private?: boolean;
@@ -188,10 +181,9 @@ export class Cluster extends Host {
188
181
  env?: string[] | string;
189
182
  };
190
183
  domain: {
191
- writeable: boolean;
184
+ writable: boolean;
192
185
  type: string;
193
186
  isKey: boolean;
194
- writable: boolean;
195
187
  mandatory: boolean;
196
188
  collection: boolean;
197
189
  private?: boolean;
@@ -205,10 +197,9 @@ export class Cluster extends Host {
205
197
  };
206
198
  domains: {
207
199
  collection: boolean;
208
- writeable: boolean;
200
+ writable: boolean;
209
201
  type: string;
210
202
  isKey: boolean;
211
- writable: boolean;
212
203
  mandatory: boolean;
213
204
  private?: boolean;
214
205
  depends?: string;
@@ -220,10 +211,9 @@ export class Cluster extends Host {
220
211
  env?: string[] | string;
221
212
  };
222
213
  timezone: {
223
- writeable: boolean;
214
+ writable: boolean;
224
215
  type: string;
225
216
  isKey: boolean;
226
- writable: boolean;
227
217
  mandatory: boolean;
228
218
  collection: boolean;
229
219
  private?: boolean;
@@ -237,10 +227,9 @@ export class Cluster extends Host {
237
227
  };
238
228
  architectures: {
239
229
  collection: boolean;
240
- writeable: boolean;
230
+ writable: boolean;
241
231
  type: string;
242
232
  isKey: boolean;
243
- writable: boolean;
244
233
  mandatory: boolean;
245
234
  private?: boolean;
246
235
  depends?: string;
@@ -253,10 +242,9 @@ export class Cluster extends Host {
253
242
  };
254
243
  locales: {
255
244
  collection: boolean;
256
- writeable: boolean;
245
+ writable: boolean;
257
246
  type: string;
258
247
  isKey: boolean;
259
- writable: boolean;
260
248
  mandatory: boolean;
261
249
  private?: boolean;
262
250
  depends?: string;
@@ -268,10 +256,9 @@ export class Cluster extends Host {
268
256
  env?: string[] | string;
269
257
  };
270
258
  administratorEmail: {
271
- writeable: boolean;
259
+ writable: boolean;
272
260
  type: string;
273
261
  isKey: boolean;
274
- writable: boolean;
275
262
  mandatory: boolean;
276
263
  collection: boolean;
277
264
  private?: boolean;
@@ -297,14 +284,13 @@ export class Cluster extends Host {
297
284
  owner: {
298
285
  type: string;
299
286
  collection: boolean;
300
- writeable: boolean;
287
+ writable: boolean;
301
288
  };
302
289
  type: import("pacc").AttributeDefinition;
303
290
  name: {
304
291
  isKey: boolean;
305
- writeable: boolean;
306
- type: string;
307
292
  writable: boolean;
293
+ type: string;
308
294
  mandatory: boolean;
309
295
  collection: boolean;
310
296
  private?: boolean;
@@ -317,10 +303,9 @@ export class Cluster extends Host {
317
303
  env?: string[] | string;
318
304
  };
319
305
  description: {
320
- writeable: boolean;
306
+ writable: boolean;
321
307
  type: string;
322
308
  isKey: boolean;
323
- writable: boolean;
324
309
  mandatory: boolean;
325
310
  collection: boolean;
326
311
  private?: boolean;
@@ -335,13 +320,12 @@ export class Cluster extends Host {
335
320
  priority: {
336
321
  type: string;
337
322
  collection: boolean;
338
- writeable: boolean;
323
+ writable: boolean;
339
324
  };
340
325
  directory: {
341
- writeable: boolean;
326
+ writable: boolean;
342
327
  type: string;
343
328
  isKey: boolean;
344
- writable: boolean;
345
329
  mandatory: boolean;
346
330
  collection: boolean;
347
331
  private?: boolean;
@@ -354,10 +338,9 @@ export class Cluster extends Host {
354
338
  env?: string[] | string;
355
339
  };
356
340
  packaging: {
357
- writeable: boolean;
341
+ writable: boolean;
358
342
  type: string;
359
343
  isKey: boolean;
360
- writable: boolean;
361
344
  mandatory: boolean;
362
345
  collection: boolean;
363
346
  private?: boolean;
@@ -370,11 +353,10 @@ export class Cluster extends Host {
370
353
  env?: string[] | string;
371
354
  };
372
355
  disabled: {
373
- writeable: boolean;
356
+ writable: boolean;
374
357
  default: boolean;
375
358
  type: string;
376
359
  isKey: boolean;
377
- writable: boolean;
378
360
  mandatory: boolean;
379
361
  collection: boolean;
380
362
  private?: boolean;
@@ -387,10 +369,9 @@ export class Cluster extends Host {
387
369
  };
388
370
  tags: {
389
371
  collection: boolean;
390
- writeable: boolean;
372
+ writable: boolean;
391
373
  type: string;
392
374
  isKey: boolean;
393
- writable: boolean;
394
375
  mandatory: boolean;
395
376
  private?: boolean;
396
377
  depends?: string;
@@ -407,24 +388,23 @@ export class Cluster extends Host {
407
388
  networkInterfaces: {
408
389
  type: string;
409
390
  collection: boolean;
410
- writeable: boolean;
391
+ writable: boolean;
411
392
  };
412
393
  services: {
413
394
  type: string;
414
395
  collection: boolean;
415
- writeable: boolean;
396
+ writable: boolean;
416
397
  };
417
398
  aliases: {
418
399
  type: string;
419
400
  collection: boolean;
420
- writeable: boolean;
401
+ writable: boolean;
421
402
  };
422
403
  os: {
423
- writeable: boolean;
404
+ writable: boolean;
424
405
  values: string[];
425
406
  type: string;
426
407
  isKey: boolean;
427
- writable: boolean;
428
408
  mandatory: boolean;
429
409
  collection: boolean;
430
410
  private?: boolean;
@@ -437,10 +417,9 @@ export class Cluster extends Host {
437
417
  env?: string[] | string;
438
418
  };
439
419
  "machine-id": {
440
- writeable: boolean;
420
+ writable: boolean;
441
421
  type: string;
442
422
  isKey: boolean;
443
- writable: boolean;
444
423
  mandatory: boolean;
445
424
  collection: boolean;
446
425
  private?: boolean;
@@ -453,10 +432,9 @@ export class Cluster extends Host {
453
432
  env?: string[] | string;
454
433
  };
455
434
  distribution: {
456
- writeable: boolean;
435
+ writable: boolean;
457
436
  type: string;
458
437
  isKey: boolean;
459
- writable: boolean;
460
438
  mandatory: boolean;
461
439
  collection: boolean;
462
440
  private?: boolean;
@@ -469,11 +447,10 @@ export class Cluster extends Host {
469
447
  env?: string[] | string;
470
448
  };
471
449
  deployment: {
472
- writeable: boolean;
450
+ writable: boolean;
473
451
  values: string[];
474
452
  type: string;
475
453
  isKey: boolean;
476
- writable: boolean;
477
454
  mandatory: boolean;
478
455
  collection: boolean;
479
456
  private?: boolean;
@@ -488,13 +465,12 @@ export class Cluster extends Host {
488
465
  weight: {
489
466
  type: string;
490
467
  collection: boolean;
491
- writeable: boolean;
468
+ writable: boolean;
492
469
  };
493
470
  serial: {
494
- writeable: boolean;
471
+ writable: boolean;
495
472
  type: string;
496
473
  isKey: boolean;
497
- writable: boolean;
498
474
  mandatory: boolean;
499
475
  collection: boolean;
500
476
  private?: boolean;
@@ -507,10 +483,9 @@ export class Cluster extends Host {
507
483
  env?: string[] | string;
508
484
  };
509
485
  vendor: {
510
- writeable: boolean;
486
+ writable: boolean;
511
487
  type: string;
512
488
  isKey: boolean;
513
- writable: boolean;
514
489
  mandatory: boolean;
515
490
  collection: boolean;
516
491
  private?: boolean;
@@ -523,10 +498,9 @@ export class Cluster extends Host {
523
498
  env?: string[] | string;
524
499
  };
525
500
  keymap: {
526
- writeable: boolean;
501
+ writable: boolean;
527
502
  type: string;
528
503
  isKey: boolean;
529
- writable: boolean;
530
504
  mandatory: boolean;
531
505
  collection: boolean;
532
506
  private?: boolean;
@@ -539,11 +513,10 @@ export class Cluster extends Host {
539
513
  env?: string[] | string;
540
514
  };
541
515
  chassis: {
542
- writeable: boolean;
516
+ writable: boolean;
543
517
  values: string[];
544
518
  type: string;
545
519
  isKey: boolean;
546
- writable: boolean;
547
520
  mandatory: boolean;
548
521
  collection: boolean;
549
522
  private?: boolean;
@@ -556,11 +529,10 @@ export class Cluster extends Host {
556
529
  env?: string[] | string;
557
530
  };
558
531
  architecture: {
559
- writeable: boolean;
532
+ writable: boolean;
560
533
  values: string[];
561
534
  type: string;
562
535
  isKey: boolean;
563
- writable: boolean;
564
536
  mandatory: boolean;
565
537
  collection: boolean;
566
538
  private?: boolean;
@@ -574,10 +546,9 @@ export class Cluster extends Host {
574
546
  };
575
547
  replaces: {
576
548
  collection: boolean;
577
- writeable: boolean;
549
+ writable: boolean;
578
550
  type: string;
579
551
  isKey: boolean;
580
- writable: boolean;
581
552
  mandatory: boolean;
582
553
  private?: boolean;
583
554
  depends?: string;
@@ -590,10 +561,9 @@ export class Cluster extends Host {
590
561
  };
591
562
  depends: {
592
563
  collection: boolean;
593
- writeable: boolean;
564
+ writable: boolean;
594
565
  type: string;
595
566
  isKey: boolean;
596
- writable: boolean;
597
567
  mandatory: boolean;
598
568
  private?: boolean;
599
569
  depends?: string;
@@ -606,10 +576,9 @@ export class Cluster extends Host {
606
576
  };
607
577
  provides: {
608
578
  collection: boolean;
609
- writeable: boolean;
579
+ writable: boolean;
610
580
  type: string;
611
581
  isKey: boolean;
612
- writable: boolean;
613
582
  mandatory: boolean;
614
583
  private?: boolean;
615
584
  depends?: string;
@@ -623,14 +592,13 @@ export class Cluster extends Host {
623
592
  extends: {
624
593
  type: string;
625
594
  collection: boolean;
626
- writeable: boolean;
595
+ writable: boolean;
627
596
  };
628
597
  model: {
629
598
  collection: boolean;
630
- writeable: boolean;
599
+ writable: boolean;
631
600
  type: string;
632
601
  isKey: boolean;
633
- writable: boolean;
634
602
  mandatory: boolean;
635
603
  private?: boolean;
636
604
  depends?: string;
@@ -644,13 +612,12 @@ export class Cluster extends Host {
644
612
  isModel: {
645
613
  type: string;
646
614
  collection: boolean;
647
- writeable: boolean;
615
+ writable: boolean;
648
616
  };
649
617
  hostName: {
650
- writeable: boolean;
618
+ writable: boolean;
651
619
  type: string;
652
620
  isKey: boolean;
653
- writable: boolean;
654
621
  mandatory: boolean;
655
622
  collection: boolean;
656
623
  private?: boolean;
@@ -664,10 +631,9 @@ export class Cluster extends Host {
664
631
  };
665
632
  cidrAddresses: {
666
633
  collection: boolean;
667
- writeable: boolean;
634
+ writable: boolean;
668
635
  type: string;
669
636
  isKey: boolean;
670
- writable: boolean;
671
637
  mandatory: boolean;
672
638
  private?: boolean;
673
639
  depends?: string;
@@ -679,10 +645,9 @@ export class Cluster extends Host {
679
645
  env?: string[] | string;
680
646
  };
681
647
  cidrAddress: {
682
- writeable: boolean;
648
+ writable: boolean;
683
649
  type: string;
684
650
  isKey: boolean;
685
- writable: boolean;
686
651
  mandatory: boolean;
687
652
  collection: boolean;
688
653
  private?: boolean;
@@ -696,10 +661,9 @@ export class Cluster extends Host {
696
661
  };
697
662
  addresses: {
698
663
  collection: boolean;
699
- writeable: boolean;
664
+ writable: boolean;
700
665
  type: string;
701
666
  isKey: boolean;
702
- writable: boolean;
703
667
  mandatory: boolean;
704
668
  private?: boolean;
705
669
  depends?: string;
@@ -711,10 +675,9 @@ export class Cluster extends Host {
711
675
  env?: string[] | string;
712
676
  };
713
677
  address: {
714
- writeable: boolean;
678
+ writable: boolean;
715
679
  type: string;
716
680
  isKey: boolean;
717
- writable: boolean;
718
681
  mandatory: boolean;
719
682
  collection: boolean;
720
683
  private?: boolean;
@@ -732,27 +695,27 @@ export class Cluster extends Host {
732
695
  routerId: {
733
696
  type: string;
734
697
  collection: boolean;
735
- writeable: boolean;
698
+ writable: boolean;
736
699
  };
737
700
  masters: {
738
701
  type: string;
739
702
  collection: boolean;
740
- writeable: boolean;
703
+ writable: boolean;
741
704
  };
742
705
  backups: {
743
706
  type: string;
744
707
  collection: boolean;
745
- writeable: boolean;
708
+ writable: boolean;
746
709
  };
747
710
  members: {
748
711
  type: string;
749
712
  collection: boolean;
750
- writeable: boolean;
713
+ writable: boolean;
751
714
  };
752
715
  checkInterval: {
753
716
  type: string;
754
717
  collection: boolean;
755
- writeable: boolean;
718
+ writable: boolean;
756
719
  };
757
720
  };
758
721
  };