pmcf 1.46.3 → 1.47.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-host-defs +3 -3
- package/bin/pmcf-location-defs +2 -2
- package/bin/pmcf-named-defs +2 -2
- package/package.json +3 -3
- package/src/base.mjs +204 -92
- package/src/cluster.mjs +9 -9
- package/src/dns.mjs +34 -22
- package/src/host.mjs +162 -193
- package/src/location.mjs +19 -19
- package/src/network-support.mjs +9 -0
- package/src/network.mjs +19 -34
- package/src/owner.mjs +66 -69
- package/src/root.mjs +45 -51
- package/src/service.mjs +53 -50
- package/src/subnet.mjs +18 -16
- package/src/types.mjs +40 -14
- package/types/base.d.mts +21 -7
- package/types/cluster.d.mts +277 -2
- package/types/dns.d.mts +15 -2
- package/types/host.d.mts +191 -25
- package/types/location.d.mts +276 -22
- package/types/network-support.d.mts +55 -0
- package/types/network.d.mts +170 -15
- package/types/owner.d.mts +115 -13
- package/types/root.d.mts +294 -1
- package/types/service.d.mts +58 -4
- package/types/subnet.d.mts +11 -2
- package/types/types.d.mts +3 -2
package/types/owner.d.mts
CHANGED
|
@@ -1,50 +1,152 @@
|
|
|
1
1
|
export class Owner extends Base {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
owners: string[];
|
|
5
|
+
priority: number;
|
|
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
|
networks: {
|
|
7
40
|
type: string;
|
|
8
41
|
collection: boolean;
|
|
42
|
+
writeable: boolean;
|
|
9
43
|
};
|
|
10
44
|
hosts: {
|
|
11
45
|
type: string;
|
|
12
46
|
collection: boolean;
|
|
47
|
+
writeable: boolean;
|
|
13
48
|
};
|
|
14
49
|
clusters: {
|
|
15
50
|
type: string;
|
|
16
51
|
collection: boolean;
|
|
52
|
+
writeable: boolean;
|
|
17
53
|
};
|
|
18
54
|
subnets: {
|
|
19
|
-
type:
|
|
55
|
+
type: {
|
|
56
|
+
name: string;
|
|
57
|
+
owners: string[];
|
|
58
|
+
priority: number;
|
|
59
|
+
constructWithIdentifierOnly: boolean;
|
|
60
|
+
properties: {
|
|
61
|
+
address: {
|
|
62
|
+
type: string;
|
|
63
|
+
collection: boolean;
|
|
64
|
+
writeable: boolean;
|
|
65
|
+
identifier: boolean;
|
|
66
|
+
};
|
|
67
|
+
networks: {
|
|
68
|
+
type: string;
|
|
69
|
+
collection: boolean;
|
|
70
|
+
writeable: boolean;
|
|
71
|
+
};
|
|
72
|
+
prefixLength: {
|
|
73
|
+
type: string;
|
|
74
|
+
collection: boolean;
|
|
75
|
+
writeable: boolean;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
20
79
|
collection: boolean;
|
|
80
|
+
writeable: boolean;
|
|
21
81
|
};
|
|
22
82
|
dns: {
|
|
23
|
-
type:
|
|
83
|
+
type: {
|
|
84
|
+
name: string;
|
|
85
|
+
owners: string[];
|
|
86
|
+
priority: number;
|
|
87
|
+
properties: {
|
|
88
|
+
hasSVRRecords: {
|
|
89
|
+
type: string;
|
|
90
|
+
collection: boolean;
|
|
91
|
+
writeable: boolean;
|
|
92
|
+
};
|
|
93
|
+
hasCatalog: {
|
|
94
|
+
type: string;
|
|
95
|
+
collection: boolean;
|
|
96
|
+
writeable: boolean;
|
|
97
|
+
};
|
|
98
|
+
recordTTL: {
|
|
99
|
+
type: string;
|
|
100
|
+
collection: boolean;
|
|
101
|
+
writeable: boolean;
|
|
102
|
+
};
|
|
103
|
+
soaUpdates: {
|
|
104
|
+
type: string;
|
|
105
|
+
collection: boolean;
|
|
106
|
+
writeable: boolean;
|
|
107
|
+
};
|
|
108
|
+
forwardsTo: {
|
|
109
|
+
type: string;
|
|
110
|
+
collection: boolean;
|
|
111
|
+
writeable: boolean;
|
|
112
|
+
};
|
|
113
|
+
allowedUpdates: {
|
|
114
|
+
type: string;
|
|
115
|
+
collection: boolean;
|
|
116
|
+
writeable: boolean;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
collection: boolean;
|
|
121
|
+
writeable: boolean;
|
|
122
|
+
};
|
|
123
|
+
ntp: {
|
|
124
|
+
type: string;
|
|
24
125
|
collection: boolean;
|
|
126
|
+
writeable: boolean;
|
|
25
127
|
};
|
|
26
128
|
domain: {
|
|
27
129
|
type: string;
|
|
130
|
+
collection: boolean;
|
|
131
|
+
writeable: boolean;
|
|
28
132
|
};
|
|
29
133
|
administratorEmail: {
|
|
30
134
|
type: string;
|
|
135
|
+
collection: boolean;
|
|
136
|
+
writeable: boolean;
|
|
31
137
|
};
|
|
32
138
|
};
|
|
33
139
|
};
|
|
34
|
-
constructor(owner: any, data?: {});
|
|
35
140
|
domain: any;
|
|
36
|
-
ntp:
|
|
37
|
-
servers: any[];
|
|
38
|
-
};
|
|
141
|
+
ntp: any;
|
|
39
142
|
_traverse(...args: any[]): boolean;
|
|
40
143
|
named(name: any): any;
|
|
41
|
-
typeNamed(typeName: any, name: any): any;
|
|
42
144
|
typeObject(typeName: any): any;
|
|
43
145
|
typeList(typeName: any): any;
|
|
44
|
-
|
|
146
|
+
addTypeObject(typeName: any, name: any, object: any): void;
|
|
45
147
|
addObject(object: any): void;
|
|
46
|
-
|
|
47
|
-
|
|
148
|
+
findService(filter: any): any;
|
|
149
|
+
findServices(filter: any): Generator<any, void, unknown>;
|
|
48
150
|
locationNamed(name: any): any;
|
|
49
151
|
locations(): any;
|
|
50
152
|
hostNamed(name: any): any;
|
|
@@ -60,9 +162,9 @@ export class Owner extends Base {
|
|
|
60
162
|
addBridge(network: any, destinationNetworks: any): any;
|
|
61
163
|
_resolveBridges(): void;
|
|
62
164
|
networkAddresses(): Generator<any, void, any>;
|
|
165
|
+
set administratorEmail(value: any);
|
|
166
|
+
get administratorEmail(): any;
|
|
63
167
|
domains(): Generator<any, void, unknown>;
|
|
64
168
|
#private;
|
|
65
169
|
}
|
|
66
170
|
import { Base } from "./base.mjs";
|
|
67
|
-
import { Subnet } from "./subnet.mjs";
|
|
68
|
-
import { DNSService } from "./dns.mjs";
|
package/types/root.d.mts
CHANGED
|
@@ -1,12 +1,305 @@
|
|
|
1
1
|
export class Root extends Location {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
owners: any[];
|
|
5
|
+
priority: number;
|
|
6
|
+
extends: {
|
|
7
|
+
name: string;
|
|
8
|
+
owners: (string | {
|
|
9
|
+
name: string;
|
|
10
|
+
owners: string[];
|
|
11
|
+
priority: number;
|
|
12
|
+
extends: {
|
|
13
|
+
name: string;
|
|
14
|
+
owners: any[];
|
|
15
|
+
properties: {
|
|
16
|
+
owner: {
|
|
17
|
+
type: string;
|
|
18
|
+
collection: boolean;
|
|
19
|
+
writeable: boolean;
|
|
20
|
+
};
|
|
21
|
+
type: {
|
|
22
|
+
type: string;
|
|
23
|
+
collection: boolean;
|
|
24
|
+
writeable: boolean;
|
|
25
|
+
};
|
|
26
|
+
name: {
|
|
27
|
+
type: string;
|
|
28
|
+
collection: boolean;
|
|
29
|
+
identifier: boolean;
|
|
30
|
+
writeable: boolean;
|
|
31
|
+
};
|
|
32
|
+
description: {
|
|
33
|
+
type: string;
|
|
34
|
+
collection: boolean;
|
|
35
|
+
writeable: boolean;
|
|
36
|
+
};
|
|
37
|
+
directory: {
|
|
38
|
+
type: string;
|
|
39
|
+
collection: boolean;
|
|
40
|
+
writeable: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
properties: {
|
|
45
|
+
networks: {
|
|
46
|
+
type: string;
|
|
47
|
+
collection: boolean;
|
|
48
|
+
writeable: boolean;
|
|
49
|
+
};
|
|
50
|
+
hosts: {
|
|
51
|
+
type: string;
|
|
52
|
+
collection: boolean;
|
|
53
|
+
writeable: boolean;
|
|
54
|
+
};
|
|
55
|
+
clusters: {
|
|
56
|
+
type: string;
|
|
57
|
+
collection: boolean;
|
|
58
|
+
writeable: boolean;
|
|
59
|
+
};
|
|
60
|
+
subnets: {
|
|
61
|
+
type: {
|
|
62
|
+
name: string;
|
|
63
|
+
owners: string[];
|
|
64
|
+
priority: number;
|
|
65
|
+
constructWithIdentifierOnly: boolean;
|
|
66
|
+
properties: {
|
|
67
|
+
address: {
|
|
68
|
+
type: string;
|
|
69
|
+
collection: boolean;
|
|
70
|
+
writeable: boolean;
|
|
71
|
+
identifier: boolean;
|
|
72
|
+
};
|
|
73
|
+
networks: {
|
|
74
|
+
type: string;
|
|
75
|
+
collection: boolean;
|
|
76
|
+
writeable: boolean;
|
|
77
|
+
};
|
|
78
|
+
prefixLength: {
|
|
79
|
+
type: string;
|
|
80
|
+
collection: boolean;
|
|
81
|
+
writeable: boolean;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
collection: boolean;
|
|
86
|
+
writeable: boolean;
|
|
87
|
+
};
|
|
88
|
+
dns: {
|
|
89
|
+
type: {
|
|
90
|
+
name: string;
|
|
91
|
+
owners: string[];
|
|
92
|
+
priority: number;
|
|
93
|
+
properties: {
|
|
94
|
+
hasSVRRecords: {
|
|
95
|
+
type: string;
|
|
96
|
+
collection: boolean;
|
|
97
|
+
writeable: boolean;
|
|
98
|
+
};
|
|
99
|
+
hasCatalog: {
|
|
100
|
+
type: string;
|
|
101
|
+
collection: boolean;
|
|
102
|
+
writeable: boolean;
|
|
103
|
+
};
|
|
104
|
+
recordTTL: {
|
|
105
|
+
type: string;
|
|
106
|
+
collection: boolean;
|
|
107
|
+
writeable: boolean;
|
|
108
|
+
};
|
|
109
|
+
soaUpdates: {
|
|
110
|
+
type: string;
|
|
111
|
+
collection: boolean;
|
|
112
|
+
writeable: boolean;
|
|
113
|
+
};
|
|
114
|
+
forwardsTo: {
|
|
115
|
+
type: string;
|
|
116
|
+
collection: boolean;
|
|
117
|
+
writeable: boolean;
|
|
118
|
+
};
|
|
119
|
+
allowedUpdates: {
|
|
120
|
+
type: string;
|
|
121
|
+
collection: boolean;
|
|
122
|
+
writeable: boolean;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
collection: boolean;
|
|
127
|
+
writeable: boolean;
|
|
128
|
+
};
|
|
129
|
+
ntp: {
|
|
130
|
+
type: string;
|
|
131
|
+
collection: boolean;
|
|
132
|
+
writeable: boolean;
|
|
133
|
+
};
|
|
134
|
+
domain: {
|
|
135
|
+
type: string;
|
|
136
|
+
collection: boolean;
|
|
137
|
+
writeable: boolean;
|
|
138
|
+
};
|
|
139
|
+
administratorEmail: {
|
|
140
|
+
type: string;
|
|
141
|
+
collection: boolean;
|
|
142
|
+
writeable: boolean;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
})[];
|
|
146
|
+
priority: number;
|
|
147
|
+
extends: {
|
|
148
|
+
name: string;
|
|
149
|
+
owners: string[];
|
|
150
|
+
priority: number;
|
|
151
|
+
extends: {
|
|
152
|
+
name: string;
|
|
153
|
+
owners: any[];
|
|
154
|
+
properties: {
|
|
155
|
+
owner: {
|
|
156
|
+
type: string;
|
|
157
|
+
collection: boolean;
|
|
158
|
+
writeable: boolean;
|
|
159
|
+
};
|
|
160
|
+
type: {
|
|
161
|
+
type: string;
|
|
162
|
+
collection: boolean;
|
|
163
|
+
writeable: boolean;
|
|
164
|
+
};
|
|
165
|
+
name: {
|
|
166
|
+
type: string;
|
|
167
|
+
collection: boolean;
|
|
168
|
+
identifier: boolean;
|
|
169
|
+
writeable: boolean;
|
|
170
|
+
};
|
|
171
|
+
description: {
|
|
172
|
+
type: string;
|
|
173
|
+
collection: boolean;
|
|
174
|
+
writeable: boolean;
|
|
175
|
+
};
|
|
176
|
+
directory: {
|
|
177
|
+
type: string;
|
|
178
|
+
collection: boolean;
|
|
179
|
+
writeable: boolean;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
properties: {
|
|
184
|
+
networks: {
|
|
185
|
+
type: string;
|
|
186
|
+
collection: boolean;
|
|
187
|
+
writeable: boolean;
|
|
188
|
+
};
|
|
189
|
+
hosts: {
|
|
190
|
+
type: string;
|
|
191
|
+
collection: boolean;
|
|
192
|
+
writeable: boolean;
|
|
193
|
+
};
|
|
194
|
+
clusters: {
|
|
195
|
+
type: string;
|
|
196
|
+
collection: boolean;
|
|
197
|
+
writeable: boolean;
|
|
198
|
+
};
|
|
199
|
+
subnets: {
|
|
200
|
+
type: {
|
|
201
|
+
name: string;
|
|
202
|
+
owners: string[];
|
|
203
|
+
priority: number;
|
|
204
|
+
constructWithIdentifierOnly: boolean;
|
|
205
|
+
properties: {
|
|
206
|
+
address: {
|
|
207
|
+
type: string;
|
|
208
|
+
collection: boolean;
|
|
209
|
+
writeable: boolean;
|
|
210
|
+
identifier: boolean;
|
|
211
|
+
};
|
|
212
|
+
networks: {
|
|
213
|
+
type: string;
|
|
214
|
+
collection: boolean;
|
|
215
|
+
writeable: boolean;
|
|
216
|
+
};
|
|
217
|
+
prefixLength: {
|
|
218
|
+
type: string;
|
|
219
|
+
collection: boolean;
|
|
220
|
+
writeable: boolean;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
collection: boolean;
|
|
225
|
+
writeable: boolean;
|
|
226
|
+
};
|
|
227
|
+
dns: {
|
|
228
|
+
type: {
|
|
229
|
+
name: string;
|
|
230
|
+
owners: string[];
|
|
231
|
+
priority: number;
|
|
232
|
+
properties: {
|
|
233
|
+
hasSVRRecords: {
|
|
234
|
+
type: string;
|
|
235
|
+
collection: boolean;
|
|
236
|
+
writeable: boolean;
|
|
237
|
+
};
|
|
238
|
+
hasCatalog: {
|
|
239
|
+
type: string;
|
|
240
|
+
collection: boolean;
|
|
241
|
+
writeable: boolean;
|
|
242
|
+
};
|
|
243
|
+
recordTTL: {
|
|
244
|
+
type: string;
|
|
245
|
+
collection: boolean;
|
|
246
|
+
writeable: boolean;
|
|
247
|
+
};
|
|
248
|
+
soaUpdates: {
|
|
249
|
+
type: string;
|
|
250
|
+
collection: boolean;
|
|
251
|
+
writeable: boolean;
|
|
252
|
+
};
|
|
253
|
+
forwardsTo: {
|
|
254
|
+
type: string;
|
|
255
|
+
collection: boolean;
|
|
256
|
+
writeable: boolean;
|
|
257
|
+
};
|
|
258
|
+
allowedUpdates: {
|
|
259
|
+
type: string;
|
|
260
|
+
collection: boolean;
|
|
261
|
+
writeable: boolean;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
collection: boolean;
|
|
266
|
+
writeable: boolean;
|
|
267
|
+
};
|
|
268
|
+
ntp: {
|
|
269
|
+
type: string;
|
|
270
|
+
collection: boolean;
|
|
271
|
+
writeable: boolean;
|
|
272
|
+
};
|
|
273
|
+
domain: {
|
|
274
|
+
type: string;
|
|
275
|
+
collection: boolean;
|
|
276
|
+
writeable: boolean;
|
|
277
|
+
};
|
|
278
|
+
administratorEmail: {
|
|
279
|
+
type: string;
|
|
280
|
+
collection: boolean;
|
|
281
|
+
writeable: boolean;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
properties: {
|
|
286
|
+
country: {
|
|
287
|
+
type: string;
|
|
288
|
+
writeable: boolean;
|
|
289
|
+
};
|
|
290
|
+
locales: {
|
|
291
|
+
type: string;
|
|
292
|
+
collection: boolean;
|
|
293
|
+
writeable: boolean;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
5
297
|
properties: {};
|
|
6
298
|
};
|
|
7
299
|
constructor(directory: any);
|
|
8
300
|
get fullName(): string;
|
|
9
301
|
get root(): this;
|
|
302
|
+
_load(name: any, type: any): any;
|
|
10
303
|
load(name: any, options: any): any;
|
|
11
304
|
loadAll(): Promise<void>;
|
|
12
305
|
}
|
package/types/service.d.mts
CHANGED
|
@@ -1,49 +1,103 @@
|
|
|
1
1
|
export class Service extends Base {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
owners: string[];
|
|
5
|
+
priority: number;
|
|
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
|
ipAddresses: {
|
|
7
40
|
type: string;
|
|
8
41
|
collection: boolean;
|
|
42
|
+
writeable: boolean;
|
|
9
43
|
};
|
|
10
44
|
addresses: {
|
|
11
45
|
type: string;
|
|
12
46
|
collection: boolean;
|
|
47
|
+
writeable: boolean;
|
|
13
48
|
};
|
|
14
49
|
port: {
|
|
15
50
|
type: string;
|
|
51
|
+
collection: boolean;
|
|
52
|
+
writeable: boolean;
|
|
16
53
|
};
|
|
17
54
|
protocol: {
|
|
18
55
|
type: string;
|
|
56
|
+
collection: boolean;
|
|
57
|
+
writeable: boolean;
|
|
19
58
|
};
|
|
20
59
|
alias: {
|
|
21
60
|
type: string;
|
|
61
|
+
collection: boolean;
|
|
62
|
+
writeable: boolean;
|
|
22
63
|
};
|
|
23
64
|
type: {
|
|
24
65
|
type: string;
|
|
66
|
+
collection: boolean;
|
|
67
|
+
writeable: boolean;
|
|
25
68
|
};
|
|
26
69
|
master: {
|
|
27
70
|
type: string;
|
|
71
|
+
collection: boolean;
|
|
72
|
+
writeable: boolean;
|
|
28
73
|
};
|
|
29
74
|
priority: {
|
|
30
75
|
type: string;
|
|
76
|
+
collection: boolean;
|
|
77
|
+
writeable: boolean;
|
|
31
78
|
};
|
|
32
79
|
weight: {
|
|
33
80
|
type: string;
|
|
81
|
+
collection: boolean;
|
|
82
|
+
writeable: boolean;
|
|
34
83
|
};
|
|
35
84
|
};
|
|
36
85
|
};
|
|
37
86
|
alias: any;
|
|
38
|
-
|
|
39
|
-
get srvPrefix(): string;
|
|
87
|
+
set ipAddresses(value: any);
|
|
40
88
|
get ipAddresses(): any;
|
|
41
89
|
get addresses(): any;
|
|
90
|
+
set port(value: any);
|
|
42
91
|
get port(): any;
|
|
92
|
+
set priority(value: any);
|
|
43
93
|
get priority(): any;
|
|
94
|
+
set weight(value: any);
|
|
44
95
|
get weight(): any;
|
|
45
|
-
|
|
96
|
+
set type(value: any);
|
|
46
97
|
get type(): any;
|
|
98
|
+
get master(): any;
|
|
99
|
+
get protocol(): any;
|
|
100
|
+
get srvPrefix(): string;
|
|
47
101
|
#private;
|
|
48
102
|
}
|
|
49
103
|
import { Base } from "./base.mjs";
|
package/types/subnet.d.mts
CHANGED
|
@@ -1,26 +1,35 @@
|
|
|
1
1
|
export class Subnet extends Base {
|
|
2
2
|
static get typeDefinition(): {
|
|
3
3
|
name: string;
|
|
4
|
+
owners: string[];
|
|
5
|
+
priority: number;
|
|
6
|
+
constructWithIdentifierOnly: boolean;
|
|
4
7
|
properties: {
|
|
5
8
|
address: {
|
|
6
9
|
type: string;
|
|
10
|
+
collection: boolean;
|
|
11
|
+
writeable: boolean;
|
|
12
|
+
identifier: boolean;
|
|
7
13
|
};
|
|
8
14
|
networks: {
|
|
9
15
|
type: string;
|
|
10
16
|
collection: boolean;
|
|
17
|
+
writeable: boolean;
|
|
11
18
|
};
|
|
12
19
|
prefixLength: {
|
|
13
20
|
type: string;
|
|
21
|
+
collection: boolean;
|
|
14
22
|
writeable: boolean;
|
|
15
23
|
};
|
|
16
24
|
};
|
|
17
25
|
};
|
|
18
26
|
networks: Set<any>;
|
|
27
|
+
get fullName(): string;
|
|
19
28
|
matchesAddress(address: any): any;
|
|
20
29
|
get isLinkLocal(): any;
|
|
21
|
-
get prefix():
|
|
30
|
+
get prefix(): string;
|
|
22
31
|
get prefixLength(): number;
|
|
23
|
-
get address():
|
|
32
|
+
get address(): string;
|
|
24
33
|
_traverse(...args: any[]): boolean;
|
|
25
34
|
}
|
|
26
35
|
import { Base } from "./base.mjs";
|
package/types/types.d.mts
CHANGED