@xyo-network/diviner-jsonpath-aggregate 3.0.15 → 3.1.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.
Files changed (185) hide show
  1. package/memory/dist/browser/Diviner.d.cts +40 -0
  2. package/memory/dist/browser/Diviner.d.cts.map +1 -0
  3. package/memory/dist/browser/Diviner.d.mts +40 -0
  4. package/memory/dist/browser/Diviner.d.mts.map +1 -0
  5. package/memory/dist/browser/Diviner.d.ts +40 -0
  6. package/memory/dist/browser/Diviner.d.ts.map +1 -0
  7. package/memory/dist/browser/index.cjs +114 -0
  8. package/memory/dist/browser/index.cjs.map +1 -0
  9. package/memory/dist/browser/index.d.cts +2 -0
  10. package/memory/dist/browser/index.d.cts.map +1 -0
  11. package/memory/dist/browser/index.d.mts +2 -0
  12. package/memory/dist/browser/index.d.mts.map +1 -0
  13. package/memory/dist/browser/index.d.ts +2 -0
  14. package/memory/dist/browser/index.d.ts.map +1 -0
  15. package/memory/dist/browser/index.js +93 -0
  16. package/memory/dist/browser/index.js.map +1 -0
  17. package/memory/dist/browser/jsonpath/index.d.cts +3 -0
  18. package/memory/dist/browser/jsonpath/index.d.cts.map +1 -0
  19. package/memory/dist/browser/jsonpath/index.d.mts +3 -0
  20. package/memory/dist/browser/jsonpath/index.d.mts.map +1 -0
  21. package/memory/dist/browser/jsonpath/index.d.ts +3 -0
  22. package/memory/dist/browser/jsonpath/index.d.ts.map +1 -0
  23. package/memory/dist/browser/jsonpath/jsonPathToTransformersDictionary.d.cts +10 -0
  24. package/memory/dist/browser/jsonpath/jsonPathToTransformersDictionary.d.cts.map +1 -0
  25. package/memory/dist/browser/jsonpath/jsonPathToTransformersDictionary.d.mts +10 -0
  26. package/memory/dist/browser/jsonpath/jsonPathToTransformersDictionary.d.mts.map +1 -0
  27. package/memory/dist/browser/jsonpath/jsonPathToTransformersDictionary.d.ts +10 -0
  28. package/memory/dist/browser/jsonpath/jsonPathToTransformersDictionary.d.ts.map +1 -0
  29. package/memory/dist/browser/jsonpath/reducePayloads.d.cts +27 -0
  30. package/memory/dist/browser/jsonpath/reducePayloads.d.cts.map +1 -0
  31. package/memory/dist/browser/jsonpath/reducePayloads.d.mts +27 -0
  32. package/memory/dist/browser/jsonpath/reducePayloads.d.mts.map +1 -0
  33. package/memory/dist/browser/jsonpath/reducePayloads.d.ts +27 -0
  34. package/memory/dist/browser/jsonpath/reducePayloads.d.ts.map +1 -0
  35. package/memory/dist/node/Diviner.d.cts +40 -0
  36. package/memory/dist/node/Diviner.d.cts.map +1 -0
  37. package/memory/dist/node/Diviner.d.mts +40 -0
  38. package/memory/dist/node/Diviner.d.mts.map +1 -0
  39. package/memory/dist/node/Diviner.d.ts +40 -0
  40. package/memory/dist/node/Diviner.d.ts.map +1 -0
  41. package/memory/dist/node/index.d.cts +2 -0
  42. package/memory/dist/node/index.d.cts.map +1 -0
  43. package/memory/dist/node/index.d.mts +2 -0
  44. package/memory/dist/node/index.d.mts.map +1 -0
  45. package/memory/dist/node/index.d.ts +2 -0
  46. package/memory/dist/node/index.d.ts.map +1 -0
  47. package/memory/dist/node/index.js +119 -0
  48. package/memory/dist/node/index.js.map +1 -0
  49. package/memory/dist/node/index.mjs +94 -0
  50. package/memory/dist/node/index.mjs.map +1 -0
  51. package/memory/dist/node/jsonpath/index.d.cts +3 -0
  52. package/memory/dist/node/jsonpath/index.d.cts.map +1 -0
  53. package/memory/dist/node/jsonpath/index.d.mts +3 -0
  54. package/memory/dist/node/jsonpath/index.d.mts.map +1 -0
  55. package/memory/dist/node/jsonpath/index.d.ts +3 -0
  56. package/memory/dist/node/jsonpath/index.d.ts.map +1 -0
  57. package/memory/dist/node/jsonpath/jsonPathToTransformersDictionary.d.cts +10 -0
  58. package/memory/dist/node/jsonpath/jsonPathToTransformersDictionary.d.cts.map +1 -0
  59. package/memory/dist/node/jsonpath/jsonPathToTransformersDictionary.d.mts +10 -0
  60. package/memory/dist/node/jsonpath/jsonPathToTransformersDictionary.d.mts.map +1 -0
  61. package/memory/dist/node/jsonpath/jsonPathToTransformersDictionary.d.ts +10 -0
  62. package/memory/dist/node/jsonpath/jsonPathToTransformersDictionary.d.ts.map +1 -0
  63. package/memory/dist/node/jsonpath/reducePayloads.d.cts +27 -0
  64. package/memory/dist/node/jsonpath/reducePayloads.d.cts.map +1 -0
  65. package/memory/dist/node/jsonpath/reducePayloads.d.mts +27 -0
  66. package/memory/dist/node/jsonpath/reducePayloads.d.mts.map +1 -0
  67. package/memory/dist/node/jsonpath/reducePayloads.d.ts +27 -0
  68. package/memory/dist/node/jsonpath/reducePayloads.d.ts.map +1 -0
  69. package/model/dist/browser/Config.d.cts +27 -0
  70. package/model/dist/browser/Config.d.cts.map +1 -0
  71. package/model/dist/browser/Config.d.mts +27 -0
  72. package/model/dist/browser/Config.d.mts.map +1 -0
  73. package/model/dist/browser/Config.d.ts +27 -0
  74. package/model/dist/browser/Config.d.ts.map +1 -0
  75. package/model/dist/browser/Params.d.cts +8 -0
  76. package/model/dist/browser/Params.d.cts.map +1 -0
  77. package/model/dist/browser/Params.d.mts +8 -0
  78. package/model/dist/browser/Params.d.mts.map +1 -0
  79. package/model/dist/browser/Params.d.ts +8 -0
  80. package/model/dist/browser/Params.d.ts.map +1 -0
  81. package/model/dist/browser/Schema.d.cts +9 -0
  82. package/model/dist/browser/Schema.d.cts.map +1 -0
  83. package/model/dist/browser/Schema.d.mts +9 -0
  84. package/model/dist/browser/Schema.d.mts.map +1 -0
  85. package/model/dist/browser/Schema.d.ts +9 -0
  86. package/model/dist/browser/Schema.d.ts.map +1 -0
  87. package/model/dist/browser/index.cjs +33 -0
  88. package/model/dist/browser/index.cjs.map +1 -0
  89. package/model/dist/browser/index.d.cts +5 -0
  90. package/model/dist/browser/index.d.cts.map +1 -0
  91. package/model/dist/browser/index.d.mts +5 -0
  92. package/model/dist/browser/index.d.mts.map +1 -0
  93. package/model/dist/browser/index.d.ts +5 -0
  94. package/model/dist/browser/index.d.ts.map +1 -0
  95. package/model/dist/browser/index.js +10 -0
  96. package/model/dist/browser/index.js.map +1 -0
  97. package/model/dist/browser/jsonpath/JsonPathTransformExpression.d.cts +20 -0
  98. package/model/dist/browser/jsonpath/JsonPathTransformExpression.d.cts.map +1 -0
  99. package/model/dist/browser/jsonpath/JsonPathTransformExpression.d.mts +20 -0
  100. package/model/dist/browser/jsonpath/JsonPathTransformExpression.d.mts.map +1 -0
  101. package/model/dist/browser/jsonpath/JsonPathTransformExpression.d.ts +20 -0
  102. package/model/dist/browser/jsonpath/JsonPathTransformExpression.d.ts.map +1 -0
  103. package/model/dist/browser/jsonpath/PayloadTransformer.d.cts +3 -0
  104. package/model/dist/browser/jsonpath/PayloadTransformer.d.cts.map +1 -0
  105. package/model/dist/browser/jsonpath/PayloadTransformer.d.mts +3 -0
  106. package/model/dist/browser/jsonpath/PayloadTransformer.d.mts.map +1 -0
  107. package/model/dist/browser/jsonpath/PayloadTransformer.d.ts +3 -0
  108. package/model/dist/browser/jsonpath/PayloadTransformer.d.ts.map +1 -0
  109. package/model/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts +12 -0
  110. package/model/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts.map +1 -0
  111. package/model/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts +12 -0
  112. package/model/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts.map +1 -0
  113. package/model/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts +12 -0
  114. package/model/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts.map +1 -0
  115. package/model/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.cts +8 -0
  116. package/model/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.cts.map +1 -0
  117. package/model/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.mts +8 -0
  118. package/model/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.mts.map +1 -0
  119. package/model/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.ts +8 -0
  120. package/model/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.ts.map +1 -0
  121. package/model/dist/browser/jsonpath/index.d.cts +5 -0
  122. package/model/dist/browser/jsonpath/index.d.cts.map +1 -0
  123. package/model/dist/browser/jsonpath/index.d.mts +5 -0
  124. package/model/dist/browser/jsonpath/index.d.mts.map +1 -0
  125. package/model/dist/browser/jsonpath/index.d.ts +5 -0
  126. package/model/dist/browser/jsonpath/index.d.ts.map +1 -0
  127. package/model/dist/node/Config.d.cts +27 -0
  128. package/model/dist/node/Config.d.cts.map +1 -0
  129. package/model/dist/node/Config.d.mts +27 -0
  130. package/model/dist/node/Config.d.mts.map +1 -0
  131. package/model/dist/node/Config.d.ts +27 -0
  132. package/model/dist/node/Config.d.ts.map +1 -0
  133. package/model/dist/node/Params.d.cts +8 -0
  134. package/model/dist/node/Params.d.cts.map +1 -0
  135. package/model/dist/node/Params.d.mts +8 -0
  136. package/model/dist/node/Params.d.mts.map +1 -0
  137. package/model/dist/node/Params.d.ts +8 -0
  138. package/model/dist/node/Params.d.ts.map +1 -0
  139. package/model/dist/node/Schema.d.cts +9 -0
  140. package/model/dist/node/Schema.d.cts.map +1 -0
  141. package/model/dist/node/Schema.d.mts +9 -0
  142. package/model/dist/node/Schema.d.mts.map +1 -0
  143. package/model/dist/node/Schema.d.ts +9 -0
  144. package/model/dist/node/Schema.d.ts.map +1 -0
  145. package/model/dist/node/index.d.cts +5 -0
  146. package/model/dist/node/index.d.cts.map +1 -0
  147. package/model/dist/node/index.d.mts +5 -0
  148. package/model/dist/node/index.d.mts.map +1 -0
  149. package/model/dist/node/index.d.ts +5 -0
  150. package/model/dist/node/index.d.ts.map +1 -0
  151. package/model/dist/node/index.js +38 -0
  152. package/model/dist/node/index.js.map +1 -0
  153. package/model/dist/node/index.mjs +10 -0
  154. package/model/dist/node/index.mjs.map +1 -0
  155. package/model/dist/node/jsonpath/JsonPathTransformExpression.d.cts +20 -0
  156. package/model/dist/node/jsonpath/JsonPathTransformExpression.d.cts.map +1 -0
  157. package/model/dist/node/jsonpath/JsonPathTransformExpression.d.mts +20 -0
  158. package/model/dist/node/jsonpath/JsonPathTransformExpression.d.mts.map +1 -0
  159. package/model/dist/node/jsonpath/JsonPathTransformExpression.d.ts +20 -0
  160. package/model/dist/node/jsonpath/JsonPathTransformExpression.d.ts.map +1 -0
  161. package/model/dist/node/jsonpath/PayloadTransformer.d.cts +3 -0
  162. package/model/dist/node/jsonpath/PayloadTransformer.d.cts.map +1 -0
  163. package/model/dist/node/jsonpath/PayloadTransformer.d.mts +3 -0
  164. package/model/dist/node/jsonpath/PayloadTransformer.d.mts.map +1 -0
  165. package/model/dist/node/jsonpath/PayloadTransformer.d.ts +3 -0
  166. package/model/dist/node/jsonpath/PayloadTransformer.d.ts.map +1 -0
  167. package/model/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts +12 -0
  168. package/model/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts.map +1 -0
  169. package/model/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts +12 -0
  170. package/model/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts.map +1 -0
  171. package/model/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts +12 -0
  172. package/model/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts.map +1 -0
  173. package/model/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.cts +8 -0
  174. package/model/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.cts.map +1 -0
  175. package/model/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.mts +8 -0
  176. package/model/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.mts.map +1 -0
  177. package/model/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.ts +8 -0
  178. package/model/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.ts.map +1 -0
  179. package/model/dist/node/jsonpath/index.d.cts +5 -0
  180. package/model/dist/node/jsonpath/index.d.cts.map +1 -0
  181. package/model/dist/node/jsonpath/index.d.mts +5 -0
  182. package/model/dist/node/jsonpath/index.d.mts.map +1 -0
  183. package/model/dist/node/jsonpath/index.d.ts +5 -0
  184. package/model/dist/node/jsonpath/index.d.ts.map +1 -0
  185. package/package.json +3 -3
@@ -0,0 +1,27 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath';
3
+ import { JsonPathAggregateDivinerSchema } from './Schema';
4
+ /**
5
+ * The config schema type for the JSON Path diviner
6
+ */
7
+ export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
8
+ /**
9
+ * The config schema for the JSON Path diviner
10
+ */
11
+ export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
12
+ /**
13
+ * The configuration for the JSON Path diviner
14
+ */
15
+ export type JsonPathAggregateDivinerConfig = DivinerConfig<{
16
+ /**
17
+ * The schema to use for the destination payloads
18
+ */
19
+ destinationSchema?: string;
20
+ /**
21
+ * The JSON Path transform expressions to apply to the payloads
22
+ */
23
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
24
+ } & {
25
+ schema: JsonPathAggregateDivinerConfigSchema;
26
+ }>;
27
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAC7F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAEpI;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IACE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPathAggregateDivinerConfig } from './Config';
4
+ /**
5
+ * The params type the JSON Path diviner
6
+ **/
7
+ export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;IAEI;AACJ,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPathAggregateDivinerConfig } from './Config';
4
+ /**
5
+ * The params type the JSON Path diviner
6
+ **/
7
+ export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;IAEI;AACJ,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPathAggregateDivinerConfig } from './Config';
4
+ /**
5
+ * The params type the JSON Path diviner
6
+ **/
7
+ export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;IAEI;AACJ,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The schema type used for the JSONPath Diviner.
3
+ */
4
+ export type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath';
5
+ /**
6
+ * The schema used for the JSONPath Diviner.
7
+ */
8
+ export declare const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema;
9
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,8BAA8B,CAAA;AAC3E;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAA+D,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The schema type used for the JSONPath Diviner.
3
+ */
4
+ export type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath';
5
+ /**
6
+ * The schema used for the JSONPath Diviner.
7
+ */
8
+ export declare const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema;
9
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,8BAA8B,CAAA;AAC3E;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAA+D,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The schema type used for the JSONPath Diviner.
3
+ */
4
+ export type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath';
5
+ /**
6
+ * The schema used for the JSONPath Diviner.
7
+ */
8
+ export declare const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema;
9
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,8BAA8B,CAAA;AAC3E;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAA+D,CAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ JsonPathAggregateDivinerConfigSchema: () => JsonPathAggregateDivinerConfigSchema,
24
+ JsonPathAggregateDivinerSchema: () => JsonPathAggregateDivinerSchema
25
+ });
26
+ module.exports = __toCommonJS(src_exports);
27
+
28
+ // src/Schema.ts
29
+ var JsonPathAggregateDivinerSchema = "network.xyo.diviner.jsonpath";
30
+
31
+ // src/Config.ts
32
+ var JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
33
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './jsonpath'\nexport * from './Params'\nexport * from './Schema'\n","/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath'\nimport { JsonPathAggregateDivinerSchema } from './Schema'\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathAggregateDivinerConfig = DivinerConfig<\n {\n /**\n * The schema to use for the destination payloads\n */\n destinationSchema?: string\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n } & { schema: JsonPathAggregateDivinerConfigSchema }\n>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACOO,IAAM,iCAAiE;;;ACKvE,IAAM,uCAA6E,GAAG,8BAA8B;","names":[]}
@@ -0,0 +1,5 @@
1
+ export * from './Config';
2
+ export * from './jsonpath';
3
+ export * from './Params';
4
+ export * from './Schema';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './Config';
2
+ export * from './jsonpath';
3
+ export * from './Params';
4
+ export * from './Schema';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './Config';
2
+ export * from './jsonpath';
3
+ export * from './Params';
4
+ export * from './Schema';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,10 @@
1
+ // src/Schema.ts
2
+ var JsonPathAggregateDivinerSchema = "network.xyo.diviner.jsonpath";
3
+
4
+ // src/Config.ts
5
+ var JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
6
+ export {
7
+ JsonPathAggregateDivinerConfigSchema,
8
+ JsonPathAggregateDivinerSchema
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath'\nimport { JsonPathAggregateDivinerSchema } from './Schema'\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathAggregateDivinerConfig = DivinerConfig<\n {\n /**\n * The schema to use for the destination payloads\n */\n destinationSchema?: string\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n } & { schema: JsonPathAggregateDivinerConfigSchema }\n>\n"],"mappings":";AAOO,IAAM,iCAAiE;;;ACKvE,IAAM,uCAA6E,GAAG,8BAA8B;","names":[]}
@@ -0,0 +1,20 @@
1
+ import { JsonValue } from '@xyo-network/object';
2
+ /**
3
+ * Describes the JSON-path transformation to retrieve a field on a source object
4
+ * and the target field to store the value to on a destination object
5
+ */
6
+ export interface JsonPathTransformExpression {
7
+ /**
8
+ * The default value to use if the source field does not exist
9
+ */
10
+ defaultValue?: JsonValue;
11
+ /**
12
+ * The target field to store the source field into on the destination object
13
+ */
14
+ destinationField: string;
15
+ /**
16
+ * The JSON path expressions for the source field on the source object
17
+ */
18
+ sourcePathExpression: string;
19
+ }
20
+ //# sourceMappingURL=JsonPathTransformExpression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
@@ -0,0 +1,20 @@
1
+ import { JsonValue } from '@xyo-network/object';
2
+ /**
3
+ * Describes the JSON-path transformation to retrieve a field on a source object
4
+ * and the target field to store the value to on a destination object
5
+ */
6
+ export interface JsonPathTransformExpression {
7
+ /**
8
+ * The default value to use if the source field does not exist
9
+ */
10
+ defaultValue?: JsonValue;
11
+ /**
12
+ * The target field to store the source field into on the destination object
13
+ */
14
+ destinationField: string;
15
+ /**
16
+ * The JSON path expressions for the source field on the source object
17
+ */
18
+ sourcePathExpression: string;
19
+ }
20
+ //# sourceMappingURL=JsonPathTransformExpression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
@@ -0,0 +1,20 @@
1
+ import { JsonValue } from '@xyo-network/object';
2
+ /**
3
+ * Describes the JSON-path transformation to retrieve a field on a source object
4
+ * and the target field to store the value to on a destination object
5
+ */
6
+ export interface JsonPathTransformExpression {
7
+ /**
8
+ * The default value to use if the source field does not exist
9
+ */
10
+ defaultValue?: JsonValue;
11
+ /**
12
+ * The target field to store the source field into on the destination object
13
+ */
14
+ destinationField: string;
15
+ /**
16
+ * The JSON path expressions for the source field on the source object
17
+ */
18
+ sourcePathExpression: string;
19
+ }
20
+ //# sourceMappingURL=JsonPathTransformExpression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
@@ -0,0 +1,3 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ export type PayloadTransformer = (x: Payload) => Partial<Payload>;
3
+ //# sourceMappingURL=PayloadTransformer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayloadTransformer.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/PayloadTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ export type PayloadTransformer = (x: Payload) => Partial<Payload>;
3
+ //# sourceMappingURL=PayloadTransformer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayloadTransformer.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/PayloadTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ export type PayloadTransformer = (x: Payload) => Partial<Payload>;
3
+ //# sourceMappingURL=PayloadTransformer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayloadTransformer.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/PayloadTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { JsonPathTransformExpression } from './JsonPathTransformExpression';
2
+ /**
3
+ * A dictionary of schema to JSON Path transform expressions.
4
+ */
5
+ export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
6
+ [schema: string]: unknown;
7
+ } = {
8
+ [schema: string]: unknown;
9
+ }> = {
10
+ [key in keyof T]: JsonPathTransformExpression[];
11
+ };
12
+ //# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,8CAA8C,CAAC,CAAC,SAAS;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACnI,GAAG,IAAI,MAAM,CAAC,GAAG,2BAA2B,EAAE;CAChD,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { JsonPathTransformExpression } from './JsonPathTransformExpression';
2
+ /**
3
+ * A dictionary of schema to JSON Path transform expressions.
4
+ */
5
+ export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
6
+ [schema: string]: unknown;
7
+ } = {
8
+ [schema: string]: unknown;
9
+ }> = {
10
+ [key in keyof T]: JsonPathTransformExpression[];
11
+ };
12
+ //# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,8CAA8C,CAAC,CAAC,SAAS;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACnI,GAAG,IAAI,MAAM,CAAC,GAAG,2BAA2B,EAAE;CAChD,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { JsonPathTransformExpression } from './JsonPathTransformExpression';
2
+ /**
3
+ * A dictionary of schema to JSON Path transform expressions.
4
+ */
5
+ export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
6
+ [schema: string]: unknown;
7
+ } = {
8
+ [schema: string]: unknown;
9
+ }> = {
10
+ [key in keyof T]: JsonPathTransformExpression[];
11
+ };
12
+ //# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,8CAA8C,CAAC,CAAC,SAAS;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACnI,GAAG,IAAI,MAAM,CAAC,GAAG,2BAA2B,EAAE;CAChD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { PayloadTransformer } from './PayloadTransformer';
2
+ /**
3
+ * A dictionary of schema to payload transformers
4
+ */
5
+ export type SchemaToPayloadTransformersDictionary = {
6
+ [schema: string]: PayloadTransformer[];
7
+ };
8
+ //# sourceMappingURL=SchemaToPayloadTransformersDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaToPayloadTransformersDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToPayloadTransformersDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { PayloadTransformer } from './PayloadTransformer';
2
+ /**
3
+ * A dictionary of schema to payload transformers
4
+ */
5
+ export type SchemaToPayloadTransformersDictionary = {
6
+ [schema: string]: PayloadTransformer[];
7
+ };
8
+ //# sourceMappingURL=SchemaToPayloadTransformersDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaToPayloadTransformersDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToPayloadTransformersDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { PayloadTransformer } from './PayloadTransformer';
2
+ /**
3
+ * A dictionary of schema to payload transformers
4
+ */
5
+ export type SchemaToPayloadTransformersDictionary = {
6
+ [schema: string]: PayloadTransformer[];
7
+ };
8
+ //# sourceMappingURL=SchemaToPayloadTransformersDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaToPayloadTransformersDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToPayloadTransformersDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CAAE,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './JsonPathTransformExpression';
2
+ export * from './PayloadTransformer';
3
+ export * from './SchemaToJsonPathTransformExpressionDictionary';
4
+ export * from './SchemaToPayloadTransformersDictionary';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yCAAyC,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './JsonPathTransformExpression';
2
+ export * from './PayloadTransformer';
3
+ export * from './SchemaToJsonPathTransformExpressionDictionary';
4
+ export * from './SchemaToPayloadTransformersDictionary';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yCAAyC,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './JsonPathTransformExpression';
2
+ export * from './PayloadTransformer';
3
+ export * from './SchemaToJsonPathTransformExpressionDictionary';
4
+ export * from './SchemaToPayloadTransformersDictionary';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yCAAyC,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath';
3
+ import { JsonPathAggregateDivinerSchema } from './Schema';
4
+ /**
5
+ * The config schema type for the JSON Path diviner
6
+ */
7
+ export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
8
+ /**
9
+ * The config schema for the JSON Path diviner
10
+ */
11
+ export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
12
+ /**
13
+ * The configuration for the JSON Path diviner
14
+ */
15
+ export type JsonPathAggregateDivinerConfig = DivinerConfig<{
16
+ /**
17
+ * The schema to use for the destination payloads
18
+ */
19
+ destinationSchema?: string;
20
+ /**
21
+ * The JSON Path transform expressions to apply to the payloads
22
+ */
23
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
24
+ } & {
25
+ schema: JsonPathAggregateDivinerConfigSchema;
26
+ }>;
27
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAC7F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAEpI;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IACE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath';
3
+ import { JsonPathAggregateDivinerSchema } from './Schema';
4
+ /**
5
+ * The config schema type for the JSON Path diviner
6
+ */
7
+ export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
8
+ /**
9
+ * The config schema for the JSON Path diviner
10
+ */
11
+ export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
12
+ /**
13
+ * The configuration for the JSON Path diviner
14
+ */
15
+ export type JsonPathAggregateDivinerConfig = DivinerConfig<{
16
+ /**
17
+ * The schema to use for the destination payloads
18
+ */
19
+ destinationSchema?: string;
20
+ /**
21
+ * The JSON Path transform expressions to apply to the payloads
22
+ */
23
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
24
+ } & {
25
+ schema: JsonPathAggregateDivinerConfigSchema;
26
+ }>;
27
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAC7F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAEpI;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IACE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath';
3
+ import { JsonPathAggregateDivinerSchema } from './Schema';
4
+ /**
5
+ * The config schema type for the JSON Path diviner
6
+ */
7
+ export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
8
+ /**
9
+ * The config schema for the JSON Path diviner
10
+ */
11
+ export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
12
+ /**
13
+ * The configuration for the JSON Path diviner
14
+ */
15
+ export type JsonPathAggregateDivinerConfig = DivinerConfig<{
16
+ /**
17
+ * The schema to use for the destination payloads
18
+ */
19
+ destinationSchema?: string;
20
+ /**
21
+ * The JSON Path transform expressions to apply to the payloads
22
+ */
23
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
24
+ } & {
25
+ schema: JsonPathAggregateDivinerConfigSchema;
26
+ }>;
27
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAC7F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAEpI;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IACE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPathAggregateDivinerConfig } from './Config';
4
+ /**
5
+ * The params type the JSON Path diviner
6
+ **/
7
+ export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;IAEI;AACJ,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPathAggregateDivinerConfig } from './Config';
4
+ /**
5
+ * The params type the JSON Path diviner
6
+ **/
7
+ export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;IAEI;AACJ,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPathAggregateDivinerConfig } from './Config';
4
+ /**
5
+ * The params type the JSON Path diviner
6
+ **/
7
+ export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD;;IAEI;AACJ,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The schema type used for the JSONPath Diviner.
3
+ */
4
+ export type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath';
5
+ /**
6
+ * The schema used for the JSONPath Diviner.
7
+ */
8
+ export declare const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema;
9
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,8BAA8B,CAAA;AAC3E;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAA+D,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The schema type used for the JSONPath Diviner.
3
+ */
4
+ export type JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath';
5
+ /**
6
+ * The schema used for the JSONPath Diviner.
7
+ */
8
+ export declare const JsonPathAggregateDivinerSchema: JsonPathAggregateDivinerSchema;
9
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,8BAA8B,CAAA;AAC3E;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAA+D,CAAA"}