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.
- package/package.json +3 -3
- package/src/base.mjs +9 -9
- package/src/cluster.mjs +5 -5
- package/src/extra-source-service.mjs +1 -1
- package/src/host.mjs +19 -19
- package/src/location.mjs +1 -1
- package/src/network-interfaces/ethernet.mjs +1 -1
- package/src/network-interfaces/network-interface.mjs +6 -6
- package/src/network-support.mjs +14 -14
- package/src/network.mjs +2 -2
- package/src/owner.mjs +11 -11
- package/src/service.mjs +7 -7
- package/src/services/bind.mjs +18 -18
- package/src/services/chrony.mjs +0 -1
- package/src/services/kea.mjs +47 -6
- package/src/services/openldap.mjs +3 -3
- package/src/services/systemd-journal-upload.mjs +1 -1
- package/src/subnet.mjs +2 -2
- package/types/base.d.mts +8 -14
- package/types/cluster.d.mts +58 -95
- package/types/extra-source-service.d.mts +22 -37
- package/types/host.d.mts +32 -56
- package/types/location.d.mts +43 -70
- package/types/network-interfaces/ethernet.d.mts +56 -96
- package/types/network-interfaces/loopback.d.mts +54 -94
- package/types/network-interfaces/network-interface.d.mts +54 -94
- package/types/network-interfaces/wireguard.d.mts +54 -94
- package/types/network-interfaces/wlan.d.mts +82 -142
- package/types/network-support.d.mts +16 -27
- package/types/network.d.mts +31 -50
- package/types/owner.d.mts +21 -34
- package/types/root.d.mts +43 -70
- package/types/service.d.mts +44 -77
- package/types/services/bind.d.mts +59 -101
- package/types/services/chrony.d.mts +41 -71
- package/types/services/influxdb.d.mts +40 -70
- package/types/services/kea.d.mts +122 -71
- package/types/services/mosquitto.d.mts +40 -70
- package/types/services/openldap.d.mts +43 -76
- package/types/services/systemd-journal-remote.d.mts +40 -70
- package/types/services/systemd-journal-upload.d.mts +41 -72
- package/types/services/systemd-journal.d.mts +40 -70
- package/types/services/systemd-resolved.d.mts +40 -70
- package/types/services/systemd-timesyncd.d.mts +40 -70
- package/types/subnet.d.mts +2 -2
package/types/service.d.mts
CHANGED
|
@@ -20,14 +20,13 @@ export namespace endpointProperties {
|
|
|
20
20
|
export namespace port {
|
|
21
21
|
let type: string;
|
|
22
22
|
let collection: boolean;
|
|
23
|
-
let
|
|
23
|
+
let writable: boolean;
|
|
24
24
|
}
|
|
25
25
|
export let protocol: {
|
|
26
|
-
|
|
26
|
+
writable: boolean;
|
|
27
27
|
values: string[];
|
|
28
28
|
type: string;
|
|
29
29
|
isKey: boolean;
|
|
30
|
-
writable: boolean;
|
|
31
30
|
mandatory: boolean;
|
|
32
31
|
collection: boolean;
|
|
33
32
|
private?: boolean;
|
|
@@ -40,10 +39,9 @@ export namespace endpointProperties {
|
|
|
40
39
|
env?: string[] | string;
|
|
41
40
|
};
|
|
42
41
|
let type_1: {
|
|
43
|
-
|
|
42
|
+
writable: boolean;
|
|
44
43
|
type: string;
|
|
45
44
|
isKey: boolean;
|
|
46
|
-
writable: boolean;
|
|
47
45
|
mandatory: boolean;
|
|
48
46
|
collection: boolean;
|
|
49
47
|
private?: boolean;
|
|
@@ -72,10 +70,9 @@ export namespace endpointProperties {
|
|
|
72
70
|
env?: string[] | string;
|
|
73
71
|
};
|
|
74
72
|
export let tls: {
|
|
75
|
-
|
|
73
|
+
writable: boolean;
|
|
76
74
|
type: string;
|
|
77
75
|
isKey: boolean;
|
|
78
|
-
writable: boolean;
|
|
79
76
|
mandatory: boolean;
|
|
80
77
|
collection: boolean;
|
|
81
78
|
private?: boolean;
|
|
@@ -109,14 +106,13 @@ export namespace ServiceTypeDefinition {
|
|
|
109
106
|
owner: {
|
|
110
107
|
type: string;
|
|
111
108
|
collection: boolean;
|
|
112
|
-
|
|
109
|
+
writable: boolean;
|
|
113
110
|
};
|
|
114
111
|
type: import("pacc").AttributeDefinition;
|
|
115
112
|
name: {
|
|
116
113
|
isKey: boolean;
|
|
117
|
-
writeable: boolean;
|
|
118
|
-
type: string;
|
|
119
114
|
writable: boolean;
|
|
115
|
+
type: string;
|
|
120
116
|
mandatory: boolean;
|
|
121
117
|
collection: boolean;
|
|
122
118
|
private?: boolean;
|
|
@@ -129,10 +125,9 @@ export namespace ServiceTypeDefinition {
|
|
|
129
125
|
env?: string[] | string;
|
|
130
126
|
};
|
|
131
127
|
description: {
|
|
132
|
-
|
|
128
|
+
writable: boolean;
|
|
133
129
|
type: string;
|
|
134
130
|
isKey: boolean;
|
|
135
|
-
writable: boolean;
|
|
136
131
|
mandatory: boolean;
|
|
137
132
|
collection: boolean;
|
|
138
133
|
private?: boolean;
|
|
@@ -147,13 +142,12 @@ export namespace ServiceTypeDefinition {
|
|
|
147
142
|
priority: {
|
|
148
143
|
type: string;
|
|
149
144
|
collection: boolean;
|
|
150
|
-
|
|
145
|
+
writable: boolean;
|
|
151
146
|
};
|
|
152
147
|
directory: {
|
|
153
|
-
|
|
148
|
+
writable: boolean;
|
|
154
149
|
type: string;
|
|
155
150
|
isKey: boolean;
|
|
156
|
-
writable: boolean;
|
|
157
151
|
mandatory: boolean;
|
|
158
152
|
collection: boolean;
|
|
159
153
|
private?: boolean;
|
|
@@ -166,10 +160,9 @@ export namespace ServiceTypeDefinition {
|
|
|
166
160
|
env?: string[] | string;
|
|
167
161
|
};
|
|
168
162
|
packaging: {
|
|
169
|
-
|
|
163
|
+
writable: boolean;
|
|
170
164
|
type: string;
|
|
171
165
|
isKey: boolean;
|
|
172
|
-
writable: boolean;
|
|
173
166
|
mandatory: boolean;
|
|
174
167
|
collection: boolean;
|
|
175
168
|
private?: boolean;
|
|
@@ -182,11 +175,10 @@ export namespace ServiceTypeDefinition {
|
|
|
182
175
|
env?: string[] | string;
|
|
183
176
|
};
|
|
184
177
|
disabled: {
|
|
185
|
-
|
|
178
|
+
writable: boolean;
|
|
186
179
|
default: boolean;
|
|
187
180
|
type: string;
|
|
188
181
|
isKey: boolean;
|
|
189
|
-
writable: boolean;
|
|
190
182
|
mandatory: boolean;
|
|
191
183
|
collection: boolean;
|
|
192
184
|
private?: boolean;
|
|
@@ -199,10 +191,9 @@ export namespace ServiceTypeDefinition {
|
|
|
199
191
|
};
|
|
200
192
|
tags: {
|
|
201
193
|
collection: boolean;
|
|
202
|
-
|
|
194
|
+
writable: boolean;
|
|
203
195
|
type: string;
|
|
204
196
|
isKey: boolean;
|
|
205
|
-
writable: boolean;
|
|
206
197
|
mandatory: boolean;
|
|
207
198
|
private?: boolean;
|
|
208
199
|
depends?: string;
|
|
@@ -221,10 +212,9 @@ export namespace ServiceTypeDefinition {
|
|
|
221
212
|
export function factoryFor(owner: any, value: any): any;
|
|
222
213
|
export let properties: {
|
|
223
214
|
alias: {
|
|
224
|
-
|
|
215
|
+
writable: boolean;
|
|
225
216
|
type: string;
|
|
226
217
|
isKey: boolean;
|
|
227
|
-
writable: boolean;
|
|
228
218
|
mandatory: boolean;
|
|
229
219
|
collection: boolean;
|
|
230
220
|
private?: boolean;
|
|
@@ -239,25 +229,24 @@ export namespace ServiceTypeDefinition {
|
|
|
239
229
|
weight: {
|
|
240
230
|
type: string;
|
|
241
231
|
collection: boolean;
|
|
242
|
-
|
|
232
|
+
writable: boolean;
|
|
243
233
|
default: number;
|
|
244
234
|
};
|
|
245
235
|
systemd: {
|
|
246
236
|
type: string;
|
|
247
237
|
collection: boolean;
|
|
248
|
-
|
|
238
|
+
writable: boolean;
|
|
249
239
|
};
|
|
250
240
|
port: {
|
|
251
241
|
type: string;
|
|
252
242
|
collection: boolean;
|
|
253
|
-
|
|
243
|
+
writable: boolean;
|
|
254
244
|
};
|
|
255
245
|
protocol: {
|
|
256
|
-
|
|
246
|
+
writable: boolean;
|
|
257
247
|
values: string[];
|
|
258
248
|
type: string;
|
|
259
249
|
isKey: boolean;
|
|
260
|
-
writable: boolean;
|
|
261
250
|
mandatory: boolean;
|
|
262
251
|
collection: boolean;
|
|
263
252
|
private?: boolean;
|
|
@@ -270,10 +259,9 @@ export namespace ServiceTypeDefinition {
|
|
|
270
259
|
env?: string[] | string;
|
|
271
260
|
};
|
|
272
261
|
type: {
|
|
273
|
-
|
|
262
|
+
writable: boolean;
|
|
274
263
|
type: string;
|
|
275
264
|
isKey: boolean;
|
|
276
|
-
writable: boolean;
|
|
277
265
|
mandatory: boolean;
|
|
278
266
|
collection: boolean;
|
|
279
267
|
private?: boolean;
|
|
@@ -301,10 +289,9 @@ export namespace ServiceTypeDefinition {
|
|
|
301
289
|
env?: string[] | string;
|
|
302
290
|
};
|
|
303
291
|
tls: {
|
|
304
|
-
|
|
292
|
+
writable: boolean;
|
|
305
293
|
type: string;
|
|
306
294
|
isKey: boolean;
|
|
307
|
-
writable: boolean;
|
|
308
295
|
mandatory: boolean;
|
|
309
296
|
collection: boolean;
|
|
310
297
|
private?: boolean;
|
|
@@ -317,10 +304,9 @@ export namespace ServiceTypeDefinition {
|
|
|
317
304
|
env?: string[] | string;
|
|
318
305
|
};
|
|
319
306
|
hostName: {
|
|
320
|
-
|
|
307
|
+
writable: boolean;
|
|
321
308
|
type: string;
|
|
322
309
|
isKey: boolean;
|
|
323
|
-
writable: boolean;
|
|
324
310
|
mandatory: boolean;
|
|
325
311
|
collection: boolean;
|
|
326
312
|
private?: boolean;
|
|
@@ -334,10 +320,9 @@ export namespace ServiceTypeDefinition {
|
|
|
334
320
|
};
|
|
335
321
|
cidrAddresses: {
|
|
336
322
|
collection: boolean;
|
|
337
|
-
|
|
323
|
+
writable: boolean;
|
|
338
324
|
type: string;
|
|
339
325
|
isKey: boolean;
|
|
340
|
-
writable: boolean;
|
|
341
326
|
mandatory: boolean;
|
|
342
327
|
private?: boolean;
|
|
343
328
|
depends?: string;
|
|
@@ -349,10 +334,9 @@ export namespace ServiceTypeDefinition {
|
|
|
349
334
|
env?: string[] | string;
|
|
350
335
|
};
|
|
351
336
|
cidrAddress: {
|
|
352
|
-
|
|
337
|
+
writable: boolean;
|
|
353
338
|
type: string;
|
|
354
339
|
isKey: boolean;
|
|
355
|
-
writable: boolean;
|
|
356
340
|
mandatory: boolean;
|
|
357
341
|
collection: boolean;
|
|
358
342
|
private?: boolean;
|
|
@@ -366,10 +350,9 @@ export namespace ServiceTypeDefinition {
|
|
|
366
350
|
};
|
|
367
351
|
addresses: {
|
|
368
352
|
collection: boolean;
|
|
369
|
-
|
|
353
|
+
writable: boolean;
|
|
370
354
|
type: string;
|
|
371
355
|
isKey: boolean;
|
|
372
|
-
writable: boolean;
|
|
373
356
|
mandatory: boolean;
|
|
374
357
|
private?: boolean;
|
|
375
358
|
depends?: string;
|
|
@@ -381,10 +364,9 @@ export namespace ServiceTypeDefinition {
|
|
|
381
364
|
env?: string[] | string;
|
|
382
365
|
};
|
|
383
366
|
address: {
|
|
384
|
-
|
|
367
|
+
writable: boolean;
|
|
385
368
|
type: string;
|
|
386
369
|
isKey: boolean;
|
|
387
|
-
writable: boolean;
|
|
388
370
|
mandatory: boolean;
|
|
389
371
|
collection: boolean;
|
|
390
372
|
private?: boolean;
|
|
@@ -410,14 +392,13 @@ export class Service extends Base {
|
|
|
410
392
|
owner: {
|
|
411
393
|
type: string;
|
|
412
394
|
collection: boolean;
|
|
413
|
-
|
|
395
|
+
writable: boolean;
|
|
414
396
|
};
|
|
415
397
|
type: import("pacc").AttributeDefinition;
|
|
416
398
|
name: {
|
|
417
399
|
isKey: boolean;
|
|
418
|
-
writeable: boolean;
|
|
419
|
-
type: string;
|
|
420
400
|
writable: boolean;
|
|
401
|
+
type: string;
|
|
421
402
|
mandatory: boolean;
|
|
422
403
|
collection: boolean;
|
|
423
404
|
private?: boolean;
|
|
@@ -430,10 +411,9 @@ export class Service extends Base {
|
|
|
430
411
|
env?: string[] | string;
|
|
431
412
|
};
|
|
432
413
|
description: {
|
|
433
|
-
|
|
414
|
+
writable: boolean;
|
|
434
415
|
type: string;
|
|
435
416
|
isKey: boolean;
|
|
436
|
-
writable: boolean;
|
|
437
417
|
mandatory: boolean;
|
|
438
418
|
collection: boolean;
|
|
439
419
|
private?: boolean;
|
|
@@ -448,13 +428,12 @@ export class Service extends Base {
|
|
|
448
428
|
priority: {
|
|
449
429
|
type: string;
|
|
450
430
|
collection: boolean;
|
|
451
|
-
|
|
431
|
+
writable: boolean;
|
|
452
432
|
};
|
|
453
433
|
directory: {
|
|
454
|
-
|
|
434
|
+
writable: boolean;
|
|
455
435
|
type: string;
|
|
456
436
|
isKey: boolean;
|
|
457
|
-
writable: boolean;
|
|
458
437
|
mandatory: boolean;
|
|
459
438
|
collection: boolean;
|
|
460
439
|
private?: boolean;
|
|
@@ -467,10 +446,9 @@ export class Service extends Base {
|
|
|
467
446
|
env?: string[] | string;
|
|
468
447
|
};
|
|
469
448
|
packaging: {
|
|
470
|
-
|
|
449
|
+
writable: boolean;
|
|
471
450
|
type: string;
|
|
472
451
|
isKey: boolean;
|
|
473
|
-
writable: boolean;
|
|
474
452
|
mandatory: boolean;
|
|
475
453
|
collection: boolean;
|
|
476
454
|
private?: boolean;
|
|
@@ -483,11 +461,10 @@ export class Service extends Base {
|
|
|
483
461
|
env?: string[] | string;
|
|
484
462
|
};
|
|
485
463
|
disabled: {
|
|
486
|
-
|
|
464
|
+
writable: boolean;
|
|
487
465
|
default: boolean;
|
|
488
466
|
type: string;
|
|
489
467
|
isKey: boolean;
|
|
490
|
-
writable: boolean;
|
|
491
468
|
mandatory: boolean;
|
|
492
469
|
collection: boolean;
|
|
493
470
|
private?: boolean;
|
|
@@ -500,10 +477,9 @@ export class Service extends Base {
|
|
|
500
477
|
};
|
|
501
478
|
tags: {
|
|
502
479
|
collection: boolean;
|
|
503
|
-
|
|
480
|
+
writable: boolean;
|
|
504
481
|
type: string;
|
|
505
482
|
isKey: boolean;
|
|
506
|
-
writable: boolean;
|
|
507
483
|
mandatory: boolean;
|
|
508
484
|
private?: boolean;
|
|
509
485
|
depends?: string;
|
|
@@ -520,10 +496,9 @@ export class Service extends Base {
|
|
|
520
496
|
factoryFor(owner: any, value: any): any;
|
|
521
497
|
properties: {
|
|
522
498
|
alias: {
|
|
523
|
-
|
|
499
|
+
writable: boolean;
|
|
524
500
|
type: string;
|
|
525
501
|
isKey: boolean;
|
|
526
|
-
writable: boolean;
|
|
527
502
|
mandatory: boolean;
|
|
528
503
|
collection: boolean;
|
|
529
504
|
private?: boolean;
|
|
@@ -538,25 +513,24 @@ export class Service extends Base {
|
|
|
538
513
|
weight: {
|
|
539
514
|
type: string;
|
|
540
515
|
collection: boolean;
|
|
541
|
-
|
|
516
|
+
writable: boolean;
|
|
542
517
|
default: number;
|
|
543
518
|
};
|
|
544
519
|
systemd: {
|
|
545
520
|
type: string;
|
|
546
521
|
collection: boolean;
|
|
547
|
-
|
|
522
|
+
writable: boolean;
|
|
548
523
|
};
|
|
549
524
|
port: {
|
|
550
525
|
type: string;
|
|
551
526
|
collection: boolean;
|
|
552
|
-
|
|
527
|
+
writable: boolean;
|
|
553
528
|
};
|
|
554
529
|
protocol: {
|
|
555
|
-
|
|
530
|
+
writable: boolean;
|
|
556
531
|
values: string[];
|
|
557
532
|
type: string;
|
|
558
533
|
isKey: boolean;
|
|
559
|
-
writable: boolean;
|
|
560
534
|
mandatory: boolean;
|
|
561
535
|
collection: boolean;
|
|
562
536
|
private?: boolean;
|
|
@@ -569,10 +543,9 @@ export class Service extends Base {
|
|
|
569
543
|
env?: string[] | string;
|
|
570
544
|
};
|
|
571
545
|
type: {
|
|
572
|
-
|
|
546
|
+
writable: boolean;
|
|
573
547
|
type: string;
|
|
574
548
|
isKey: boolean;
|
|
575
|
-
writable: boolean;
|
|
576
549
|
mandatory: boolean;
|
|
577
550
|
collection: boolean;
|
|
578
551
|
private?: boolean;
|
|
@@ -600,10 +573,9 @@ export class Service extends Base {
|
|
|
600
573
|
env?: string[] | string;
|
|
601
574
|
};
|
|
602
575
|
tls: {
|
|
603
|
-
|
|
576
|
+
writable: boolean;
|
|
604
577
|
type: string;
|
|
605
578
|
isKey: boolean;
|
|
606
|
-
writable: boolean;
|
|
607
579
|
mandatory: boolean;
|
|
608
580
|
collection: boolean;
|
|
609
581
|
private?: boolean;
|
|
@@ -616,10 +588,9 @@ export class Service extends Base {
|
|
|
616
588
|
env?: string[] | string;
|
|
617
589
|
};
|
|
618
590
|
hostName: {
|
|
619
|
-
|
|
591
|
+
writable: boolean;
|
|
620
592
|
type: string;
|
|
621
593
|
isKey: boolean;
|
|
622
|
-
writable: boolean;
|
|
623
594
|
mandatory: boolean;
|
|
624
595
|
collection: boolean;
|
|
625
596
|
private?: boolean;
|
|
@@ -633,10 +604,9 @@ export class Service extends Base {
|
|
|
633
604
|
};
|
|
634
605
|
cidrAddresses: {
|
|
635
606
|
collection: boolean;
|
|
636
|
-
|
|
607
|
+
writable: boolean;
|
|
637
608
|
type: string;
|
|
638
609
|
isKey: boolean;
|
|
639
|
-
writable: boolean;
|
|
640
610
|
mandatory: boolean;
|
|
641
611
|
private?: boolean;
|
|
642
612
|
depends?: string;
|
|
@@ -648,10 +618,9 @@ export class Service extends Base {
|
|
|
648
618
|
env?: string[] | string;
|
|
649
619
|
};
|
|
650
620
|
cidrAddress: {
|
|
651
|
-
|
|
621
|
+
writable: boolean;
|
|
652
622
|
type: string;
|
|
653
623
|
isKey: boolean;
|
|
654
|
-
writable: boolean;
|
|
655
624
|
mandatory: boolean;
|
|
656
625
|
collection: boolean;
|
|
657
626
|
private?: boolean;
|
|
@@ -665,10 +634,9 @@ export class Service extends Base {
|
|
|
665
634
|
};
|
|
666
635
|
addresses: {
|
|
667
636
|
collection: boolean;
|
|
668
|
-
|
|
637
|
+
writable: boolean;
|
|
669
638
|
type: string;
|
|
670
639
|
isKey: boolean;
|
|
671
|
-
writable: boolean;
|
|
672
640
|
mandatory: boolean;
|
|
673
641
|
private?: boolean;
|
|
674
642
|
depends?: string;
|
|
@@ -680,10 +648,9 @@ export class Service extends Base {
|
|
|
680
648
|
env?: string[] | string;
|
|
681
649
|
};
|
|
682
650
|
address: {
|
|
683
|
-
|
|
651
|
+
writable: boolean;
|
|
684
652
|
type: string;
|
|
685
653
|
isKey: boolean;
|
|
686
|
-
writable: boolean;
|
|
687
654
|
mandatory: boolean;
|
|
688
655
|
collection: boolean;
|
|
689
656
|
private?: boolean;
|