pmcf 2.74.4 → 3.1.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.
- package/package.json +3 -3
- package/src/base.mjs +14 -16
- 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 +46 -6
- package/src/services/openldap.mjs +3 -3
- package/src/services/systemd-journal-upload.mjs +1 -1
- package/src/subnet.mjs +3 -3
- package/src/types.mjs +1 -1
- package/types/base.d.mts +29 -19
- package/types/cluster.d.mts +101 -107
- package/types/extra-source-service.d.mts +43 -42
- package/types/host.d.mts +53 -61
- package/types/location.d.mts +87 -84
- package/types/network-interfaces/ethernet.d.mts +98 -106
- package/types/network-interfaces/loopback.d.mts +96 -104
- package/types/network-interfaces/network-interface.d.mts +96 -104
- package/types/network-interfaces/wireguard.d.mts +96 -104
- package/types/network-interfaces/wlan.d.mts +145 -157
- package/types/network-support.d.mts +16 -27
- package/types/network.d.mts +53 -57
- package/types/owner.d.mts +43 -41
- package/types/root.d.mts +87 -84
- package/types/service.d.mts +86 -87
- package/types/services/bind.d.mts +101 -111
- package/types/services/chrony.d.mts +83 -81
- package/types/services/influxdb.d.mts +82 -80
- package/types/services/kea.d.mts +164 -81
- package/types/services/mosquitto.d.mts +82 -80
- package/types/services/openldap.d.mts +85 -86
- package/types/services/systemd-journal-remote.d.mts +82 -80
- package/types/services/systemd-journal-upload.d.mts +83 -82
- package/types/services/systemd-journal.d.mts +82 -80
- package/types/services/systemd-resolved.d.mts +82 -80
- package/types/services/systemd-timesyncd.d.mts +82 -80
- package/types/subnet.d.mts +3 -4
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,24 +106,28 @@ export namespace ServiceTypeDefinition {
|
|
|
109
106
|
owner: {
|
|
110
107
|
type: string;
|
|
111
108
|
collection: boolean;
|
|
112
|
-
|
|
113
|
-
};
|
|
114
|
-
type: {
|
|
115
|
-
type: string;
|
|
116
|
-
collection: boolean;
|
|
117
|
-
writeable: boolean;
|
|
109
|
+
writable: boolean;
|
|
118
110
|
};
|
|
111
|
+
type: import("pacc").AttributeDefinition;
|
|
119
112
|
name: {
|
|
113
|
+
isKey: boolean;
|
|
114
|
+
writable: boolean;
|
|
120
115
|
type: string;
|
|
116
|
+
mandatory: boolean;
|
|
121
117
|
collection: boolean;
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
private?: boolean;
|
|
119
|
+
depends?: string;
|
|
120
|
+
additionalAttributes: string[];
|
|
121
|
+
description?: string;
|
|
122
|
+
default?: any;
|
|
123
|
+
set?: Function;
|
|
124
|
+
get?: Function;
|
|
125
|
+
env?: string[] | string;
|
|
124
126
|
};
|
|
125
127
|
description: {
|
|
126
|
-
|
|
128
|
+
writable: boolean;
|
|
127
129
|
type: string;
|
|
128
130
|
isKey: boolean;
|
|
129
|
-
writable: boolean;
|
|
130
131
|
mandatory: boolean;
|
|
131
132
|
collection: boolean;
|
|
132
133
|
private?: boolean;
|
|
@@ -141,13 +142,12 @@ export namespace ServiceTypeDefinition {
|
|
|
141
142
|
priority: {
|
|
142
143
|
type: string;
|
|
143
144
|
collection: boolean;
|
|
144
|
-
|
|
145
|
+
writable: boolean;
|
|
145
146
|
};
|
|
146
147
|
directory: {
|
|
147
|
-
|
|
148
|
+
writable: boolean;
|
|
148
149
|
type: string;
|
|
149
150
|
isKey: boolean;
|
|
150
|
-
writable: boolean;
|
|
151
151
|
mandatory: boolean;
|
|
152
152
|
collection: boolean;
|
|
153
153
|
private?: boolean;
|
|
@@ -160,10 +160,9 @@ export namespace ServiceTypeDefinition {
|
|
|
160
160
|
env?: string[] | string;
|
|
161
161
|
};
|
|
162
162
|
packaging: {
|
|
163
|
-
|
|
163
|
+
writable: boolean;
|
|
164
164
|
type: string;
|
|
165
165
|
isKey: boolean;
|
|
166
|
-
writable: boolean;
|
|
167
166
|
mandatory: boolean;
|
|
168
167
|
collection: boolean;
|
|
169
168
|
private?: boolean;
|
|
@@ -176,17 +175,25 @@ export namespace ServiceTypeDefinition {
|
|
|
176
175
|
env?: string[] | string;
|
|
177
176
|
};
|
|
178
177
|
disabled: {
|
|
178
|
+
writable: boolean;
|
|
179
|
+
default: boolean;
|
|
179
180
|
type: string;
|
|
181
|
+
isKey: boolean;
|
|
182
|
+
mandatory: boolean;
|
|
180
183
|
collection: boolean;
|
|
181
|
-
|
|
182
|
-
|
|
184
|
+
private?: boolean;
|
|
185
|
+
depends?: string;
|
|
186
|
+
additionalAttributes: string[];
|
|
187
|
+
description?: string;
|
|
188
|
+
set?: Function;
|
|
189
|
+
get?: Function;
|
|
190
|
+
env?: string[] | string;
|
|
183
191
|
};
|
|
184
192
|
tags: {
|
|
185
193
|
collection: boolean;
|
|
186
|
-
|
|
194
|
+
writable: boolean;
|
|
187
195
|
type: string;
|
|
188
196
|
isKey: boolean;
|
|
189
|
-
writable: boolean;
|
|
190
197
|
mandatory: boolean;
|
|
191
198
|
private?: boolean;
|
|
192
199
|
depends?: string;
|
|
@@ -205,10 +212,9 @@ export namespace ServiceTypeDefinition {
|
|
|
205
212
|
export function factoryFor(owner: any, value: any): any;
|
|
206
213
|
export let properties: {
|
|
207
214
|
alias: {
|
|
208
|
-
|
|
215
|
+
writable: boolean;
|
|
209
216
|
type: string;
|
|
210
217
|
isKey: boolean;
|
|
211
|
-
writable: boolean;
|
|
212
218
|
mandatory: boolean;
|
|
213
219
|
collection: boolean;
|
|
214
220
|
private?: boolean;
|
|
@@ -223,25 +229,24 @@ export namespace ServiceTypeDefinition {
|
|
|
223
229
|
weight: {
|
|
224
230
|
type: string;
|
|
225
231
|
collection: boolean;
|
|
226
|
-
|
|
232
|
+
writable: boolean;
|
|
227
233
|
default: number;
|
|
228
234
|
};
|
|
229
235
|
systemd: {
|
|
230
236
|
type: string;
|
|
231
237
|
collection: boolean;
|
|
232
|
-
|
|
238
|
+
writable: boolean;
|
|
233
239
|
};
|
|
234
240
|
port: {
|
|
235
241
|
type: string;
|
|
236
242
|
collection: boolean;
|
|
237
|
-
|
|
243
|
+
writable: boolean;
|
|
238
244
|
};
|
|
239
245
|
protocol: {
|
|
240
|
-
|
|
246
|
+
writable: boolean;
|
|
241
247
|
values: string[];
|
|
242
248
|
type: string;
|
|
243
249
|
isKey: boolean;
|
|
244
|
-
writable: boolean;
|
|
245
250
|
mandatory: boolean;
|
|
246
251
|
collection: boolean;
|
|
247
252
|
private?: boolean;
|
|
@@ -254,10 +259,9 @@ export namespace ServiceTypeDefinition {
|
|
|
254
259
|
env?: string[] | string;
|
|
255
260
|
};
|
|
256
261
|
type: {
|
|
257
|
-
|
|
262
|
+
writable: boolean;
|
|
258
263
|
type: string;
|
|
259
264
|
isKey: boolean;
|
|
260
|
-
writable: boolean;
|
|
261
265
|
mandatory: boolean;
|
|
262
266
|
collection: boolean;
|
|
263
267
|
private?: boolean;
|
|
@@ -285,10 +289,9 @@ export namespace ServiceTypeDefinition {
|
|
|
285
289
|
env?: string[] | string;
|
|
286
290
|
};
|
|
287
291
|
tls: {
|
|
288
|
-
|
|
292
|
+
writable: boolean;
|
|
289
293
|
type: string;
|
|
290
294
|
isKey: boolean;
|
|
291
|
-
writable: boolean;
|
|
292
295
|
mandatory: boolean;
|
|
293
296
|
collection: boolean;
|
|
294
297
|
private?: boolean;
|
|
@@ -301,10 +304,9 @@ export namespace ServiceTypeDefinition {
|
|
|
301
304
|
env?: string[] | string;
|
|
302
305
|
};
|
|
303
306
|
hostName: {
|
|
304
|
-
|
|
307
|
+
writable: boolean;
|
|
305
308
|
type: string;
|
|
306
309
|
isKey: boolean;
|
|
307
|
-
writable: boolean;
|
|
308
310
|
mandatory: boolean;
|
|
309
311
|
collection: boolean;
|
|
310
312
|
private?: boolean;
|
|
@@ -318,10 +320,9 @@ export namespace ServiceTypeDefinition {
|
|
|
318
320
|
};
|
|
319
321
|
cidrAddresses: {
|
|
320
322
|
collection: boolean;
|
|
321
|
-
|
|
323
|
+
writable: boolean;
|
|
322
324
|
type: string;
|
|
323
325
|
isKey: boolean;
|
|
324
|
-
writable: boolean;
|
|
325
326
|
mandatory: boolean;
|
|
326
327
|
private?: boolean;
|
|
327
328
|
depends?: string;
|
|
@@ -333,10 +334,9 @@ export namespace ServiceTypeDefinition {
|
|
|
333
334
|
env?: string[] | string;
|
|
334
335
|
};
|
|
335
336
|
cidrAddress: {
|
|
336
|
-
|
|
337
|
+
writable: boolean;
|
|
337
338
|
type: string;
|
|
338
339
|
isKey: boolean;
|
|
339
|
-
writable: boolean;
|
|
340
340
|
mandatory: boolean;
|
|
341
341
|
collection: boolean;
|
|
342
342
|
private?: boolean;
|
|
@@ -350,10 +350,9 @@ export namespace ServiceTypeDefinition {
|
|
|
350
350
|
};
|
|
351
351
|
addresses: {
|
|
352
352
|
collection: boolean;
|
|
353
|
-
|
|
353
|
+
writable: boolean;
|
|
354
354
|
type: string;
|
|
355
355
|
isKey: boolean;
|
|
356
|
-
writable: boolean;
|
|
357
356
|
mandatory: boolean;
|
|
358
357
|
private?: boolean;
|
|
359
358
|
depends?: string;
|
|
@@ -365,10 +364,9 @@ export namespace ServiceTypeDefinition {
|
|
|
365
364
|
env?: string[] | string;
|
|
366
365
|
};
|
|
367
366
|
address: {
|
|
368
|
-
|
|
367
|
+
writable: boolean;
|
|
369
368
|
type: string;
|
|
370
369
|
isKey: boolean;
|
|
371
|
-
writable: boolean;
|
|
372
370
|
mandatory: boolean;
|
|
373
371
|
collection: boolean;
|
|
374
372
|
private?: boolean;
|
|
@@ -394,24 +392,28 @@ export class Service extends Base {
|
|
|
394
392
|
owner: {
|
|
395
393
|
type: string;
|
|
396
394
|
collection: boolean;
|
|
397
|
-
|
|
398
|
-
};
|
|
399
|
-
type: {
|
|
400
|
-
type: string;
|
|
401
|
-
collection: boolean;
|
|
402
|
-
writeable: boolean;
|
|
395
|
+
writable: boolean;
|
|
403
396
|
};
|
|
397
|
+
type: import("pacc").AttributeDefinition;
|
|
404
398
|
name: {
|
|
399
|
+
isKey: boolean;
|
|
400
|
+
writable: boolean;
|
|
405
401
|
type: string;
|
|
402
|
+
mandatory: boolean;
|
|
406
403
|
collection: boolean;
|
|
407
|
-
|
|
408
|
-
|
|
404
|
+
private?: boolean;
|
|
405
|
+
depends?: string;
|
|
406
|
+
additionalAttributes: string[];
|
|
407
|
+
description?: string;
|
|
408
|
+
default?: any;
|
|
409
|
+
set?: Function;
|
|
410
|
+
get?: Function;
|
|
411
|
+
env?: string[] | string;
|
|
409
412
|
};
|
|
410
413
|
description: {
|
|
411
|
-
|
|
414
|
+
writable: boolean;
|
|
412
415
|
type: string;
|
|
413
416
|
isKey: boolean;
|
|
414
|
-
writable: boolean;
|
|
415
417
|
mandatory: boolean;
|
|
416
418
|
collection: boolean;
|
|
417
419
|
private?: boolean;
|
|
@@ -426,13 +428,12 @@ export class Service extends Base {
|
|
|
426
428
|
priority: {
|
|
427
429
|
type: string;
|
|
428
430
|
collection: boolean;
|
|
429
|
-
|
|
431
|
+
writable: boolean;
|
|
430
432
|
};
|
|
431
433
|
directory: {
|
|
432
|
-
|
|
434
|
+
writable: boolean;
|
|
433
435
|
type: string;
|
|
434
436
|
isKey: boolean;
|
|
435
|
-
writable: boolean;
|
|
436
437
|
mandatory: boolean;
|
|
437
438
|
collection: boolean;
|
|
438
439
|
private?: boolean;
|
|
@@ -445,10 +446,9 @@ export class Service extends Base {
|
|
|
445
446
|
env?: string[] | string;
|
|
446
447
|
};
|
|
447
448
|
packaging: {
|
|
448
|
-
|
|
449
|
+
writable: boolean;
|
|
449
450
|
type: string;
|
|
450
451
|
isKey: boolean;
|
|
451
|
-
writable: boolean;
|
|
452
452
|
mandatory: boolean;
|
|
453
453
|
collection: boolean;
|
|
454
454
|
private?: boolean;
|
|
@@ -461,17 +461,25 @@ export class Service extends Base {
|
|
|
461
461
|
env?: string[] | string;
|
|
462
462
|
};
|
|
463
463
|
disabled: {
|
|
464
|
+
writable: boolean;
|
|
465
|
+
default: boolean;
|
|
464
466
|
type: string;
|
|
467
|
+
isKey: boolean;
|
|
468
|
+
mandatory: boolean;
|
|
465
469
|
collection: boolean;
|
|
466
|
-
|
|
467
|
-
|
|
470
|
+
private?: boolean;
|
|
471
|
+
depends?: string;
|
|
472
|
+
additionalAttributes: string[];
|
|
473
|
+
description?: string;
|
|
474
|
+
set?: Function;
|
|
475
|
+
get?: Function;
|
|
476
|
+
env?: string[] | string;
|
|
468
477
|
};
|
|
469
478
|
tags: {
|
|
470
479
|
collection: boolean;
|
|
471
|
-
|
|
480
|
+
writable: boolean;
|
|
472
481
|
type: string;
|
|
473
482
|
isKey: boolean;
|
|
474
|
-
writable: boolean;
|
|
475
483
|
mandatory: boolean;
|
|
476
484
|
private?: boolean;
|
|
477
485
|
depends?: string;
|
|
@@ -488,10 +496,9 @@ export class Service extends Base {
|
|
|
488
496
|
factoryFor(owner: any, value: any): any;
|
|
489
497
|
properties: {
|
|
490
498
|
alias: {
|
|
491
|
-
|
|
499
|
+
writable: boolean;
|
|
492
500
|
type: string;
|
|
493
501
|
isKey: boolean;
|
|
494
|
-
writable: boolean;
|
|
495
502
|
mandatory: boolean;
|
|
496
503
|
collection: boolean;
|
|
497
504
|
private?: boolean;
|
|
@@ -506,25 +513,24 @@ export class Service extends Base {
|
|
|
506
513
|
weight: {
|
|
507
514
|
type: string;
|
|
508
515
|
collection: boolean;
|
|
509
|
-
|
|
516
|
+
writable: boolean;
|
|
510
517
|
default: number;
|
|
511
518
|
};
|
|
512
519
|
systemd: {
|
|
513
520
|
type: string;
|
|
514
521
|
collection: boolean;
|
|
515
|
-
|
|
522
|
+
writable: boolean;
|
|
516
523
|
};
|
|
517
524
|
port: {
|
|
518
525
|
type: string;
|
|
519
526
|
collection: boolean;
|
|
520
|
-
|
|
527
|
+
writable: boolean;
|
|
521
528
|
};
|
|
522
529
|
protocol: {
|
|
523
|
-
|
|
530
|
+
writable: boolean;
|
|
524
531
|
values: string[];
|
|
525
532
|
type: string;
|
|
526
533
|
isKey: boolean;
|
|
527
|
-
writable: boolean;
|
|
528
534
|
mandatory: boolean;
|
|
529
535
|
collection: boolean;
|
|
530
536
|
private?: boolean;
|
|
@@ -537,10 +543,9 @@ export class Service extends Base {
|
|
|
537
543
|
env?: string[] | string;
|
|
538
544
|
};
|
|
539
545
|
type: {
|
|
540
|
-
|
|
546
|
+
writable: boolean;
|
|
541
547
|
type: string;
|
|
542
548
|
isKey: boolean;
|
|
543
|
-
writable: boolean;
|
|
544
549
|
mandatory: boolean;
|
|
545
550
|
collection: boolean;
|
|
546
551
|
private?: boolean;
|
|
@@ -568,10 +573,9 @@ export class Service extends Base {
|
|
|
568
573
|
env?: string[] | string;
|
|
569
574
|
};
|
|
570
575
|
tls: {
|
|
571
|
-
|
|
576
|
+
writable: boolean;
|
|
572
577
|
type: string;
|
|
573
578
|
isKey: boolean;
|
|
574
|
-
writable: boolean;
|
|
575
579
|
mandatory: boolean;
|
|
576
580
|
collection: boolean;
|
|
577
581
|
private?: boolean;
|
|
@@ -584,10 +588,9 @@ export class Service extends Base {
|
|
|
584
588
|
env?: string[] | string;
|
|
585
589
|
};
|
|
586
590
|
hostName: {
|
|
587
|
-
|
|
591
|
+
writable: boolean;
|
|
588
592
|
type: string;
|
|
589
593
|
isKey: boolean;
|
|
590
|
-
writable: boolean;
|
|
591
594
|
mandatory: boolean;
|
|
592
595
|
collection: boolean;
|
|
593
596
|
private?: boolean;
|
|
@@ -601,10 +604,9 @@ export class Service extends Base {
|
|
|
601
604
|
};
|
|
602
605
|
cidrAddresses: {
|
|
603
606
|
collection: boolean;
|
|
604
|
-
|
|
607
|
+
writable: boolean;
|
|
605
608
|
type: string;
|
|
606
609
|
isKey: boolean;
|
|
607
|
-
writable: boolean;
|
|
608
610
|
mandatory: boolean;
|
|
609
611
|
private?: boolean;
|
|
610
612
|
depends?: string;
|
|
@@ -616,10 +618,9 @@ export class Service extends Base {
|
|
|
616
618
|
env?: string[] | string;
|
|
617
619
|
};
|
|
618
620
|
cidrAddress: {
|
|
619
|
-
|
|
621
|
+
writable: boolean;
|
|
620
622
|
type: string;
|
|
621
623
|
isKey: boolean;
|
|
622
|
-
writable: boolean;
|
|
623
624
|
mandatory: boolean;
|
|
624
625
|
collection: boolean;
|
|
625
626
|
private?: boolean;
|
|
@@ -633,10 +634,9 @@ export class Service extends Base {
|
|
|
633
634
|
};
|
|
634
635
|
addresses: {
|
|
635
636
|
collection: boolean;
|
|
636
|
-
|
|
637
|
+
writable: boolean;
|
|
637
638
|
type: string;
|
|
638
639
|
isKey: boolean;
|
|
639
|
-
writable: boolean;
|
|
640
640
|
mandatory: boolean;
|
|
641
641
|
private?: boolean;
|
|
642
642
|
depends?: string;
|
|
@@ -648,10 +648,9 @@ export class Service extends Base {
|
|
|
648
648
|
env?: string[] | string;
|
|
649
649
|
};
|
|
650
650
|
address: {
|
|
651
|
-
|
|
651
|
+
writable: boolean;
|
|
652
652
|
type: string;
|
|
653
653
|
isKey: boolean;
|
|
654
|
-
writable: boolean;
|
|
655
654
|
mandatory: boolean;
|
|
656
655
|
collection: boolean;
|
|
657
656
|
private?: boolean;
|