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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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 SystemdJournalService 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;
@@ -44,9 +44,18 @@ export class SystemdResolvedService 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 SystemdResolvedService 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 SystemdResolvedService 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 SystemdResolvedService 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 SystemdResolvedService 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 SystemdResolvedService 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;
@@ -312,9 +334,18 @@ export class SystemdResolvedService extends ExtraSourceService {
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 SystemdResolvedService extends ExtraSourceService {
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 SystemdResolvedService extends ExtraSourceService {
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 SystemdResolvedService extends ExtraSourceService {
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 SystemdResolvedService extends ExtraSourceService {
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 SystemdResolvedService extends ExtraSourceService {
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;
@@ -44,9 +44,18 @@ export class SystemdTimesyncdService 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 SystemdTimesyncdService 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 SystemdTimesyncdService 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 SystemdTimesyncdService 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 SystemdTimesyncdService 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 SystemdTimesyncdService 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;
@@ -312,9 +334,18 @@ export class SystemdTimesyncdService extends ExtraSourceService {
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 SystemdTimesyncdService extends ExtraSourceService {
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 SystemdTimesyncdService extends ExtraSourceService {
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 SystemdTimesyncdService extends ExtraSourceService {
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 SystemdTimesyncdService extends ExtraSourceService {
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 SystemdTimesyncdService extends ExtraSourceService {
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;