pmcf 1.46.4 → 1.47.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.
@@ -1,9 +1,284 @@
1
1
  export class Cluster extends Owner {
2
2
  static get typeDefinition(): {
3
3
  name: string;
4
- extends: typeof Owner;
4
+ owners: (string | {
5
+ name: string;
6
+ owners: string[];
7
+ priority: number;
8
+ extends: {
9
+ name: string;
10
+ owners: any[];
11
+ properties: {
12
+ owner: {
13
+ type: string;
14
+ collection: boolean;
15
+ writeable: boolean;
16
+ };
17
+ type: {
18
+ type: string;
19
+ collection: boolean;
20
+ writeable: boolean;
21
+ };
22
+ name: {
23
+ type: string;
24
+ collection: boolean;
25
+ identifier: boolean;
26
+ writeable: boolean;
27
+ };
28
+ description: {
29
+ type: string;
30
+ collection: boolean;
31
+ writeable: boolean;
32
+ };
33
+ directory: {
34
+ type: string;
35
+ collection: boolean;
36
+ writeable: boolean;
37
+ };
38
+ };
39
+ };
40
+ properties: {
41
+ networks: {
42
+ type: string;
43
+ collection: boolean;
44
+ writeable: boolean;
45
+ };
46
+ hosts: {
47
+ type: string;
48
+ collection: boolean;
49
+ writeable: boolean;
50
+ };
51
+ clusters: {
52
+ type: string;
53
+ collection: boolean;
54
+ writeable: boolean;
55
+ };
56
+ subnets: {
57
+ type: {
58
+ name: string;
59
+ owners: string[];
60
+ priority: number;
61
+ constructWithIdentifierOnly: boolean;
62
+ properties: {
63
+ address: {
64
+ type: string;
65
+ collection: boolean;
66
+ writeable: boolean;
67
+ identifier: boolean;
68
+ };
69
+ networks: {
70
+ type: string;
71
+ collection: boolean;
72
+ writeable: boolean;
73
+ };
74
+ prefixLength: {
75
+ type: string;
76
+ collection: boolean;
77
+ writeable: boolean;
78
+ };
79
+ };
80
+ };
81
+ collection: boolean;
82
+ writeable: boolean;
83
+ };
84
+ dns: {
85
+ type: {
86
+ name: string;
87
+ owners: string[];
88
+ priority: number;
89
+ properties: {
90
+ hasSVRRecords: {
91
+ type: string;
92
+ collection: boolean;
93
+ writeable: boolean;
94
+ };
95
+ hasCatalog: {
96
+ type: string;
97
+ collection: boolean;
98
+ writeable: boolean;
99
+ };
100
+ recordTTL: {
101
+ type: string;
102
+ collection: boolean;
103
+ writeable: boolean;
104
+ };
105
+ soaUpdates: {
106
+ type: string;
107
+ collection: boolean;
108
+ writeable: boolean;
109
+ };
110
+ forwardsTo: {
111
+ type: string;
112
+ collection: boolean;
113
+ writeable: boolean;
114
+ };
115
+ allowedUpdates: {
116
+ type: string;
117
+ collection: boolean;
118
+ writeable: boolean;
119
+ };
120
+ };
121
+ };
122
+ collection: boolean;
123
+ writeable: boolean;
124
+ };
125
+ ntp: {
126
+ type: string;
127
+ collection: boolean;
128
+ writeable: boolean;
129
+ };
130
+ domain: {
131
+ type: string;
132
+ collection: boolean;
133
+ writeable: boolean;
134
+ };
135
+ administratorEmail: {
136
+ type: string;
137
+ collection: boolean;
138
+ writeable: boolean;
139
+ };
140
+ };
141
+ })[];
142
+ priority: number;
143
+ extends: {
144
+ name: string;
145
+ owners: string[];
146
+ priority: number;
147
+ extends: {
148
+ name: string;
149
+ owners: any[];
150
+ properties: {
151
+ owner: {
152
+ type: string;
153
+ collection: boolean;
154
+ writeable: boolean;
155
+ };
156
+ type: {
157
+ type: string;
158
+ collection: boolean;
159
+ writeable: boolean;
160
+ };
161
+ name: {
162
+ type: string;
163
+ collection: boolean;
164
+ identifier: boolean;
165
+ writeable: boolean;
166
+ };
167
+ description: {
168
+ type: string;
169
+ collection: boolean;
170
+ writeable: boolean;
171
+ };
172
+ directory: {
173
+ type: string;
174
+ collection: boolean;
175
+ writeable: boolean;
176
+ };
177
+ };
178
+ };
179
+ properties: {
180
+ networks: {
181
+ type: string;
182
+ collection: boolean;
183
+ writeable: boolean;
184
+ };
185
+ hosts: {
186
+ type: string;
187
+ collection: boolean;
188
+ writeable: boolean;
189
+ };
190
+ clusters: {
191
+ type: string;
192
+ collection: boolean;
193
+ writeable: boolean;
194
+ };
195
+ subnets: {
196
+ type: {
197
+ name: string;
198
+ owners: string[];
199
+ priority: number;
200
+ constructWithIdentifierOnly: boolean;
201
+ properties: {
202
+ address: {
203
+ type: string;
204
+ collection: boolean;
205
+ writeable: boolean;
206
+ identifier: boolean;
207
+ };
208
+ networks: {
209
+ type: string;
210
+ collection: boolean;
211
+ writeable: boolean;
212
+ };
213
+ prefixLength: {
214
+ type: string;
215
+ collection: boolean;
216
+ writeable: boolean;
217
+ };
218
+ };
219
+ };
220
+ collection: boolean;
221
+ writeable: boolean;
222
+ };
223
+ dns: {
224
+ type: {
225
+ name: string;
226
+ owners: string[];
227
+ priority: number;
228
+ properties: {
229
+ hasSVRRecords: {
230
+ type: string;
231
+ collection: boolean;
232
+ writeable: boolean;
233
+ };
234
+ hasCatalog: {
235
+ type: string;
236
+ collection: boolean;
237
+ writeable: boolean;
238
+ };
239
+ recordTTL: {
240
+ type: string;
241
+ collection: boolean;
242
+ writeable: boolean;
243
+ };
244
+ soaUpdates: {
245
+ type: string;
246
+ collection: boolean;
247
+ writeable: boolean;
248
+ };
249
+ forwardsTo: {
250
+ type: string;
251
+ collection: boolean;
252
+ writeable: boolean;
253
+ };
254
+ allowedUpdates: {
255
+ type: string;
256
+ collection: boolean;
257
+ writeable: boolean;
258
+ };
259
+ };
260
+ };
261
+ collection: boolean;
262
+ writeable: boolean;
263
+ };
264
+ ntp: {
265
+ type: string;
266
+ collection: boolean;
267
+ writeable: boolean;
268
+ };
269
+ domain: {
270
+ type: string;
271
+ collection: boolean;
272
+ writeable: boolean;
273
+ };
274
+ administratorEmail: {
275
+ type: string;
276
+ collection: boolean;
277
+ writeable: boolean;
278
+ };
279
+ };
280
+ };
5
281
  properties: {};
6
282
  };
7
- constructor(owner: any, data: any);
8
283
  }
9
284
  import { Owner } from "./owner.mjs";
package/types/dns.d.mts CHANGED
@@ -1,27 +1,38 @@
1
1
  export class DNSService extends Base {
2
2
  static get typeDefinition(): {
3
3
  name: string;
4
+ owners: string[];
5
+ priority: number;
4
6
  properties: {
5
7
  hasSVRRecords: {
6
8
  type: string;
9
+ collection: boolean;
10
+ writeable: boolean;
7
11
  };
8
12
  hasCatalog: {
9
13
  type: string;
14
+ collection: boolean;
15
+ writeable: boolean;
10
16
  };
11
17
  recordTTL: {
12
18
  type: string;
19
+ collection: boolean;
20
+ writeable: boolean;
13
21
  };
14
22
  soaUpdates: {
15
23
  type: string;
16
24
  collection: boolean;
25
+ writeable: boolean;
17
26
  };
18
27
  forwardsTo: {
19
28
  type: string;
20
29
  collection: boolean;
30
+ writeable: boolean;
21
31
  };
22
32
  allowedUpdates: {
23
33
  type: string;
24
34
  collection: boolean;
35
+ writeable: boolean;
25
36
  };
26
37
  };
27
38
  };
@@ -30,8 +41,9 @@ export class DNSService extends Base {
30
41
  soaUpdates: number[];
31
42
  hasSVRRecords: boolean;
32
43
  hasCatalog: boolean;
33
- forwardsTo: any[];
34
- services(): AsyncGenerator<any, void, any>;
44
+ set forwardsTo(value: any[]);
45
+ get forwardsTo(): any[];
46
+ findServices(): AsyncGenerator<any, void, any>;
35
47
  get domains(): any[];
36
48
  resolvedConfig(): Promise<{
37
49
  DNS: string;
@@ -41,5 +53,6 @@ export class DNSService extends Base {
41
53
  MulticastDNS: string;
42
54
  LLMNR: string;
43
55
  }>;
56
+ #private;
44
57
  }
45
58
  import { Base } from "./base.mjs";
package/types/host.d.mts CHANGED
@@ -1,36 +1,120 @@
1
1
  export class Host extends Base {
2
2
  static get typeDefinition(): {
3
3
  name: string;
4
- extends: typeof Base;
4
+ priority: number;
5
+ owners: string[];
6
+ extends: {
7
+ name: string;
8
+ owners: any[];
9
+ properties: {
10
+ owner: {
11
+ type: string;
12
+ collection: boolean;
13
+ writeable: boolean;
14
+ };
15
+ type: {
16
+ type: string;
17
+ collection: boolean;
18
+ writeable: boolean;
19
+ };
20
+ name: {
21
+ type: string;
22
+ collection: boolean;
23
+ identifier: boolean;
24
+ writeable: boolean;
25
+ };
26
+ description: {
27
+ type: string;
28
+ collection: boolean;
29
+ writeable: boolean;
30
+ };
31
+ directory: {
32
+ type: string;
33
+ collection: boolean;
34
+ writeable: boolean;
35
+ };
36
+ };
37
+ };
5
38
  properties: {
6
39
  networkInterfaces: {
7
40
  type: string;
8
41
  collection: boolean;
42
+ writeable: boolean;
9
43
  };
10
44
  services: {
11
- type: typeof Service;
45
+ type: string;
12
46
  collection: boolean;
47
+ writeable: boolean;
13
48
  };
14
49
  os: {
15
50
  type: string;
51
+ collection: boolean;
52
+ writeable: boolean;
16
53
  };
17
54
  distribution: {
18
55
  type: string;
56
+ collection: boolean;
57
+ writeable: boolean;
19
58
  };
20
59
  deployment: {
21
60
  type: string;
61
+ collection: boolean;
62
+ writeable: boolean;
22
63
  };
23
64
  master: {
24
65
  type: string;
66
+ collection: boolean;
67
+ writeable: boolean;
25
68
  };
26
69
  model: {
27
70
  type: string;
71
+ collection: boolean;
72
+ writeable: boolean;
73
+ };
74
+ serial: {
75
+ type: string;
76
+ collection: boolean;
77
+ writeable: boolean;
78
+ };
79
+ vendor: {
80
+ type: string;
81
+ collection: boolean;
82
+ writeable: boolean;
83
+ };
84
+ chassis: {
85
+ type: string;
86
+ collection: boolean;
87
+ writeable: boolean;
88
+ };
89
+ isModel: {
90
+ type: string;
91
+ collection: boolean;
92
+ writeable: boolean;
93
+ };
94
+ priority: {
95
+ type: string;
96
+ collection: boolean;
97
+ writeable: boolean;
28
98
  };
29
99
  replaces: {
30
100
  type: string;
101
+ collection: boolean;
102
+ writeable: boolean;
31
103
  };
32
104
  depends: {
33
105
  type: string;
106
+ collection: boolean;
107
+ writeable: boolean;
108
+ };
109
+ provides: {
110
+ type: string;
111
+ collection: boolean;
112
+ writeable: boolean;
113
+ };
114
+ extends: {
115
+ type: string;
116
+ collection: boolean;
117
+ writeable: boolean;
34
118
  };
35
119
  cidrAddresses: {
36
120
  type: string;
@@ -44,36 +128,46 @@ export class Host extends Base {
44
128
  };
45
129
  rawAddress: {
46
130
  type: string;
131
+ collection: boolean;
47
132
  writeable: boolean;
48
133
  };
49
134
  };
50
135
  };
51
- static prepareData(root: any, data: any): Promise<typeof Host>;
52
136
  postinstall: any[];
137
+ serial: any;
138
+ set depends(value: Set<any>);
139
+ get depends(): Set<any>;
140
+ set provides(value: Set<any>);
141
+ get provides(): Set<any>;
142
+ set replaces(value: Set<any>);
143
+ get replaces(): Set<any>;
144
+ set services(services: any[]);
145
+ get services(): any[];
53
146
  _traverse(...args: any[]): boolean;
147
+ set deployment(value: any);
54
148
  get deployment(): any;
149
+ set chassis(value: any);
55
150
  get chassis(): any;
151
+ set vendor(value: any);
56
152
  get vendor(): any;
57
153
  get isModel(): boolean;
58
154
  get model(): any;
155
+ set extends(value: any[]);
59
156
  get extends(): any[];
60
- get provides(): Set<any>;
61
- get replaces(): Set<any>;
62
- get _depends(): Set<any>;
63
- get depends(): any;
157
+ set master(value: boolean);
64
158
  get master(): boolean;
159
+ set os(value: any);
65
160
  get os(): any;
161
+ set distribution(value: any);
66
162
  get distribution(): any;
67
163
  get domain(): any;
68
164
  get modelName(): any;
69
- get hostName(): any;
70
- get domainName(): any;
165
+ get hostName(): string;
166
+ get domainName(): string;
71
167
  get host(): this;
72
- addService(service: any): void;
73
- services(filter: any): Generator<any, void, unknown>;
168
+ findServices(filter: any): Generator<any, void, unknown>;
169
+ set networkInterfaces(networkInterface: Map<any, any>);
74
170
  get networkInterfaces(): Map<any, any>;
75
- networkInterfaceNamed(name: any): any;
76
- addNetworkInterface(networkInterface: any): void;
77
171
  networkAddresses(): Generator<{
78
172
  networkInterface: any;
79
173
  address: any;
@@ -88,50 +182,115 @@ export class Host extends Base {
88
182
  export class NetworkInterface extends Base {
89
183
  static get typeDefinition(): {
90
184
  name: string;
91
- extends: typeof Base;
185
+ priority: number;
186
+ owners: string[];
187
+ extends: {
188
+ name: string;
189
+ owners: any[];
190
+ properties: {
191
+ owner: {
192
+ type: string;
193
+ collection: boolean;
194
+ writeable: boolean;
195
+ };
196
+ type: {
197
+ type: string;
198
+ collection: boolean;
199
+ writeable: boolean;
200
+ };
201
+ name: {
202
+ type: string;
203
+ collection: boolean;
204
+ identifier: boolean;
205
+ writeable: boolean;
206
+ };
207
+ description: {
208
+ type: string;
209
+ collection: boolean;
210
+ writeable: boolean;
211
+ };
212
+ directory: {
213
+ type: string;
214
+ collection: boolean;
215
+ writeable: boolean;
216
+ };
217
+ };
218
+ };
92
219
  properties: {
93
220
  hwaddr: {
94
221
  type: string;
222
+ collection: boolean;
223
+ writeable: boolean;
224
+ };
225
+ ipAddresses: {
226
+ type: string;
227
+ collection: boolean;
228
+ writeable: boolean;
229
+ };
230
+ cidrAddresses: {
231
+ type: string;
232
+ collection: boolean;
233
+ writeable: boolean;
234
+ };
235
+ rawAddresses: {
236
+ type: string;
237
+ collection: boolean;
238
+ writeable: boolean;
239
+ };
240
+ network: {
241
+ type: string;
242
+ collection: boolean;
243
+ writeable: boolean;
244
+ };
245
+ destination: {
246
+ type: string;
247
+ collection: boolean;
248
+ writeable: boolean;
249
+ };
250
+ arpbridge: {
251
+ type: string;
252
+ collection: boolean;
253
+ writeable: boolean;
95
254
  };
96
255
  scope: {
97
256
  type: string;
257
+ collection: boolean;
258
+ writeable: boolean;
98
259
  };
99
260
  kind: {
100
261
  type: string;
262
+ collection: boolean;
263
+ writeable: boolean;
101
264
  };
102
265
  ssid: {
103
266
  type: string;
267
+ collection: boolean;
268
+ writeable: boolean;
104
269
  };
105
270
  psk: {
106
271
  type: string;
272
+ collection: boolean;
273
+ writeable: boolean;
107
274
  };
108
275
  metric: {
109
276
  type: string;
277
+ collection: boolean;
278
+ writeable: boolean;
110
279
  };
111
280
  MTU: {
112
281
  type: string;
113
- };
114
- cidrAddresses: {
115
- type: string;
116
282
  collection: boolean;
117
283
  writeable: boolean;
118
284
  };
119
- rawAddresses: {
285
+ gateway: {
120
286
  type: string;
121
287
  collection: boolean;
122
288
  writeable: boolean;
123
289
  };
124
- network: {
125
- type: string;
126
- };
127
- gateway: {};
128
- arpbridge: {};
129
290
  };
130
291
  };
131
292
  arpbridge: any;
132
293
  hwaddr: any;
133
- set network(networkOrName: any);
134
- get network(): any;
135
294
  addSubnet(address: any): any;
136
295
  set ipAddresses(value: Map<any, any>);
137
296
  get ipAddresses(): Map<any, any>;
@@ -142,12 +301,19 @@ export class NetworkInterface extends Base {
142
301
  subnetForAddress(address: any): any;
143
302
  get gateway(): any;
144
303
  get gatewayAddress(): any;
304
+ get network_interface(): this;
305
+ set network(network: any);
306
+ get network(): any;
307
+ set scope(value: any);
145
308
  get scope(): any;
309
+ set metric(value: any);
146
310
  get metric(): any;
311
+ set ssid(value: any);
147
312
  get ssid(): any;
313
+ set psk(value: any);
148
314
  get psk(): any;
315
+ set kind(value: any);
149
316
  get kind(): any;
150
317
  #private;
151
318
  }
152
319
  import { Base } from "./base.mjs";
153
- import { Service } from "./service.mjs";