pmcf 3.5.1 → 3.6.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 (33) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +11 -7
  3. package/src/network-interfaces/loopback.mjs +3 -0
  4. package/src/network-interfaces/network-interface.mjs +1 -1
  5. package/src/network-support.mjs +6 -9
  6. package/src/service.mjs +5 -4
  7. package/types/base.d.mts +3 -29
  8. package/types/cluster.d.mts +4 -56
  9. package/types/extra-source-service.d.mts +6 -45
  10. package/types/host.d.mts +3 -29
  11. package/types/location.d.mts +5 -57
  12. package/types/network-interfaces/ethernet.d.mts +14 -92
  13. package/types/network-interfaces/loopback.d.mts +16 -92
  14. package/types/network-interfaces/network-interface.d.mts +14 -92
  15. package/types/network-interfaces/tun.d.mts +14 -92
  16. package/types/network-interfaces/wireguard.d.mts +14 -92
  17. package/types/network-interfaces/wlan.d.mts +21 -138
  18. package/types/network-support.d.mts +6 -18
  19. package/types/network.d.mts +6 -45
  20. package/types/owner.d.mts +2 -28
  21. package/types/root.d.mts +4 -56
  22. package/types/service.d.mts +13 -91
  23. package/types/services/bind.d.mts +12 -90
  24. package/types/services/chrony.d.mts +13 -91
  25. package/types/services/influxdb.d.mts +13 -91
  26. package/types/services/kea.d.mts +13 -91
  27. package/types/services/mosquitto.d.mts +13 -91
  28. package/types/services/openldap.d.mts +13 -91
  29. package/types/services/systemd-journal-remote.d.mts +12 -90
  30. package/types/services/systemd-journal-upload.d.mts +12 -90
  31. package/types/services/systemd-journal.d.mts +12 -90
  32. package/types/services/systemd-resolved.d.mts +12 -90
  33. package/types/services/systemd-timesyncd.d.mts +12 -90
@@ -57,20 +57,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
57
57
  get?: Function;
58
58
  env?: string[] | string;
59
59
  };
60
- priority: {
61
- writable: boolean;
62
- type: string;
63
- isKey: boolean;
64
- mandatory: boolean;
65
- collection: boolean;
66
- private?: boolean;
67
- depends?: string;
68
- description?: string;
69
- default?: any;
70
- set?: Function;
71
- get?: Function;
72
- env?: string[] | string;
73
- };
60
+ priority: import("pacc").AttributeDefinition;
74
61
  directory: {
75
62
  writable: boolean;
76
63
  type: string;
@@ -100,20 +87,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
100
87
  env?: string[] | string;
101
88
  };
102
89
  disabled: import("pacc").AttributeDefinition;
103
- tags: {
104
- writable: boolean;
105
- collection: boolean;
106
- type: string;
107
- isKey: boolean;
108
- mandatory: boolean;
109
- private: boolean;
110
- depends: string;
111
- description: string;
112
- default: any;
113
- set: Function;
114
- get: Function;
115
- env: string[] | string;
116
- };
90
+ tags: import("pacc").AttributeDefinition;
117
91
  };
118
92
  };
119
93
  specializations: {};
@@ -244,7 +218,6 @@ export class EthernetNetworkInterface extends NetworkInterface {
244
218
  scope: {
245
219
  writable: boolean;
246
220
  values: string[];
247
- default: string;
248
221
  type: string;
249
222
  isKey: boolean;
250
223
  mandatory: boolean;
@@ -252,6 +225,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
252
225
  private?: boolean;
253
226
  depends?: string;
254
227
  description?: string;
228
+ default?: any;
255
229
  set?: Function;
256
230
  get?: Function;
257
231
  env?: string[] | string;
@@ -315,24 +289,24 @@ export class EthernetNetworkInterface extends NetworkInterface {
315
289
  env?: string[] | string;
316
290
  };
317
291
  metric: {
318
- writable: boolean;
319
- default: number;
320
292
  type: string;
321
293
  isKey: boolean;
294
+ writable: boolean;
322
295
  mandatory: boolean;
323
296
  collection: boolean;
324
297
  private?: boolean;
325
298
  depends?: string;
326
299
  description?: string;
300
+ default?: any;
327
301
  set?: Function;
328
302
  get?: Function;
329
303
  env?: string[] | string;
330
304
  };
331
305
  mtu: {
332
- writable: boolean;
333
306
  default: number;
334
307
  type: string;
335
308
  isKey: boolean;
309
+ writable: boolean;
336
310
  mandatory: boolean;
337
311
  collection: boolean;
338
312
  private?: boolean;
@@ -347,20 +321,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
347
321
  collection: boolean;
348
322
  writable: boolean;
349
323
  };
350
- multicastDNS: {
351
- writable: boolean;
352
- type: string;
353
- isKey: boolean;
354
- mandatory: boolean;
355
- collection: boolean;
356
- private?: boolean;
357
- depends?: string;
358
- description?: string;
359
- default?: any;
360
- set?: Function;
361
- get?: Function;
362
- env?: string[] | string;
363
- };
324
+ multicastDNS: import("pacc").AttributeDefinition;
364
325
  };
365
326
  };
366
327
  owners: string[];
@@ -406,20 +367,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
406
367
  get?: Function;
407
368
  env?: string[] | string;
408
369
  };
409
- priority: {
410
- writable: boolean;
411
- type: string;
412
- isKey: boolean;
413
- mandatory: boolean;
414
- collection: boolean;
415
- private?: boolean;
416
- depends?: string;
417
- description?: string;
418
- default?: any;
419
- set?: Function;
420
- get?: Function;
421
- env?: string[] | string;
422
- };
370
+ priority: import("pacc").AttributeDefinition;
423
371
  directory: {
424
372
  writable: boolean;
425
373
  type: string;
@@ -449,20 +397,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
449
397
  env?: string[] | string;
450
398
  };
451
399
  disabled: import("pacc").AttributeDefinition;
452
- tags: {
453
- writable: boolean;
454
- collection: boolean;
455
- type: string;
456
- isKey: boolean;
457
- mandatory: boolean;
458
- private: boolean;
459
- depends: string;
460
- description: string;
461
- default: any;
462
- set: Function;
463
- get: Function;
464
- env: string[] | string;
465
- };
400
+ tags: import("pacc").AttributeDefinition;
466
401
  };
467
402
  };
468
403
  specializations: {};
@@ -593,7 +528,6 @@ export class EthernetNetworkInterface extends NetworkInterface {
593
528
  scope: {
594
529
  writable: boolean;
595
530
  values: string[];
596
- default: string;
597
531
  type: string;
598
532
  isKey: boolean;
599
533
  mandatory: boolean;
@@ -601,6 +535,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
601
535
  private?: boolean;
602
536
  depends?: string;
603
537
  description?: string;
538
+ default?: any;
604
539
  set?: Function;
605
540
  get?: Function;
606
541
  env?: string[] | string;
@@ -664,24 +599,24 @@ export class EthernetNetworkInterface extends NetworkInterface {
664
599
  env?: string[] | string;
665
600
  };
666
601
  metric: {
667
- writable: boolean;
668
- default: number;
669
602
  type: string;
670
603
  isKey: boolean;
604
+ writable: boolean;
671
605
  mandatory: boolean;
672
606
  collection: boolean;
673
607
  private?: boolean;
674
608
  depends?: string;
675
609
  description?: string;
610
+ default?: any;
676
611
  set?: Function;
677
612
  get?: Function;
678
613
  env?: string[] | string;
679
614
  };
680
615
  mtu: {
681
- writable: boolean;
682
616
  default: number;
683
617
  type: string;
684
618
  isKey: boolean;
619
+ writable: boolean;
685
620
  mandatory: boolean;
686
621
  collection: boolean;
687
622
  private?: boolean;
@@ -696,20 +631,7 @@ export class EthernetNetworkInterface extends NetworkInterface {
696
631
  collection: boolean;
697
632
  writable: boolean;
698
633
  };
699
- multicastDNS: {
700
- writable: boolean;
701
- type: string;
702
- isKey: boolean;
703
- mandatory: boolean;
704
- collection: boolean;
705
- private?: boolean;
706
- depends?: string;
707
- description?: string;
708
- default?: any;
709
- set?: Function;
710
- get?: Function;
711
- env?: string[] | string;
712
- };
634
+ multicastDNS: import("pacc").AttributeDefinition;
713
635
  };
714
636
  };
715
637
  priority: number;
@@ -43,20 +43,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
43
43
  get?: Function;
44
44
  env?: string[] | string;
45
45
  };
46
- priority: {
47
- writable: boolean;
48
- type: string;
49
- isKey: boolean;
50
- mandatory: boolean;
51
- collection: boolean;
52
- private?: boolean;
53
- depends?: string;
54
- description?: string;
55
- default?: any;
56
- set?: Function;
57
- get?: Function;
58
- env?: string[] | string;
59
- };
46
+ priority: import("pacc").AttributeDefinition;
60
47
  directory: {
61
48
  writable: boolean;
62
49
  type: string;
@@ -86,20 +73,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
86
73
  env?: string[] | string;
87
74
  };
88
75
  disabled: import("pacc").AttributeDefinition;
89
- tags: {
90
- writable: boolean;
91
- collection: boolean;
92
- type: string;
93
- isKey: boolean;
94
- mandatory: boolean;
95
- private: boolean;
96
- depends: string;
97
- description: string;
98
- default: any;
99
- set: Function;
100
- get: Function;
101
- env: string[] | string;
102
- };
76
+ tags: import("pacc").AttributeDefinition;
103
77
  };
104
78
  };
105
79
  specializations: {};
@@ -230,7 +204,6 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
230
204
  scope: {
231
205
  writable: boolean;
232
206
  values: string[];
233
- default: string;
234
207
  type: string;
235
208
  isKey: boolean;
236
209
  mandatory: boolean;
@@ -238,6 +211,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
238
211
  private?: boolean;
239
212
  depends?: string;
240
213
  description?: string;
214
+ default?: any;
241
215
  set?: Function;
242
216
  get?: Function;
243
217
  env?: string[] | string;
@@ -301,24 +275,24 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
301
275
  env?: string[] | string;
302
276
  };
303
277
  metric: {
304
- writable: boolean;
305
- default: number;
306
278
  type: string;
307
279
  isKey: boolean;
280
+ writable: boolean;
308
281
  mandatory: boolean;
309
282
  collection: boolean;
310
283
  private?: boolean;
311
284
  depends?: string;
312
285
  description?: string;
286
+ default?: any;
313
287
  set?: Function;
314
288
  get?: Function;
315
289
  env?: string[] | string;
316
290
  };
317
291
  mtu: {
318
- writable: boolean;
319
292
  default: number;
320
293
  type: string;
321
294
  isKey: boolean;
295
+ writable: boolean;
322
296
  mandatory: boolean;
323
297
  collection: boolean;
324
298
  private?: boolean;
@@ -333,20 +307,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
333
307
  collection: boolean;
334
308
  writable: boolean;
335
309
  };
336
- multicastDNS: {
337
- writable: boolean;
338
- type: string;
339
- isKey: boolean;
340
- mandatory: boolean;
341
- collection: boolean;
342
- private?: boolean;
343
- depends?: string;
344
- description?: string;
345
- default?: any;
346
- set?: Function;
347
- get?: Function;
348
- env?: string[] | string;
349
- };
310
+ multicastDNS: import("pacc").AttributeDefinition;
350
311
  };
351
312
  };
352
313
  owners: string[];
@@ -392,20 +353,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
392
353
  get?: Function;
393
354
  env?: string[] | string;
394
355
  };
395
- priority: {
396
- writable: boolean;
397
- type: string;
398
- isKey: boolean;
399
- mandatory: boolean;
400
- collection: boolean;
401
- private?: boolean;
402
- depends?: string;
403
- description?: string;
404
- default?: any;
405
- set?: Function;
406
- get?: Function;
407
- env?: string[] | string;
408
- };
356
+ priority: import("pacc").AttributeDefinition;
409
357
  directory: {
410
358
  writable: boolean;
411
359
  type: string;
@@ -435,20 +383,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
435
383
  env?: string[] | string;
436
384
  };
437
385
  disabled: import("pacc").AttributeDefinition;
438
- tags: {
439
- writable: boolean;
440
- collection: boolean;
441
- type: string;
442
- isKey: boolean;
443
- mandatory: boolean;
444
- private: boolean;
445
- depends: string;
446
- description: string;
447
- default: any;
448
- set: Function;
449
- get: Function;
450
- env: string[] | string;
451
- };
386
+ tags: import("pacc").AttributeDefinition;
452
387
  };
453
388
  };
454
389
  specializations: {};
@@ -579,7 +514,6 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
579
514
  scope: {
580
515
  writable: boolean;
581
516
  values: string[];
582
- default: string;
583
517
  type: string;
584
518
  isKey: boolean;
585
519
  mandatory: boolean;
@@ -587,6 +521,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
587
521
  private?: boolean;
588
522
  depends?: string;
589
523
  description?: string;
524
+ default?: any;
590
525
  set?: Function;
591
526
  get?: Function;
592
527
  env?: string[] | string;
@@ -650,24 +585,24 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
650
585
  env?: string[] | string;
651
586
  };
652
587
  metric: {
653
- writable: boolean;
654
- default: number;
655
588
  type: string;
656
589
  isKey: boolean;
590
+ writable: boolean;
657
591
  mandatory: boolean;
658
592
  collection: boolean;
659
593
  private?: boolean;
660
594
  depends?: string;
661
595
  description?: string;
596
+ default?: any;
662
597
  set?: Function;
663
598
  get?: Function;
664
599
  env?: string[] | string;
665
600
  };
666
601
  mtu: {
667
- writable: boolean;
668
602
  default: number;
669
603
  type: string;
670
604
  isKey: boolean;
605
+ writable: boolean;
671
606
  mandatory: boolean;
672
607
  collection: boolean;
673
608
  private?: boolean;
@@ -682,20 +617,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
682
617
  collection: boolean;
683
618
  writable: boolean;
684
619
  };
685
- multicastDNS: {
686
- writable: boolean;
687
- type: string;
688
- isKey: boolean;
689
- mandatory: boolean;
690
- collection: boolean;
691
- private?: boolean;
692
- depends?: string;
693
- description?: string;
694
- default?: any;
695
- set?: Function;
696
- get?: Function;
697
- env?: string[] | string;
698
- };
620
+ multicastDNS: import("pacc").AttributeDefinition;
699
621
  };
700
622
  };
701
623
  priority: number;
@@ -703,11 +625,13 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
703
625
  };
704
626
  static isCommonName(name: any): any;
705
627
  get kind(): string;
628
+ set scope(v: string);
706
629
  get scope(): string;
707
630
  get localDomains(): Set<string>;
708
631
  get domainNames(): Set<string>;
709
632
  get hostName(): string;
710
633
  get ipAddresses(): Map<string, import("pmcf").Subnet>;
634
+ set mtu(v: number);
711
635
  get mtu(): number;
712
636
  }
713
637
  import { SkeletonNetworkInterface } from "./skeleton.mjs";
@@ -40,20 +40,7 @@ export namespace NetworkInterfaceTypeDefinition {
40
40
  get?: Function;
41
41
  env?: string[] | string;
42
42
  };
43
- priority: {
44
- writable: boolean;
45
- type: string;
46
- isKey: boolean;
47
- mandatory: boolean;
48
- collection: boolean;
49
- private?: boolean;
50
- depends?: string;
51
- description?: string;
52
- default?: any;
53
- set?: Function;
54
- get?: Function;
55
- env?: string[] | string;
56
- };
43
+ priority: import("pacc").AttributeDefinition;
57
44
  directory: {
58
45
  writable: boolean;
59
46
  type: string;
@@ -83,20 +70,7 @@ export namespace NetworkInterfaceTypeDefinition {
83
70
  env?: string[] | string;
84
71
  };
85
72
  disabled: import("pacc").AttributeDefinition;
86
- tags: {
87
- writable: boolean;
88
- collection: boolean;
89
- type: string;
90
- isKey: boolean;
91
- mandatory: boolean;
92
- private: boolean;
93
- depends: string;
94
- description: string;
95
- default: any;
96
- set: Function;
97
- get: Function;
98
- env: string[] | string;
99
- };
73
+ tags: import("pacc").AttributeDefinition;
100
74
  };
101
75
  };
102
76
  export { _extends as extends };
@@ -228,7 +202,6 @@ export namespace NetworkInterfaceTypeDefinition {
228
202
  scope: {
229
203
  writable: boolean;
230
204
  values: string[];
231
- default: string;
232
205
  type: string;
233
206
  isKey: boolean;
234
207
  mandatory: boolean;
@@ -236,6 +209,7 @@ export namespace NetworkInterfaceTypeDefinition {
236
209
  private?: boolean;
237
210
  depends?: string;
238
211
  description?: string;
212
+ default?: any;
239
213
  set?: Function;
240
214
  get?: Function;
241
215
  env?: string[] | string;
@@ -299,24 +273,24 @@ export namespace NetworkInterfaceTypeDefinition {
299
273
  env?: string[] | string;
300
274
  };
301
275
  metric: {
302
- writable: boolean;
303
- default: number;
304
276
  type: string;
305
277
  isKey: boolean;
278
+ writable: boolean;
306
279
  mandatory: boolean;
307
280
  collection: boolean;
308
281
  private?: boolean;
309
282
  depends?: string;
310
283
  description?: string;
284
+ default?: any;
311
285
  set?: Function;
312
286
  get?: Function;
313
287
  env?: string[] | string;
314
288
  };
315
289
  mtu: {
316
- writable: boolean;
317
290
  default: number;
318
291
  type: string;
319
292
  isKey: boolean;
293
+ writable: boolean;
320
294
  mandatory: boolean;
321
295
  collection: boolean;
322
296
  private?: boolean;
@@ -331,20 +305,7 @@ export namespace NetworkInterfaceTypeDefinition {
331
305
  collection: boolean;
332
306
  writable: boolean;
333
307
  };
334
- multicastDNS: {
335
- writable: boolean;
336
- type: string;
337
- isKey: boolean;
338
- mandatory: boolean;
339
- collection: boolean;
340
- private?: boolean;
341
- depends?: string;
342
- description?: string;
343
- default?: any;
344
- set?: Function;
345
- get?: Function;
346
- env?: string[] | string;
347
- };
308
+ multicastDNS: import("pacc").AttributeDefinition;
348
309
  };
349
310
  }
350
311
  export class NetworkInterface extends SkeletonNetworkInterface {
@@ -390,20 +351,7 @@ export class NetworkInterface extends SkeletonNetworkInterface {
390
351
  get?: Function;
391
352
  env?: string[] | string;
392
353
  };
393
- priority: {
394
- writable: boolean;
395
- type: string;
396
- isKey: boolean;
397
- mandatory: boolean;
398
- collection: boolean;
399
- private?: boolean;
400
- depends?: string;
401
- description?: string;
402
- default?: any;
403
- set?: Function;
404
- get?: Function;
405
- env?: string[] | string;
406
- };
354
+ priority: import("pacc").AttributeDefinition;
407
355
  directory: {
408
356
  writable: boolean;
409
357
  type: string;
@@ -433,20 +381,7 @@ export class NetworkInterface extends SkeletonNetworkInterface {
433
381
  env?: string[] | string;
434
382
  };
435
383
  disabled: import("pacc").AttributeDefinition;
436
- tags: {
437
- writable: boolean;
438
- collection: boolean;
439
- type: string;
440
- isKey: boolean;
441
- mandatory: boolean;
442
- private: boolean;
443
- depends: string;
444
- description: string;
445
- default: any;
446
- set: Function;
447
- get: Function;
448
- env: string[] | string;
449
- };
384
+ tags: import("pacc").AttributeDefinition;
450
385
  };
451
386
  };
452
387
  specializations: {};
@@ -577,7 +512,6 @@ export class NetworkInterface extends SkeletonNetworkInterface {
577
512
  scope: {
578
513
  writable: boolean;
579
514
  values: string[];
580
- default: string;
581
515
  type: string;
582
516
  isKey: boolean;
583
517
  mandatory: boolean;
@@ -585,6 +519,7 @@ export class NetworkInterface extends SkeletonNetworkInterface {
585
519
  private?: boolean;
586
520
  depends?: string;
587
521
  description?: string;
522
+ default?: any;
588
523
  set?: Function;
589
524
  get?: Function;
590
525
  env?: string[] | string;
@@ -648,24 +583,24 @@ export class NetworkInterface extends SkeletonNetworkInterface {
648
583
  env?: string[] | string;
649
584
  };
650
585
  metric: {
651
- writable: boolean;
652
- default: number;
653
586
  type: string;
654
587
  isKey: boolean;
588
+ writable: boolean;
655
589
  mandatory: boolean;
656
590
  collection: boolean;
657
591
  private?: boolean;
658
592
  depends?: string;
659
593
  description?: string;
594
+ default?: any;
660
595
  set?: Function;
661
596
  get?: Function;
662
597
  env?: string[] | string;
663
598
  };
664
599
  mtu: {
665
- writable: boolean;
666
600
  default: number;
667
601
  type: string;
668
602
  isKey: boolean;
603
+ writable: boolean;
669
604
  mandatory: boolean;
670
605
  collection: boolean;
671
606
  private?: boolean;
@@ -680,20 +615,7 @@ export class NetworkInterface extends SkeletonNetworkInterface {
680
615
  collection: boolean;
681
616
  writable: boolean;
682
617
  };
683
- multicastDNS: {
684
- writable: boolean;
685
- type: string;
686
- isKey: boolean;
687
- mandatory: boolean;
688
- collection: boolean;
689
- private?: boolean;
690
- depends?: string;
691
- description?: string;
692
- default?: any;
693
- set?: Function;
694
- get?: Function;
695
- env?: string[] | string;
696
- };
618
+ multicastDNS: import("pacc").AttributeDefinition;
697
619
  };
698
620
  };
699
621
  static isCommonName(name: any): void;