@xyo-network/diviner-forecasting-model 2.75.0 → 2.75.2

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.
Files changed (102) hide show
  1. package/dist/browser/Config/Config.d.cts +12 -0
  2. package/dist/browser/Config/Config.d.cts.map +1 -0
  3. package/dist/browser/Config/Config.js +2 -5
  4. package/dist/browser/Config/Config.js.map +1 -1
  5. package/dist/browser/Config/ForecastingSettings.d.cts +9 -0
  6. package/dist/browser/Config/ForecastingSettings.d.cts.map +1 -0
  7. package/dist/browser/Config/TransformerSettings.d.cts +4 -0
  8. package/dist/browser/Config/TransformerSettings.d.cts.map +1 -0
  9. package/dist/browser/Config/index.d.cts +4 -0
  10. package/dist/browser/Config/index.d.cts.map +1 -0
  11. package/dist/browser/Config/index.js +3 -8
  12. package/dist/browser/Config/index.js.map +1 -1
  13. package/dist/browser/ForecastingMethod.d.cts +6 -0
  14. package/dist/browser/ForecastingMethod.d.cts.map +1 -0
  15. package/dist/browser/Payload/Forecast.d.cts +6 -0
  16. package/dist/browser/Payload/Forecast.d.cts.map +1 -0
  17. package/dist/browser/Payload/Payload.d.cts +14 -0
  18. package/dist/browser/Payload/Payload.d.cts.map +1 -0
  19. package/dist/browser/Payload/Payload.js +3 -6
  20. package/dist/browser/Payload/Payload.js.map +1 -1
  21. package/dist/browser/Payload/index.d.cts +3 -0
  22. package/dist/browser/Payload/index.d.cts.map +1 -0
  23. package/dist/browser/Payload/index.js +2 -10
  24. package/dist/browser/Payload/index.js.map +1 -1
  25. package/dist/browser/PayloadValueTransformer.d.cts +3 -0
  26. package/dist/browser/PayloadValueTransformer.d.cts.map +1 -0
  27. package/dist/browser/Query.d.cts +12 -0
  28. package/dist/browser/Query.d.cts.map +1 -0
  29. package/dist/browser/Query.js +3 -6
  30. package/dist/browser/Query.js.map +1 -1
  31. package/dist/browser/Schema.d.cts +3 -0
  32. package/dist/browser/Schema.d.cts.map +1 -0
  33. package/dist/browser/Schema.js +1 -2
  34. package/dist/browser/Schema.js.map +1 -1
  35. package/dist/browser/index.d.cts +7 -0
  36. package/dist/browser/index.d.cts.map +1 -0
  37. package/dist/browser/index.js +6 -21
  38. package/dist/browser/index.js.map +1 -1
  39. package/dist/docs.json +1711 -0
  40. package/dist/node/Config/Config.d.cts +12 -0
  41. package/dist/node/Config/Config.d.cts.map +1 -0
  42. package/dist/node/Config/Config.js +8 -2
  43. package/dist/node/Config/Config.js.map +1 -1
  44. package/dist/node/Config/Config.mjs +5 -2
  45. package/dist/node/Config/Config.mjs.map +1 -1
  46. package/dist/node/Config/ForecastingSettings.d.cts +9 -0
  47. package/dist/node/Config/ForecastingSettings.d.cts.map +1 -0
  48. package/dist/node/Config/ForecastingSettings.js +2 -0
  49. package/dist/node/Config/ForecastingSettings.js.map +1 -1
  50. package/dist/node/Config/TransformerSettings.d.cts +4 -0
  51. package/dist/node/Config/TransformerSettings.d.cts.map +1 -0
  52. package/dist/node/Config/TransformerSettings.js +2 -0
  53. package/dist/node/Config/TransformerSettings.js.map +1 -1
  54. package/dist/node/Config/index.d.cts +4 -0
  55. package/dist/node/Config/index.d.cts.map +1 -0
  56. package/dist/node/Config/index.js +16 -7
  57. package/dist/node/Config/index.js.map +1 -1
  58. package/dist/node/Config/index.mjs +8 -3
  59. package/dist/node/Config/index.mjs.map +1 -1
  60. package/dist/node/ForecastingMethod.d.cts +6 -0
  61. package/dist/node/ForecastingMethod.d.cts.map +1 -0
  62. package/dist/node/ForecastingMethod.js +2 -0
  63. package/dist/node/ForecastingMethod.js.map +1 -1
  64. package/dist/node/Payload/Forecast.d.cts +6 -0
  65. package/dist/node/Payload/Forecast.d.cts.map +1 -0
  66. package/dist/node/Payload/Forecast.js +2 -0
  67. package/dist/node/Payload/Forecast.js.map +1 -1
  68. package/dist/node/Payload/Payload.d.cts +14 -0
  69. package/dist/node/Payload/Payload.d.cts.map +1 -0
  70. package/dist/node/Payload/Payload.js +9 -3
  71. package/dist/node/Payload/Payload.js.map +1 -1
  72. package/dist/node/Payload/Payload.mjs +6 -3
  73. package/dist/node/Payload/Payload.mjs.map +1 -1
  74. package/dist/node/Payload/index.d.cts +3 -0
  75. package/dist/node/Payload/index.d.cts.map +1 -0
  76. package/dist/node/Payload/index.js +19 -5
  77. package/dist/node/Payload/index.js.map +1 -1
  78. package/dist/node/Payload/index.mjs +10 -2
  79. package/dist/node/Payload/index.mjs.map +1 -1
  80. package/dist/node/PayloadValueTransformer.d.cts +3 -0
  81. package/dist/node/PayloadValueTransformer.d.cts.map +1 -0
  82. package/dist/node/PayloadValueTransformer.js +2 -0
  83. package/dist/node/PayloadValueTransformer.js.map +1 -1
  84. package/dist/node/Query.d.cts +12 -0
  85. package/dist/node/Query.d.cts.map +1 -0
  86. package/dist/node/Query.js +9 -3
  87. package/dist/node/Query.js.map +1 -1
  88. package/dist/node/Query.mjs +6 -3
  89. package/dist/node/Query.mjs.map +1 -1
  90. package/dist/node/Schema.d.cts +3 -0
  91. package/dist/node/Schema.d.cts.map +1 -0
  92. package/dist/node/Schema.js +3 -1
  93. package/dist/node/Schema.js.map +1 -1
  94. package/dist/node/Schema.mjs +2 -1
  95. package/dist/node/Schema.mjs.map +1 -1
  96. package/dist/node/index.d.cts +7 -0
  97. package/dist/node/index.d.cts.map +1 -0
  98. package/dist/node/index.js +34 -13
  99. package/dist/node/index.js.map +1 -1
  100. package/dist/node/index.mjs +21 -6
  101. package/dist/node/index.mjs.map +1 -1
  102. package/package.json +8 -8
@@ -0,0 +1,12 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { ModuleFilter } from '@xyo-network/module-model';
3
+ import { ForecastingDivinerSchema } from '../Schema';
4
+ import { ForecastingSettings } from './ForecastingSettings';
5
+ import { TransformerSettings } from './TransformerSettings';
6
+ export type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
7
+ export declare const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema;
8
+ export type ForecastingDivinerConfig = DivinerConfig<{
9
+ boundWitnessDiviner?: ModuleFilter;
10
+ schema: ForecastingDivinerConfigSchema;
11
+ } & ForecastingSettings & TransformerSettings>;
12
+ //# 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;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,MAAM,8BAA8B,GAAG,GAAG,wBAAwB,SAAS,CAAA;AACjF,eAAO,MAAM,8BAA8B,EAAE,8BAAqE,CAAA;AAElH,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAClD;IACE,mBAAmB,CAAC,EAAE,YAAY,CAAA;IAClC,MAAM,EAAE,8BAA8B,CAAA;CACvC,GAAG,mBAAmB,GACrB,mBAAmB,CACtB,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
  ForecastingDivinerConfigSchema: () => ForecastingDivinerConfigSchema
22
24
  });
23
25
  module.exports = __toCommonJS(Config_exports);
24
- var import_Schema = require("../Schema");
25
- const ForecastingDivinerConfigSchema = `${import_Schema.ForecastingDivinerSchema}.config`;
26
+
27
+ // src/Schema.ts
28
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
29
+
30
+ // src/Config/Config.ts
31
+ var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
26
32
  // Annotate the CommonJS export names for ESM import in node:
27
33
  0 && (module.exports = {
28
34
  ForecastingDivinerConfigSchema
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Config/Config.ts"],"sourcesContent":["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"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAyC;AAKlC,MAAM,iCAAiE,GAAG,sCAAwB;","names":[]}
1
+ {"version":3,"sources":["../../../src/Config/Config.ts","../../../src/Schema.ts"],"sourcesContent":["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","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADO3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
@@ -1,5 +1,8 @@
1
- import { ForecastingDivinerSchema } from "../Schema";
2
- const ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
1
+ // src/Schema.ts
2
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
+
4
+ // src/Config/Config.ts
5
+ var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
3
6
  export {
4
7
  ForecastingDivinerConfigSchema
5
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Config/Config.ts"],"sourcesContent":["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"],"mappings":"AAGA,SAAS,gCAAgC;AAKlC,MAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
1
+ {"version":3,"sources":["../../../src/Schema.ts","../../../src/Config/Config.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"],"mappings":";AACO,IAAM,2BAAqD;;;ACO3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
@@ -0,0 +1,9 @@
1
+ export interface ForecastingSettings {
2
+ forecastingMethod?: string;
3
+ forecastingSteps?: number;
4
+ timestamp?: number;
5
+ windowSize?: number;
6
+ witnessAddresses?: string[];
7
+ witnessSchema?: string;
8
+ }
9
+ //# sourceMappingURL=ForecastingSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForecastingSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/ForecastingSettings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
@@ -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/ForecastingSettings.ts
15
17
  var ForecastingSettings_exports = {};
16
18
  module.exports = __toCommonJS(ForecastingSettings_exports);
17
19
  //# sourceMappingURL=ForecastingSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Config/ForecastingSettings.ts"],"sourcesContent":["export interface ForecastingSettings {\n forecastingMethod?: string\n forecastingSteps?: number\n timestamp?: number\n windowSize?: number\n witnessAddresses?: string[]\n witnessSchema?: string\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../../src/Config/ForecastingSettings.ts"],"sourcesContent":["export interface ForecastingSettings {\n forecastingMethod?: string\n forecastingSteps?: number\n timestamp?: number\n windowSize?: number\n witnessAddresses?: string[]\n witnessSchema?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1,4 @@
1
+ export interface TransformerSettings {
2
+ jsonPathExpression?: string;
3
+ }
4
+ //# sourceMappingURL=TransformerSettings.d.ts.map
@@ -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":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../../src/Config/TransformerSettings.ts"],"sourcesContent":["export interface TransformerSettings {\n jsonPathExpression?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1,4 @@
1
+ export * from './Config';
2
+ export * from './ForecastingSettings';
3
+ export * from './TransformerSettings';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -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,uBAAuB,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
+ ForecastingDivinerConfigSchema: () => ForecastingDivinerConfigSchema
24
+ });
17
25
  module.exports = __toCommonJS(Config_exports);
18
- __reExport(Config_exports, require("./Config"), module.exports);
19
- __reExport(Config_exports, require("./ForecastingSettings"), module.exports);
20
- __reExport(Config_exports, require("./TransformerSettings"), module.exports);
26
+
27
+ // src/Schema.ts
28
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
29
+
30
+ // src/Config/Config.ts
31
+ var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
21
32
  // Annotate the CommonJS export names for ESM import in node:
22
33
  0 && (module.exports = {
23
- ...require("./Config"),
24
- ...require("./ForecastingSettings"),
25
- ...require("./TransformerSettings")
34
+ ForecastingDivinerConfigSchema
26
35
  });
27
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Config/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingSettings'\nexport * from './TransformerSettings'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAc,qBAAd;AACA,2BAAc,kCADd;AAEA,2BAAc,kCAFd;","names":[]}
1
+ {"version":3,"sources":["../../../src/Config/index.ts","../../../src/Schema.ts","../../../src/Config/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingSettings'\nexport * from './TransformerSettings'\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ACO3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
@@ -1,4 +1,9 @@
1
- export * from "./Config";
2
- export * from "./ForecastingSettings";
3
- export * from "./TransformerSettings";
1
+ // src/Schema.ts
2
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
+
4
+ // src/Config/Config.ts
5
+ var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
6
+ export {
7
+ ForecastingDivinerConfigSchema
8
+ };
4
9
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Config/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingSettings'\nexport * from './TransformerSettings'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/Schema.ts","../../../src/Config/Config.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"],"mappings":";AACO,IAAM,2BAAqD;;;ACO3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
@@ -0,0 +1,6 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { Promisable } from '@xyo-network/promise';
3
+ import { Forecast } from './Payload';
4
+ import { PayloadValueTransformer } from './PayloadValueTransformer';
5
+ export type ForecastingMethod = (payloads: Payload[], transformers: PayloadValueTransformer) => Promisable<Forecast[]>;
6
+ //# sourceMappingURL=ForecastingMethod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForecastingMethod.d.ts","sourceRoot":"","sources":["../../src/ForecastingMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY,EAAE,uBAAuB,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC,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/ForecastingMethod.ts
15
17
  var ForecastingMethod_exports = {};
16
18
  module.exports = __toCommonJS(ForecastingMethod_exports);
17
19
  //# sourceMappingURL=ForecastingMethod.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/ForecastingMethod.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { Promisable } from '@xyo-network/promise'\n\nimport { Forecast } from './Payload'\nimport { PayloadValueTransformer } from './PayloadValueTransformer'\n\nexport type ForecastingMethod = (payloads: Payload[], transformers: PayloadValueTransformer) => Promisable<Forecast[]>\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/ForecastingMethod.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { Promisable } from '@xyo-network/promise'\n\nimport { Forecast } from './Payload'\nimport { PayloadValueTransformer } from './PayloadValueTransformer'\n\nexport type ForecastingMethod = (payloads: Payload[], transformers: PayloadValueTransformer) => Promisable<Forecast[]>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1,6 @@
1
+ export interface Forecast {
2
+ error?: number;
3
+ timestamp?: number;
4
+ value: number;
5
+ }
6
+ //# sourceMappingURL=Forecast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Forecast.d.ts","sourceRoot":"","sources":["../../../src/Payload/Forecast.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd"}
@@ -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/Forecast.ts
15
17
  var Forecast_exports = {};
16
18
  module.exports = __toCommonJS(Forecast_exports);
17
19
  //# sourceMappingURL=Forecast.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Payload/Forecast.ts"],"sourcesContent":["export interface Forecast {\n error?: number\n timestamp?: number\n value: number\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../../src/Payload/Forecast.ts"],"sourcesContent":["export interface Forecast {\n error?: number\n timestamp?: number\n value: number\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1,14 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { ForecastingDivinerSchema } from '../Schema';
3
+ import { Forecast } from './Forecast';
4
+ export type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
5
+ export declare const ForecastPayloadSchema: ForecastPayloadSchema;
6
+ export type ForecastPayload = Payload<{
7
+ schema: ForecastPayloadSchema;
8
+ values: Forecast[];
9
+ }>;
10
+ export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
11
+ schema: ForecastPayloadSchema;
12
+ values: Forecast[];
13
+ };
14
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payload/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,MAAM,qBAAqB,GAAG,GAAG,wBAAwB,WAAW,CAAA;AAC1E,eAAO,MAAM,qBAAqB,EAAE,qBAA8D,CAAA;AAElG,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAH1C,qBAAqB;YACrB,QAAQ,EAAE;CAE8F,CAAA"}
@@ -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/Payload/Payload.ts
19
21
  var Payload_exports = {};
20
22
  __export(Payload_exports, {
21
23
  ForecastPayloadSchema: () => ForecastPayloadSchema,
22
24
  isForecastPayload: () => isForecastPayload
23
25
  });
24
26
  module.exports = __toCommonJS(Payload_exports);
25
- var import_Schema = require("../Schema");
26
- const ForecastPayloadSchema = `${import_Schema.ForecastingDivinerSchema}.forecast`;
27
- const isForecastPayload = (x) => x?.schema === ForecastPayloadSchema;
27
+
28
+ // src/Schema.ts
29
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
30
+
31
+ // src/Payload/Payload.ts
32
+ var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
33
+ var isForecastPayload = (x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema;
28
34
  // Annotate the CommonJS export names for ESM import in node:
29
35
  0 && (module.exports = {
30
36
  ForecastPayloadSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Payload/Payload.ts"],"sourcesContent":["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 values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAAyC;AAIlC,MAAM,wBAA+C,GAAG,sCAAwB;AAMhF,MAAM,oBAAoB,CAAC,MAA6C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../../src/Payload/Payload.ts","../../../src/Schema.ts"],"sourcesContent":["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 values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADK3D,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,OAA6C,uBAAG,YAAW;","names":[]}
@@ -1,6 +1,9 @@
1
- import { ForecastingDivinerSchema } from "../Schema";
2
- const ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
3
- const isForecastPayload = (x) => x?.schema === ForecastPayloadSchema;
1
+ // src/Schema.ts
2
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
+
4
+ // src/Payload/Payload.ts
5
+ var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
6
+ var isForecastPayload = (x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema;
4
7
  export {
5
8
  ForecastPayloadSchema,
6
9
  isForecastPayload
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Payload/Payload.ts"],"sourcesContent":["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 values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n"],"mappings":"AAEA,SAAS,gCAAgC;AAIlC,MAAM,wBAA+C,GAAG,wBAAwB;AAMhF,MAAM,oBAAoB,CAAC,MAA6C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../../src/Schema.ts","../../../src/Payload/Payload.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\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 values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACK3D,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,OAA6C,uBAAG,YAAW;","names":[]}
@@ -0,0 +1,3 @@
1
+ export * from './Forecast';
2
+ export * from './Payload';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,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,15 +15,25 @@ 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/Payload/index.ts
16
21
  var Payload_exports = {};
22
+ __export(Payload_exports, {
23
+ ForecastPayloadSchema: () => ForecastPayloadSchema,
24
+ isForecastPayload: () => isForecastPayload
25
+ });
17
26
  module.exports = __toCommonJS(Payload_exports);
18
- __reExport(Payload_exports, require("./Forecast"), module.exports);
19
- __reExport(Payload_exports, require("./Payload"), module.exports);
27
+
28
+ // src/Schema.ts
29
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
30
+
31
+ // src/Payload/Payload.ts
32
+ var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
33
+ var isForecastPayload = (x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema;
20
34
  // Annotate the CommonJS export names for ESM import in node:
21
35
  0 && (module.exports = {
22
- ...require("./Forecast"),
23
- ...require("./Payload")
36
+ ForecastPayloadSchema,
37
+ isForecastPayload
24
38
  });
25
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Payload/index.ts"],"sourcesContent":["export * from './Forecast'\nexport * from './Payload'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,4BAAc,uBAAd;AACA,4BAAc,sBADd;","names":[]}
1
+ {"version":3,"sources":["../../../src/Payload/index.ts","../../../src/Schema.ts","../../../src/Payload/Payload.ts"],"sourcesContent":["export * from './Forecast'\nexport * from './Payload'\n","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\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 values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ACK3D,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,OAA6C,uBAAG,YAAW;","names":[]}
@@ -1,3 +1,11 @@
1
- export * from "./Forecast";
2
- export * from "./Payload";
1
+ // src/Schema.ts
2
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
+
4
+ // src/Payload/Payload.ts
5
+ var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
6
+ var isForecastPayload = (x) => (x == null ? void 0 : x.schema) === ForecastPayloadSchema;
7
+ export {
8
+ ForecastPayloadSchema,
9
+ isForecastPayload
10
+ };
3
11
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Payload/index.ts"],"sourcesContent":["export * from './Forecast'\nexport * from './Payload'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/Schema.ts","../../../src/Payload/Payload.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\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 values: Forecast[]\n}>\nexport const isForecastPayload = (x?: Payload | null): x is ForecastPayload => x?.schema === ForecastPayloadSchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACK3D,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,OAA6C,uBAAG,YAAW;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ export type PayloadValueTransformer = (payload: Payload) => number;
3
+ //# 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;AAEpD,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,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'\n\nexport type PayloadValueTransformer = (payload: Payload) => number\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/PayloadValueTransformer.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type PayloadValueTransformer = (payload: Payload) => number\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1,12 @@
1
+ import { Payload, Query } from '@xyo-network/payload-model';
2
+ import { ForecastingSettings } from './Config';
3
+ import { ForecastingDivinerSchema } from './Schema';
4
+ export type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
5
+ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema;
6
+ export type ForecastingDivinerQueryPayload = Query<{
7
+ schema: ForecastingDivinerQuerySchema;
8
+ } & Partial<ForecastingSettings>>;
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
10
+ schema: ForecastingDivinerQuerySchema;
11
+ } & Partial<ForecastingSettings> & 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,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD,MAAM,MAAM,6BAA6B,GAAG,GAAG,wBAAwB,QAAQ,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC5H,eAAO,MAAM,gCAAgC,OAAQ,OAAO,GAAG,IAAI;YADN,6BAA6B;mFAE7C,CAAA"}
@@ -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
  ForecastingDivinerQuerySchema: () => ForecastingDivinerQuerySchema,
22
24
  isForecastingDivinerQueryPayload: () => isForecastingDivinerQueryPayload
23
25
  });
24
26
  module.exports = __toCommonJS(Query_exports);
25
- var import_Schema = require("./Schema");
26
- const ForecastingDivinerQuerySchema = `${import_Schema.ForecastingDivinerSchema}.query`;
27
- const isForecastingDivinerQueryPayload = (x) => x?.schema === ForecastingDivinerQuerySchema;
27
+
28
+ // src/Schema.ts
29
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
30
+
31
+ // src/Query.ts
32
+ var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
33
+ var isForecastingDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === ForecastingDivinerQuerySchema;
28
34
  // Annotate the CommonJS export names for ESM import in node:
29
35
  0 && (module.exports = {
30
36
  ForecastingDivinerQuerySchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["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;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAyC;AAGlC,MAAM,gCAA+D,GAAG,sCAAwB;AAGhG,MAAM,mCAAmC,CAAC,MAC/C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/Query.ts","../../src/Schema.ts"],"sourcesContent":["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","export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADK3D,IAAM,gCAA+D,GAAG,wBAAwB;AAGhG,IAAM,mCAAmC,CAAC,OAC/C,uBAAG,YAAW;","names":[]}
@@ -1,6 +1,9 @@
1
- import { ForecastingDivinerSchema } from "./Schema";
2
- const ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
3
- const isForecastingDivinerQueryPayload = (x) => x?.schema === ForecastingDivinerQuerySchema;
1
+ // src/Schema.ts
2
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
+
4
+ // src/Query.ts
5
+ var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
6
+ var isForecastingDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === ForecastingDivinerQuerySchema;
4
7
  export {
5
8
  ForecastingDivinerQuerySchema,
6
9
  isForecastingDivinerQueryPayload
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["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":"AAGA,SAAS,gCAAgC;AAGlC,MAAM,gCAA+D,GAAG,wBAAwB;AAGhG,MAAM,mCAAmC,CAAC,MAC/C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Query.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\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,IAAM,2BAAqD;;;ACK3D,IAAM,gCAA+D,GAAG,wBAAwB;AAGhG,IAAM,mCAAmC,CAAC,OAC/C,uBAAG,YAAW;","names":[]}
@@ -0,0 +1,3 @@
1
+ export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting';
2
+ export declare const ForecastingDivinerSchema: ForecastingDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,iCAAiC,CAAA;AACxE,eAAO,MAAM,wBAAwB,EAAE,wBAA4D,CAAA"}
@@ -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
  ForecastingDivinerSchema: () => ForecastingDivinerSchema
22
24
  });
23
25
  module.exports = __toCommonJS(Schema_exports);
24
- const ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
26
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
25
27
  // Annotate the CommonJS export names for ESM import in node:
26
28
  0 && (module.exports = {
27
29
  ForecastingDivinerSchema
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,MAAM,2BAAqD;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,2BAAqD;","names":[]}
@@ -1,4 +1,5 @@
1
- const ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
1
+ // src/Schema.ts
2
+ var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
2
3
  export {
3
4
  ForecastingDivinerSchema
4
5
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":"AACO,MAAM,2BAAqD;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\nexport const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'\n"],"mappings":";AACO,IAAM,2BAAqD;","names":[]}
@@ -0,0 +1,7 @@
1
+ export * from './Config';
2
+ export * from './ForecastingMethod';
3
+ export * from './Payload';
4
+ export * from './PayloadValueTransformer';
5
+ export * from './Query';
6
+ export * from './Schema';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}