pmcf 3.10.25 → 3.11.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/bin/pmcf-info +2 -1
- package/package.json +5 -5
- package/src/base.mjs +32 -29
- package/src/cluster.mjs +3 -2
- package/src/host.mjs +3 -5
- package/src/location.mjs +1 -0
- package/src/network-interfaces/ethernet.mjs +1 -0
- package/src/network-interfaces/loopback.mjs +4 -6
- package/src/network-interfaces/network-interface.mjs +11 -2
- package/src/network-interfaces/tun.mjs +1 -1
- package/src/network-interfaces/wireguard.mjs +1 -1
- package/src/network-interfaces/wlan.mjs +1 -0
- package/src/network-support.mjs +8 -3
- package/src/network.mjs +2 -1
- package/src/owner.mjs +3 -1
- package/src/root.mjs +1 -3
- package/src/service-owner.mjs +11 -3
- package/src/service.mjs +4 -2
- package/src/services/bind.mjs +6 -3
- package/src/services/chrony.mjs +4 -6
- package/src/services/headscale.mjs +1 -1
- package/src/services/influxdb.mjs +1 -0
- package/src/services/kea.mjs +14 -12
- package/src/services/mosquitto.mjs +1 -0
- package/src/services/openldap.mjs +1 -0
- package/src/services/systemd-journal-remote.mjs +1 -1
- package/src/services/systemd-journal-upload.mjs +1 -0
- package/src/services/systemd-journal.mjs +2 -2
- package/src/services/systemd-resolved.mjs +8 -6
- package/src/services/systemd-timesyncd.mjs +7 -7
- package/src/subnet.mjs +3 -1
- package/src/types.mjs +16 -38
- package/types/base.d.mts +5 -3
- package/types/cluster.d.mts +56 -10
- package/types/extra-source-service.d.mts +510 -9
- package/types/host.d.mts +20 -7
- package/types/location.d.mts +71 -6
- package/types/network-interfaces/ethernet.d.mts +630 -26
- package/types/network-interfaces/loopback.d.mts +629 -27
- package/types/network-interfaces/network-interface.d.mts +628 -26
- package/types/network-interfaces/tun.d.mts +629 -27
- package/types/network-interfaces/wireguard.d.mts +629 -27
- package/types/network-interfaces/wlan.d.mts +947 -40
- package/types/network-support.d.mts +54 -11
- package/types/network.d.mts +324 -8
- package/types/owner.d.mts +35 -3
- package/types/root.d.mts +71 -8
- package/types/service-owner.d.mts +1 -0
- package/types/service.d.mts +363 -13
- package/types/services/bind.d.mts +706 -23
- package/types/services/chrony.d.mts +689 -15
- package/types/services/headscale.d.mts +689 -15
- package/types/services/influxdb.d.mts +527 -14
- package/types/services/kea.d.mts +539 -18
- package/types/services/mosquitto.d.mts +530 -15
- package/types/services/openldap.d.mts +524 -13
- package/types/services/systemd-journal-remote.d.mts +524 -14
- package/types/services/systemd-journal-upload.d.mts +524 -13
- package/types/services/systemd-journal.d.mts +524 -14
- package/types/services/systemd-resolved.d.mts +689 -15
- package/types/services/systemd-timesyncd.d.mts +763 -90
- package/types/subnet.d.mts +14 -0
- package/src/filter.mjs +0 -91
- package/types/filter.d.mts +0 -1
package/types/host.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ export class Host extends ServiceOwner {
|
|
|
5
5
|
owners: string[];
|
|
6
6
|
extends: {
|
|
7
7
|
name: string;
|
|
8
|
-
|
|
8
|
+
key: string;
|
|
9
9
|
attributes: {
|
|
10
10
|
owner: {
|
|
11
11
|
type: string;
|
|
@@ -16,7 +16,7 @@ export class Host extends ServiceOwner {
|
|
|
16
16
|
name: import("pacc").AttributeDefinition;
|
|
17
17
|
description: {
|
|
18
18
|
writable: boolean;
|
|
19
|
-
type:
|
|
19
|
+
type: object;
|
|
20
20
|
isKey: boolean;
|
|
21
21
|
mandatory: boolean;
|
|
22
22
|
collection: boolean;
|
|
@@ -26,9 +26,11 @@ export class Host extends ServiceOwner {
|
|
|
26
26
|
default?: any;
|
|
27
27
|
set?: Function;
|
|
28
28
|
get?: Function;
|
|
29
|
+
prepareValue?: Function;
|
|
29
30
|
values?: Set<any>;
|
|
30
31
|
externalName?: string;
|
|
31
32
|
env?: string[] | string;
|
|
33
|
+
additionalValues?: object;
|
|
32
34
|
};
|
|
33
35
|
priority: import("pacc").AttributeDefinition;
|
|
34
36
|
directory: import("pacc").AttributeDefinition;
|
|
@@ -37,6 +39,7 @@ export class Host extends ServiceOwner {
|
|
|
37
39
|
tags: import("pacc").AttributeDefinition;
|
|
38
40
|
};
|
|
39
41
|
};
|
|
42
|
+
key: string;
|
|
40
43
|
attributes: {
|
|
41
44
|
networkInterfaces: {
|
|
42
45
|
type: string;
|
|
@@ -51,7 +54,7 @@ export class Host extends ServiceOwner {
|
|
|
51
54
|
aliases: import("pacc").AttributeDefinition;
|
|
52
55
|
os: {
|
|
53
56
|
values: string[];
|
|
54
|
-
type:
|
|
57
|
+
type: object;
|
|
55
58
|
isKey: boolean;
|
|
56
59
|
writable: boolean;
|
|
57
60
|
mandatory: boolean;
|
|
@@ -62,14 +65,16 @@ export class Host extends ServiceOwner {
|
|
|
62
65
|
default?: any;
|
|
63
66
|
set?: Function;
|
|
64
67
|
get?: Function;
|
|
68
|
+
prepareValue?: Function;
|
|
65
69
|
externalName?: string;
|
|
66
70
|
env?: string[] | string;
|
|
71
|
+
additionalValues?: object;
|
|
67
72
|
};
|
|
68
73
|
"machine-id": import("pacc").AttributeDefinition;
|
|
69
74
|
distribution: import("pacc").AttributeDefinition;
|
|
70
75
|
deployment: {
|
|
71
76
|
values: string[];
|
|
72
|
-
type:
|
|
77
|
+
type: object;
|
|
73
78
|
isKey: boolean;
|
|
74
79
|
writable: boolean;
|
|
75
80
|
mandatory: boolean;
|
|
@@ -80,8 +85,10 @@ export class Host extends ServiceOwner {
|
|
|
80
85
|
default?: any;
|
|
81
86
|
set?: Function;
|
|
82
87
|
get?: Function;
|
|
88
|
+
prepareValue?: Function;
|
|
83
89
|
externalName?: string;
|
|
84
90
|
env?: string[] | string;
|
|
91
|
+
additionalValues?: object;
|
|
85
92
|
};
|
|
86
93
|
weight: import("pacc").AttributeDefinition;
|
|
87
94
|
serial: import("pacc").AttributeDefinition;
|
|
@@ -89,7 +96,7 @@ export class Host extends ServiceOwner {
|
|
|
89
96
|
keymap: import("pacc").AttributeDefinition;
|
|
90
97
|
chassis: {
|
|
91
98
|
values: string[];
|
|
92
|
-
type:
|
|
99
|
+
type: object;
|
|
93
100
|
isKey: boolean;
|
|
94
101
|
writable: boolean;
|
|
95
102
|
mandatory: boolean;
|
|
@@ -100,12 +107,14 @@ export class Host extends ServiceOwner {
|
|
|
100
107
|
default?: any;
|
|
101
108
|
set?: Function;
|
|
102
109
|
get?: Function;
|
|
110
|
+
prepareValue?: Function;
|
|
103
111
|
externalName?: string;
|
|
104
112
|
env?: string[] | string;
|
|
113
|
+
additionalValues?: object;
|
|
105
114
|
};
|
|
106
115
|
architecture: {
|
|
107
116
|
values: string[];
|
|
108
|
-
type:
|
|
117
|
+
type: object;
|
|
109
118
|
isKey: boolean;
|
|
110
119
|
writable: boolean;
|
|
111
120
|
mandatory: boolean;
|
|
@@ -116,8 +125,10 @@ export class Host extends ServiceOwner {
|
|
|
116
125
|
default?: any;
|
|
117
126
|
set?: Function;
|
|
118
127
|
get?: Function;
|
|
128
|
+
prepareValue?: Function;
|
|
119
129
|
externalName?: string;
|
|
120
130
|
env?: string[] | string;
|
|
131
|
+
additionalValues?: object;
|
|
121
132
|
};
|
|
122
133
|
replaces: import("pacc").AttributeDefinition;
|
|
123
134
|
depends: import("pacc").AttributeDefinition;
|
|
@@ -131,7 +142,7 @@ export class Host extends ServiceOwner {
|
|
|
131
142
|
isModel: import("pacc").AttributeDefinition;
|
|
132
143
|
hostName: {
|
|
133
144
|
writable: boolean;
|
|
134
|
-
type:
|
|
145
|
+
type: object;
|
|
135
146
|
isKey: boolean;
|
|
136
147
|
mandatory: boolean;
|
|
137
148
|
collection: boolean;
|
|
@@ -141,9 +152,11 @@ export class Host extends ServiceOwner {
|
|
|
141
152
|
default?: any;
|
|
142
153
|
set?: Function;
|
|
143
154
|
get?: Function;
|
|
155
|
+
prepareValue?: Function;
|
|
144
156
|
values?: Set<any>;
|
|
145
157
|
externalName?: string;
|
|
146
158
|
env?: string[] | string;
|
|
159
|
+
additionalValues?: object;
|
|
147
160
|
};
|
|
148
161
|
cidrAddresses: import("pacc").AttributeDefinition;
|
|
149
162
|
cidrAddress: import("pacc").AttributeDefinition;
|
package/types/location.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ export class Location extends Owner {
|
|
|
7
7
|
priority: number;
|
|
8
8
|
extends: {
|
|
9
9
|
name: string;
|
|
10
|
-
|
|
10
|
+
key: string;
|
|
11
11
|
attributes: {
|
|
12
12
|
owner: {
|
|
13
13
|
type: string;
|
|
@@ -18,7 +18,7 @@ export class Location extends Owner {
|
|
|
18
18
|
name: import("pacc").AttributeDefinition;
|
|
19
19
|
description: {
|
|
20
20
|
writable: boolean;
|
|
21
|
-
type:
|
|
21
|
+
type: object;
|
|
22
22
|
isKey: boolean;
|
|
23
23
|
mandatory: boolean;
|
|
24
24
|
collection: boolean;
|
|
@@ -28,9 +28,11 @@ export class Location extends Owner {
|
|
|
28
28
|
default?: any;
|
|
29
29
|
set?: Function;
|
|
30
30
|
get?: Function;
|
|
31
|
+
prepareValue?: Function;
|
|
31
32
|
values?: Set<any>;
|
|
32
33
|
externalName?: string;
|
|
33
34
|
env?: string[] | string;
|
|
35
|
+
additionalValues?: object;
|
|
34
36
|
};
|
|
35
37
|
priority: import("pacc").AttributeDefinition;
|
|
36
38
|
directory: import("pacc").AttributeDefinition;
|
|
@@ -39,11 +41,25 @@ export class Location extends Owner {
|
|
|
39
41
|
tags: import("pacc").AttributeDefinition;
|
|
40
42
|
};
|
|
41
43
|
};
|
|
44
|
+
key: string;
|
|
42
45
|
attributes: {
|
|
43
46
|
networks: {
|
|
44
47
|
type: string;
|
|
45
48
|
collection: boolean;
|
|
49
|
+
isKey: boolean;
|
|
46
50
|
writable: boolean;
|
|
51
|
+
mandatory: boolean;
|
|
52
|
+
private?: boolean;
|
|
53
|
+
depends?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
default?: any;
|
|
56
|
+
set?: Function;
|
|
57
|
+
get?: Function;
|
|
58
|
+
prepareValue?: Function;
|
|
59
|
+
values?: Set<any>;
|
|
60
|
+
externalName?: string;
|
|
61
|
+
env?: string[] | string;
|
|
62
|
+
additionalValues?: object;
|
|
47
63
|
};
|
|
48
64
|
hosts: {
|
|
49
65
|
type: string;
|
|
@@ -61,12 +77,26 @@ export class Location extends Owner {
|
|
|
61
77
|
owners: string[];
|
|
62
78
|
priority: number;
|
|
63
79
|
constructWithIdentifierOnly: boolean;
|
|
80
|
+
key: string;
|
|
64
81
|
attributes: {
|
|
65
82
|
address: import("pacc").AttributeDefinition;
|
|
66
83
|
networks: {
|
|
67
84
|
type: string;
|
|
68
85
|
collection: boolean;
|
|
86
|
+
isKey: boolean;
|
|
69
87
|
writable: boolean;
|
|
88
|
+
mandatory: boolean;
|
|
89
|
+
private?: boolean;
|
|
90
|
+
depends?: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
default?: any;
|
|
93
|
+
set?: Function;
|
|
94
|
+
get?: Function;
|
|
95
|
+
prepareValue?: Function;
|
|
96
|
+
values?: Set<any>;
|
|
97
|
+
externalName?: string;
|
|
98
|
+
env?: string[] | string;
|
|
99
|
+
additionalValues?: object;
|
|
70
100
|
};
|
|
71
101
|
prefixLength: import("pacc").AttributeDefinition;
|
|
72
102
|
family: import("pacc").AttributeDefinition;
|
|
@@ -83,7 +113,7 @@ export class Location extends Owner {
|
|
|
83
113
|
locales: import("pacc").AttributeDefinition;
|
|
84
114
|
administratorEmail: {
|
|
85
115
|
writable: boolean;
|
|
86
|
-
type:
|
|
116
|
+
type: object;
|
|
87
117
|
isKey: boolean;
|
|
88
118
|
mandatory: boolean;
|
|
89
119
|
collection: boolean;
|
|
@@ -93,9 +123,11 @@ export class Location extends Owner {
|
|
|
93
123
|
default?: any;
|
|
94
124
|
set?: Function;
|
|
95
125
|
get?: Function;
|
|
126
|
+
prepareValue?: Function;
|
|
96
127
|
values?: Set<any>;
|
|
97
128
|
externalName?: string;
|
|
98
129
|
env?: string[] | string;
|
|
130
|
+
additionalValues?: object;
|
|
99
131
|
};
|
|
100
132
|
};
|
|
101
133
|
})[];
|
|
@@ -106,7 +138,7 @@ export class Location extends Owner {
|
|
|
106
138
|
priority: number;
|
|
107
139
|
extends: {
|
|
108
140
|
name: string;
|
|
109
|
-
|
|
141
|
+
key: string;
|
|
110
142
|
attributes: {
|
|
111
143
|
owner: {
|
|
112
144
|
type: string;
|
|
@@ -117,7 +149,7 @@ export class Location extends Owner {
|
|
|
117
149
|
name: import("pacc").AttributeDefinition;
|
|
118
150
|
description: {
|
|
119
151
|
writable: boolean;
|
|
120
|
-
type:
|
|
152
|
+
type: object;
|
|
121
153
|
isKey: boolean;
|
|
122
154
|
mandatory: boolean;
|
|
123
155
|
collection: boolean;
|
|
@@ -127,9 +159,11 @@ export class Location extends Owner {
|
|
|
127
159
|
default?: any;
|
|
128
160
|
set?: Function;
|
|
129
161
|
get?: Function;
|
|
162
|
+
prepareValue?: Function;
|
|
130
163
|
values?: Set<any>;
|
|
131
164
|
externalName?: string;
|
|
132
165
|
env?: string[] | string;
|
|
166
|
+
additionalValues?: object;
|
|
133
167
|
};
|
|
134
168
|
priority: import("pacc").AttributeDefinition;
|
|
135
169
|
directory: import("pacc").AttributeDefinition;
|
|
@@ -138,11 +172,25 @@ export class Location extends Owner {
|
|
|
138
172
|
tags: import("pacc").AttributeDefinition;
|
|
139
173
|
};
|
|
140
174
|
};
|
|
175
|
+
key: string;
|
|
141
176
|
attributes: {
|
|
142
177
|
networks: {
|
|
143
178
|
type: string;
|
|
144
179
|
collection: boolean;
|
|
180
|
+
isKey: boolean;
|
|
145
181
|
writable: boolean;
|
|
182
|
+
mandatory: boolean;
|
|
183
|
+
private?: boolean;
|
|
184
|
+
depends?: string;
|
|
185
|
+
description?: string;
|
|
186
|
+
default?: any;
|
|
187
|
+
set?: Function;
|
|
188
|
+
get?: Function;
|
|
189
|
+
prepareValue?: Function;
|
|
190
|
+
values?: Set<any>;
|
|
191
|
+
externalName?: string;
|
|
192
|
+
env?: string[] | string;
|
|
193
|
+
additionalValues?: object;
|
|
146
194
|
};
|
|
147
195
|
hosts: {
|
|
148
196
|
type: string;
|
|
@@ -160,12 +208,26 @@ export class Location extends Owner {
|
|
|
160
208
|
owners: string[];
|
|
161
209
|
priority: number;
|
|
162
210
|
constructWithIdentifierOnly: boolean;
|
|
211
|
+
key: string;
|
|
163
212
|
attributes: {
|
|
164
213
|
address: import("pacc").AttributeDefinition;
|
|
165
214
|
networks: {
|
|
166
215
|
type: string;
|
|
167
216
|
collection: boolean;
|
|
217
|
+
isKey: boolean;
|
|
168
218
|
writable: boolean;
|
|
219
|
+
mandatory: boolean;
|
|
220
|
+
private?: boolean;
|
|
221
|
+
depends?: string;
|
|
222
|
+
description?: string;
|
|
223
|
+
default?: any;
|
|
224
|
+
set?: Function;
|
|
225
|
+
get?: Function;
|
|
226
|
+
prepareValue?: Function;
|
|
227
|
+
values?: Set<any>;
|
|
228
|
+
externalName?: string;
|
|
229
|
+
env?: string[] | string;
|
|
230
|
+
additionalValues?: object;
|
|
169
231
|
};
|
|
170
232
|
prefixLength: import("pacc").AttributeDefinition;
|
|
171
233
|
family: import("pacc").AttributeDefinition;
|
|
@@ -182,7 +244,7 @@ export class Location extends Owner {
|
|
|
182
244
|
locales: import("pacc").AttributeDefinition;
|
|
183
245
|
administratorEmail: {
|
|
184
246
|
writable: boolean;
|
|
185
|
-
type:
|
|
247
|
+
type: object;
|
|
186
248
|
isKey: boolean;
|
|
187
249
|
mandatory: boolean;
|
|
188
250
|
collection: boolean;
|
|
@@ -192,12 +254,15 @@ export class Location extends Owner {
|
|
|
192
254
|
default?: any;
|
|
193
255
|
set?: Function;
|
|
194
256
|
get?: Function;
|
|
257
|
+
prepareValue?: Function;
|
|
195
258
|
values?: Set<any>;
|
|
196
259
|
externalName?: string;
|
|
197
260
|
env?: string[] | string;
|
|
261
|
+
additionalValues?: object;
|
|
198
262
|
};
|
|
199
263
|
};
|
|
200
264
|
};
|
|
265
|
+
key: string;
|
|
201
266
|
attributes: {
|
|
202
267
|
locales: import("pacc").AttributeDefinition;
|
|
203
268
|
};
|