5etools-utils 0.12.8 → 0.12.9
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 +1 -1
- package/schema/brew/util-copy.json +149 -18
- package/schema/brew-fast/util-copy.json +149 -18
- package/schema/site/util-copy.json +149 -18
- package/schema/site-fast/util-copy.json +149 -18
- package/schema/ua/util-copy.json +149 -18
- package/schema/ua-fast/util-copy.json +149 -18
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-copy.json",
|
|
4
4
|
"title": "Util: Copy",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_mod_renameArr_rename": {
|
|
8
8
|
"type": "object",
|
|
@@ -34,6 +34,78 @@
|
|
|
34
34
|
},
|
|
35
35
|
"additionalProperties": false
|
|
36
36
|
},
|
|
37
|
+
"_mod_proficiency_levels": {
|
|
38
|
+
"description": "1: Proficient\n 2: Expertise",
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"enum": [
|
|
41
|
+
1,
|
|
42
|
+
2
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"_mod_senseObject": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"type": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"blindsight",
|
|
52
|
+
"darkvision",
|
|
53
|
+
"tremorsense",
|
|
54
|
+
"truesight"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"range": {
|
|
58
|
+
"type": "integer",
|
|
59
|
+
"minimum": 0
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"type",
|
|
64
|
+
"range"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
},
|
|
68
|
+
"_mod_additionalSpellReplacementObject": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"patternProperties": {
|
|
71
|
+
"^(0|[1-9]e?)$": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"replace": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"with": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"replace",
|
|
85
|
+
"with"
|
|
86
|
+
],
|
|
87
|
+
"additionalProperties": false
|
|
88
|
+
},
|
|
89
|
+
"minItems": 1,
|
|
90
|
+
"uniqueItems": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
95
|
+
"_mod_additionalSpellAddRemoveObject": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"patternProperties": {
|
|
98
|
+
"^(0|[1-9]e?)$": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"minItems": 1,
|
|
104
|
+
"uniqueItems": true
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"additionalProperties": false
|
|
108
|
+
},
|
|
37
109
|
"copyModifier": {
|
|
38
110
|
"anyOf": [
|
|
39
111
|
{
|
|
@@ -467,15 +539,16 @@
|
|
|
467
539
|
"const": "replaceSpells"
|
|
468
540
|
},
|
|
469
541
|
"spells": {
|
|
470
|
-
"
|
|
542
|
+
"$ref": "#/$defs/_mod_additionalSpellReplacementObject"
|
|
471
543
|
},
|
|
472
544
|
"daily": {
|
|
473
|
-
"
|
|
545
|
+
"$ref": "#/$defs/_mod_additionalSpellReplacementObject"
|
|
474
546
|
}
|
|
475
547
|
},
|
|
476
548
|
"required": [
|
|
477
549
|
"mode"
|
|
478
550
|
],
|
|
551
|
+
"minProperties": 2,
|
|
479
552
|
"additionalProperties": false
|
|
480
553
|
},
|
|
481
554
|
{
|
|
@@ -485,10 +558,10 @@
|
|
|
485
558
|
"const": "removeSpells"
|
|
486
559
|
},
|
|
487
560
|
"spells": {
|
|
488
|
-
"
|
|
561
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
489
562
|
},
|
|
490
563
|
"daily": {
|
|
491
|
-
"
|
|
564
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
492
565
|
}
|
|
493
566
|
},
|
|
494
567
|
"required": [
|
|
@@ -504,22 +577,47 @@
|
|
|
504
577
|
"const": "addSpells"
|
|
505
578
|
},
|
|
506
579
|
"spells": {
|
|
507
|
-
"type": "object"
|
|
580
|
+
"type": "object",
|
|
581
|
+
"patternProperties": {
|
|
582
|
+
"^(0|[1-9]e?)$": {
|
|
583
|
+
"type": "object",
|
|
584
|
+
"properties": {
|
|
585
|
+
"spells": {
|
|
586
|
+
"type": "array",
|
|
587
|
+
"items": {
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"minItems": 1,
|
|
591
|
+
"uniqueItems": true
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"required": [
|
|
595
|
+
"spells"
|
|
596
|
+
],
|
|
597
|
+
"additionalProperties": false
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"additionalProperties": false
|
|
508
601
|
},
|
|
509
602
|
"will": {
|
|
510
|
-
"type": "array"
|
|
603
|
+
"type": "array",
|
|
604
|
+
"items": {
|
|
605
|
+
"type": "string"
|
|
606
|
+
},
|
|
607
|
+
"minItems": 1,
|
|
608
|
+
"uniqueItems": true
|
|
511
609
|
},
|
|
512
610
|
"daily": {
|
|
513
|
-
"
|
|
611
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
514
612
|
},
|
|
515
613
|
"weekly": {
|
|
516
|
-
"
|
|
614
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
517
615
|
},
|
|
518
616
|
"monthly": {
|
|
519
|
-
"
|
|
617
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
520
618
|
},
|
|
521
619
|
"yearly": {
|
|
522
|
-
"
|
|
620
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
523
621
|
}
|
|
524
622
|
},
|
|
525
623
|
"required": [
|
|
@@ -535,7 +633,17 @@
|
|
|
535
633
|
"const": "addSkills"
|
|
536
634
|
},
|
|
537
635
|
"skills": {
|
|
538
|
-
"type": "object"
|
|
636
|
+
"type": "object",
|
|
637
|
+
"propertyNames": {
|
|
638
|
+
"$ref": "util.json#/$defs/skillNameLower"
|
|
639
|
+
},
|
|
640
|
+
"patternProperties": {
|
|
641
|
+
"": {
|
|
642
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"minProperties": 1,
|
|
646
|
+
"additionalProperties": false
|
|
539
647
|
}
|
|
540
648
|
},
|
|
541
649
|
"required": [
|
|
@@ -551,7 +659,25 @@
|
|
|
551
659
|
"const": "addSaves"
|
|
552
660
|
},
|
|
553
661
|
"saves": {
|
|
554
|
-
"type": "object"
|
|
662
|
+
"type": "object",
|
|
663
|
+
"propertyNames": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"enum": [
|
|
666
|
+
"str",
|
|
667
|
+
"dex",
|
|
668
|
+
"con",
|
|
669
|
+
"int",
|
|
670
|
+
"wis",
|
|
671
|
+
"cha"
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
"patternProperties": {
|
|
675
|
+
"": {
|
|
676
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"minProperties": 1,
|
|
680
|
+
"additionalProperties": false
|
|
555
681
|
}
|
|
556
682
|
},
|
|
557
683
|
"required": [
|
|
@@ -567,7 +693,7 @@
|
|
|
567
693
|
"const": "addAllSkills"
|
|
568
694
|
},
|
|
569
695
|
"skills": {
|
|
570
|
-
"
|
|
696
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
571
697
|
}
|
|
572
698
|
},
|
|
573
699
|
"required": [
|
|
@@ -583,7 +709,7 @@
|
|
|
583
709
|
"const": "addAllSaves"
|
|
584
710
|
},
|
|
585
711
|
"saves": {
|
|
586
|
-
"
|
|
712
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
587
713
|
}
|
|
588
714
|
},
|
|
589
715
|
"required": [
|
|
@@ -601,10 +727,15 @@
|
|
|
601
727
|
"senses": {
|
|
602
728
|
"anyOf": [
|
|
603
729
|
{
|
|
604
|
-
"
|
|
730
|
+
"$ref": "#/$defs/_mod_senseObject"
|
|
605
731
|
},
|
|
606
732
|
{
|
|
607
|
-
"type": "array"
|
|
733
|
+
"type": "array",
|
|
734
|
+
"items": {
|
|
735
|
+
"$ref": "#/$defs/_mod_senseObject"
|
|
736
|
+
},
|
|
737
|
+
"minItems": 1,
|
|
738
|
+
"uniqueItems": true
|
|
608
739
|
}
|
|
609
740
|
]
|
|
610
741
|
}
|
|
@@ -697,7 +828,7 @@
|
|
|
697
828
|
"const": "maxSize"
|
|
698
829
|
},
|
|
699
830
|
"max": {
|
|
700
|
-
"
|
|
831
|
+
"$ref": "util.json#/$defs/size"
|
|
701
832
|
}
|
|
702
833
|
},
|
|
703
834
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-copy.json",
|
|
4
4
|
"title": "Util: Copy",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_mod_renameArr_rename": {
|
|
8
8
|
"type": "object",
|
|
@@ -34,6 +34,78 @@
|
|
|
34
34
|
},
|
|
35
35
|
"additionalProperties": false
|
|
36
36
|
},
|
|
37
|
+
"_mod_proficiency_levels": {
|
|
38
|
+
"description": "1: Proficient\n 2: Expertise",
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"enum": [
|
|
41
|
+
1,
|
|
42
|
+
2
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"_mod_senseObject": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"type": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"blindsight",
|
|
52
|
+
"darkvision",
|
|
53
|
+
"tremorsense",
|
|
54
|
+
"truesight"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"range": {
|
|
58
|
+
"type": "integer",
|
|
59
|
+
"minimum": 0
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"type",
|
|
64
|
+
"range"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
},
|
|
68
|
+
"_mod_additionalSpellReplacementObject": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"patternProperties": {
|
|
71
|
+
"^(0|[1-9]e?)$": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"replace": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"with": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"replace",
|
|
85
|
+
"with"
|
|
86
|
+
],
|
|
87
|
+
"additionalProperties": false
|
|
88
|
+
},
|
|
89
|
+
"minItems": 1,
|
|
90
|
+
"uniqueItems": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
95
|
+
"_mod_additionalSpellAddRemoveObject": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"patternProperties": {
|
|
98
|
+
"^(0|[1-9]e?)$": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"minItems": 1,
|
|
104
|
+
"uniqueItems": true
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"additionalProperties": false
|
|
108
|
+
},
|
|
37
109
|
"copyModifier": {
|
|
38
110
|
"anyOf": [
|
|
39
111
|
{
|
|
@@ -467,15 +539,16 @@
|
|
|
467
539
|
"const": "replaceSpells"
|
|
468
540
|
},
|
|
469
541
|
"spells": {
|
|
470
|
-
"
|
|
542
|
+
"$ref": "#/$defs/_mod_additionalSpellReplacementObject"
|
|
471
543
|
},
|
|
472
544
|
"daily": {
|
|
473
|
-
"
|
|
545
|
+
"$ref": "#/$defs/_mod_additionalSpellReplacementObject"
|
|
474
546
|
}
|
|
475
547
|
},
|
|
476
548
|
"required": [
|
|
477
549
|
"mode"
|
|
478
550
|
],
|
|
551
|
+
"minProperties": 2,
|
|
479
552
|
"additionalProperties": false
|
|
480
553
|
},
|
|
481
554
|
{
|
|
@@ -485,10 +558,10 @@
|
|
|
485
558
|
"const": "removeSpells"
|
|
486
559
|
},
|
|
487
560
|
"spells": {
|
|
488
|
-
"
|
|
561
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
489
562
|
},
|
|
490
563
|
"daily": {
|
|
491
|
-
"
|
|
564
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
492
565
|
}
|
|
493
566
|
},
|
|
494
567
|
"required": [
|
|
@@ -504,22 +577,47 @@
|
|
|
504
577
|
"const": "addSpells"
|
|
505
578
|
},
|
|
506
579
|
"spells": {
|
|
507
|
-
"type": "object"
|
|
580
|
+
"type": "object",
|
|
581
|
+
"patternProperties": {
|
|
582
|
+
"^(0|[1-9]e?)$": {
|
|
583
|
+
"type": "object",
|
|
584
|
+
"properties": {
|
|
585
|
+
"spells": {
|
|
586
|
+
"type": "array",
|
|
587
|
+
"items": {
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"minItems": 1,
|
|
591
|
+
"uniqueItems": true
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"required": [
|
|
595
|
+
"spells"
|
|
596
|
+
],
|
|
597
|
+
"additionalProperties": false
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"additionalProperties": false
|
|
508
601
|
},
|
|
509
602
|
"will": {
|
|
510
|
-
"type": "array"
|
|
603
|
+
"type": "array",
|
|
604
|
+
"items": {
|
|
605
|
+
"type": "string"
|
|
606
|
+
},
|
|
607
|
+
"minItems": 1,
|
|
608
|
+
"uniqueItems": true
|
|
511
609
|
},
|
|
512
610
|
"daily": {
|
|
513
|
-
"
|
|
611
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
514
612
|
},
|
|
515
613
|
"weekly": {
|
|
516
|
-
"
|
|
614
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
517
615
|
},
|
|
518
616
|
"monthly": {
|
|
519
|
-
"
|
|
617
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
520
618
|
},
|
|
521
619
|
"yearly": {
|
|
522
|
-
"
|
|
620
|
+
"$ref": "#/$defs/_mod_additionalSpellAddRemoveObject"
|
|
523
621
|
}
|
|
524
622
|
},
|
|
525
623
|
"required": [
|
|
@@ -535,7 +633,17 @@
|
|
|
535
633
|
"const": "addSkills"
|
|
536
634
|
},
|
|
537
635
|
"skills": {
|
|
538
|
-
"type": "object"
|
|
636
|
+
"type": "object",
|
|
637
|
+
"propertyNames": {
|
|
638
|
+
"$ref": "util.json#/$defs/skillNameLower"
|
|
639
|
+
},
|
|
640
|
+
"patternProperties": {
|
|
641
|
+
"": {
|
|
642
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"minProperties": 1,
|
|
646
|
+
"additionalProperties": false
|
|
539
647
|
}
|
|
540
648
|
},
|
|
541
649
|
"required": [
|
|
@@ -551,7 +659,25 @@
|
|
|
551
659
|
"const": "addSaves"
|
|
552
660
|
},
|
|
553
661
|
"saves": {
|
|
554
|
-
"type": "object"
|
|
662
|
+
"type": "object",
|
|
663
|
+
"propertyNames": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"enum": [
|
|
666
|
+
"str",
|
|
667
|
+
"dex",
|
|
668
|
+
"con",
|
|
669
|
+
"int",
|
|
670
|
+
"wis",
|
|
671
|
+
"cha"
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
"patternProperties": {
|
|
675
|
+
"": {
|
|
676
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"minProperties": 1,
|
|
680
|
+
"additionalProperties": false
|
|
555
681
|
}
|
|
556
682
|
},
|
|
557
683
|
"required": [
|
|
@@ -567,7 +693,7 @@
|
|
|
567
693
|
"const": "addAllSkills"
|
|
568
694
|
},
|
|
569
695
|
"skills": {
|
|
570
|
-
"
|
|
696
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
571
697
|
}
|
|
572
698
|
},
|
|
573
699
|
"required": [
|
|
@@ -583,7 +709,7 @@
|
|
|
583
709
|
"const": "addAllSaves"
|
|
584
710
|
},
|
|
585
711
|
"saves": {
|
|
586
|
-
"
|
|
712
|
+
"$ref": "#/$defs/_mod_proficiency_levels"
|
|
587
713
|
}
|
|
588
714
|
},
|
|
589
715
|
"required": [
|
|
@@ -601,10 +727,15 @@
|
|
|
601
727
|
"senses": {
|
|
602
728
|
"anyOf": [
|
|
603
729
|
{
|
|
604
|
-
"
|
|
730
|
+
"$ref": "#/$defs/_mod_senseObject"
|
|
605
731
|
},
|
|
606
732
|
{
|
|
607
|
-
"type": "array"
|
|
733
|
+
"type": "array",
|
|
734
|
+
"items": {
|
|
735
|
+
"$ref": "#/$defs/_mod_senseObject"
|
|
736
|
+
},
|
|
737
|
+
"minItems": 1,
|
|
738
|
+
"uniqueItems": true
|
|
608
739
|
}
|
|
609
740
|
]
|
|
610
741
|
}
|
|
@@ -697,7 +828,7 @@
|
|
|
697
828
|
"const": "maxSize"
|
|
698
829
|
},
|
|
699
830
|
"max": {
|
|
700
|
-
"
|
|
831
|
+
"$ref": "util.json#/$defs/size"
|
|
701
832
|
}
|
|
702
833
|
},
|
|
703
834
|
"required": [
|