@xyo-network/diviner-jsonpath-aggregate-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,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The schema used for the JSONPath Diviner.
|
|
3
3
|
*/
|
|
4
|
-
export declare const JsonPathAggregateDivinerSchema: "network.xyo.diviner.jsonpath.aggregate"
|
|
4
|
+
export declare const JsonPathAggregateDivinerSchema: "network.xyo.diviner.jsonpath.aggregate" & {
|
|
5
|
+
readonly __schema: true;
|
|
6
|
+
};
|
|
5
7
|
/**
|
|
6
8
|
* The schema type used for the JSONPath Diviner.
|
|
7
9
|
*/
|
|
@@ -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":"AAEA;;GAEG;AACH,eAAO,MAAM,8BAA8B;;CAA2D,CAAA;AAEtG;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,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 JsonPathAggregateDivinerSchema = asSchema("network.xyo.diviner.jsonpath.aggregate", true);
|
|
6
7
|
|
|
7
8
|
// src/Config.ts
|
|
8
|
-
var JsonPathAggregateDivinerConfigSchema =
|
|
9
|
+
var JsonPathAggregateDivinerConfigSchema = asSchema2(`${JsonPathAggregateDivinerSchema}.config`, true);
|
|
9
10
|
export {
|
|
10
11
|
JsonPathAggregateDivinerConfigSchema,
|
|
11
12
|
JsonPathAggregateDivinerSchema
|
|
@@ -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 { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts'\nimport { JsonPathAggregateDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathAggregateDivinerConfigSchema = asSchema(`${JsonPathAggregateDivinerSchema}.config`, true)\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathAggregateDivinerConfigSchema = typeof JsonPathAggregateDivinerConfigSchema\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?: Schema\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","/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath.aggregate'
|
|
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 { SchemaToJsonPathTransformExpressionsDictionary } from './jsonpath/index.ts'\nimport { JsonPathAggregateDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathAggregateDivinerConfigSchema = asSchema(`${JsonPathAggregateDivinerSchema}.config`, true)\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathAggregateDivinerConfigSchema = typeof JsonPathAggregateDivinerConfigSchema\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?: Schema\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","import { asSchema } from '@xyo-network/payload-model'\n\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathAggregateDivinerSchema = asSchema('network.xyo.diviner.jsonpath.aggregate', true)\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathAggregateDivinerSchema = typeof JsonPathAggregateDivinerSchema\n"],"mappings":";AAEA,SAAS,YAAAA,iBAAgB;;;ACFzB,SAAS,gBAAgB;AAKlB,IAAM,iCAAiC,SAAS,0CAA0C,IAAI;;;ADK9F,IAAM,uCAAuCC,UAAS,GAAG,8BAA8B,WAAW,IAAI;","names":["asSchema","asSchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-jsonpath-aggregate-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,7 +1,9 @@
|
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* The schema used for the JSONPath Diviner.
|
|
3
5
|
*/
|
|
4
|
-
export const JsonPathAggregateDivinerSchema = 'network.xyo.diviner.jsonpath.aggregate'
|
|
6
|
+
export const JsonPathAggregateDivinerSchema = asSchema('network.xyo.diviner.jsonpath.aggregate', true)
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* The schema type used for the JSONPath Diviner.
|