@xyo-network/diviner-jsonpath-aggregate-model 2.111.3 → 3.0.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/dist/neutral/index.d.ts +41 -5
- package/package.json +11 -30
- package/xy.config.ts +12 -0
- package/dist/browser/Config.d.cts +0 -13
- package/dist/browser/Config.d.cts.map +0 -1
- package/dist/browser/Config.d.mts +0 -13
- package/dist/browser/Config.d.mts.map +0 -1
- package/dist/browser/Config.d.ts +0 -13
- package/dist/browser/Config.d.ts.map +0 -1
- package/dist/browser/Params.d.cts +0 -5
- package/dist/browser/Params.d.cts.map +0 -1
- package/dist/browser/Params.d.mts +0 -5
- package/dist/browser/Params.d.mts.map +0 -1
- package/dist/browser/Params.d.ts +0 -5
- package/dist/browser/Params.d.ts.map +0 -1
- package/dist/browser/Schema.d.cts +0 -3
- package/dist/browser/Schema.d.cts.map +0 -1
- package/dist/browser/Schema.d.mts +0 -3
- package/dist/browser/Schema.d.mts.map +0 -1
- package/dist/browser/Schema.d.ts +0 -3
- package/dist/browser/Schema.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -33
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -5
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -5
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts +0 -5
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.mjs +0 -10
- package/dist/browser/index.mjs.map +0 -1
- package/dist/browser/jsonpath/JsonPathTransformExpression.d.cts +0 -7
- package/dist/browser/jsonpath/JsonPathTransformExpression.d.cts.map +0 -1
- package/dist/browser/jsonpath/JsonPathTransformExpression.d.mts +0 -7
- package/dist/browser/jsonpath/JsonPathTransformExpression.d.mts.map +0 -1
- package/dist/browser/jsonpath/JsonPathTransformExpression.d.ts +0 -7
- package/dist/browser/jsonpath/JsonPathTransformExpression.d.ts.map +0 -1
- package/dist/browser/jsonpath/PayloadTransformer.d.cts +0 -3
- package/dist/browser/jsonpath/PayloadTransformer.d.cts.map +0 -1
- package/dist/browser/jsonpath/PayloadTransformer.d.mts +0 -3
- package/dist/browser/jsonpath/PayloadTransformer.d.mts.map +0 -1
- package/dist/browser/jsonpath/PayloadTransformer.d.ts +0 -3
- package/dist/browser/jsonpath/PayloadTransformer.d.ts.map +0 -1
- package/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts +0 -9
- package/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts.map +0 -1
- package/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts +0 -9
- package/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts.map +0 -1
- package/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts +0 -9
- package/dist/browser/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts.map +0 -1
- package/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.cts +0 -5
- package/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.cts.map +0 -1
- package/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.mts +0 -5
- package/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.mts.map +0 -1
- package/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.ts +0 -5
- package/dist/browser/jsonpath/SchemaToPayloadTransformersDictionary.d.ts.map +0 -1
- package/dist/browser/jsonpath/index.d.cts +0 -5
- package/dist/browser/jsonpath/index.d.cts.map +0 -1
- package/dist/browser/jsonpath/index.d.mts +0 -5
- package/dist/browser/jsonpath/index.d.mts.map +0 -1
- package/dist/browser/jsonpath/index.d.ts +0 -5
- package/dist/browser/jsonpath/index.d.ts.map +0 -1
- package/dist/neutral/Config.d.cts +0 -13
- package/dist/neutral/Config.d.cts.map +0 -1
- package/dist/neutral/Config.d.mts +0 -13
- package/dist/neutral/Config.d.mts.map +0 -1
- package/dist/neutral/Config.d.ts +0 -13
- package/dist/neutral/Config.d.ts.map +0 -1
- package/dist/neutral/Params.d.cts +0 -5
- package/dist/neutral/Params.d.cts.map +0 -1
- package/dist/neutral/Params.d.mts +0 -5
- package/dist/neutral/Params.d.mts.map +0 -1
- package/dist/neutral/Params.d.ts +0 -5
- package/dist/neutral/Params.d.ts.map +0 -1
- package/dist/neutral/Schema.d.cts +0 -3
- package/dist/neutral/Schema.d.cts.map +0 -1
- package/dist/neutral/Schema.d.mts +0 -3
- package/dist/neutral/Schema.d.mts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -3
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -33
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -5
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -5
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/jsonpath/JsonPathTransformExpression.d.cts +0 -7
- package/dist/neutral/jsonpath/JsonPathTransformExpression.d.cts.map +0 -1
- package/dist/neutral/jsonpath/JsonPathTransformExpression.d.mts +0 -7
- package/dist/neutral/jsonpath/JsonPathTransformExpression.d.mts.map +0 -1
- package/dist/neutral/jsonpath/JsonPathTransformExpression.d.ts +0 -7
- package/dist/neutral/jsonpath/JsonPathTransformExpression.d.ts.map +0 -1
- package/dist/neutral/jsonpath/PayloadTransformer.d.cts +0 -3
- package/dist/neutral/jsonpath/PayloadTransformer.d.cts.map +0 -1
- package/dist/neutral/jsonpath/PayloadTransformer.d.mts +0 -3
- package/dist/neutral/jsonpath/PayloadTransformer.d.mts.map +0 -1
- package/dist/neutral/jsonpath/PayloadTransformer.d.ts +0 -3
- package/dist/neutral/jsonpath/PayloadTransformer.d.ts.map +0 -1
- package/dist/neutral/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts +0 -9
- package/dist/neutral/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts.map +0 -1
- package/dist/neutral/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts +0 -9
- package/dist/neutral/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts.map +0 -1
- package/dist/neutral/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts +0 -9
- package/dist/neutral/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts.map +0 -1
- package/dist/neutral/jsonpath/SchemaToPayloadTransformersDictionary.d.cts +0 -5
- package/dist/neutral/jsonpath/SchemaToPayloadTransformersDictionary.d.cts.map +0 -1
- package/dist/neutral/jsonpath/SchemaToPayloadTransformersDictionary.d.mts +0 -5
- package/dist/neutral/jsonpath/SchemaToPayloadTransformersDictionary.d.mts.map +0 -1
- package/dist/neutral/jsonpath/SchemaToPayloadTransformersDictionary.d.ts +0 -5
- package/dist/neutral/jsonpath/SchemaToPayloadTransformersDictionary.d.ts.map +0 -1
- package/dist/neutral/jsonpath/index.d.cts +0 -5
- package/dist/neutral/jsonpath/index.d.cts.map +0 -1
- package/dist/neutral/jsonpath/index.d.mts +0 -5
- package/dist/neutral/jsonpath/index.d.mts.map +0 -1
- package/dist/neutral/jsonpath/index.d.ts +0 -5
- package/dist/neutral/jsonpath/index.d.ts.map +0 -1
- package/dist/node/Config.d.cts +0 -13
- package/dist/node/Config.d.cts.map +0 -1
- package/dist/node/Config.d.mts +0 -13
- package/dist/node/Config.d.mts.map +0 -1
- package/dist/node/Config.d.ts +0 -13
- package/dist/node/Config.d.ts.map +0 -1
- package/dist/node/Params.d.cts +0 -5
- package/dist/node/Params.d.cts.map +0 -1
- package/dist/node/Params.d.mts +0 -5
- package/dist/node/Params.d.mts.map +0 -1
- package/dist/node/Params.d.ts +0 -5
- package/dist/node/Params.d.ts.map +0 -1
- package/dist/node/Schema.d.cts +0 -3
- package/dist/node/Schema.d.cts.map +0 -1
- package/dist/node/Schema.d.mts +0 -3
- package/dist/node/Schema.d.mts.map +0 -1
- package/dist/node/Schema.d.ts +0 -3
- package/dist/node/Schema.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -38
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -5
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -5
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -5
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -10
- package/dist/node/index.mjs.map +0 -1
- package/dist/node/jsonpath/JsonPathTransformExpression.d.cts +0 -7
- package/dist/node/jsonpath/JsonPathTransformExpression.d.cts.map +0 -1
- package/dist/node/jsonpath/JsonPathTransformExpression.d.mts +0 -7
- package/dist/node/jsonpath/JsonPathTransformExpression.d.mts.map +0 -1
- package/dist/node/jsonpath/JsonPathTransformExpression.d.ts +0 -7
- package/dist/node/jsonpath/JsonPathTransformExpression.d.ts.map +0 -1
- package/dist/node/jsonpath/PayloadTransformer.d.cts +0 -3
- package/dist/node/jsonpath/PayloadTransformer.d.cts.map +0 -1
- package/dist/node/jsonpath/PayloadTransformer.d.mts +0 -3
- package/dist/node/jsonpath/PayloadTransformer.d.mts.map +0 -1
- package/dist/node/jsonpath/PayloadTransformer.d.ts +0 -3
- package/dist/node/jsonpath/PayloadTransformer.d.ts.map +0 -1
- package/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts +0 -9
- package/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.cts.map +0 -1
- package/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts +0 -9
- package/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.mts.map +0 -1
- package/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts +0 -9
- package/dist/node/jsonpath/SchemaToJsonPathTransformExpressionDictionary.d.ts.map +0 -1
- package/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.cts +0 -5
- package/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.cts.map +0 -1
- package/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.mts +0 -5
- package/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.mts.map +0 -1
- package/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.ts +0 -5
- package/dist/node/jsonpath/SchemaToPayloadTransformersDictionary.d.ts.map +0 -1
- package/dist/node/jsonpath/index.d.cts +0 -5
- package/dist/node/jsonpath/index.d.cts.map +0 -1
- package/dist/node/jsonpath/index.d.mts +0 -5
- package/dist/node/jsonpath/index.d.mts.map +0 -1
- package/dist/node/jsonpath/index.d.ts +0 -5
- package/dist/node/jsonpath/index.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,0CAAoD,CAAA;AAK/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,0CAAoD,CAAA;AAK/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
package/dist/neutral/Schema.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,0CAAoD,CAAA;AAK/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
package/dist/neutral/index.cjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
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.aggregate";
|
|
30
|
-
|
|
31
|
-
// src/Config.ts
|
|
32
|
-
var JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
|
|
33
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './jsonpath/index.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\n","/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath.aggregate' as const\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathAggregateDivinerSchema = typeof JsonPathAggregateDivinerSchema\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts'\nimport { JsonPathAggregateDivinerSchema } from './Schema.ts'\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 * Exclude the source hashes from the destination payload.\n */\n excludeSources?: boolean\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n } & { schema: JsonPathAggregateDivinerConfigSchema }\n>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACGO,IAAMA,iCAAiC;;;ACSvC,IAAMC,uCAA6E,GAAGC,8BAAAA;","names":["JsonPathAggregateDivinerSchema","JsonPathAggregateDivinerConfigSchema","JsonPathAggregateDivinerSchema"]}
|
package/dist/neutral/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
package/dist/neutral/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,MAAM,WAAW,2BAA2B;IAI1C,YAAY,CAAC,EAAE,SAAS,CAAA;IAIxB,gBAAgB,EAAE,MAAM,CAAA;IAIxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,MAAM,WAAW,2BAA2B;IAI1C,YAAY,CAAC,EAAE,SAAS,CAAA;IAIxB,gBAAgB,EAAE,MAAM,CAAA;IAIxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,MAAM,WAAW,2BAA2B;IAI1C,YAAY,CAAC,EAAE,SAAS,CAAA;IAIxB,gBAAgB,EAAE,MAAM,CAAA;IAIxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonPathTransformExpression } from './JsonPathTransformExpression.ts';
|
|
2
|
-
export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
|
|
3
|
-
[schema: string]: unknown;
|
|
4
|
-
} = {
|
|
5
|
-
[schema: string]: unknown;
|
|
6
|
-
}> = {
|
|
7
|
-
[key in keyof T]: JsonPathTransformExpression[];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAK9E,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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonPathTransformExpression } from './JsonPathTransformExpression.ts';
|
|
2
|
-
export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
|
|
3
|
-
[schema: string]: unknown;
|
|
4
|
-
} = {
|
|
5
|
-
[schema: string]: unknown;
|
|
6
|
-
}> = {
|
|
7
|
-
[key in keyof T]: JsonPathTransformExpression[];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAK9E,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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonPathTransformExpression } from './JsonPathTransformExpression.ts';
|
|
2
|
-
export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
|
|
3
|
-
[schema: string]: unknown;
|
|
4
|
-
} = {
|
|
5
|
-
[schema: string]: unknown;
|
|
6
|
-
}> = {
|
|
7
|
-
[key in keyof T]: JsonPathTransformExpression[];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAK9E,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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToPayloadTransformersDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToPayloadTransformersDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAK5D,MAAM,MAAM,qCAAqC,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToPayloadTransformersDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToPayloadTransformersDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAK5D,MAAM,MAAM,qCAAqC,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToPayloadTransformersDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToPayloadTransformersDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAK5D,MAAM,MAAM,qCAAqC,GAAG;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAAA;CAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,yBAAyB,CAAA;AACvC,cAAc,oDAAoD,CAAA;AAClE,cAAc,4CAA4C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,yBAAyB,CAAA;AACvC,cAAc,oDAAoD,CAAA;AAClE,cAAc,4CAA4C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,yBAAyB,CAAA;AACvC,cAAc,oDAAoD,CAAA;AAClE,cAAc,4CAA4C,CAAA"}
|
package/dist/node/Config.d.cts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts';
|
|
3
|
-
import { JsonPathAggregateDivinerSchema } from './Schema.ts';
|
|
4
|
-
export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
|
|
5
|
-
export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
|
|
6
|
-
export type JsonPathAggregateDivinerConfig = DivinerConfig<{
|
|
7
|
-
destinationSchema?: string;
|
|
8
|
-
excludeSources?: boolean;
|
|
9
|
-
schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
|
|
10
|
-
} & {
|
|
11
|
-
schema: JsonPathAggregateDivinerConfigSchema;
|
|
12
|
-
}>;
|
|
13
|
-
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,qBAAqB,CAAA;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAK5D,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAI7F,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAKpI,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IAIE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAI1B,cAAc,CAAC,EAAE,OAAO,CAAA;IAIxB,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
|
package/dist/node/Config.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts';
|
|
3
|
-
import { JsonPathAggregateDivinerSchema } from './Schema.ts';
|
|
4
|
-
export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
|
|
5
|
-
export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
|
|
6
|
-
export type JsonPathAggregateDivinerConfig = DivinerConfig<{
|
|
7
|
-
destinationSchema?: string;
|
|
8
|
-
excludeSources?: boolean;
|
|
9
|
-
schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
|
|
10
|
-
} & {
|
|
11
|
-
schema: JsonPathAggregateDivinerConfigSchema;
|
|
12
|
-
}>;
|
|
13
|
-
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,qBAAqB,CAAA;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAK5D,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAI7F,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAKpI,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IAIE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAI1B,cAAc,CAAC,EAAE,OAAO,CAAA;IAIxB,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
|
package/dist/node/Config.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts';
|
|
3
|
-
import { JsonPathAggregateDivinerSchema } from './Schema.ts';
|
|
4
|
-
export type JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
|
|
5
|
-
export declare const JsonPathAggregateDivinerConfigSchema: JsonPathAggregateDivinerConfigSchema;
|
|
6
|
-
export type JsonPathAggregateDivinerConfig = DivinerConfig<{
|
|
7
|
-
destinationSchema?: string;
|
|
8
|
-
excludeSources?: boolean;
|
|
9
|
-
schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
|
|
10
|
-
} & {
|
|
11
|
-
schema: JsonPathAggregateDivinerConfigSchema;
|
|
12
|
-
}>;
|
|
13
|
-
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,qBAAqB,CAAA;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAK5D,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAI7F,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAKpI,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD;IAIE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAI1B,cAAc,CAAC,EAAE,OAAO,CAAA;IAIxB,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,GAAG;IAAE,MAAM,EAAE,oCAAoC,CAAA;CAAE,CACrD,CAAA"}
|
package/dist/node/Params.d.cts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { JsonPathAggregateDivinerConfig } from './Config.ts';
|
|
4
|
-
export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
|
|
5
|
-
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,CAAA;AAK5D,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
|
package/dist/node/Params.d.mts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { JsonPathAggregateDivinerConfig } from './Config.ts';
|
|
4
|
-
export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
|
|
5
|
-
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,CAAA;AAK5D,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
|
package/dist/node/Params.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { JsonPathAggregateDivinerConfig } from './Config.ts';
|
|
4
|
-
export type JsonPathAggregateDivinerParams = DivinerParams<AnyConfigSchema<JsonPathAggregateDivinerConfig>>;
|
|
5
|
-
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,CAAA;AAK5D,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
|
package/dist/node/Schema.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,0CAAoD,CAAA;AAK/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
package/dist/node/Schema.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,0CAAoD,CAAA;AAK/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
package/dist/node/Schema.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,0CAAoD,CAAA;AAK/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
package/dist/node/index.cjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
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.aggregate";
|
|
30
|
-
|
|
31
|
-
// src/Config.ts
|
|
32
|
-
var JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
35
|
-
JsonPathAggregateDivinerConfigSchema,
|
|
36
|
-
JsonPathAggregateDivinerSchema
|
|
37
|
-
});
|
|
38
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './jsonpath/index.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\n","/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath.aggregate' as const\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathAggregateDivinerSchema = typeof JsonPathAggregateDivinerSchema\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts'\nimport { JsonPathAggregateDivinerSchema } from './Schema.ts'\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 * Exclude the source hashes from the destination payload.\n */\n excludeSources?: boolean\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n } & { schema: JsonPathAggregateDivinerConfigSchema }\n>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACGO,IAAMA,iCAAiC;;;ACSvC,IAAMC,uCAA6E,GAAGC,8BAAAA;","names":["JsonPathAggregateDivinerSchema","JsonPathAggregateDivinerConfigSchema","JsonPathAggregateDivinerSchema"]}
|
package/dist/node/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
package/dist/node/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
package/dist/node/index.d.ts
DELETED
package/dist/node/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
|
package/dist/node/index.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var JsonPathAggregateDivinerSchema = "network.xyo.diviner.jsonpath.aggregate";
|
|
3
|
-
|
|
4
|
-
// src/Config.ts
|
|
5
|
-
var JsonPathAggregateDivinerConfigSchema = `${JsonPathAggregateDivinerSchema}.config`;
|
|
6
|
-
export {
|
|
7
|
-
JsonPathAggregateDivinerConfigSchema,
|
|
8
|
-
JsonPathAggregateDivinerSchema
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath.aggregate' as const\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathAggregateDivinerSchema = typeof JsonPathAggregateDivinerSchema\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts'\nimport { JsonPathAggregateDivinerSchema } from './Schema.ts'\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 * Exclude the source hashes from the destination payload.\n */\n excludeSources?: boolean\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n } & { schema: JsonPathAggregateDivinerConfigSchema }\n>\n"],"mappings":";AAGO,IAAMA,iCAAiC;;;ACSvC,IAAMC,uCAA6E,GAAGC,8BAAAA;","names":["JsonPathAggregateDivinerSchema","JsonPathAggregateDivinerConfigSchema","JsonPathAggregateDivinerSchema"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,MAAM,WAAW,2BAA2B;IAI1C,YAAY,CAAC,EAAE,SAAS,CAAA;IAIxB,gBAAgB,EAAE,MAAM,CAAA;IAIxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,MAAM,WAAW,2BAA2B;IAI1C,YAAY,CAAC,EAAE,SAAS,CAAA;IAIxB,gBAAgB,EAAE,MAAM,CAAA;IAIxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonPathTransformExpression.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/JsonPathTransformExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAM1C,MAAM,WAAW,2BAA2B;IAI1C,YAAY,CAAC,EAAE,SAAS,CAAA;IAIxB,gBAAgB,EAAE,MAAM,CAAA;IAIxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonPathTransformExpression } from './JsonPathTransformExpression.ts';
|
|
2
|
-
export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
|
|
3
|
-
[schema: string]: unknown;
|
|
4
|
-
} = {
|
|
5
|
-
[schema: string]: unknown;
|
|
6
|
-
}> = {
|
|
7
|
-
[key in keyof T]: JsonPathTransformExpression[];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAK9E,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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonPathTransformExpression } from './JsonPathTransformExpression.ts';
|
|
2
|
-
export type SchemaToJsonPathTransformExpressionsDictionary<T extends {
|
|
3
|
-
[schema: string]: unknown;
|
|
4
|
-
} = {
|
|
5
|
-
[schema: string]: unknown;
|
|
6
|
-
}> = {
|
|
7
|
-
[key in keyof T]: JsonPathTransformExpression[];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SchemaToJsonPathTransformExpressionDictionary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAK9E,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"}
|