@xyo-network/diviner-jsonpath-model 5.3.0 → 5.3.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/Schema.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The schema
|
|
2
|
+
* The schema used for the JSONPath Diviner.
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export declare const JsonPathDivinerSchema: "network.xyo.diviner.jsonpath" & {
|
|
5
|
+
readonly __schema: true;
|
|
6
|
+
};
|
|
5
7
|
/**
|
|
6
|
-
* The schema used for the JSONPath Diviner.
|
|
8
|
+
* The schema type used for the JSONPath Diviner.
|
|
7
9
|
*/
|
|
8
|
-
export
|
|
10
|
+
export type JsonPathDivinerSchema = typeof JsonPathDivinerSchema;
|
|
9
11
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;CAAiD,CAAA;AAEnF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// src/Config.ts
|
|
2
|
-
import { asSchema } from "@xyo-network/payload-model";
|
|
2
|
+
import { asSchema as asSchema2 } from "@xyo-network/payload-model";
|
|
3
3
|
|
|
4
4
|
// src/Schema.ts
|
|
5
|
-
|
|
5
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
6
|
+
var JsonPathDivinerSchema = asSchema("network.xyo.diviner.jsonpath", true);
|
|
6
7
|
|
|
7
8
|
// src/Config.ts
|
|
8
|
-
var JsonPathDivinerConfigSchema =
|
|
9
|
+
var JsonPathDivinerConfigSchema = asSchema2(`${JsonPathDivinerSchema}.config`, true);
|
|
9
10
|
export {
|
|
10
11
|
JsonPathDivinerConfigSchema,
|
|
11
12
|
JsonPathDivinerSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/payload-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema = asSchema(`${JsonPathDivinerSchema}.config`, true)\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = typeof JsonPathDivinerConfigSchema\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?: Schema\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n","/**\n * The schema
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/payload-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema = asSchema(`${JsonPathDivinerSchema}.config`, true)\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = typeof JsonPathDivinerConfigSchema\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?: Schema\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n","import { asSchema } from '@xyo-network/payload-model'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathDivinerSchema = asSchema('network.xyo.diviner.jsonpath', true)\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathDivinerSchema = typeof JsonPathDivinerSchema\n"],"mappings":";AAEA,SAAS,YAAAA,iBAAgB;;;ACFzB,SAAS,gBAAgB;AAIlB,IAAM,wBAAwB,SAAS,gCAAgC,IAAI;;;ADM3E,IAAM,8BAA8BC,UAAS,GAAG,qBAAqB,WAAW,IAAI;","names":["asSchema","asSchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-jsonpath-model",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@xylabs/sdk-js": "~5.0.64",
|
|
40
|
-
"@xyo-network/diviner-model": "~5.3.
|
|
41
|
-
"@xyo-network/module-model": "~5.3.
|
|
42
|
-
"@xyo-network/payload-model": "~5.3.
|
|
40
|
+
"@xyo-network/diviner-model": "~5.3.1",
|
|
41
|
+
"@xyo-network/module-model": "~5.3.1",
|
|
42
|
+
"@xyo-network/payload-model": "~5.3.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
package/src/Schema.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
1
2
|
/**
|
|
2
|
-
* The schema
|
|
3
|
+
* The schema used for the JSONPath Diviner.
|
|
3
4
|
*/
|
|
4
|
-
export
|
|
5
|
+
export const JsonPathDivinerSchema = asSchema('network.xyo.diviner.jsonpath', true)
|
|
6
|
+
|
|
5
7
|
/**
|
|
6
|
-
* The schema used for the JSONPath Diviner.
|
|
8
|
+
* The schema type used for the JSONPath Diviner.
|
|
7
9
|
*/
|
|
8
|
-
export
|
|
10
|
+
export type JsonPathDivinerSchema = typeof JsonPathDivinerSchema
|