@karmaniverous/jeeves-watcher 0.3.1 → 0.4.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/config.schema.json +69 -14
- package/dist/cjs/index.js +996 -562
- package/dist/cli/jeeves-watcher/index.js +824 -396
- package/dist/index.d.ts +160 -16
- package/dist/index.iife.js +824 -397
- package/dist/index.iife.min.js +1 -1
- package/dist/mjs/index.js +992 -564
- package/package.json +12 -4
package/config.schema.json
CHANGED
|
@@ -125,7 +125,23 @@
|
|
|
125
125
|
"description": "Reusable named JsonMap transformations.",
|
|
126
126
|
"allOf": [
|
|
127
127
|
{
|
|
128
|
-
"$ref": "#/definitions/
|
|
128
|
+
"$ref": "#/definitions/__schema51"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"templates": {
|
|
133
|
+
"description": "Named reusable Handlebars templates (inline strings or .hbs/.handlebars file paths).",
|
|
134
|
+
"allOf": [
|
|
135
|
+
{
|
|
136
|
+
"$ref": "#/definitions/__schema52"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"templateHelpers": {
|
|
141
|
+
"description": "Custom Handlebars helper registration.",
|
|
142
|
+
"allOf": [
|
|
143
|
+
{
|
|
144
|
+
"$ref": "#/definitions/__schema53"
|
|
129
145
|
}
|
|
130
146
|
]
|
|
131
147
|
},
|
|
@@ -133,7 +149,7 @@
|
|
|
133
149
|
"description": "Logging configuration.",
|
|
134
150
|
"allOf": [
|
|
135
151
|
{
|
|
136
|
-
"$ref": "#/definitions/
|
|
152
|
+
"$ref": "#/definitions/__schema55"
|
|
137
153
|
}
|
|
138
154
|
]
|
|
139
155
|
},
|
|
@@ -141,7 +157,7 @@
|
|
|
141
157
|
"description": "Timeout in milliseconds for graceful shutdown.",
|
|
142
158
|
"allOf": [
|
|
143
159
|
{
|
|
144
|
-
"$ref": "#/definitions/
|
|
160
|
+
"$ref": "#/definitions/__schema58"
|
|
145
161
|
}
|
|
146
162
|
]
|
|
147
163
|
},
|
|
@@ -149,7 +165,7 @@
|
|
|
149
165
|
"description": "Maximum consecutive system-level failures before triggering fatal error. Default: Infinity.",
|
|
150
166
|
"allOf": [
|
|
151
167
|
{
|
|
152
|
-
"$ref": "#/definitions/
|
|
168
|
+
"$ref": "#/definitions/__schema59"
|
|
153
169
|
}
|
|
154
170
|
]
|
|
155
171
|
},
|
|
@@ -157,7 +173,7 @@
|
|
|
157
173
|
"description": "Maximum backoff delay in milliseconds for system errors. Default: 60000.",
|
|
158
174
|
"allOf": [
|
|
159
175
|
{
|
|
160
|
-
"$ref": "#/definitions/
|
|
176
|
+
"$ref": "#/definitions/__schema60"
|
|
161
177
|
}
|
|
162
178
|
]
|
|
163
179
|
}
|
|
@@ -447,12 +463,20 @@
|
|
|
447
463
|
"description": "Metadata fields to set when match succeeds."
|
|
448
464
|
},
|
|
449
465
|
"map": {
|
|
450
|
-
"description": "JsonMap transformation (inline definition
|
|
466
|
+
"description": "JsonMap transformation (inline definition, named map reference, or .json file path).",
|
|
451
467
|
"allOf": [
|
|
452
468
|
{
|
|
453
469
|
"$ref": "#/definitions/__schema47"
|
|
454
470
|
}
|
|
455
471
|
]
|
|
472
|
+
},
|
|
473
|
+
"template": {
|
|
474
|
+
"description": "Handlebars content template (inline string, named ref, or .hbs/.handlebars file path).",
|
|
475
|
+
"allOf": [
|
|
476
|
+
{
|
|
477
|
+
"$ref": "#/definitions/__schema50"
|
|
478
|
+
}
|
|
479
|
+
]
|
|
456
480
|
}
|
|
457
481
|
},
|
|
458
482
|
"required": [
|
|
@@ -565,6 +589,9 @@
|
|
|
565
589
|
]
|
|
566
590
|
},
|
|
567
591
|
"__schema50": {
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
"__schema51": {
|
|
568
595
|
"type": "object",
|
|
569
596
|
"propertyNames": {
|
|
570
597
|
"type": "string"
|
|
@@ -573,14 +600,42 @@
|
|
|
573
600
|
"$ref": "#/definitions/__schema48"
|
|
574
601
|
}
|
|
575
602
|
},
|
|
576
|
-
"
|
|
603
|
+
"__schema52": {
|
|
604
|
+
"type": "object",
|
|
605
|
+
"propertyNames": {
|
|
606
|
+
"type": "string"
|
|
607
|
+
},
|
|
608
|
+
"additionalProperties": {
|
|
609
|
+
"type": "string"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"__schema53": {
|
|
613
|
+
"type": "object",
|
|
614
|
+
"properties": {
|
|
615
|
+
"paths": {
|
|
616
|
+
"description": "File paths to custom helper modules.",
|
|
617
|
+
"allOf": [
|
|
618
|
+
{
|
|
619
|
+
"$ref": "#/definitions/__schema54"
|
|
620
|
+
}
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"__schema54": {
|
|
626
|
+
"type": "array",
|
|
627
|
+
"items": {
|
|
628
|
+
"type": "string"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"__schema55": {
|
|
577
632
|
"type": "object",
|
|
578
633
|
"properties": {
|
|
579
634
|
"level": {
|
|
580
635
|
"description": "Logging level (trace, debug, info, warn, error, fatal).",
|
|
581
636
|
"allOf": [
|
|
582
637
|
{
|
|
583
|
-
"$ref": "#/definitions/
|
|
638
|
+
"$ref": "#/definitions/__schema56"
|
|
584
639
|
}
|
|
585
640
|
]
|
|
586
641
|
},
|
|
@@ -588,25 +643,25 @@
|
|
|
588
643
|
"description": "Path to log file (logs to stdout if omitted).",
|
|
589
644
|
"allOf": [
|
|
590
645
|
{
|
|
591
|
-
"$ref": "#/definitions/
|
|
646
|
+
"$ref": "#/definitions/__schema57"
|
|
592
647
|
}
|
|
593
648
|
]
|
|
594
649
|
}
|
|
595
650
|
}
|
|
596
651
|
},
|
|
597
|
-
"
|
|
652
|
+
"__schema56": {
|
|
598
653
|
"type": "string"
|
|
599
654
|
},
|
|
600
|
-
"
|
|
655
|
+
"__schema57": {
|
|
601
656
|
"type": "string"
|
|
602
657
|
},
|
|
603
|
-
"
|
|
658
|
+
"__schema58": {
|
|
604
659
|
"type": "number"
|
|
605
660
|
},
|
|
606
|
-
"
|
|
661
|
+
"__schema59": {
|
|
607
662
|
"type": "number"
|
|
608
663
|
},
|
|
609
|
-
"
|
|
664
|
+
"__schema60": {
|
|
610
665
|
"type": "number"
|
|
611
666
|
}
|
|
612
667
|
}
|