@xyo-network/diviner-jsonpath-model 2.111.3 → 3.0.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/dist/neutral/index.d.ts +40 -5
- package/package.json +10 -29
- package/xy.config.ts +12 -0
- package/dist/browser/Config.d.cts +0 -12
- package/dist/browser/Config.d.cts.map +0 -1
- package/dist/browser/Config.d.mts +0 -12
- package/dist/browser/Config.d.mts.map +0 -1
- package/dist/browser/Config.d.ts +0 -12
- 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 -12
- package/dist/neutral/Config.d.cts.map +0 -1
- package/dist/neutral/Config.d.mts +0 -12
- package/dist/neutral/Config.d.mts.map +0 -1
- package/dist/neutral/Config.d.ts +0 -12
- 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 -12
- package/dist/node/Config.d.cts.map +0 -1
- package/dist/node/Config.d.mts +0 -12
- package/dist/node/Config.d.mts.map +0 -1
- package/dist/node/Config.d.ts +0 -12
- 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,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CAAA;AAIlE,eAAO,MAAM,qBAAqB,EAAE,qBAAsD,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,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CAAA;AAIlE,eAAO,MAAM,qBAAqB,EAAE,qBAAsD,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
|
-
JsonPathDivinerConfigSchema: () => JsonPathDivinerConfigSchema,
|
|
24
|
-
JsonPathDivinerSchema: () => JsonPathDivinerSchema
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(src_exports);
|
|
27
|
-
|
|
28
|
-
// src/Schema.ts
|
|
29
|
-
var JsonPathDivinerSchema = "network.xyo.diviner.jsonpath";
|
|
30
|
-
|
|
31
|
-
// src/Config.ts
|
|
32
|
-
var JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.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 type used for the JSONPath Diviner.\n */\nexport type JsonPathDivinerSchema = 'network.xyo.diviner.jsonpath'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathDivinerSchema: JsonPathDivinerSchema = 'network.xyo.diviner.jsonpath'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema: JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathDivinerConfig = 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 transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACOO,IAAMA,wBAA+C;;;ACKrD,IAAMC,8BAA2D,GAAGC,qBAAAA;","names":["JsonPathDivinerSchema","JsonPathDivinerConfigSchema","JsonPathDivinerSchema"]}
|
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;AAIpD,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;AAIpD,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;AAIpD,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,12 +0,0 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import { JsonPathTransformExpression } from './jsonpath/index.ts';
|
|
3
|
-
import { JsonPathDivinerSchema } from './Schema.ts';
|
|
4
|
-
export type JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`;
|
|
5
|
-
export declare const JsonPathDivinerConfigSchema: JsonPathDivinerConfigSchema;
|
|
6
|
-
export type JsonPathDivinerConfig = DivinerConfig<{
|
|
7
|
-
destinationSchema?: string;
|
|
8
|
-
transforms?: JsonPathTransformExpression[];
|
|
9
|
-
} & {
|
|
10
|
-
schema: JsonPathDivinerConfigSchema;
|
|
11
|
-
}>;
|
|
12
|
-
//# 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,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKnD,MAAM,MAAM,2BAA2B,GAAG,GAAG,qBAAqB,SAAS,CAAA;AAI3E,eAAO,MAAM,2BAA2B,EAAE,2BAA+D,CAAA;AAKzG,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAC/C;IAIE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAI1B,UAAU,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC3C,GAAG;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,CAC5C,CAAA"}
|
package/dist/node/Config.d.mts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import { JsonPathTransformExpression } from './jsonpath/index.ts';
|
|
3
|
-
import { JsonPathDivinerSchema } from './Schema.ts';
|
|
4
|
-
export type JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`;
|
|
5
|
-
export declare const JsonPathDivinerConfigSchema: JsonPathDivinerConfigSchema;
|
|
6
|
-
export type JsonPathDivinerConfig = DivinerConfig<{
|
|
7
|
-
destinationSchema?: string;
|
|
8
|
-
transforms?: JsonPathTransformExpression[];
|
|
9
|
-
} & {
|
|
10
|
-
schema: JsonPathDivinerConfigSchema;
|
|
11
|
-
}>;
|
|
12
|
-
//# 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,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKnD,MAAM,MAAM,2BAA2B,GAAG,GAAG,qBAAqB,SAAS,CAAA;AAI3E,eAAO,MAAM,2BAA2B,EAAE,2BAA+D,CAAA;AAKzG,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAC/C;IAIE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAI1B,UAAU,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC3C,GAAG;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,CAC5C,CAAA"}
|
package/dist/node/Config.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import { JsonPathTransformExpression } from './jsonpath/index.ts';
|
|
3
|
-
import { JsonPathDivinerSchema } from './Schema.ts';
|
|
4
|
-
export type JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`;
|
|
5
|
-
export declare const JsonPathDivinerConfigSchema: JsonPathDivinerConfigSchema;
|
|
6
|
-
export type JsonPathDivinerConfig = DivinerConfig<{
|
|
7
|
-
destinationSchema?: string;
|
|
8
|
-
transforms?: JsonPathTransformExpression[];
|
|
9
|
-
} & {
|
|
10
|
-
schema: JsonPathDivinerConfigSchema;
|
|
11
|
-
}>;
|
|
12
|
-
//# 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,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKnD,MAAM,MAAM,2BAA2B,GAAG,GAAG,qBAAqB,SAAS,CAAA;AAI3E,eAAO,MAAM,2BAA2B,EAAE,2BAA+D,CAAA;AAKzG,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAC/C;IAIE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAI1B,UAAU,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC3C,GAAG;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,CAC5C,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 { JsonPathDivinerConfig } from './Config.ts';
|
|
4
|
-
export type JsonPathDivinerParams = DivinerParams<AnyConfigSchema<JsonPathDivinerConfig>>;
|
|
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,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKnD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,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 { JsonPathDivinerConfig } from './Config.ts';
|
|
4
|
-
export type JsonPathDivinerParams = DivinerParams<AnyConfigSchema<JsonPathDivinerConfig>>;
|
|
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,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKnD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,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 { JsonPathDivinerConfig } from './Config.ts';
|
|
4
|
-
export type JsonPathDivinerParams = DivinerParams<AnyConfigSchema<JsonPathDivinerConfig>>;
|
|
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,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKnD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,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,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CAAA;AAIlE,eAAO,MAAM,qBAAqB,EAAE,qBAAsD,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,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CAAA;AAIlE,eAAO,MAAM,qBAAqB,EAAE,qBAAsD,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,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,CAAA;AAIlE,eAAO,MAAM,qBAAqB,EAAE,qBAAsD,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
|
-
JsonPathDivinerConfigSchema: () => JsonPathDivinerConfigSchema,
|
|
24
|
-
JsonPathDivinerSchema: () => JsonPathDivinerSchema
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(src_exports);
|
|
27
|
-
|
|
28
|
-
// src/Schema.ts
|
|
29
|
-
var JsonPathDivinerSchema = "network.xyo.diviner.jsonpath";
|
|
30
|
-
|
|
31
|
-
// src/Config.ts
|
|
32
|
-
var JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`;
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
35
|
-
JsonPathDivinerConfigSchema,
|
|
36
|
-
JsonPathDivinerSchema
|
|
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 type used for the JSONPath Diviner.\n */\nexport type JsonPathDivinerSchema = 'network.xyo.diviner.jsonpath'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathDivinerSchema: JsonPathDivinerSchema = 'network.xyo.diviner.jsonpath'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema: JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathDivinerConfig = 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 transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACOO,IAAMA,wBAA+C;;;ACKrD,IAAMC,8BAA2D,GAAGC,qBAAAA;","names":["JsonPathDivinerSchema","JsonPathDivinerConfigSchema","JsonPathDivinerSchema"]}
|
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 JsonPathDivinerSchema = "network.xyo.diviner.jsonpath";
|
|
3
|
-
|
|
4
|
-
// src/Config.ts
|
|
5
|
-
var JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`;
|
|
6
|
-
export {
|
|
7
|
-
JsonPathDivinerConfigSchema,
|
|
8
|
-
JsonPathDivinerSchema
|
|
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 type used for the JSONPath Diviner.\n */\nexport type JsonPathDivinerSchema = 'network.xyo.diviner.jsonpath'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathDivinerSchema: JsonPathDivinerSchema = 'network.xyo.diviner.jsonpath'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema: JsonPathDivinerConfigSchema = `${JsonPathDivinerSchema}.config`\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathDivinerConfig = 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 transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n"],"mappings":";AAOO,IAAMA,wBAA+C;;;ACKrD,IAAMC,8BAA2D,GAAGC,qBAAAA;","names":["JsonPathDivinerSchema","JsonPathDivinerConfigSchema","JsonPathDivinerSchema"]}
|
|
@@ -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;AAIpD,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;AAIpD,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;AAIpD,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"}
|