@xyo-network/diviner-forecasting-model 2.107.3 → 2.107.4
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/index.cjs +45 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +24 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/index.cjs +45 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +24 -1
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/index.cjs +54 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +24 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +6 -6
package/dist/browser/index.cjs
CHANGED
|
@@ -1,2 +1,46 @@
|
|
|
1
|
-
"use strict";
|
|
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 __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ForecastPayloadSchema: () => ForecastPayloadSchema,
|
|
25
|
+
ForecastingDivinerConfigSchema: () => ForecastingDivinerConfigSchema,
|
|
26
|
+
ForecastingDivinerQuerySchema: () => ForecastingDivinerQuerySchema,
|
|
27
|
+
ForecastingDivinerSchema: () => ForecastingDivinerSchema,
|
|
28
|
+
isForecastPayload: () => isForecastPayload,
|
|
29
|
+
isForecastingDivinerQueryPayload: () => isForecastingDivinerQueryPayload
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(src_exports);
|
|
32
|
+
|
|
33
|
+
// src/Schema.ts
|
|
34
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
35
|
+
|
|
36
|
+
// src/Config/Config.ts
|
|
37
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
38
|
+
|
|
39
|
+
// src/Payload/Payload.ts
|
|
40
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
41
|
+
var isForecastPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastPayloadSchema, "isForecastPayload");
|
|
42
|
+
|
|
43
|
+
// src/Query.ts
|
|
44
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
45
|
+
var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
|
|
2
46
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;ACCO,IAAMA,2BAAqD;;;ACO3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACF1E,IAAMC,wBAA+C,GAAGC,wBAAAA;AAOxD,IAAMC,oBAAoB,wBAACC,MAA6CA,GAAGC,WAAWJ,uBAA5D;;;ACP1B,IAAMK,gCAA+D,GAAGC,wBAAAA;AAGxE,IAAMC,mCAAmC,wBAACC,MAC/CA,GAAGC,WAAWJ,+BADgC;","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","x","schema"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Schema.ts
|
|
5
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
6
|
+
|
|
7
|
+
// src/Config/Config.ts
|
|
8
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
9
|
+
|
|
10
|
+
// src/Payload/Payload.ts
|
|
11
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
12
|
+
var isForecastPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastPayloadSchema, "isForecastPayload");
|
|
13
|
+
|
|
14
|
+
// src/Query.ts
|
|
15
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
16
|
+
var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
|
|
17
|
+
export {
|
|
18
|
+
ForecastPayloadSchema,
|
|
19
|
+
ForecastingDivinerConfigSchema,
|
|
20
|
+
ForecastingDivinerQuerySchema,
|
|
21
|
+
ForecastingDivinerSchema,
|
|
22
|
+
isForecastPayload,
|
|
23
|
+
isForecastingDivinerQueryPayload
|
|
24
|
+
};
|
|
2
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;AACO,IAAMA,2BAAqD;;;ACO3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACF1E,IAAMC,wBAA+C,GAAGC,wBAAAA;AAOxD,IAAMC,oBAAoB,wBAACC,MAA6CA,GAAGC,WAAWJ,uBAA5D;;;ACP1B,IAAMK,gCAA+D,GAAGC,wBAAAA;AAGxE,IAAMC,mCAAmC,wBAACC,MAC/CA,GAAGC,WAAWJ,+BADgC;","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","x","schema"]}
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -1,2 +1,46 @@
|
|
|
1
|
-
"use strict";
|
|
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 __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ForecastPayloadSchema: () => ForecastPayloadSchema,
|
|
25
|
+
ForecastingDivinerConfigSchema: () => ForecastingDivinerConfigSchema,
|
|
26
|
+
ForecastingDivinerQuerySchema: () => ForecastingDivinerQuerySchema,
|
|
27
|
+
ForecastingDivinerSchema: () => ForecastingDivinerSchema,
|
|
28
|
+
isForecastPayload: () => isForecastPayload,
|
|
29
|
+
isForecastingDivinerQueryPayload: () => isForecastingDivinerQueryPayload
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(src_exports);
|
|
32
|
+
|
|
33
|
+
// src/Schema.ts
|
|
34
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
35
|
+
|
|
36
|
+
// src/Config/Config.ts
|
|
37
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
38
|
+
|
|
39
|
+
// src/Payload/Payload.ts
|
|
40
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
41
|
+
var isForecastPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastPayloadSchema, "isForecastPayload");
|
|
42
|
+
|
|
43
|
+
// src/Query.ts
|
|
44
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
45
|
+
var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
|
|
2
46
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;ACCO,IAAMA,2BAAqD;;;ACO3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACF1E,IAAMC,wBAA+C,GAAGC,wBAAAA;AAOxD,IAAMC,oBAAoB,wBAACC,MAA6CA,GAAGC,WAAWJ,uBAA5D;;;ACP1B,IAAMK,gCAA+D,GAAGC,wBAAAA;AAGxE,IAAMC,mCAAmC,wBAACC,MAC/CA,GAAGC,WAAWJ,+BADgC;","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","x","schema"]}
|
package/dist/neutral/index.js
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Schema.ts
|
|
5
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
6
|
+
|
|
7
|
+
// src/Config/Config.ts
|
|
8
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
9
|
+
|
|
10
|
+
// src/Payload/Payload.ts
|
|
11
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
12
|
+
var isForecastPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastPayloadSchema, "isForecastPayload");
|
|
13
|
+
|
|
14
|
+
// src/Query.ts
|
|
15
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
16
|
+
var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
|
|
17
|
+
export {
|
|
18
|
+
ForecastPayloadSchema,
|
|
19
|
+
ForecastingDivinerConfigSchema,
|
|
20
|
+
ForecastingDivinerQuerySchema,
|
|
21
|
+
ForecastingDivinerSchema,
|
|
22
|
+
isForecastPayload,
|
|
23
|
+
isForecastingDivinerQueryPayload
|
|
24
|
+
};
|
|
2
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;AACO,IAAMA,2BAAqD;;;ACO3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACF1E,IAAMC,wBAA+C,GAAGC,wBAAAA;AAOxD,IAAMC,oBAAoB,wBAACC,MAA6CA,GAAGC,WAAWJ,uBAA5D;;;ACP1B,IAAMK,gCAA+D,GAAGC,wBAAAA;AAGxE,IAAMC,mCAAmC,wBAACC,MAC/CA,GAAGC,WAAWJ,+BADgC;","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","x","schema"]}
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,2 +1,55 @@
|
|
|
1
|
-
"use strict";
|
|
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 __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ForecastPayloadSchema: () => ForecastPayloadSchema,
|
|
25
|
+
ForecastingDivinerConfigSchema: () => ForecastingDivinerConfigSchema,
|
|
26
|
+
ForecastingDivinerQuerySchema: () => ForecastingDivinerQuerySchema,
|
|
27
|
+
ForecastingDivinerSchema: () => ForecastingDivinerSchema,
|
|
28
|
+
isForecastPayload: () => isForecastPayload,
|
|
29
|
+
isForecastingDivinerQueryPayload: () => isForecastingDivinerQueryPayload
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(src_exports);
|
|
32
|
+
|
|
33
|
+
// src/Schema.ts
|
|
34
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
35
|
+
|
|
36
|
+
// src/Config/Config.ts
|
|
37
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
38
|
+
|
|
39
|
+
// src/Payload/Payload.ts
|
|
40
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
41
|
+
var isForecastPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema, "isForecastPayload");
|
|
42
|
+
|
|
43
|
+
// src/Query.ts
|
|
44
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
45
|
+
var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
ForecastPayloadSchema,
|
|
49
|
+
ForecastingDivinerConfigSchema,
|
|
50
|
+
ForecastingDivinerQuerySchema,
|
|
51
|
+
ForecastingDivinerSchema,
|
|
52
|
+
isForecastPayload,
|
|
53
|
+
isForecastingDivinerQueryPayload
|
|
54
|
+
});
|
|
2
55
|
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;ACCO,IAAMA,2BAAqD;;;ACO3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACF1E,IAAMC,wBAA+C,GAAGC,wBAAAA;AAOxD,IAAMC,oBAAoB,wBAACC,OAA6CA,uBAAGC,YAAWJ,uBAA5D;;;ACP1B,IAAMK,gCAA+D,GAAGC,wBAAAA;AAGxE,IAAMC,mCAAmC,wBAACC,OAC/CA,uBAAGC,YAAWJ,+BADgC;","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","x","schema"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Schema.ts
|
|
5
|
+
var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
|
|
6
|
+
|
|
7
|
+
// src/Config/Config.ts
|
|
8
|
+
var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
9
|
+
|
|
10
|
+
// src/Payload/Payload.ts
|
|
11
|
+
var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
12
|
+
var isForecastPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema, "isForecastPayload");
|
|
13
|
+
|
|
14
|
+
// src/Query.ts
|
|
15
|
+
var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
16
|
+
var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
|
|
17
|
+
export {
|
|
18
|
+
ForecastPayloadSchema,
|
|
19
|
+
ForecastingDivinerConfigSchema,
|
|
20
|
+
ForecastingDivinerQuerySchema,
|
|
21
|
+
ForecastingDivinerSchema,
|
|
22
|
+
isForecastPayload,
|
|
23
|
+
isForecastingDivinerQueryPayload
|
|
24
|
+
};
|
|
2
25
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Payload/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { ForecastingSettings } from './ForecastingSettings'\nimport { TransformerSettings } from './TransformerSettings'\n\nexport type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\nexport const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`\n\nexport type ForecastingDivinerConfig = DivinerConfig<\n {\n boundWitnessDiviner?: ModuleFilter\n schema: ForecastingDivinerConfigSchema\n } & ForecastingSettings &\n TransformerSettings\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema'\nimport { Forecast } from './Forecast'\n\nexport type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\nexport const ForecastPayloadSchema: ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`\n\nexport type ForecastPayload = Payload<{\n schema: ForecastPayloadSchema\n sources: string[]\n values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { ForecastingSettings } from './Config'\nimport { ForecastingDivinerSchema } from './Schema'\n\nexport type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\nexport const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`\n\nexport type ForecastingDivinerQueryPayload = Query<{ schema: ForecastingDivinerQuerySchema } & Partial<ForecastingSettings>>\nexport const isForecastingDivinerQueryPayload = (x?: Payload | null): x is ForecastingDivinerQueryPayload =>\n x?.schema === ForecastingDivinerQuerySchema\n"],"mappings":";;;;AACO,IAAMA,2BAAqD;;;ACO3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACF1E,IAAMC,wBAA+C,GAAGC,wBAAAA;AAOxD,IAAMC,oBAAoB,wBAACC,OAA6CA,uBAAGC,YAAWJ,uBAA5D;;;ACP1B,IAAMK,gCAA+D,GAAGC,wBAAAA;AAGxE,IAAMC,mCAAmC,wBAACC,OAC/CA,uBAAGC,YAAWJ,+BADgC;","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","x","schema"]}
|
package/package.json
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/hex": "^3.5.1",
|
|
14
14
|
"@xylabs/promise": "^3.5.1",
|
|
15
|
-
"@xyo-network/diviner-model": "~2.107.
|
|
16
|
-
"@xyo-network/module-model": "~2.107.
|
|
17
|
-
"@xyo-network/payload-model": "~2.107.
|
|
15
|
+
"@xyo-network/diviner-model": "~2.107.4",
|
|
16
|
+
"@xyo-network/module-model": "~2.107.4",
|
|
17
|
+
"@xyo-network/payload-model": "~2.107.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@xylabs/ts-scripts-yarn3": "^3.11.
|
|
21
|
-
"@xylabs/tsconfig": "^3.11.
|
|
20
|
+
"@xylabs/ts-scripts-yarn3": "^3.11.10",
|
|
21
|
+
"@xylabs/tsconfig": "^3.11.10",
|
|
22
22
|
"typescript": "^5.5.2"
|
|
23
23
|
},
|
|
24
24
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
61
61
|
},
|
|
62
62
|
"sideEffects": false,
|
|
63
|
-
"version": "2.107.
|
|
63
|
+
"version": "2.107.4",
|
|
64
64
|
"type": "module"
|
|
65
65
|
}
|