@xyo-network/diviner-transform-model 2.75.0 → 2.75.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/browser/Config/Config.d.cts +11 -0
- package/dist/browser/Config/Config.d.cts.map +1 -0
- package/dist/browser/Config/Config.js +2 -5
- package/dist/browser/Config/Config.js.map +1 -1
- package/dist/browser/Config/TransformSettings.d.cts +4 -0
- package/dist/browser/Config/TransformSettings.d.cts.map +1 -0
- package/dist/browser/Config/TransformerSettings.d.cts +4 -0
- package/dist/browser/Config/TransformerSettings.d.cts.map +1 -0
- package/dist/browser/Config/index.d.cts +4 -0
- package/dist/browser/Config/index.d.cts.map +1 -0
- package/dist/browser/Config/index.js +3 -8
- package/dist/browser/Config/index.js.map +1 -1
- package/dist/browser/Payload/Transform.d.cts +9 -0
- package/dist/browser/Payload/Transform.d.cts.map +1 -0
- package/dist/browser/Payload/index.d.cts +2 -0
- package/dist/browser/Payload/index.d.cts.map +1 -0
- package/dist/browser/Payload/index.js +1 -0
- package/dist/browser/Payload/index.js.map +1 -1
- package/dist/browser/PayloadValueTransformer.d.cts +5 -0
- package/dist/browser/PayloadValueTransformer.d.cts.map +1 -0
- package/dist/browser/Query.d.cts +12 -0
- package/dist/browser/Query.d.cts.map +1 -0
- package/dist/browser/Query.js +3 -6
- package/dist/browser/Query.js.map +1 -1
- package/dist/browser/Schema.d.cts +3 -0
- package/dist/browser/Schema.d.cts.map +1 -0
- package/dist/browser/Schema.js +1 -2
- package/dist/browser/Schema.js.map +1 -1
- package/dist/browser/index.d.cts +6 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/index.js +5 -15
- package/dist/browser/index.js.map +1 -1
- package/dist/docs.json +1285 -0
- package/dist/node/Config/Config.d.cts +11 -0
- package/dist/node/Config/Config.d.cts.map +1 -0
- package/dist/node/Config/Config.js +8 -2
- package/dist/node/Config/Config.js.map +1 -1
- package/dist/node/Config/Config.mjs +5 -2
- package/dist/node/Config/Config.mjs.map +1 -1
- package/dist/node/Config/TransformSettings.d.cts +4 -0
- package/dist/node/Config/TransformSettings.d.cts.map +1 -0
- package/dist/node/Config/TransformSettings.js +2 -0
- package/dist/node/Config/TransformSettings.js.map +1 -1
- package/dist/node/Config/TransformerSettings.d.cts +4 -0
- package/dist/node/Config/TransformerSettings.d.cts.map +1 -0
- package/dist/node/Config/TransformerSettings.js +2 -0
- package/dist/node/Config/TransformerSettings.js.map +1 -1
- package/dist/node/Config/index.d.cts +4 -0
- package/dist/node/Config/index.d.cts.map +1 -0
- package/dist/node/Config/index.js +16 -7
- package/dist/node/Config/index.js.map +1 -1
- package/dist/node/Config/index.mjs +8 -3
- package/dist/node/Config/index.mjs.map +1 -1
- package/dist/node/Payload/Transform.d.cts +9 -0
- package/dist/node/Payload/Transform.d.cts.map +1 -0
- package/dist/node/Payload/Transform.js +2 -0
- package/dist/node/Payload/Transform.js.map +1 -1
- package/dist/node/Payload/index.d.cts +2 -0
- package/dist/node/Payload/index.d.cts.map +1 -0
- package/dist/node/Payload/index.js +2 -6
- package/dist/node/Payload/index.js.map +1 -1
- package/dist/node/Payload/index.mjs +0 -1
- package/dist/node/Payload/index.mjs.map +1 -1
- package/dist/node/PayloadValueTransformer.d.cts +5 -0
- package/dist/node/PayloadValueTransformer.d.cts.map +1 -0
- package/dist/node/PayloadValueTransformer.js +2 -0
- package/dist/node/PayloadValueTransformer.js.map +1 -1
- package/dist/node/Query.d.cts +12 -0
- package/dist/node/Query.d.cts.map +1 -0
- package/dist/node/Query.js +9 -3
- package/dist/node/Query.js.map +1 -1
- package/dist/node/Query.mjs +6 -3
- package/dist/node/Query.mjs.map +1 -1
- package/dist/node/Schema.d.cts +3 -0
- package/dist/node/Schema.d.cts.map +1 -0
- package/dist/node/Schema.js +3 -1
- package/dist/node/Schema.js.map +1 -1
- package/dist/node/Schema.mjs +2 -1
- package/dist/node/Schema.mjs.map +1 -1
- package/dist/node/index.d.cts +6 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +26 -11
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +15 -5
- package/dist/node/index.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
import { TransformDictionary } from '../Payload';
|
|
3
|
+
import { TransformDivinerSchema } from '../Schema';
|
|
4
|
+
export type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
5
|
+
export declare const TransformDivinerConfigSchema: TransformDivinerConfigSchema;
|
|
6
|
+
export type TransformDivinerConfig = DivinerConfig<{
|
|
7
|
+
transform?: TransformDictionary;
|
|
8
|
+
} & {
|
|
9
|
+
schema: TransformDivinerConfigSchema;
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAElD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAE5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,SAAS,CAAC,EAAE,mBAAmB,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
|
|
@@ -16,13 +16,19 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Config/Config.ts
|
|
19
21
|
var Config_exports = {};
|
|
20
22
|
__export(Config_exports, {
|
|
21
23
|
TransformDivinerConfigSchema: () => TransformDivinerConfigSchema
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(Config_exports);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
|
|
27
|
+
// src/Schema.ts
|
|
28
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
29
|
+
|
|
30
|
+
// src/Config/Config.ts
|
|
31
|
+
var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
26
32
|
// Annotate the CommonJS export names for ESM import in node:
|
|
27
33
|
0 && (module.exports = {
|
|
28
34
|
TransformDivinerConfigSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Config/Config.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Config/Config.ts","../../../src/Schema.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,yBAAiD;;;ADKvD,IAAM,+BAA6D,GAAG,sBAAsB;","names":[]}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
3
|
+
|
|
4
|
+
// src/Config/Config.ts
|
|
5
|
+
var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
3
6
|
export {
|
|
4
7
|
TransformDivinerConfigSchema
|
|
5
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Config/Config.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Schema.ts","../../../src/Config/Config.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACKvD,IAAM,+BAA6D,GAAG,sBAAsB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/TransformSettings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB"}
|
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Config/TransformSettings.ts
|
|
15
17
|
var TransformSettings_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(TransformSettings_exports);
|
|
17
19
|
//# sourceMappingURL=TransformSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Config/TransformSettings.ts"],"sourcesContent":["export interface TransformSettings {\n transformMethod?: string\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Config/TransformSettings.ts"],"sourcesContent":["export interface TransformSettings {\n transformMethod?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformerSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/TransformerSettings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
|
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Config/TransformerSettings.ts
|
|
15
17
|
var TransformerSettings_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(TransformerSettings_exports);
|
|
17
19
|
//# sourceMappingURL=TransformerSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Config/TransformerSettings.ts"],"sourcesContent":["export interface TransformerSettings {\n jsonPathExpression?: string\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Config/TransformerSettings.ts"],"sourcesContent":["export interface TransformerSettings {\n jsonPathExpression?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Config/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA"}
|
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
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
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,17 +15,22 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
15
|
}
|
|
12
16
|
return to;
|
|
13
17
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Config/index.ts
|
|
16
21
|
var Config_exports = {};
|
|
22
|
+
__export(Config_exports, {
|
|
23
|
+
TransformDivinerConfigSchema: () => TransformDivinerConfigSchema
|
|
24
|
+
});
|
|
17
25
|
module.exports = __toCommonJS(Config_exports);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
26
|
+
|
|
27
|
+
// src/Schema.ts
|
|
28
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
29
|
+
|
|
30
|
+
// src/Config/Config.ts
|
|
31
|
+
var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
21
32
|
// Annotate the CommonJS export names for ESM import in node:
|
|
22
33
|
0 && (module.exports = {
|
|
23
|
-
|
|
24
|
-
...require("./TransformerSettings"),
|
|
25
|
-
...require("./TransformSettings")
|
|
34
|
+
TransformDivinerConfigSchema
|
|
26
35
|
});
|
|
27
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Config/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './TransformerSettings'\nexport * from './TransformSettings'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Config/index.ts","../../../src/Schema.ts","../../../src/Config/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './TransformerSettings'\nexport * from './TransformSettings'\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,yBAAiD;;;ACKvD,IAAM,+BAA6D,GAAG,sBAAsB;","names":[]}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
3
|
+
|
|
4
|
+
// src/Config/Config.ts
|
|
5
|
+
var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
6
|
+
export {
|
|
7
|
+
TransformDivinerConfigSchema
|
|
8
|
+
};
|
|
4
9
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Config/
|
|
1
|
+
{"version":3,"sources":["../../../src/Schema.ts","../../../src/Config/Config.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACKvD,IAAM,+BAA6D,GAAG,sBAAsB;","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { TransformDivinerSchema } from '../Schema';
|
|
3
|
+
export type TransformDictionary = {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
export type Transform = Payload<{
|
|
7
|
+
transform: TransformDictionary;
|
|
8
|
+
}, TransformDivinerSchema>;
|
|
9
|
+
//# sourceMappingURL=Transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Transform.d.ts","sourceRoot":"","sources":["../../../src/Payload/Transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAElD,MAAM,MAAM,mBAAmB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE3D,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,SAAS,EAAE,mBAAmB,CAAA;CAC/B,EACD,sBAAsB,CACvB,CAAA"}
|
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Payload/Transform.ts
|
|
15
17
|
var Transform_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(Transform_exports);
|
|
17
19
|
//# sourceMappingURL=Transform.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Payload/Transform.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDictionary = { [key: string]: string }\n\nexport type Transform = Payload<\n {\n // TODO: Allow dest schema?\n // destinationSchema: string\n // TODO: Make Plural?\n transform: TransformDictionary\n },\n TransformDivinerSchema\n>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Payload/Transform.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDictionary = { [key: string]: string }\n\nexport type Transform = Payload<\n {\n // TODO: Allow dest schema?\n // destinationSchema: string\n // TODO: Make Plural?\n transform: TransformDictionary\n },\n TransformDivinerSchema\n>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -11,13 +11,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
11
|
}
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Payload/index.ts
|
|
16
17
|
var Payload_exports = {};
|
|
17
18
|
module.exports = __toCommonJS(Payload_exports);
|
|
18
|
-
__reExport(Payload_exports, require("./Transform"), module.exports);
|
|
19
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
-
0 && (module.exports = {
|
|
21
|
-
...require("./Transform")
|
|
22
|
-
});
|
|
23
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Payload/index.ts"],"sourcesContent":["export * from './Transform'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Payload/index.ts"],"sourcesContent":["export * from './Transform'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { JsonValue } from '@xyo-network/value-payload-plugin';
|
|
3
|
+
export type PayloadValueTransformer<TSource extends Payload = Payload> = (payload: TSource) => JsonValue;
|
|
4
|
+
export type PayloadTransformer<TSource extends Payload = Payload, TDestination extends Payload = Payload> = (payload: TSource) => TDestination;
|
|
5
|
+
//# sourceMappingURL=PayloadValueTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayloadValueTransformer.d.ts","sourceRoot":"","sources":["../../src/PayloadValueTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAA;AAE7D,MAAM,MAAM,uBAAuB,CAAC,OAAO,SAAS,OAAO,GAAG,OAAO,IAAI,CAAC,OAAO,EAAE,OAAO,KAAK,SAAS,CAAA;AAExG,MAAM,MAAM,kBAAkB,CAAC,OAAO,SAAS,OAAO,GAAG,OAAO,EAAE,YAAY,SAAS,OAAO,GAAG,OAAO,IAAI,CAAC,OAAO,EAAE,OAAO,KAAK,YAAY,CAAA"}
|
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/PayloadValueTransformer.ts
|
|
15
17
|
var PayloadValueTransformer_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(PayloadValueTransformer_exports);
|
|
17
19
|
//# sourceMappingURL=PayloadValueTransformer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/PayloadValueTransformer.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { JsonValue } from '@xyo-network/value-payload-plugin'\n\nexport type PayloadValueTransformer<TSource extends Payload = Payload> = (payload: TSource) => JsonValue\n\nexport type PayloadTransformer<TSource extends Payload = Payload, TDestination extends Payload = Payload> = (payload: TSource) => TDestination\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/PayloadValueTransformer.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { JsonValue } from '@xyo-network/value-payload-plugin'\n\nexport type PayloadValueTransformer<TSource extends Payload = Payload> = (payload: TSource) => JsonValue\n\nexport type PayloadTransformer<TSource extends Payload = Payload, TDestination extends Payload = Payload> = (payload: TSource) => TDestination\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
2
|
+
import { TransformSettings } from './Config';
|
|
3
|
+
import { TransformDivinerSchema } from './Schema';
|
|
4
|
+
export type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
5
|
+
export declare const TransformDivinerQuerySchema: TransformDivinerQuerySchema;
|
|
6
|
+
export type TransformDivinerQueryPayload = Query<{
|
|
7
|
+
schema: TransformDivinerQuerySchema;
|
|
8
|
+
} & Partial<TransformSettings>>;
|
|
9
|
+
export declare const isTransformDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
10
|
+
schema: TransformDivinerQuerySchema;
|
|
11
|
+
} & Partial<TransformSettings> & import("@xyo-network/payload-model").QueryFields;
|
|
12
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,2BAA2B,GAAG,GAAG,sBAAsB,QAAQ,CAAA;AAC3E,eAAO,MAAM,2BAA2B,EAAE,2BAA+D,CAAA;AAEzG,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAA;AACtH,eAAO,MAAM,8BAA8B,OAAQ,OAAO,GAAG,IAAI;YADN,2BAA2B;iFAC4D,CAAA"}
|
package/dist/node/Query.js
CHANGED
|
@@ -16,15 +16,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Query.ts
|
|
19
21
|
var Query_exports = {};
|
|
20
22
|
__export(Query_exports, {
|
|
21
23
|
TransformDivinerQuerySchema: () => TransformDivinerQuerySchema,
|
|
22
24
|
isTransformDivinerQueryPayload: () => isTransformDivinerQueryPayload
|
|
23
25
|
});
|
|
24
26
|
module.exports = __toCommonJS(Query_exports);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
// src/Schema.ts
|
|
29
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
30
|
+
|
|
31
|
+
// src/Query.ts
|
|
32
|
+
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
33
|
+
var isTransformDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema;
|
|
28
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
35
|
0 && (module.exports = {
|
|
30
36
|
TransformDivinerQuerySchema,
|
package/dist/node/Query.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Query.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,yBAAiD;;;ADKvD,IAAM,8BAA2D,GAAG,sBAAsB;AAG1F,IAAM,iCAAiC,CAAC,OAA0D,uBAAG,YAAW;","names":[]}
|
package/dist/node/Query.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
3
|
+
|
|
4
|
+
// src/Query.ts
|
|
5
|
+
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
6
|
+
var isTransformDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema;
|
|
4
7
|
export {
|
|
5
8
|
TransformDivinerQuerySchema,
|
|
6
9
|
isTransformDivinerQueryPayload
|
package/dist/node/Query.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACKvD,IAAM,8BAA2D,GAAG,sBAAsB;AAG1F,IAAM,iCAAiC,CAAC,OAA0D,uBAAG,YAAW;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
|
package/dist/node/Schema.js
CHANGED
|
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Schema.ts
|
|
19
21
|
var Schema_exports = {};
|
|
20
22
|
__export(Schema_exports, {
|
|
21
23
|
TransformDivinerSchema: () => TransformDivinerSchema
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(Schema_exports);
|
|
24
|
-
|
|
26
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
25
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26
28
|
0 && (module.exports = {
|
|
27
29
|
TransformDivinerSchema
|
package/dist/node/Schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,yBAAiD;","names":[]}
|
package/dist/node/Schema.mjs
CHANGED
package/dist/node/Schema.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n"],"mappings":"AACO,
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n"],"mappings":";AACO,IAAM,yBAAiD;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
package/dist/node/index.js
CHANGED
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
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
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,21 +15,32 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
15
|
}
|
|
12
16
|
return to;
|
|
13
17
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
16
21
|
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
TransformDivinerConfigSchema: () => TransformDivinerConfigSchema,
|
|
24
|
+
TransformDivinerQuerySchema: () => TransformDivinerQuerySchema,
|
|
25
|
+
TransformDivinerSchema: () => TransformDivinerSchema,
|
|
26
|
+
isTransformDivinerQueryPayload: () => isTransformDivinerQueryPayload
|
|
27
|
+
});
|
|
17
28
|
module.exports = __toCommonJS(src_exports);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
|
|
30
|
+
// src/Schema.ts
|
|
31
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
32
|
+
|
|
33
|
+
// src/Config/Config.ts
|
|
34
|
+
var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
35
|
+
|
|
36
|
+
// src/Query.ts
|
|
37
|
+
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
38
|
+
var isTransformDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema;
|
|
23
39
|
// Annotate the CommonJS export names for ESM import in node:
|
|
24
40
|
0 && (module.exports = {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
...require("./Schema")
|
|
41
|
+
TransformDivinerConfigSchema,
|
|
42
|
+
TransformDivinerQuerySchema,
|
|
43
|
+
TransformDivinerSchema,
|
|
44
|
+
isTransformDivinerQueryPayload
|
|
30
45
|
});
|
|
31
46
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,yBAAiD;;;ACKvD,IAAM,+BAA6D,GAAG,sBAAsB;;;ACA5F,IAAM,8BAA2D,GAAG,sBAAsB;AAG1F,IAAM,iCAAiC,CAAC,OAA0D,uBAAG,YAAW;","names":[]}
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
3
|
+
|
|
4
|
+
// src/Config/Config.ts
|
|
5
|
+
var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
6
|
+
|
|
7
|
+
// src/Query.ts
|
|
8
|
+
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
9
|
+
var isTransformDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema;
|
|
10
|
+
export {
|
|
11
|
+
TransformDivinerConfigSchema,
|
|
12
|
+
TransformDivinerQuerySchema,
|
|
13
|
+
TransformDivinerSchema,
|
|
14
|
+
isTransformDivinerQueryPayload
|
|
15
|
+
};
|
|
6
16
|
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";AACO,IAAM,yBAAiD;;;ACKvD,IAAM,+BAA6D,GAAG,sBAAsB;;;ACA5F,IAAM,8BAA2D,GAAG,sBAAsB;AAG1F,IAAM,iCAAiC,CAAC,OAA0D,uBAAG,YAAW;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner-model": "~2.75.
|
|
14
|
-
"@xyo-network/payload-model": "~2.75.
|
|
15
|
-
"@xyo-network/value-payload-plugin": "~2.75.
|
|
13
|
+
"@xyo-network/diviner-model": "~2.75.1",
|
|
14
|
+
"@xyo-network/payload-model": "~2.75.1",
|
|
15
|
+
"@xyo-network/value-payload-plugin": "~2.75.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^3.0.
|
|
19
|
-
"@xylabs/tsconfig": "^3.0.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.77",
|
|
19
|
+
"@xylabs/tsconfig": "^3.0.77",
|
|
20
20
|
"typescript": "^5.2.2"
|
|
21
21
|
},
|
|
22
22
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
".": {
|
|
27
27
|
"browser": {
|
|
28
28
|
"require": {
|
|
29
|
-
"types": "./dist/browser/index.d.
|
|
29
|
+
"types": "./dist/browser/index.d.cts",
|
|
30
30
|
"default": "./dist/browser/index.cjs"
|
|
31
31
|
},
|
|
32
32
|
"import": {
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
63
63
|
},
|
|
64
64
|
"sideEffects": false,
|
|
65
|
-
"version": "2.75.
|
|
65
|
+
"version": "2.75.1"
|
|
66
66
|
}
|