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
@@ -13,14 +13,13 @@ export class KeaService extends Service {
13
13
  owner: {
14
14
  type: string;
15
15
  collection: boolean;
16
- writeable: boolean;
16
+ writable: boolean;
17
17
  };
18
18
  type: import("pacc").AttributeDefinition;
19
19
  name: {
20
20
  isKey: boolean;
21
- writeable: boolean;
22
- type: string;
23
21
  writable: boolean;
22
+ type: string;
24
23
  mandatory: boolean;
25
24
  collection: boolean;
26
25
  private?: boolean;
@@ -33,10 +32,9 @@ export class KeaService extends Service {
33
32
  env?: string[] | string;
34
33
  };
35
34
  description: {
36
- writeable: boolean;
35
+ writable: boolean;
37
36
  type: string;
38
37
  isKey: boolean;
39
- writable: boolean;
40
38
  mandatory: boolean;
41
39
  collection: boolean;
42
40
  private?: boolean;
@@ -51,13 +49,12 @@ export class KeaService extends Service {
51
49
  priority: {
52
50
  type: string;
53
51
  collection: boolean;
54
- writeable: boolean;
52
+ writable: boolean;
55
53
  };
56
54
  directory: {
57
- writeable: boolean;
55
+ writable: boolean;
58
56
  type: string;
59
57
  isKey: boolean;
60
- writable: boolean;
61
58
  mandatory: boolean;
62
59
  collection: boolean;
63
60
  private?: boolean;
@@ -70,10 +67,9 @@ export class KeaService extends Service {
70
67
  env?: string[] | string;
71
68
  };
72
69
  packaging: {
73
- writeable: boolean;
70
+ writable: boolean;
74
71
  type: string;
75
72
  isKey: boolean;
76
- writable: boolean;
77
73
  mandatory: boolean;
78
74
  collection: boolean;
79
75
  private?: boolean;
@@ -86,11 +82,10 @@ export class KeaService extends Service {
86
82
  env?: string[] | string;
87
83
  };
88
84
  disabled: {
89
- writeable: boolean;
85
+ writable: boolean;
90
86
  default: boolean;
91
87
  type: string;
92
88
  isKey: boolean;
93
- writable: boolean;
94
89
  mandatory: boolean;
95
90
  collection: boolean;
96
91
  private?: boolean;
@@ -103,10 +98,9 @@ export class KeaService extends Service {
103
98
  };
104
99
  tags: {
105
100
  collection: boolean;
106
- writeable: boolean;
101
+ writable: boolean;
107
102
  type: string;
108
103
  isKey: boolean;
109
- writable: boolean;
110
104
  mandatory: boolean;
111
105
  private?: boolean;
112
106
  depends?: string;
@@ -123,10 +117,9 @@ export class KeaService extends Service {
123
117
  factoryFor(owner: any, value: any): any;
124
118
  properties: {
125
119
  alias: {
126
- writeable: boolean;
120
+ writable: boolean;
127
121
  type: string;
128
122
  isKey: boolean;
129
- writable: boolean;
130
123
  mandatory: boolean;
131
124
  collection: boolean;
132
125
  private?: boolean;
@@ -141,25 +134,24 @@ export class KeaService extends Service {
141
134
  weight: {
142
135
  type: string;
143
136
  collection: boolean;
144
- writeable: boolean;
137
+ writable: boolean;
145
138
  default: number;
146
139
  };
147
140
  systemd: {
148
141
  type: string;
149
142
  collection: boolean;
150
- writeable: boolean;
143
+ writable: boolean;
151
144
  };
152
145
  port: {
153
146
  type: string;
154
147
  collection: boolean;
155
- writeable: boolean;
148
+ writable: boolean;
156
149
  };
157
150
  protocol: {
158
- writeable: boolean;
151
+ writable: boolean;
159
152
  values: string[];
160
153
  type: string;
161
154
  isKey: boolean;
162
- writable: boolean;
163
155
  mandatory: boolean;
164
156
  collection: boolean;
165
157
  private?: boolean;
@@ -172,10 +164,9 @@ export class KeaService extends Service {
172
164
  env?: string[] | string;
173
165
  };
174
166
  type: {
175
- writeable: boolean;
167
+ writable: boolean;
176
168
  type: string;
177
169
  isKey: boolean;
178
- writable: boolean;
179
170
  mandatory: boolean;
180
171
  collection: boolean;
181
172
  private?: boolean;
@@ -203,10 +194,9 @@ export class KeaService extends Service {
203
194
  env?: string[] | string;
204
195
  };
205
196
  tls: {
206
- writeable: boolean;
197
+ writable: boolean;
207
198
  type: string;
208
199
  isKey: boolean;
209
- writable: boolean;
210
200
  mandatory: boolean;
211
201
  collection: boolean;
212
202
  private?: boolean;
@@ -219,10 +209,9 @@ export class KeaService extends Service {
219
209
  env?: string[] | string;
220
210
  };
221
211
  hostName: {
222
- writeable: boolean;
212
+ writable: boolean;
223
213
  type: string;
224
214
  isKey: boolean;
225
- writable: boolean;
226
215
  mandatory: boolean;
227
216
  collection: boolean;
228
217
  private?: boolean;
@@ -236,10 +225,9 @@ export class KeaService extends Service {
236
225
  };
237
226
  cidrAddresses: {
238
227
  collection: boolean;
239
- writeable: boolean;
228
+ writable: boolean;
240
229
  type: string;
241
230
  isKey: boolean;
242
- writable: boolean;
243
231
  mandatory: boolean;
244
232
  private?: boolean;
245
233
  depends?: string;
@@ -251,10 +239,9 @@ export class KeaService extends Service {
251
239
  env?: string[] | string;
252
240
  };
253
241
  cidrAddress: {
254
- writeable: boolean;
242
+ writable: boolean;
255
243
  type: string;
256
244
  isKey: boolean;
257
- writable: boolean;
258
245
  mandatory: boolean;
259
246
  collection: boolean;
260
247
  private?: boolean;
@@ -268,10 +255,9 @@ export class KeaService extends Service {
268
255
  };
269
256
  addresses: {
270
257
  collection: boolean;
271
- writeable: boolean;
258
+ writable: boolean;
272
259
  type: string;
273
260
  isKey: boolean;
274
- writable: boolean;
275
261
  mandatory: boolean;
276
262
  private?: boolean;
277
263
  depends?: string;
@@ -283,10 +269,9 @@ export class KeaService extends Service {
283
269
  env?: string[] | string;
284
270
  };
285
271
  address: {
286
- writeable: boolean;
272
+ writable: boolean;
287
273
  type: string;
288
274
  isKey: boolean;
289
- writable: boolean;
290
275
  mandatory: boolean;
291
276
  collection: boolean;
292
277
  private?: boolean;
@@ -312,14 +297,13 @@ export class KeaService extends Service {
312
297
  owner: {
313
298
  type: string;
314
299
  collection: boolean;
315
- writeable: boolean;
300
+ writable: boolean;
316
301
  };
317
302
  type: import("pacc").AttributeDefinition;
318
303
  name: {
319
304
  isKey: boolean;
320
- writeable: boolean;
321
- type: string;
322
305
  writable: boolean;
306
+ type: string;
323
307
  mandatory: boolean;
324
308
  collection: boolean;
325
309
  private?: boolean;
@@ -332,10 +316,9 @@ export class KeaService extends Service {
332
316
  env?: string[] | string;
333
317
  };
334
318
  description: {
335
- writeable: boolean;
319
+ writable: boolean;
336
320
  type: string;
337
321
  isKey: boolean;
338
- writable: boolean;
339
322
  mandatory: boolean;
340
323
  collection: boolean;
341
324
  private?: boolean;
@@ -350,13 +333,12 @@ export class KeaService extends Service {
350
333
  priority: {
351
334
  type: string;
352
335
  collection: boolean;
353
- writeable: boolean;
336
+ writable: boolean;
354
337
  };
355
338
  directory: {
356
- writeable: boolean;
339
+ writable: boolean;
357
340
  type: string;
358
341
  isKey: boolean;
359
- writable: boolean;
360
342
  mandatory: boolean;
361
343
  collection: boolean;
362
344
  private?: boolean;
@@ -369,10 +351,9 @@ export class KeaService extends Service {
369
351
  env?: string[] | string;
370
352
  };
371
353
  packaging: {
372
- writeable: boolean;
354
+ writable: boolean;
373
355
  type: string;
374
356
  isKey: boolean;
375
- writable: boolean;
376
357
  mandatory: boolean;
377
358
  collection: boolean;
378
359
  private?: boolean;
@@ -385,11 +366,10 @@ export class KeaService extends Service {
385
366
  env?: string[] | string;
386
367
  };
387
368
  disabled: {
388
- writeable: boolean;
369
+ writable: boolean;
389
370
  default: boolean;
390
371
  type: string;
391
372
  isKey: boolean;
392
- writable: boolean;
393
373
  mandatory: boolean;
394
374
  collection: boolean;
395
375
  private?: boolean;
@@ -402,10 +382,9 @@ export class KeaService extends Service {
402
382
  };
403
383
  tags: {
404
384
  collection: boolean;
405
- writeable: boolean;
385
+ writable: boolean;
406
386
  type: string;
407
387
  isKey: boolean;
408
- writable: boolean;
409
388
  mandatory: boolean;
410
389
  private?: boolean;
411
390
  depends?: string;
@@ -422,10 +401,9 @@ export class KeaService extends Service {
422
401
  factoryFor(owner: any, value: any): any;
423
402
  properties: {
424
403
  alias: {
425
- writeable: boolean;
404
+ writable: boolean;
426
405
  type: string;
427
406
  isKey: boolean;
428
- writable: boolean;
429
407
  mandatory: boolean;
430
408
  collection: boolean;
431
409
  private?: boolean;
@@ -440,25 +418,24 @@ export class KeaService extends Service {
440
418
  weight: {
441
419
  type: string;
442
420
  collection: boolean;
443
- writeable: boolean;
421
+ writable: boolean;
444
422
  default: number;
445
423
  };
446
424
  systemd: {
447
425
  type: string;
448
426
  collection: boolean;
449
- writeable: boolean;
427
+ writable: boolean;
450
428
  };
451
429
  port: {
452
430
  type: string;
453
431
  collection: boolean;
454
- writeable: boolean;
432
+ writable: boolean;
455
433
  };
456
434
  protocol: {
457
- writeable: boolean;
435
+ writable: boolean;
458
436
  values: string[];
459
437
  type: string;
460
438
  isKey: boolean;
461
- writable: boolean;
462
439
  mandatory: boolean;
463
440
  collection: boolean;
464
441
  private?: boolean;
@@ -471,10 +448,9 @@ export class KeaService extends Service {
471
448
  env?: string[] | string;
472
449
  };
473
450
  type: {
474
- writeable: boolean;
451
+ writable: boolean;
475
452
  type: string;
476
453
  isKey: boolean;
477
- writable: boolean;
478
454
  mandatory: boolean;
479
455
  collection: boolean;
480
456
  private?: boolean;
@@ -502,10 +478,9 @@ export class KeaService extends Service {
502
478
  env?: string[] | string;
503
479
  };
504
480
  tls: {
505
- writeable: boolean;
481
+ writable: boolean;
506
482
  type: string;
507
483
  isKey: boolean;
508
- writable: boolean;
509
484
  mandatory: boolean;
510
485
  collection: boolean;
511
486
  private?: boolean;
@@ -518,10 +493,9 @@ export class KeaService extends Service {
518
493
  env?: string[] | string;
519
494
  };
520
495
  hostName: {
521
- writeable: boolean;
496
+ writable: boolean;
522
497
  type: string;
523
498
  isKey: boolean;
524
- writable: boolean;
525
499
  mandatory: boolean;
526
500
  collection: boolean;
527
501
  private?: boolean;
@@ -535,10 +509,9 @@ export class KeaService extends Service {
535
509
  };
536
510
  cidrAddresses: {
537
511
  collection: boolean;
538
- writeable: boolean;
512
+ writable: boolean;
539
513
  type: string;
540
514
  isKey: boolean;
541
- writable: boolean;
542
515
  mandatory: boolean;
543
516
  private?: boolean;
544
517
  depends?: string;
@@ -550,10 +523,9 @@ export class KeaService extends Service {
550
523
  env?: string[] | string;
551
524
  };
552
525
  cidrAddress: {
553
- writeable: boolean;
526
+ writable: boolean;
554
527
  type: string;
555
528
  isKey: boolean;
556
- writable: boolean;
557
529
  mandatory: boolean;
558
530
  collection: boolean;
559
531
  private?: boolean;
@@ -567,10 +539,9 @@ export class KeaService extends Service {
567
539
  };
568
540
  addresses: {
569
541
  collection: boolean;
570
- writeable: boolean;
542
+ writable: boolean;
571
543
  type: string;
572
544
  isKey: boolean;
573
- writable: boolean;
574
545
  mandatory: boolean;
575
546
  private?: boolean;
576
547
  depends?: string;
@@ -582,10 +553,9 @@ export class KeaService extends Service {
582
553
  env?: string[] | string;
583
554
  };
584
555
  address: {
585
- writeable: boolean;
556
+ writable: boolean;
586
557
  type: string;
587
558
  isKey: boolean;
588
- writable: boolean;
589
559
  mandatory: boolean;
590
560
  collection: boolean;
591
561
  private?: boolean;
@@ -600,7 +570,88 @@ export class KeaService extends Service {
600
570
  };
601
571
  };
602
572
  priority: number;
603
- properties: {};
573
+ properties: {
574
+ "ddns-send-updates": {
575
+ isCommonOption: boolean;
576
+ type: string;
577
+ isKey: boolean;
578
+ writable: boolean;
579
+ mandatory: boolean;
580
+ collection: boolean;
581
+ private?: boolean;
582
+ depends?: string;
583
+ additionalAttributes: string[];
584
+ description?: string;
585
+ default?: any;
586
+ set?: Function;
587
+ get?: Function;
588
+ env?: string[] | string;
589
+ };
590
+ "renew-timer": {
591
+ type: string;
592
+ writable: boolean;
593
+ isCommonOption: boolean;
594
+ default: number;
595
+ isKey: boolean;
596
+ mandatory: boolean;
597
+ collection: boolean;
598
+ private?: boolean;
599
+ depends?: string;
600
+ additionalAttributes: string[];
601
+ description?: string;
602
+ set?: Function;
603
+ get?: Function;
604
+ env?: string[] | string;
605
+ };
606
+ "rebind-timer": {
607
+ type: string;
608
+ writable: boolean;
609
+ isCommonOption: boolean;
610
+ default: number;
611
+ isKey: boolean;
612
+ mandatory: boolean;
613
+ collection: boolean;
614
+ private?: boolean;
615
+ depends?: string;
616
+ additionalAttributes: string[];
617
+ description?: string;
618
+ set?: Function;
619
+ get?: Function;
620
+ env?: string[] | string;
621
+ };
622
+ "valid-lifetime": {
623
+ type: string;
624
+ writable: boolean;
625
+ mandatory: boolean;
626
+ isCommonOption: boolean;
627
+ default: number;
628
+ isKey: boolean;
629
+ collection: boolean;
630
+ private?: boolean;
631
+ depends?: string;
632
+ additionalAttributes: string[];
633
+ description?: string;
634
+ set?: Function;
635
+ get?: Function;
636
+ env?: string[] | string;
637
+ };
638
+ "ddns-conflict-resolution-mode": {
639
+ writable: boolean;
640
+ isCommonOption: boolean;
641
+ type: string;
642
+ isKey: boolean;
643
+ mandatory: boolean;
644
+ collection: boolean;
645
+ private?: boolean;
646
+ depends?: string;
647
+ additionalAttributes: string[];
648
+ description?: string;
649
+ default?: any;
650
+ set?: Function;
651
+ get?: Function;
652
+ env?: string[] | string;
653
+ };
654
+ };
604
655
  service: {
605
656
  extends: string[];
606
657
  services: {