pmcf 3.2.0 → 3.2.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 (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 +2 -2
  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 +88 -35
  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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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 BindService 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;
@@ -674,9 +718,18 @@ export class BindService extends ExtraSourceService {
674
718
  env?: string[] | string;
675
719
  };
676
720
  serial: {
721
+ writable: boolean;
677
722
  type: string;
723
+ isKey: boolean;
724
+ mandatory: boolean;
678
725
  collection: boolean;
679
- writable: boolean;
726
+ private?: boolean;
727
+ depends?: string;
728
+ description?: string;
729
+ default?: any;
730
+ set?: Function;
731
+ get?: Function;
732
+ env?: string[] | string;
680
733
  };
681
734
  refresh: {
682
735
  writable: boolean;
@@ -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;