pmcf 2.19.2 → 2.19.4
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 +2 -2
- package/src/host.mjs +4 -321
- package/src/module.mjs +1 -0
- package/src/network-interface.mjs +323 -0
- package/types/host.d.mts +0 -548
- package/types/module.d.mts +1 -0
- package/types/network-interface.d.mts +708 -0
package/types/host.d.mts
CHANGED
|
@@ -259,553 +259,5 @@ export class Host extends Base {
|
|
|
259
259
|
};
|
|
260
260
|
}, void, unknown>;
|
|
261
261
|
}
|
|
262
|
-
export class NetworkInterface extends SkeletonNetworkInterface {
|
|
263
|
-
static get typeDefinition(): {
|
|
264
|
-
name: string;
|
|
265
|
-
priority: number;
|
|
266
|
-
owners: string[];
|
|
267
|
-
extends: {
|
|
268
|
-
name: string;
|
|
269
|
-
owners: any[];
|
|
270
|
-
properties: {
|
|
271
|
-
owner: {
|
|
272
|
-
type: string;
|
|
273
|
-
collection: boolean;
|
|
274
|
-
writeable: boolean;
|
|
275
|
-
};
|
|
276
|
-
type: {
|
|
277
|
-
type: string;
|
|
278
|
-
collection: boolean;
|
|
279
|
-
writeable: boolean;
|
|
280
|
-
};
|
|
281
|
-
name: {
|
|
282
|
-
type: string;
|
|
283
|
-
collection: boolean;
|
|
284
|
-
identifier: boolean;
|
|
285
|
-
writeable: boolean;
|
|
286
|
-
};
|
|
287
|
-
description: {
|
|
288
|
-
type: string;
|
|
289
|
-
collection: boolean;
|
|
290
|
-
writeable: boolean;
|
|
291
|
-
};
|
|
292
|
-
priority: {
|
|
293
|
-
type: string;
|
|
294
|
-
collection: boolean;
|
|
295
|
-
writeable: boolean;
|
|
296
|
-
};
|
|
297
|
-
directory: {
|
|
298
|
-
type: string;
|
|
299
|
-
collection: boolean;
|
|
300
|
-
writeable: boolean;
|
|
301
|
-
};
|
|
302
|
-
packaging: {
|
|
303
|
-
type: string;
|
|
304
|
-
collection: boolean;
|
|
305
|
-
writeable: boolean;
|
|
306
|
-
};
|
|
307
|
-
tags: {
|
|
308
|
-
type: string;
|
|
309
|
-
collection: boolean;
|
|
310
|
-
writeable: boolean;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
specializations: {};
|
|
315
|
-
factoryFor(value: any): any;
|
|
316
|
-
properties: {
|
|
317
|
-
hostName: {
|
|
318
|
-
type: string;
|
|
319
|
-
collection: boolean;
|
|
320
|
-
writeable: boolean;
|
|
321
|
-
};
|
|
322
|
-
ipAddresses: {
|
|
323
|
-
type: string;
|
|
324
|
-
collection: boolean;
|
|
325
|
-
writeable: boolean;
|
|
326
|
-
};
|
|
327
|
-
hwaddr: {
|
|
328
|
-
type: string;
|
|
329
|
-
collection: boolean;
|
|
330
|
-
writeable: boolean;
|
|
331
|
-
};
|
|
332
|
-
network: {
|
|
333
|
-
type: string;
|
|
334
|
-
collection: boolean;
|
|
335
|
-
writeable: boolean;
|
|
336
|
-
};
|
|
337
|
-
destination: {
|
|
338
|
-
type: string;
|
|
339
|
-
collection: boolean;
|
|
340
|
-
writeable: boolean;
|
|
341
|
-
};
|
|
342
|
-
arpbridge: {
|
|
343
|
-
type: string;
|
|
344
|
-
collection: boolean;
|
|
345
|
-
writeable: boolean;
|
|
346
|
-
};
|
|
347
|
-
cidrAddresses: {
|
|
348
|
-
type: string;
|
|
349
|
-
collection: boolean;
|
|
350
|
-
writeable: boolean;
|
|
351
|
-
};
|
|
352
|
-
cidrAddress: {
|
|
353
|
-
type: string;
|
|
354
|
-
collection: boolean;
|
|
355
|
-
writeable: boolean;
|
|
356
|
-
};
|
|
357
|
-
rawAddresses: {
|
|
358
|
-
type: string;
|
|
359
|
-
collection: boolean;
|
|
360
|
-
writeable: boolean;
|
|
361
|
-
};
|
|
362
|
-
rawAddress: {
|
|
363
|
-
type: string;
|
|
364
|
-
collection: boolean;
|
|
365
|
-
writeable: boolean;
|
|
366
|
-
};
|
|
367
|
-
scope: {
|
|
368
|
-
type: string;
|
|
369
|
-
collection: boolean;
|
|
370
|
-
writeable: boolean;
|
|
371
|
-
values: string[];
|
|
372
|
-
default: string;
|
|
373
|
-
};
|
|
374
|
-
class: {
|
|
375
|
-
type: string;
|
|
376
|
-
collection: boolean;
|
|
377
|
-
writeable: boolean;
|
|
378
|
-
values: string[];
|
|
379
|
-
};
|
|
380
|
-
kind: {
|
|
381
|
-
type: string;
|
|
382
|
-
collection: boolean;
|
|
383
|
-
writeable: boolean;
|
|
384
|
-
values: string[];
|
|
385
|
-
};
|
|
386
|
-
ssid: {
|
|
387
|
-
type: string;
|
|
388
|
-
collection: boolean;
|
|
389
|
-
writeable: boolean;
|
|
390
|
-
};
|
|
391
|
-
psk: {
|
|
392
|
-
type: string;
|
|
393
|
-
collection: boolean;
|
|
394
|
-
writeable: boolean;
|
|
395
|
-
};
|
|
396
|
-
metric: {
|
|
397
|
-
type: string;
|
|
398
|
-
collection: boolean;
|
|
399
|
-
writeable: boolean;
|
|
400
|
-
default: number;
|
|
401
|
-
};
|
|
402
|
-
MTU: {
|
|
403
|
-
type: string;
|
|
404
|
-
collection: boolean;
|
|
405
|
-
writeable: boolean;
|
|
406
|
-
default: number;
|
|
407
|
-
};
|
|
408
|
-
gateway: {
|
|
409
|
-
type: string;
|
|
410
|
-
collection: boolean;
|
|
411
|
-
writeable: boolean;
|
|
412
|
-
};
|
|
413
|
-
multicastDNS: {
|
|
414
|
-
type: string;
|
|
415
|
-
collection: boolean;
|
|
416
|
-
writeable: boolean;
|
|
417
|
-
default: boolean;
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
_ipAddresses: Map<any, any>;
|
|
422
|
-
_scope: any;
|
|
423
|
-
_metric: any;
|
|
424
|
-
_ssid: any;
|
|
425
|
-
_psk: any;
|
|
426
|
-
_kind: any;
|
|
427
|
-
_hostName: any;
|
|
428
|
-
_hwaddr: any;
|
|
429
|
-
_class: any;
|
|
430
|
-
arpbridge: any;
|
|
431
|
-
addSubnet(address: any): any;
|
|
432
|
-
set ipAddresses(value: Map<any, any>);
|
|
433
|
-
get ipAddresses(): Map<any, any>;
|
|
434
|
-
get rawAddresses(): any[];
|
|
435
|
-
get cidrAddresses(): any[];
|
|
436
|
-
get rawIPv4Addresses(): any[];
|
|
437
|
-
get rawIPv6Addresses(): any[];
|
|
438
|
-
subnetForAddress(address: any): any;
|
|
439
|
-
get gateway(): any;
|
|
440
|
-
get gatewayAddress(): any;
|
|
441
|
-
set hostName(value: any);
|
|
442
|
-
get hostName(): any;
|
|
443
|
-
get domainNames(): any;
|
|
444
|
-
set scope(value: any);
|
|
445
|
-
get scope(): any;
|
|
446
|
-
set hwaddr(value: any);
|
|
447
|
-
get hwaddr(): any;
|
|
448
|
-
set metric(value: any);
|
|
449
|
-
get metric(): any;
|
|
450
|
-
set MTU(value: any);
|
|
451
|
-
get MTU(): any;
|
|
452
|
-
_MTU: any;
|
|
453
|
-
set class(value: any);
|
|
454
|
-
get class(): any;
|
|
455
|
-
set ssid(value: any);
|
|
456
|
-
get ssid(): any;
|
|
457
|
-
set psk(value: any);
|
|
458
|
-
get psk(): any;
|
|
459
|
-
set kind(value: any);
|
|
460
|
-
get kind(): any;
|
|
461
|
-
}
|
|
462
|
-
export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
|
|
463
|
-
static get typeDefinition(): {
|
|
464
|
-
name: string;
|
|
465
|
-
specializationOf: {
|
|
466
|
-
name: string;
|
|
467
|
-
priority: number;
|
|
468
|
-
owners: string[];
|
|
469
|
-
extends: {
|
|
470
|
-
name: string;
|
|
471
|
-
owners: any[];
|
|
472
|
-
properties: {
|
|
473
|
-
owner: {
|
|
474
|
-
type: string;
|
|
475
|
-
collection: boolean;
|
|
476
|
-
writeable: boolean;
|
|
477
|
-
};
|
|
478
|
-
type: {
|
|
479
|
-
type: string;
|
|
480
|
-
collection: boolean;
|
|
481
|
-
writeable: boolean;
|
|
482
|
-
};
|
|
483
|
-
name: {
|
|
484
|
-
type: string;
|
|
485
|
-
collection: boolean;
|
|
486
|
-
identifier: boolean;
|
|
487
|
-
writeable: boolean;
|
|
488
|
-
};
|
|
489
|
-
description: {
|
|
490
|
-
type: string;
|
|
491
|
-
collection: boolean;
|
|
492
|
-
writeable: boolean;
|
|
493
|
-
};
|
|
494
|
-
priority: {
|
|
495
|
-
type: string;
|
|
496
|
-
collection: boolean;
|
|
497
|
-
writeable: boolean;
|
|
498
|
-
};
|
|
499
|
-
directory: {
|
|
500
|
-
type: string;
|
|
501
|
-
collection: boolean;
|
|
502
|
-
writeable: boolean;
|
|
503
|
-
};
|
|
504
|
-
packaging: {
|
|
505
|
-
type: string;
|
|
506
|
-
collection: boolean;
|
|
507
|
-
writeable: boolean;
|
|
508
|
-
};
|
|
509
|
-
tags: {
|
|
510
|
-
type: string;
|
|
511
|
-
collection: boolean;
|
|
512
|
-
writeable: boolean;
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
specializations: {};
|
|
517
|
-
factoryFor(value: any): any;
|
|
518
|
-
properties: {
|
|
519
|
-
hostName: {
|
|
520
|
-
type: string;
|
|
521
|
-
collection: boolean;
|
|
522
|
-
writeable: boolean;
|
|
523
|
-
};
|
|
524
|
-
ipAddresses: {
|
|
525
|
-
type: string;
|
|
526
|
-
collection: boolean;
|
|
527
|
-
writeable: boolean;
|
|
528
|
-
};
|
|
529
|
-
hwaddr: {
|
|
530
|
-
type: string;
|
|
531
|
-
collection: boolean;
|
|
532
|
-
writeable: boolean;
|
|
533
|
-
};
|
|
534
|
-
network: {
|
|
535
|
-
type: string;
|
|
536
|
-
collection: boolean;
|
|
537
|
-
writeable: boolean;
|
|
538
|
-
};
|
|
539
|
-
destination: {
|
|
540
|
-
type: string;
|
|
541
|
-
collection: boolean;
|
|
542
|
-
writeable: boolean;
|
|
543
|
-
};
|
|
544
|
-
arpbridge: {
|
|
545
|
-
type: string;
|
|
546
|
-
collection: boolean;
|
|
547
|
-
writeable: boolean;
|
|
548
|
-
};
|
|
549
|
-
cidrAddresses: {
|
|
550
|
-
type: string;
|
|
551
|
-
collection: boolean;
|
|
552
|
-
writeable: boolean;
|
|
553
|
-
};
|
|
554
|
-
cidrAddress: {
|
|
555
|
-
type: string;
|
|
556
|
-
collection: boolean;
|
|
557
|
-
writeable: boolean;
|
|
558
|
-
};
|
|
559
|
-
rawAddresses: {
|
|
560
|
-
type: string;
|
|
561
|
-
collection: boolean;
|
|
562
|
-
writeable: boolean;
|
|
563
|
-
};
|
|
564
|
-
rawAddress: {
|
|
565
|
-
type: string;
|
|
566
|
-
collection: boolean;
|
|
567
|
-
writeable: boolean;
|
|
568
|
-
};
|
|
569
|
-
scope: {
|
|
570
|
-
type: string;
|
|
571
|
-
collection: boolean;
|
|
572
|
-
writeable: boolean;
|
|
573
|
-
values: string[];
|
|
574
|
-
default: string;
|
|
575
|
-
};
|
|
576
|
-
class: {
|
|
577
|
-
type: string;
|
|
578
|
-
collection: boolean;
|
|
579
|
-
writeable: boolean;
|
|
580
|
-
values: string[];
|
|
581
|
-
};
|
|
582
|
-
kind: {
|
|
583
|
-
type: string;
|
|
584
|
-
collection: boolean;
|
|
585
|
-
writeable: boolean;
|
|
586
|
-
values: string[];
|
|
587
|
-
};
|
|
588
|
-
ssid: {
|
|
589
|
-
type: string;
|
|
590
|
-
collection: boolean;
|
|
591
|
-
writeable: boolean;
|
|
592
|
-
};
|
|
593
|
-
psk: {
|
|
594
|
-
type: string;
|
|
595
|
-
collection: boolean;
|
|
596
|
-
writeable: boolean;
|
|
597
|
-
};
|
|
598
|
-
metric: {
|
|
599
|
-
type: string;
|
|
600
|
-
collection: boolean;
|
|
601
|
-
writeable: boolean;
|
|
602
|
-
default: number;
|
|
603
|
-
};
|
|
604
|
-
MTU: {
|
|
605
|
-
type: string;
|
|
606
|
-
collection: boolean;
|
|
607
|
-
writeable: boolean;
|
|
608
|
-
default: number;
|
|
609
|
-
};
|
|
610
|
-
gateway: {
|
|
611
|
-
type: string;
|
|
612
|
-
collection: boolean;
|
|
613
|
-
writeable: boolean;
|
|
614
|
-
};
|
|
615
|
-
multicastDNS: {
|
|
616
|
-
type: string;
|
|
617
|
-
collection: boolean;
|
|
618
|
-
writeable: boolean;
|
|
619
|
-
default: boolean;
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
|
-
owners: string[];
|
|
624
|
-
extends: {
|
|
625
|
-
name: string;
|
|
626
|
-
priority: number;
|
|
627
|
-
owners: string[];
|
|
628
|
-
extends: {
|
|
629
|
-
name: string;
|
|
630
|
-
owners: any[];
|
|
631
|
-
properties: {
|
|
632
|
-
owner: {
|
|
633
|
-
type: string;
|
|
634
|
-
collection: boolean;
|
|
635
|
-
writeable: boolean;
|
|
636
|
-
};
|
|
637
|
-
type: {
|
|
638
|
-
type: string;
|
|
639
|
-
collection: boolean;
|
|
640
|
-
writeable: boolean;
|
|
641
|
-
};
|
|
642
|
-
name: {
|
|
643
|
-
type: string;
|
|
644
|
-
collection: boolean;
|
|
645
|
-
identifier: boolean;
|
|
646
|
-
writeable: boolean;
|
|
647
|
-
};
|
|
648
|
-
description: {
|
|
649
|
-
type: string;
|
|
650
|
-
collection: boolean;
|
|
651
|
-
writeable: boolean;
|
|
652
|
-
};
|
|
653
|
-
priority: {
|
|
654
|
-
type: string;
|
|
655
|
-
collection: boolean;
|
|
656
|
-
writeable: boolean;
|
|
657
|
-
};
|
|
658
|
-
directory: {
|
|
659
|
-
type: string;
|
|
660
|
-
collection: boolean;
|
|
661
|
-
writeable: boolean;
|
|
662
|
-
};
|
|
663
|
-
packaging: {
|
|
664
|
-
type: string;
|
|
665
|
-
collection: boolean;
|
|
666
|
-
writeable: boolean;
|
|
667
|
-
};
|
|
668
|
-
tags: {
|
|
669
|
-
type: string;
|
|
670
|
-
collection: boolean;
|
|
671
|
-
writeable: boolean;
|
|
672
|
-
};
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
|
-
specializations: {};
|
|
676
|
-
factoryFor(value: any): any;
|
|
677
|
-
properties: {
|
|
678
|
-
hostName: {
|
|
679
|
-
type: string;
|
|
680
|
-
collection: boolean;
|
|
681
|
-
writeable: boolean;
|
|
682
|
-
};
|
|
683
|
-
ipAddresses: {
|
|
684
|
-
type: string;
|
|
685
|
-
collection: boolean;
|
|
686
|
-
writeable: boolean;
|
|
687
|
-
};
|
|
688
|
-
hwaddr: {
|
|
689
|
-
type: string;
|
|
690
|
-
collection: boolean;
|
|
691
|
-
writeable: boolean;
|
|
692
|
-
};
|
|
693
|
-
network: {
|
|
694
|
-
type: string;
|
|
695
|
-
collection: boolean;
|
|
696
|
-
writeable: boolean;
|
|
697
|
-
};
|
|
698
|
-
destination: {
|
|
699
|
-
type: string;
|
|
700
|
-
collection: boolean;
|
|
701
|
-
writeable: boolean;
|
|
702
|
-
};
|
|
703
|
-
arpbridge: {
|
|
704
|
-
type: string;
|
|
705
|
-
collection: boolean;
|
|
706
|
-
writeable: boolean;
|
|
707
|
-
};
|
|
708
|
-
cidrAddresses: {
|
|
709
|
-
type: string;
|
|
710
|
-
collection: boolean;
|
|
711
|
-
writeable: boolean;
|
|
712
|
-
};
|
|
713
|
-
cidrAddress: {
|
|
714
|
-
type: string;
|
|
715
|
-
collection: boolean;
|
|
716
|
-
writeable: boolean;
|
|
717
|
-
};
|
|
718
|
-
rawAddresses: {
|
|
719
|
-
type: string;
|
|
720
|
-
collection: boolean;
|
|
721
|
-
writeable: boolean;
|
|
722
|
-
};
|
|
723
|
-
rawAddress: {
|
|
724
|
-
type: string;
|
|
725
|
-
collection: boolean;
|
|
726
|
-
writeable: boolean;
|
|
727
|
-
};
|
|
728
|
-
scope: {
|
|
729
|
-
type: string;
|
|
730
|
-
collection: boolean;
|
|
731
|
-
writeable: boolean;
|
|
732
|
-
values: string[];
|
|
733
|
-
default: string;
|
|
734
|
-
};
|
|
735
|
-
class: {
|
|
736
|
-
type: string;
|
|
737
|
-
collection: boolean;
|
|
738
|
-
writeable: boolean;
|
|
739
|
-
values: string[];
|
|
740
|
-
};
|
|
741
|
-
kind: {
|
|
742
|
-
type: string;
|
|
743
|
-
collection: boolean;
|
|
744
|
-
writeable: boolean;
|
|
745
|
-
values: string[];
|
|
746
|
-
};
|
|
747
|
-
ssid: {
|
|
748
|
-
type: string;
|
|
749
|
-
collection: boolean;
|
|
750
|
-
writeable: boolean;
|
|
751
|
-
};
|
|
752
|
-
psk: {
|
|
753
|
-
type: string;
|
|
754
|
-
collection: boolean;
|
|
755
|
-
writeable: boolean;
|
|
756
|
-
};
|
|
757
|
-
metric: {
|
|
758
|
-
type: string;
|
|
759
|
-
collection: boolean;
|
|
760
|
-
writeable: boolean;
|
|
761
|
-
default: number;
|
|
762
|
-
};
|
|
763
|
-
MTU: {
|
|
764
|
-
type: string;
|
|
765
|
-
collection: boolean;
|
|
766
|
-
writeable: boolean;
|
|
767
|
-
default: number;
|
|
768
|
-
};
|
|
769
|
-
gateway: {
|
|
770
|
-
type: string;
|
|
771
|
-
collection: boolean;
|
|
772
|
-
writeable: boolean;
|
|
773
|
-
};
|
|
774
|
-
multicastDNS: {
|
|
775
|
-
type: string;
|
|
776
|
-
collection: boolean;
|
|
777
|
-
writeable: boolean;
|
|
778
|
-
default: boolean;
|
|
779
|
-
};
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
priority: number;
|
|
783
|
-
properties: {};
|
|
784
|
-
};
|
|
785
|
-
get kind(): string;
|
|
786
|
-
get scope(): string;
|
|
787
|
-
get hostName(): string;
|
|
788
|
-
get ipAddresses(): Map<string, {
|
|
789
|
-
prefix: string;
|
|
790
|
-
prefixLength: number;
|
|
791
|
-
}>;
|
|
792
|
-
get cidrAddresses(): string[];
|
|
793
|
-
}
|
|
794
262
|
import { Base } from "./base.mjs";
|
|
795
263
|
import { FileContentProvider } from "npm-pkgbuild";
|
|
796
|
-
declare class SkeletonNetworkInterface extends Base {
|
|
797
|
-
_extends: any[];
|
|
798
|
-
_network: any;
|
|
799
|
-
set extends(value: any[]);
|
|
800
|
-
get extends(): any[];
|
|
801
|
-
get network_interface(): this;
|
|
802
|
-
get domainNames(): Set<any>;
|
|
803
|
-
matches(other: any): boolean;
|
|
804
|
-
set network(network: any);
|
|
805
|
-
get network(): any;
|
|
806
|
-
get rawAddress(): any;
|
|
807
|
-
get rawIPv4Address(): any;
|
|
808
|
-
get rawIPv6Address(): any;
|
|
809
|
-
get cidrAddress(): any;
|
|
810
|
-
}
|
|
811
|
-
export {};
|
package/types/module.d.mts
CHANGED