pmcf 3.2.0 → 3.3.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 (35) hide show
  1. package/package.json +2 -2
  2. package/src/base.mjs +2 -2
  3. package/src/cluster.mjs +3 -2
  4. package/src/host.mjs +4 -4
  5. package/src/network-support.mjs +3 -3
  6. package/src/service.mjs +5 -8
  7. package/src/services/bind.mjs +23 -25
  8. package/src/subnet.mjs +2 -2
  9. package/types/base.d.mts +10 -1
  10. package/types/cluster.d.mts +71 -12
  11. package/types/extra-source-service.d.mts +39 -17
  12. package/types/host.d.mts +31 -8
  13. package/types/location.d.mts +40 -4
  14. package/types/network-interfaces/ethernet.d.mts +60 -10
  15. package/types/network-interfaces/loopback.d.mts +60 -10
  16. package/types/network-interfaces/network-interface.d.mts +60 -10
  17. package/types/network-interfaces/wireguard.d.mts +60 -10
  18. package/types/network-interfaces/wlan.d.mts +90 -15
  19. package/types/network-support.d.mts +31 -23
  20. package/types/network.d.mts +40 -6
  21. package/types/owner.d.mts +20 -2
  22. package/types/root.d.mts +40 -4
  23. package/types/service.d.mts +89 -49
  24. package/types/services/bind.d.mts +86 -98
  25. package/types/services/chrony.d.mts +78 -34
  26. package/types/services/influxdb.d.mts +78 -34
  27. package/types/services/kea.d.mts +78 -34
  28. package/types/services/mosquitto.d.mts +78 -34
  29. package/types/services/openldap.d.mts +78 -34
  30. package/types/services/systemd-journal-remote.d.mts +78 -34
  31. package/types/services/systemd-journal-upload.d.mts +78 -34
  32. package/types/services/systemd-journal.d.mts +78 -34
  33. package/types/services/systemd-resolved.d.mts +78 -34
  34. package/types/services/systemd-timesyncd.d.mts +78 -34
  35. package/types/subnet.d.mts +10 -1
@@ -44,9 +44,18 @@ export class ChronyService extends ExtraSourceService {
44
44
  env?: string[] | string;
45
45
  };
46
46
  priority: {
47
+ writable: boolean;
47
48
  type: string;
49
+ isKey: boolean;
50
+ mandatory: boolean;
48
51
  collection: boolean;
49
- writable: boolean;
52
+ private?: boolean;
53
+ depends?: string;
54
+ description?: string;
55
+ default?: any;
56
+ set?: Function;
57
+ get?: Function;
58
+ env?: string[] | string;
50
59
  };
51
60
  directory: {
52
61
  writable: boolean;
@@ -124,24 +133,35 @@ export class ChronyService extends ExtraSourceService {
124
133
  env?: string[] | string;
125
134
  };
126
135
  weight: {
127
- type: string;
128
- collection: boolean;
129
136
  writable: boolean;
130
137
  default: number;
131
- };
132
- systemd: {
133
138
  type: string;
139
+ isKey: boolean;
140
+ mandatory: boolean;
134
141
  collection: boolean;
135
- writable: boolean;
142
+ private?: boolean;
143
+ depends?: string;
144
+ description?: string;
145
+ set?: Function;
146
+ get?: Function;
147
+ env?: string[] | string;
136
148
  };
137
- port: {
138
- type: string;
149
+ systemd: {
139
150
  collection: boolean;
140
151
  writable: boolean;
152
+ type: string;
153
+ isKey: boolean;
154
+ mandatory: boolean;
155
+ private?: boolean;
156
+ depends?: string;
157
+ description?: string;
158
+ default?: any;
159
+ set?: Function;
160
+ get?: Function;
161
+ env?: string[] | string;
141
162
  };
142
- protocol: {
163
+ port: {
143
164
  writable: boolean;
144
- values: string[];
145
165
  type: string;
146
166
  isKey: boolean;
147
167
  mandatory: boolean;
@@ -154,8 +174,9 @@ export class ChronyService extends ExtraSourceService {
154
174
  get?: Function;
155
175
  env?: string[] | string;
156
176
  };
157
- type: {
177
+ protocol: {
158
178
  writable: boolean;
179
+ values: string[];
159
180
  type: string;
160
181
  isKey: boolean;
161
182
  mandatory: boolean;
@@ -168,12 +189,12 @@ export class ChronyService extends ExtraSourceService {
168
189
  get?: Function;
169
190
  env?: string[] | string;
170
191
  };
171
- types: {
172
- collection: boolean;
192
+ type: {
193
+ writable: boolean;
173
194
  type: string;
174
195
  isKey: boolean;
175
- writable: boolean;
176
196
  mandatory: boolean;
197
+ collection: boolean;
177
198
  private?: boolean;
178
199
  depends?: string;
179
200
  description?: string;
@@ -182,12 +203,12 @@ export class ChronyService extends ExtraSourceService {
182
203
  get?: Function;
183
204
  env?: string[] | string;
184
205
  };
185
- tls: {
186
- writable: boolean;
206
+ types: {
207
+ collection: boolean;
187
208
  type: string;
188
209
  isKey: boolean;
210
+ writable: boolean;
189
211
  mandatory: boolean;
190
- collection: boolean;
191
212
  private?: boolean;
192
213
  depends?: string;
193
214
  description?: string;
@@ -196,6 +217,7 @@ export class ChronyService extends ExtraSourceService {
196
217
  get?: Function;
197
218
  env?: string[] | string;
198
219
  };
220
+ tls: import("pacc").AttributeDefinition;
199
221
  hostName: {
200
222
  writable: boolean;
201
223
  type: string;
@@ -315,9 +337,18 @@ export class ChronyService extends ExtraSourceService {
315
337
  env?: string[] | string;
316
338
  };
317
339
  priority: {
340
+ writable: boolean;
318
341
  type: string;
342
+ isKey: boolean;
343
+ mandatory: boolean;
319
344
  collection: boolean;
320
- writable: boolean;
345
+ private?: boolean;
346
+ depends?: string;
347
+ description?: string;
348
+ default?: any;
349
+ set?: Function;
350
+ get?: Function;
351
+ env?: string[] | string;
321
352
  };
322
353
  directory: {
323
354
  writable: boolean;
@@ -395,24 +426,35 @@ export class ChronyService extends ExtraSourceService {
395
426
  env?: string[] | string;
396
427
  };
397
428
  weight: {
398
- type: string;
399
- collection: boolean;
400
429
  writable: boolean;
401
430
  default: number;
402
- };
403
- systemd: {
404
431
  type: string;
432
+ isKey: boolean;
433
+ mandatory: boolean;
405
434
  collection: boolean;
406
- writable: boolean;
435
+ private?: boolean;
436
+ depends?: string;
437
+ description?: string;
438
+ set?: Function;
439
+ get?: Function;
440
+ env?: string[] | string;
407
441
  };
408
- port: {
409
- type: string;
442
+ systemd: {
410
443
  collection: boolean;
411
444
  writable: boolean;
445
+ type: string;
446
+ isKey: boolean;
447
+ mandatory: boolean;
448
+ private?: boolean;
449
+ depends?: string;
450
+ description?: string;
451
+ default?: any;
452
+ set?: Function;
453
+ get?: Function;
454
+ env?: string[] | string;
412
455
  };
413
- protocol: {
456
+ port: {
414
457
  writable: boolean;
415
- values: string[];
416
458
  type: string;
417
459
  isKey: boolean;
418
460
  mandatory: boolean;
@@ -425,8 +467,9 @@ export class ChronyService extends ExtraSourceService {
425
467
  get?: Function;
426
468
  env?: string[] | string;
427
469
  };
428
- type: {
470
+ protocol: {
429
471
  writable: boolean;
472
+ values: string[];
430
473
  type: string;
431
474
  isKey: boolean;
432
475
  mandatory: boolean;
@@ -439,12 +482,12 @@ export class ChronyService extends ExtraSourceService {
439
482
  get?: Function;
440
483
  env?: string[] | string;
441
484
  };
442
- types: {
443
- collection: boolean;
485
+ type: {
486
+ writable: boolean;
444
487
  type: string;
445
488
  isKey: boolean;
446
- writable: boolean;
447
489
  mandatory: boolean;
490
+ collection: boolean;
448
491
  private?: boolean;
449
492
  depends?: string;
450
493
  description?: string;
@@ -453,12 +496,12 @@ export class ChronyService extends ExtraSourceService {
453
496
  get?: Function;
454
497
  env?: string[] | string;
455
498
  };
456
- tls: {
457
- writable: boolean;
499
+ types: {
500
+ collection: boolean;
458
501
  type: string;
459
502
  isKey: boolean;
503
+ writable: boolean;
460
504
  mandatory: boolean;
461
- collection: boolean;
462
505
  private?: boolean;
463
506
  depends?: string;
464
507
  description?: string;
@@ -467,6 +510,7 @@ export class ChronyService extends ExtraSourceService {
467
510
  get?: Function;
468
511
  env?: string[] | string;
469
512
  };
513
+ tls: import("pacc").AttributeDefinition;
470
514
  hostName: {
471
515
  writable: boolean;
472
516
  type: string;
@@ -44,9 +44,18 @@ export class InfluxdbService extends Service {
44
44
  env?: string[] | string;
45
45
  };
46
46
  priority: {
47
+ writable: boolean;
47
48
  type: string;
49
+ isKey: boolean;
50
+ mandatory: boolean;
48
51
  collection: boolean;
49
- writable: boolean;
52
+ private?: boolean;
53
+ depends?: string;
54
+ description?: string;
55
+ default?: any;
56
+ set?: Function;
57
+ get?: Function;
58
+ env?: string[] | string;
50
59
  };
51
60
  directory: {
52
61
  writable: boolean;
@@ -124,24 +133,35 @@ export class InfluxdbService extends Service {
124
133
  env?: string[] | string;
125
134
  };
126
135
  weight: {
127
- type: string;
128
- collection: boolean;
129
136
  writable: boolean;
130
137
  default: number;
131
- };
132
- systemd: {
133
138
  type: string;
139
+ isKey: boolean;
140
+ mandatory: boolean;
134
141
  collection: boolean;
135
- writable: boolean;
142
+ private?: boolean;
143
+ depends?: string;
144
+ description?: string;
145
+ set?: Function;
146
+ get?: Function;
147
+ env?: string[] | string;
136
148
  };
137
- port: {
138
- type: string;
149
+ systemd: {
139
150
  collection: boolean;
140
151
  writable: boolean;
152
+ type: string;
153
+ isKey: boolean;
154
+ mandatory: boolean;
155
+ private?: boolean;
156
+ depends?: string;
157
+ description?: string;
158
+ default?: any;
159
+ set?: Function;
160
+ get?: Function;
161
+ env?: string[] | string;
141
162
  };
142
- protocol: {
163
+ port: {
143
164
  writable: boolean;
144
- values: string[];
145
165
  type: string;
146
166
  isKey: boolean;
147
167
  mandatory: boolean;
@@ -154,8 +174,9 @@ export class InfluxdbService extends Service {
154
174
  get?: Function;
155
175
  env?: string[] | string;
156
176
  };
157
- type: {
177
+ protocol: {
158
178
  writable: boolean;
179
+ values: string[];
159
180
  type: string;
160
181
  isKey: boolean;
161
182
  mandatory: boolean;
@@ -168,12 +189,12 @@ export class InfluxdbService extends Service {
168
189
  get?: Function;
169
190
  env?: string[] | string;
170
191
  };
171
- types: {
172
- collection: boolean;
192
+ type: {
193
+ writable: boolean;
173
194
  type: string;
174
195
  isKey: boolean;
175
- writable: boolean;
176
196
  mandatory: boolean;
197
+ collection: boolean;
177
198
  private?: boolean;
178
199
  depends?: string;
179
200
  description?: string;
@@ -182,12 +203,12 @@ export class InfluxdbService extends Service {
182
203
  get?: Function;
183
204
  env?: string[] | string;
184
205
  };
185
- tls: {
186
- writable: boolean;
206
+ types: {
207
+ collection: boolean;
187
208
  type: string;
188
209
  isKey: boolean;
210
+ writable: boolean;
189
211
  mandatory: boolean;
190
- collection: boolean;
191
212
  private?: boolean;
192
213
  depends?: string;
193
214
  description?: string;
@@ -196,6 +217,7 @@ export class InfluxdbService extends Service {
196
217
  get?: Function;
197
218
  env?: string[] | string;
198
219
  };
220
+ tls: import("pacc").AttributeDefinition;
199
221
  hostName: {
200
222
  writable: boolean;
201
223
  type: string;
@@ -312,9 +334,18 @@ export class InfluxdbService extends Service {
312
334
  env?: string[] | string;
313
335
  };
314
336
  priority: {
337
+ writable: boolean;
315
338
  type: string;
339
+ isKey: boolean;
340
+ mandatory: boolean;
316
341
  collection: boolean;
317
- writable: boolean;
342
+ private?: boolean;
343
+ depends?: string;
344
+ description?: string;
345
+ default?: any;
346
+ set?: Function;
347
+ get?: Function;
348
+ env?: string[] | string;
318
349
  };
319
350
  directory: {
320
351
  writable: boolean;
@@ -392,24 +423,35 @@ export class InfluxdbService extends Service {
392
423
  env?: string[] | string;
393
424
  };
394
425
  weight: {
395
- type: string;
396
- collection: boolean;
397
426
  writable: boolean;
398
427
  default: number;
399
- };
400
- systemd: {
401
428
  type: string;
429
+ isKey: boolean;
430
+ mandatory: boolean;
402
431
  collection: boolean;
403
- writable: boolean;
432
+ private?: boolean;
433
+ depends?: string;
434
+ description?: string;
435
+ set?: Function;
436
+ get?: Function;
437
+ env?: string[] | string;
404
438
  };
405
- port: {
406
- type: string;
439
+ systemd: {
407
440
  collection: boolean;
408
441
  writable: boolean;
442
+ type: string;
443
+ isKey: boolean;
444
+ mandatory: boolean;
445
+ private?: boolean;
446
+ depends?: string;
447
+ description?: string;
448
+ default?: any;
449
+ set?: Function;
450
+ get?: Function;
451
+ env?: string[] | string;
409
452
  };
410
- protocol: {
453
+ port: {
411
454
  writable: boolean;
412
- values: string[];
413
455
  type: string;
414
456
  isKey: boolean;
415
457
  mandatory: boolean;
@@ -422,8 +464,9 @@ export class InfluxdbService extends Service {
422
464
  get?: Function;
423
465
  env?: string[] | string;
424
466
  };
425
- type: {
467
+ protocol: {
426
468
  writable: boolean;
469
+ values: string[];
427
470
  type: string;
428
471
  isKey: boolean;
429
472
  mandatory: boolean;
@@ -436,12 +479,12 @@ export class InfluxdbService extends Service {
436
479
  get?: Function;
437
480
  env?: string[] | string;
438
481
  };
439
- types: {
440
- collection: boolean;
482
+ type: {
483
+ writable: boolean;
441
484
  type: string;
442
485
  isKey: boolean;
443
- writable: boolean;
444
486
  mandatory: boolean;
487
+ collection: boolean;
445
488
  private?: boolean;
446
489
  depends?: string;
447
490
  description?: string;
@@ -450,12 +493,12 @@ export class InfluxdbService extends Service {
450
493
  get?: Function;
451
494
  env?: string[] | string;
452
495
  };
453
- tls: {
454
- writable: boolean;
496
+ types: {
497
+ collection: boolean;
455
498
  type: string;
456
499
  isKey: boolean;
500
+ writable: boolean;
457
501
  mandatory: boolean;
458
- collection: boolean;
459
502
  private?: boolean;
460
503
  depends?: string;
461
504
  description?: string;
@@ -464,6 +507,7 @@ export class InfluxdbService extends Service {
464
507
  get?: Function;
465
508
  env?: string[] | string;
466
509
  };
510
+ tls: import("pacc").AttributeDefinition;
467
511
  hostName: {
468
512
  writable: boolean;
469
513
  type: string;
@@ -45,9 +45,18 @@ export class KeaService extends Service {
45
45
  env?: string[] | string;
46
46
  };
47
47
  priority: {
48
+ writable: boolean;
48
49
  type: string;
50
+ isKey: boolean;
51
+ mandatory: boolean;
49
52
  collection: boolean;
50
- writable: boolean;
53
+ private?: boolean;
54
+ depends?: string;
55
+ description?: string;
56
+ default?: any;
57
+ set?: Function;
58
+ get?: Function;
59
+ env?: string[] | string;
51
60
  };
52
61
  directory: {
53
62
  writable: boolean;
@@ -125,24 +134,35 @@ export class KeaService extends Service {
125
134
  env?: string[] | string;
126
135
  };
127
136
  weight: {
128
- type: string;
129
- collection: boolean;
130
137
  writable: boolean;
131
138
  default: number;
132
- };
133
- systemd: {
134
139
  type: string;
140
+ isKey: boolean;
141
+ mandatory: boolean;
135
142
  collection: boolean;
136
- writable: boolean;
143
+ private?: boolean;
144
+ depends?: string;
145
+ description?: string;
146
+ set?: Function;
147
+ get?: Function;
148
+ env?: string[] | string;
137
149
  };
138
- port: {
139
- type: string;
150
+ systemd: {
140
151
  collection: boolean;
141
152
  writable: boolean;
153
+ type: string;
154
+ isKey: boolean;
155
+ mandatory: boolean;
156
+ private?: boolean;
157
+ depends?: string;
158
+ description?: string;
159
+ default?: any;
160
+ set?: Function;
161
+ get?: Function;
162
+ env?: string[] | string;
142
163
  };
143
- protocol: {
164
+ port: {
144
165
  writable: boolean;
145
- values: string[];
146
166
  type: string;
147
167
  isKey: boolean;
148
168
  mandatory: boolean;
@@ -155,8 +175,9 @@ export class KeaService extends Service {
155
175
  get?: Function;
156
176
  env?: string[] | string;
157
177
  };
158
- type: {
178
+ protocol: {
159
179
  writable: boolean;
180
+ values: string[];
160
181
  type: string;
161
182
  isKey: boolean;
162
183
  mandatory: boolean;
@@ -169,12 +190,12 @@ export class KeaService extends Service {
169
190
  get?: Function;
170
191
  env?: string[] | string;
171
192
  };
172
- types: {
173
- collection: boolean;
193
+ type: {
194
+ writable: boolean;
174
195
  type: string;
175
196
  isKey: boolean;
176
- writable: boolean;
177
197
  mandatory: boolean;
198
+ collection: boolean;
178
199
  private?: boolean;
179
200
  depends?: string;
180
201
  description?: string;
@@ -183,12 +204,12 @@ export class KeaService extends Service {
183
204
  get?: Function;
184
205
  env?: string[] | string;
185
206
  };
186
- tls: {
187
- writable: boolean;
207
+ types: {
208
+ collection: boolean;
188
209
  type: string;
189
210
  isKey: boolean;
211
+ writable: boolean;
190
212
  mandatory: boolean;
191
- collection: boolean;
192
213
  private?: boolean;
193
214
  depends?: string;
194
215
  description?: string;
@@ -197,6 +218,7 @@ export class KeaService extends Service {
197
218
  get?: Function;
198
219
  env?: string[] | string;
199
220
  };
221
+ tls: import("pacc").AttributeDefinition;
200
222
  hostName: {
201
223
  writable: boolean;
202
224
  type: string;
@@ -313,9 +335,18 @@ export class KeaService extends Service {
313
335
  env?: string[] | string;
314
336
  };
315
337
  priority: {
338
+ writable: boolean;
316
339
  type: string;
340
+ isKey: boolean;
341
+ mandatory: boolean;
317
342
  collection: boolean;
318
- writable: boolean;
343
+ private?: boolean;
344
+ depends?: string;
345
+ description?: string;
346
+ default?: any;
347
+ set?: Function;
348
+ get?: Function;
349
+ env?: string[] | string;
319
350
  };
320
351
  directory: {
321
352
  writable: boolean;
@@ -393,24 +424,35 @@ export class KeaService extends Service {
393
424
  env?: string[] | string;
394
425
  };
395
426
  weight: {
396
- type: string;
397
- collection: boolean;
398
427
  writable: boolean;
399
428
  default: number;
400
- };
401
- systemd: {
402
429
  type: string;
430
+ isKey: boolean;
431
+ mandatory: boolean;
403
432
  collection: boolean;
404
- writable: boolean;
433
+ private?: boolean;
434
+ depends?: string;
435
+ description?: string;
436
+ set?: Function;
437
+ get?: Function;
438
+ env?: string[] | string;
405
439
  };
406
- port: {
407
- type: string;
440
+ systemd: {
408
441
  collection: boolean;
409
442
  writable: boolean;
443
+ type: string;
444
+ isKey: boolean;
445
+ mandatory: boolean;
446
+ private?: boolean;
447
+ depends?: string;
448
+ description?: string;
449
+ default?: any;
450
+ set?: Function;
451
+ get?: Function;
452
+ env?: string[] | string;
410
453
  };
411
- protocol: {
454
+ port: {
412
455
  writable: boolean;
413
- values: string[];
414
456
  type: string;
415
457
  isKey: boolean;
416
458
  mandatory: boolean;
@@ -423,8 +465,9 @@ export class KeaService extends Service {
423
465
  get?: Function;
424
466
  env?: string[] | string;
425
467
  };
426
- type: {
468
+ protocol: {
427
469
  writable: boolean;
470
+ values: string[];
428
471
  type: string;
429
472
  isKey: boolean;
430
473
  mandatory: boolean;
@@ -437,12 +480,12 @@ export class KeaService extends Service {
437
480
  get?: Function;
438
481
  env?: string[] | string;
439
482
  };
440
- types: {
441
- collection: boolean;
483
+ type: {
484
+ writable: boolean;
442
485
  type: string;
443
486
  isKey: boolean;
444
- writable: boolean;
445
487
  mandatory: boolean;
488
+ collection: boolean;
446
489
  private?: boolean;
447
490
  depends?: string;
448
491
  description?: string;
@@ -451,12 +494,12 @@ export class KeaService extends Service {
451
494
  get?: Function;
452
495
  env?: string[] | string;
453
496
  };
454
- tls: {
455
- writable: boolean;
497
+ types: {
498
+ collection: boolean;
456
499
  type: string;
457
500
  isKey: boolean;
501
+ writable: boolean;
458
502
  mandatory: boolean;
459
- collection: boolean;
460
503
  private?: boolean;
461
504
  depends?: string;
462
505
  description?: string;
@@ -465,6 +508,7 @@ export class KeaService extends Service {
465
508
  get?: Function;
466
509
  env?: string[] | string;
467
510
  };
511
+ tls: import("pacc").AttributeDefinition;
468
512
  hostName: {
469
513
  writable: boolean;
470
514
  type: string;