pmcf 2.74.0 → 2.74.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.74.0",
3
+ "version": "2.74.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "ip-utilties": "^1.4.7",
54
54
  "npm-pkgbuild": "^18.2.12",
55
- "pacc": "^3.12.0",
55
+ "pacc": "^3.13.0",
56
56
  "package-directory": "^8.1.0"
57
57
  },
58
58
  "devDependencies": {
package/src/host.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  import { readFile } from "node:fs/promises";
2
2
  import { join } from "node:path";
3
3
  import { FileContentProvider } from "npm-pkgbuild";
4
+ import { default_attribute } from "pacc";
4
5
  import { ServiceOwner, Base, addresses } from "pmcf";
5
6
  import { networkAddressProperties } from "./network-support.mjs";
6
7
  import { addHook } from "./hooks.mjs";
@@ -32,26 +33,23 @@ const HostTypeDefinition = {
32
33
  services: { type: "service", collection: true, writeable: true },
33
34
  aliases: { type: "string", collection: true, writeable: true },
34
35
  os: {
35
- type: "string",
36
- collection: false,
36
+ ...default_attribute,
37
37
  writeable: true,
38
38
  values: ["osx", "windows", "linux"]
39
39
  },
40
- "machine-id": { type: "string", collection: false, writeable: true },
41
- distribution: { type: "string", collection: false, writeable: true },
40
+ "machine-id": { ...default_attribute, writeable: true },
41
+ distribution: { ...default_attribute, writeable: true },
42
42
  deployment: {
43
- type: "string",
44
- collection: false,
43
+ ...default_attribute,
45
44
  writeable: true,
46
45
  values: ["production", "development"]
47
46
  },
48
47
  weight: { type: "number", collection: false, writeable: true },
49
- serial: { type: "string", collection: false, writeable: true },
50
- vendor: { type: "string", collection: false, writeable: true },
51
- keymap: { type: "string", collection: false, writeable: true },
48
+ serial: { ...default_attribute, writeable: true },
49
+ vendor: { ...default_attribute, writeable: true },
50
+ keymap: { ...default_attribute, writeable: true },
52
51
  chassis: {
53
- type: "string",
54
- collection: false,
52
+ ...default_attribute,
55
53
  writeable: true,
56
54
  values: [
57
55
  "phone",
@@ -69,8 +67,7 @@ const HostTypeDefinition = {
69
67
  ]
70
68
  },
71
69
  architecture: {
72
- type: "string",
73
- collection: false,
70
+ ...default_attribute,
74
71
  writeable: true,
75
72
  values: ["x86", "x86_64", "aarch64", "armv7"]
76
73
  },
@@ -516,11 +513,9 @@ export class Host extends ServiceOwner {
516
513
 
517
514
  for (const service of this.services) {
518
515
  if (service.systemdConfigs) {
519
- for (const {
520
- serviceName,
521
- configFileName,
522
- content
523
- } of asArray(service.systemdConfigs(this.name))) {
516
+ for (const { serviceName, configFileName, content } of asArray(
517
+ service.systemdConfigs(this.name)
518
+ )) {
524
519
  await writeLines(dir, configFileName, sectionLines(...content));
525
520
 
526
521
  addHook(
package/src/owner.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { normalizeCIDR, familyIP } from "ip-utilties";
2
+ import { default_attribute, email_attribute } from "pacc";
2
3
  import { asIterator } from "./utils.mjs";
3
4
  import { Base } from "./base.mjs";
4
5
  import { Subnet, SUBNET_GLOBAL_IPV4, SUBNET_GLOBAL_IPV6 } from "./subnet.mjs";
@@ -14,14 +15,13 @@ const OwnerTypeDefinition = {
14
15
  hosts: { type: "host", collection: true, writeable: true },
15
16
  clusters: { type: "cluster", collection: true, writeable: true },
16
17
  subnets: { type: Subnet.typeDefinition, collection: true, writeable: true },
17
-
18
- country: { type: "string", collection: false, writeable: true },
19
- domain: { type: "string", collection: false, writeable: true },
18
+ country: { ...default_attribute, writeable: true },
19
+ domain: { ...default_attribute, writeable: true },
20
20
  domains: { type: "string", collection: true, writeable: true },
21
21
  timezone: { type: "string", collection: false, writeable: true },
22
22
  architectures: { type: "string", collection: true, writeable: true },
23
23
  locales: { type: "string", collection: true, writeable: true },
24
- administratorEmail: { type: "string", collection: false, writeable: true }
24
+ administratorEmail: { ...email_attribute, writeable: true }
25
25
  }
26
26
  };
27
27
 
@@ -94,7 +94,7 @@ const KeaServiceTypeDefinition = {
94
94
  };
95
95
 
96
96
  const keaVersion = 3.0;
97
- export const fetureHasHTTPEndpoints = keaVersion > 2.7;
97
+ export const fetureHasHTTPEndpoints = keaVersion >= 3.0;
98
98
 
99
99
  export class KeaService extends Service {
100
100
  static {
package/src/subnet.mjs CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  familyIP,
7
7
  matchPrefixIP
8
8
  } from "ip-utilties";
9
+ import { default_attribute } from "pacc";
9
10
  import { Base } from "./base.mjs";
10
11
  import { addType } from "./types.mjs";
11
12
 
@@ -16,9 +17,7 @@ const SubnetTypeDefinition = {
16
17
  constructWithIdentifierOnly: true,
17
18
  properties: {
18
19
  address: {
19
- type: "string",
20
- collection: false,
21
- writeable: false,
20
+ ...default_attribute,
22
21
  identifier: true
23
22
  },
24
23
  networks: { type: "network", collection: true, writeable: true },
@@ -126,10 +126,20 @@ export class Cluster extends Host {
126
126
  constructWithIdentifierOnly: boolean;
127
127
  properties: {
128
128
  address: {
129
+ identifier: boolean;
129
130
  type: string;
131
+ isKey: boolean;
132
+ writable: boolean;
133
+ mandatory: boolean;
130
134
  collection: boolean;
131
- writeable: boolean;
132
- identifier: boolean;
135
+ private?: boolean;
136
+ depends?: string;
137
+ additionalAttributes: string[];
138
+ description?: string;
139
+ default?: any;
140
+ set?: Function;
141
+ get?: Function;
142
+ env?: string[] | string;
133
143
  };
134
144
  networks: {
135
145
  type: string;
@@ -147,14 +157,36 @@ export class Cluster extends Host {
147
157
  writeable: boolean;
148
158
  };
149
159
  country: {
160
+ writeable: boolean;
150
161
  type: string;
162
+ isKey: boolean;
163
+ writable: boolean;
164
+ mandatory: boolean;
151
165
  collection: boolean;
152
- writeable: boolean;
166
+ private?: boolean;
167
+ depends?: string;
168
+ additionalAttributes: string[];
169
+ description?: string;
170
+ default?: any;
171
+ set?: Function;
172
+ get?: Function;
173
+ env?: string[] | string;
153
174
  };
154
175
  domain: {
176
+ writeable: boolean;
155
177
  type: string;
178
+ isKey: boolean;
179
+ writable: boolean;
180
+ mandatory: boolean;
156
181
  collection: boolean;
157
- writeable: boolean;
182
+ private?: boolean;
183
+ depends?: string;
184
+ additionalAttributes: string[];
185
+ description?: string;
186
+ default?: any;
187
+ set?: Function;
188
+ get?: Function;
189
+ env?: string[] | string;
158
190
  };
159
191
  domains: {
160
192
  type: string;
@@ -177,9 +209,20 @@ export class Cluster extends Host {
177
209
  writeable: boolean;
178
210
  };
179
211
  administratorEmail: {
212
+ writeable: boolean;
180
213
  type: string;
214
+ isKey: boolean;
215
+ writable: boolean;
216
+ mandatory: boolean;
181
217
  collection: boolean;
182
- writeable: boolean;
218
+ private?: boolean;
219
+ depends?: string;
220
+ additionalAttributes: string[];
221
+ description?: string;
222
+ default?: any;
223
+ set?: Function;
224
+ get?: Function;
225
+ env?: string[] | string;
183
226
  };
184
227
  };
185
228
  })[];
@@ -302,26 +345,70 @@ export class Cluster extends Host {
302
345
  writeable: boolean;
303
346
  };
304
347
  os: {
305
- type: string;
306
- collection: boolean;
307
348
  writeable: boolean;
308
349
  values: string[];
350
+ type: string;
351
+ isKey: boolean;
352
+ writable: boolean;
353
+ mandatory: boolean;
354
+ collection: boolean;
355
+ private?: boolean;
356
+ depends?: string;
357
+ additionalAttributes: string[];
358
+ description?: string;
359
+ default?: any;
360
+ set?: Function;
361
+ get?: Function;
362
+ env?: string[] | string;
309
363
  };
310
364
  "machine-id": {
365
+ writeable: boolean;
311
366
  type: string;
367
+ isKey: boolean;
368
+ writable: boolean;
369
+ mandatory: boolean;
312
370
  collection: boolean;
313
- writeable: boolean;
371
+ private?: boolean;
372
+ depends?: string;
373
+ additionalAttributes: string[];
374
+ description?: string;
375
+ default?: any;
376
+ set?: Function;
377
+ get?: Function;
378
+ env?: string[] | string;
314
379
  };
315
380
  distribution: {
381
+ writeable: boolean;
316
382
  type: string;
383
+ isKey: boolean;
384
+ writable: boolean;
385
+ mandatory: boolean;
317
386
  collection: boolean;
318
- writeable: boolean;
387
+ private?: boolean;
388
+ depends?: string;
389
+ additionalAttributes: string[];
390
+ description?: string;
391
+ default?: any;
392
+ set?: Function;
393
+ get?: Function;
394
+ env?: string[] | string;
319
395
  };
320
396
  deployment: {
321
- type: string;
322
- collection: boolean;
323
397
  writeable: boolean;
324
398
  values: string[];
399
+ type: string;
400
+ isKey: boolean;
401
+ writable: boolean;
402
+ mandatory: boolean;
403
+ collection: boolean;
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;
325
412
  };
326
413
  weight: {
327
414
  type: string;
@@ -329,31 +416,86 @@ export class Cluster extends Host {
329
416
  writeable: boolean;
330
417
  };
331
418
  serial: {
419
+ writeable: boolean;
332
420
  type: string;
421
+ isKey: boolean;
422
+ writable: boolean;
423
+ mandatory: boolean;
333
424
  collection: boolean;
334
- writeable: boolean;
425
+ private?: boolean;
426
+ depends?: string;
427
+ additionalAttributes: string[];
428
+ description?: string;
429
+ default?: any;
430
+ set?: Function;
431
+ get?: Function;
432
+ env?: string[] | string;
335
433
  };
336
434
  vendor: {
435
+ writeable: boolean;
337
436
  type: string;
437
+ isKey: boolean;
438
+ writable: boolean;
439
+ mandatory: boolean;
338
440
  collection: boolean;
339
- writeable: boolean;
441
+ private?: boolean;
442
+ depends?: string;
443
+ additionalAttributes: string[];
444
+ description?: string;
445
+ default?: any;
446
+ set?: Function;
447
+ get?: Function;
448
+ env?: string[] | string;
340
449
  };
341
450
  keymap: {
451
+ writeable: boolean;
342
452
  type: string;
453
+ isKey: boolean;
454
+ writable: boolean;
455
+ mandatory: boolean;
343
456
  collection: boolean;
344
- writeable: boolean;
457
+ private?: boolean;
458
+ depends?: string;
459
+ additionalAttributes: string[];
460
+ description?: string;
461
+ default?: any;
462
+ set?: Function;
463
+ get?: Function;
464
+ env?: string[] | string;
345
465
  };
346
466
  chassis: {
347
- type: string;
348
- collection: boolean;
349
467
  writeable: boolean;
350
468
  values: string[];
351
- };
352
- architecture: {
353
469
  type: string;
470
+ isKey: boolean;
471
+ writable: boolean;
472
+ mandatory: boolean;
354
473
  collection: boolean;
474
+ private?: boolean;
475
+ depends?: string;
476
+ additionalAttributes: string[];
477
+ description?: string;
478
+ default?: any;
479
+ set?: Function;
480
+ get?: Function;
481
+ env?: string[] | string;
482
+ };
483
+ architecture: {
355
484
  writeable: boolean;
356
485
  values: string[];
486
+ type: string;
487
+ isKey: boolean;
488
+ writable: boolean;
489
+ mandatory: boolean;
490
+ collection: boolean;
491
+ private?: boolean;
492
+ depends?: string;
493
+ additionalAttributes: string[];
494
+ description?: string;
495
+ default?: any;
496
+ set?: Function;
497
+ get?: Function;
498
+ env?: string[] | string;
357
499
  };
358
500
  replaces: {
359
501
  type: string;
package/types/host.d.mts CHANGED
@@ -117,26 +117,70 @@ export class Host extends ServiceOwner {
117
117
  writeable: boolean;
118
118
  };
119
119
  os: {
120
- type: string;
121
- collection: boolean;
122
120
  writeable: boolean;
123
121
  values: string[];
122
+ type: string;
123
+ isKey: boolean;
124
+ writable: boolean;
125
+ mandatory: boolean;
126
+ collection: boolean;
127
+ private?: boolean;
128
+ depends?: string;
129
+ additionalAttributes: string[];
130
+ description?: string;
131
+ default?: any;
132
+ set?: Function;
133
+ get?: Function;
134
+ env?: string[] | string;
124
135
  };
125
136
  "machine-id": {
137
+ writeable: boolean;
126
138
  type: string;
139
+ isKey: boolean;
140
+ writable: boolean;
141
+ mandatory: boolean;
127
142
  collection: boolean;
128
- writeable: boolean;
143
+ private?: boolean;
144
+ depends?: string;
145
+ additionalAttributes: string[];
146
+ description?: string;
147
+ default?: any;
148
+ set?: Function;
149
+ get?: Function;
150
+ env?: string[] | string;
129
151
  };
130
152
  distribution: {
153
+ writeable: boolean;
131
154
  type: string;
155
+ isKey: boolean;
156
+ writable: boolean;
157
+ mandatory: boolean;
132
158
  collection: boolean;
133
- writeable: boolean;
159
+ private?: boolean;
160
+ depends?: string;
161
+ additionalAttributes: string[];
162
+ description?: string;
163
+ default?: any;
164
+ set?: Function;
165
+ get?: Function;
166
+ env?: string[] | string;
134
167
  };
135
168
  deployment: {
136
- type: string;
137
- collection: boolean;
138
169
  writeable: boolean;
139
170
  values: string[];
171
+ type: string;
172
+ isKey: boolean;
173
+ writable: boolean;
174
+ mandatory: boolean;
175
+ collection: boolean;
176
+ private?: boolean;
177
+ depends?: string;
178
+ additionalAttributes: string[];
179
+ description?: string;
180
+ default?: any;
181
+ set?: Function;
182
+ get?: Function;
183
+ env?: string[] | string;
140
184
  };
141
185
  weight: {
142
186
  type: string;
@@ -144,31 +188,86 @@ export class Host extends ServiceOwner {
144
188
  writeable: boolean;
145
189
  };
146
190
  serial: {
191
+ writeable: boolean;
147
192
  type: string;
193
+ isKey: boolean;
194
+ writable: boolean;
195
+ mandatory: boolean;
148
196
  collection: boolean;
149
- writeable: boolean;
197
+ private?: boolean;
198
+ depends?: string;
199
+ additionalAttributes: string[];
200
+ description?: string;
201
+ default?: any;
202
+ set?: Function;
203
+ get?: Function;
204
+ env?: string[] | string;
150
205
  };
151
206
  vendor: {
207
+ writeable: boolean;
152
208
  type: string;
209
+ isKey: boolean;
210
+ writable: boolean;
211
+ mandatory: boolean;
153
212
  collection: boolean;
154
- writeable: boolean;
213
+ private?: boolean;
214
+ depends?: string;
215
+ additionalAttributes: string[];
216
+ description?: string;
217
+ default?: any;
218
+ set?: Function;
219
+ get?: Function;
220
+ env?: string[] | string;
155
221
  };
156
222
  keymap: {
223
+ writeable: boolean;
157
224
  type: string;
225
+ isKey: boolean;
226
+ writable: boolean;
227
+ mandatory: boolean;
158
228
  collection: boolean;
159
- writeable: boolean;
229
+ private?: boolean;
230
+ depends?: string;
231
+ additionalAttributes: string[];
232
+ description?: string;
233
+ default?: any;
234
+ set?: Function;
235
+ get?: Function;
236
+ env?: string[] | string;
160
237
  };
161
238
  chassis: {
162
- type: string;
163
- collection: boolean;
164
239
  writeable: boolean;
165
240
  values: string[];
166
- };
167
- architecture: {
168
241
  type: string;
242
+ isKey: boolean;
243
+ writable: boolean;
244
+ mandatory: boolean;
169
245
  collection: boolean;
246
+ private?: boolean;
247
+ depends?: string;
248
+ additionalAttributes: string[];
249
+ description?: string;
250
+ default?: any;
251
+ set?: Function;
252
+ get?: Function;
253
+ env?: string[] | string;
254
+ };
255
+ architecture: {
170
256
  writeable: boolean;
171
257
  values: string[];
258
+ type: string;
259
+ isKey: boolean;
260
+ writable: boolean;
261
+ mandatory: boolean;
262
+ collection: boolean;
263
+ private?: boolean;
264
+ depends?: string;
265
+ additionalAttributes: string[];
266
+ description?: string;
267
+ default?: any;
268
+ set?: Function;
269
+ get?: Function;
270
+ env?: string[] | string;
172
271
  };
173
272
  replaces: {
174
273
  type: string;
@@ -126,10 +126,20 @@ export class Location extends Owner {
126
126
  constructWithIdentifierOnly: boolean;
127
127
  properties: {
128
128
  address: {
129
+ identifier: boolean;
129
130
  type: string;
131
+ isKey: boolean;
132
+ writable: boolean;
133
+ mandatory: boolean;
130
134
  collection: boolean;
131
- writeable: boolean;
132
- identifier: boolean;
135
+ private?: boolean;
136
+ depends?: string;
137
+ additionalAttributes: string[];
138
+ description?: string;
139
+ default?: any;
140
+ set?: Function;
141
+ get?: Function;
142
+ env?: string[] | string;
133
143
  };
134
144
  networks: {
135
145
  type: string;
@@ -147,14 +157,36 @@ export class Location extends Owner {
147
157
  writeable: boolean;
148
158
  };
149
159
  country: {
160
+ writeable: boolean;
150
161
  type: string;
162
+ isKey: boolean;
163
+ writable: boolean;
164
+ mandatory: boolean;
151
165
  collection: boolean;
152
- writeable: boolean;
166
+ private?: boolean;
167
+ depends?: string;
168
+ additionalAttributes: string[];
169
+ description?: string;
170
+ default?: any;
171
+ set?: Function;
172
+ get?: Function;
173
+ env?: string[] | string;
153
174
  };
154
175
  domain: {
176
+ writeable: boolean;
155
177
  type: string;
178
+ isKey: boolean;
179
+ writable: boolean;
180
+ mandatory: boolean;
156
181
  collection: boolean;
157
- writeable: boolean;
182
+ private?: boolean;
183
+ depends?: string;
184
+ additionalAttributes: string[];
185
+ description?: string;
186
+ default?: any;
187
+ set?: Function;
188
+ get?: Function;
189
+ env?: string[] | string;
158
190
  };
159
191
  domains: {
160
192
  type: string;
@@ -177,9 +209,20 @@ export class Location extends Owner {
177
209
  writeable: boolean;
178
210
  };
179
211
  administratorEmail: {
212
+ writeable: boolean;
180
213
  type: string;
214
+ isKey: boolean;
215
+ writable: boolean;
216
+ mandatory: boolean;
181
217
  collection: boolean;
182
- writeable: boolean;
218
+ private?: boolean;
219
+ depends?: string;
220
+ additionalAttributes: string[];
221
+ description?: string;
222
+ default?: any;
223
+ set?: Function;
224
+ get?: Function;
225
+ env?: string[] | string;
183
226
  };
184
227
  };
185
228
  })[];
@@ -309,10 +352,20 @@ export class Location extends Owner {
309
352
  constructWithIdentifierOnly: boolean;
310
353
  properties: {
311
354
  address: {
355
+ identifier: boolean;
312
356
  type: string;
357
+ isKey: boolean;
358
+ writable: boolean;
359
+ mandatory: boolean;
313
360
  collection: boolean;
314
- writeable: boolean;
315
- identifier: boolean;
361
+ private?: boolean;
362
+ depends?: string;
363
+ additionalAttributes: string[];
364
+ description?: string;
365
+ default?: any;
366
+ set?: Function;
367
+ get?: Function;
368
+ env?: string[] | string;
316
369
  };
317
370
  networks: {
318
371
  type: string;
@@ -330,14 +383,36 @@ export class Location extends Owner {
330
383
  writeable: boolean;
331
384
  };
332
385
  country: {
386
+ writeable: boolean;
333
387
  type: string;
388
+ isKey: boolean;
389
+ writable: boolean;
390
+ mandatory: boolean;
334
391
  collection: boolean;
335
- writeable: boolean;
392
+ private?: boolean;
393
+ depends?: string;
394
+ additionalAttributes: string[];
395
+ description?: string;
396
+ default?: any;
397
+ set?: Function;
398
+ get?: Function;
399
+ env?: string[] | string;
336
400
  };
337
401
  domain: {
402
+ writeable: boolean;
338
403
  type: string;
404
+ isKey: boolean;
405
+ writable: boolean;
406
+ mandatory: boolean;
339
407
  collection: boolean;
340
- writeable: boolean;
408
+ private?: boolean;
409
+ depends?: string;
410
+ additionalAttributes: string[];
411
+ description?: string;
412
+ default?: any;
413
+ set?: Function;
414
+ get?: Function;
415
+ env?: string[] | string;
341
416
  };
342
417
  domains: {
343
418
  type: string;
@@ -360,9 +435,20 @@ export class Location extends Owner {
360
435
  writeable: boolean;
361
436
  };
362
437
  administratorEmail: {
438
+ writeable: boolean;
363
439
  type: string;
440
+ isKey: boolean;
441
+ writable: boolean;
442
+ mandatory: boolean;
364
443
  collection: boolean;
365
- writeable: boolean;
444
+ private?: boolean;
445
+ depends?: string;
446
+ additionalAttributes: string[];
447
+ description?: string;
448
+ default?: any;
449
+ set?: Function;
450
+ get?: Function;
451
+ env?: string[] | string;
366
452
  };
367
453
  };
368
454
  };
@@ -128,10 +128,20 @@ export class Network extends Owner {
128
128
  constructWithIdentifierOnly: boolean;
129
129
  properties: {
130
130
  address: {
131
+ identifier: boolean;
131
132
  type: string;
133
+ isKey: boolean;
134
+ writable: boolean;
135
+ mandatory: boolean;
132
136
  collection: boolean;
133
- writeable: boolean;
134
- identifier: boolean;
137
+ private?: boolean;
138
+ depends?: string;
139
+ additionalAttributes: string[];
140
+ description?: string;
141
+ default?: any;
142
+ set?: Function;
143
+ get?: Function;
144
+ env?: string[] | string;
135
145
  };
136
146
  networks: {
137
147
  type: string;
@@ -149,14 +159,36 @@ export class Network extends Owner {
149
159
  writeable: boolean;
150
160
  };
151
161
  country: {
162
+ writeable: boolean;
152
163
  type: string;
164
+ isKey: boolean;
165
+ writable: boolean;
166
+ mandatory: boolean;
153
167
  collection: boolean;
154
- writeable: boolean;
168
+ private?: boolean;
169
+ depends?: string;
170
+ additionalAttributes: string[];
171
+ description?: string;
172
+ default?: any;
173
+ set?: Function;
174
+ get?: Function;
175
+ env?: string[] | string;
155
176
  };
156
177
  domain: {
178
+ writeable: boolean;
157
179
  type: string;
180
+ isKey: boolean;
181
+ writable: boolean;
182
+ mandatory: boolean;
158
183
  collection: boolean;
159
- writeable: boolean;
184
+ private?: boolean;
185
+ depends?: string;
186
+ additionalAttributes: string[];
187
+ description?: string;
188
+ default?: any;
189
+ set?: Function;
190
+ get?: Function;
191
+ env?: string[] | string;
160
192
  };
161
193
  domains: {
162
194
  type: string;
@@ -179,9 +211,20 @@ export class Network extends Owner {
179
211
  writeable: boolean;
180
212
  };
181
213
  administratorEmail: {
214
+ writeable: boolean;
182
215
  type: string;
216
+ isKey: boolean;
217
+ writable: boolean;
218
+ mandatory: boolean;
183
219
  collection: boolean;
184
- writeable: boolean;
220
+ private?: boolean;
221
+ depends?: string;
222
+ additionalAttributes: string[];
223
+ description?: string;
224
+ default?: any;
225
+ set?: Function;
226
+ get?: Function;
227
+ env?: string[] | string;
185
228
  };
186
229
  };
187
230
  };
package/types/owner.d.mts CHANGED
@@ -124,10 +124,20 @@ export class Owner extends Base {
124
124
  constructWithIdentifierOnly: boolean;
125
125
  properties: {
126
126
  address: {
127
+ identifier: boolean;
127
128
  type: string;
129
+ isKey: boolean;
130
+ writable: boolean;
131
+ mandatory: boolean;
128
132
  collection: boolean;
129
- writeable: boolean;
130
- identifier: boolean;
133
+ private?: boolean;
134
+ depends?: string;
135
+ additionalAttributes: string[];
136
+ description?: string;
137
+ default?: any;
138
+ set?: Function;
139
+ get?: Function;
140
+ env?: string[] | string;
131
141
  };
132
142
  networks: {
133
143
  type: string;
@@ -145,14 +155,36 @@ export class Owner extends Base {
145
155
  writeable: boolean;
146
156
  };
147
157
  country: {
158
+ writeable: boolean;
148
159
  type: string;
160
+ isKey: boolean;
161
+ writable: boolean;
162
+ mandatory: boolean;
149
163
  collection: boolean;
150
- writeable: boolean;
164
+ private?: boolean;
165
+ depends?: string;
166
+ additionalAttributes: string[];
167
+ description?: string;
168
+ default?: any;
169
+ set?: Function;
170
+ get?: Function;
171
+ env?: string[] | string;
151
172
  };
152
173
  domain: {
174
+ writeable: boolean;
153
175
  type: string;
176
+ isKey: boolean;
177
+ writable: boolean;
178
+ mandatory: boolean;
154
179
  collection: boolean;
155
- writeable: boolean;
180
+ private?: boolean;
181
+ depends?: string;
182
+ additionalAttributes: string[];
183
+ description?: string;
184
+ default?: any;
185
+ set?: Function;
186
+ get?: Function;
187
+ env?: string[] | string;
156
188
  };
157
189
  domains: {
158
190
  type: string;
@@ -175,9 +207,20 @@ export class Owner extends Base {
175
207
  writeable: boolean;
176
208
  };
177
209
  administratorEmail: {
210
+ writeable: boolean;
178
211
  type: string;
212
+ isKey: boolean;
213
+ writable: boolean;
214
+ mandatory: boolean;
179
215
  collection: boolean;
180
- writeable: boolean;
216
+ private?: boolean;
217
+ depends?: string;
218
+ additionalAttributes: string[];
219
+ description?: string;
220
+ default?: any;
221
+ set?: Function;
222
+ get?: Function;
223
+ env?: string[] | string;
181
224
  };
182
225
  };
183
226
  };
package/types/root.d.mts CHANGED
@@ -130,10 +130,20 @@ export class Root extends Location {
130
130
  constructWithIdentifierOnly: boolean;
131
131
  properties: {
132
132
  address: {
133
+ identifier: boolean;
133
134
  type: string;
135
+ isKey: boolean;
136
+ writable: boolean;
137
+ mandatory: boolean;
134
138
  collection: boolean;
135
- writeable: boolean;
136
- identifier: boolean;
139
+ private?: boolean;
140
+ depends?: string;
141
+ additionalAttributes: string[];
142
+ description?: string;
143
+ default?: any;
144
+ set?: Function;
145
+ get?: Function;
146
+ env?: string[] | string;
137
147
  };
138
148
  networks: {
139
149
  type: string;
@@ -151,14 +161,36 @@ export class Root extends Location {
151
161
  writeable: boolean;
152
162
  };
153
163
  country: {
164
+ writeable: boolean;
154
165
  type: string;
166
+ isKey: boolean;
167
+ writable: boolean;
168
+ mandatory: boolean;
155
169
  collection: boolean;
156
- writeable: boolean;
170
+ private?: boolean;
171
+ depends?: string;
172
+ additionalAttributes: string[];
173
+ description?: string;
174
+ default?: any;
175
+ set?: Function;
176
+ get?: Function;
177
+ env?: string[] | string;
157
178
  };
158
179
  domain: {
180
+ writeable: boolean;
159
181
  type: string;
182
+ isKey: boolean;
183
+ writable: boolean;
184
+ mandatory: boolean;
160
185
  collection: boolean;
161
- writeable: boolean;
186
+ private?: boolean;
187
+ depends?: string;
188
+ additionalAttributes: string[];
189
+ description?: string;
190
+ default?: any;
191
+ set?: Function;
192
+ get?: Function;
193
+ env?: string[] | string;
162
194
  };
163
195
  domains: {
164
196
  type: string;
@@ -181,9 +213,20 @@ export class Root extends Location {
181
213
  writeable: boolean;
182
214
  };
183
215
  administratorEmail: {
216
+ writeable: boolean;
184
217
  type: string;
218
+ isKey: boolean;
219
+ writable: boolean;
220
+ mandatory: boolean;
185
221
  collection: boolean;
186
- writeable: boolean;
222
+ private?: boolean;
223
+ depends?: string;
224
+ additionalAttributes: string[];
225
+ description?: string;
226
+ default?: any;
227
+ set?: Function;
228
+ get?: Function;
229
+ env?: string[] | string;
187
230
  };
188
231
  };
189
232
  })[];
@@ -313,10 +356,20 @@ export class Root extends Location {
313
356
  constructWithIdentifierOnly: boolean;
314
357
  properties: {
315
358
  address: {
359
+ identifier: boolean;
316
360
  type: string;
361
+ isKey: boolean;
362
+ writable: boolean;
363
+ mandatory: boolean;
317
364
  collection: boolean;
318
- writeable: boolean;
319
- identifier: boolean;
365
+ private?: boolean;
366
+ depends?: string;
367
+ additionalAttributes: string[];
368
+ description?: string;
369
+ default?: any;
370
+ set?: Function;
371
+ get?: Function;
372
+ env?: string[] | string;
320
373
  };
321
374
  networks: {
322
375
  type: string;
@@ -334,14 +387,36 @@ export class Root extends Location {
334
387
  writeable: boolean;
335
388
  };
336
389
  country: {
390
+ writeable: boolean;
337
391
  type: string;
392
+ isKey: boolean;
393
+ writable: boolean;
394
+ mandatory: boolean;
338
395
  collection: boolean;
339
- writeable: boolean;
396
+ private?: boolean;
397
+ depends?: string;
398
+ additionalAttributes: string[];
399
+ description?: string;
400
+ default?: any;
401
+ set?: Function;
402
+ get?: Function;
403
+ env?: string[] | string;
340
404
  };
341
405
  domain: {
406
+ writeable: boolean;
342
407
  type: string;
408
+ isKey: boolean;
409
+ writable: boolean;
410
+ mandatory: boolean;
343
411
  collection: boolean;
344
- writeable: boolean;
412
+ private?: boolean;
413
+ depends?: string;
414
+ additionalAttributes: string[];
415
+ description?: string;
416
+ default?: any;
417
+ set?: Function;
418
+ get?: Function;
419
+ env?: string[] | string;
345
420
  };
346
421
  domains: {
347
422
  type: string;
@@ -364,9 +439,20 @@ export class Root extends Location {
364
439
  writeable: boolean;
365
440
  };
366
441
  administratorEmail: {
442
+ writeable: boolean;
367
443
  type: string;
444
+ isKey: boolean;
445
+ writable: boolean;
446
+ mandatory: boolean;
368
447
  collection: boolean;
369
- writeable: boolean;
448
+ private?: boolean;
449
+ depends?: string;
450
+ additionalAttributes: string[];
451
+ description?: string;
452
+ default?: any;
453
+ set?: Function;
454
+ get?: Function;
455
+ env?: string[] | string;
370
456
  };
371
457
  };
372
458
  };
@@ -7,10 +7,20 @@ export class Subnet extends Base {
7
7
  constructWithIdentifierOnly: boolean;
8
8
  properties: {
9
9
  address: {
10
+ identifier: boolean;
10
11
  type: string;
12
+ isKey: boolean;
13
+ writable: boolean;
14
+ mandatory: boolean;
11
15
  collection: boolean;
12
- writeable: boolean;
13
- identifier: boolean;
16
+ private?: boolean;
17
+ depends?: string;
18
+ additionalAttributes: string[];
19
+ description?: string;
20
+ default?: any;
21
+ set?: Function;
22
+ get?: Function;
23
+ env?: string[] | string;
14
24
  };
15
25
  networks: {
16
26
  type: string;