@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"}
@@ -1,8 +1,5 @@
1
- // src/Schema.ts
2
- var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
-
4
- // src/Config/Config.ts
5
- var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
1
+ import { ForecastingDivinerSchema } from "../Schema";
2
+ const ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
6
3
  export {
7
4
  ForecastingDivinerConfigSchema
8
5
  };
@@ -1 +1 @@
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":[]}
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":[]}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -1,9 +1,4 @@
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
- };
1
+ export * from "./Config";
2
+ export * from "./ForecastingSettings";
3
+ export * from "./TransformerSettings";
9
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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":[]}
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":[]}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -1,9 +1,6 @@
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?.schema === ForecastPayloadSchema;
1
+ import { ForecastingDivinerSchema } from "../Schema";
2
+ const ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
3
+ const isForecastPayload = (x) => x?.schema === ForecastPayloadSchema;
7
4
  export {
8
5
  ForecastPayloadSchema,
9
6
  isForecastPayload
@@ -1 +1 @@
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,MAA6C,GAAG,WAAW;","names":[]}
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":[]}
@@ -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"}
@@ -1,11 +1,3 @@
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?.schema === ForecastPayloadSchema;
7
- export {
8
- ForecastPayloadSchema,
9
- isForecastPayload
10
- };
1
+ export * from "./Forecast";
2
+ export * from "./Payload";
11
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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,MAA6C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../../src/Payload/index.ts"],"sourcesContent":["export * from './Forecast'\nexport * from './Payload'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","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"}
@@ -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"}
@@ -1,9 +1,6 @@
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?.schema === ForecastingDivinerQuerySchema;
1
+ import { ForecastingDivinerSchema } from "./Schema";
2
+ const ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
3
+ const isForecastingDivinerQueryPayload = (x) => x?.schema === ForecastingDivinerQuerySchema;
7
4
  export {
8
5
  ForecastingDivinerQuerySchema,
9
6
  isForecastingDivinerQueryPayload
@@ -1 +1 @@
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,MAC/C,GAAG,WAAW;","names":[]}
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":[]}
@@ -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"}
@@ -1,5 +1,4 @@
1
- // src/Schema.ts
2
- var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
1
+ const ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
2
  export {
4
3
  ForecastingDivinerSchema
5
4
  };
@@ -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,IAAM,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,MAAM,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"}
@@ -1,22 +1,7 @@
1
- // src/Schema.ts
2
- var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
3
-
4
- // src/Config/Config.ts
5
- var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
6
-
7
- // src/Payload/Payload.ts
8
- var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
9
- var isForecastPayload = (x) => x?.schema === ForecastPayloadSchema;
10
-
11
- // src/Query.ts
12
- var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
13
- var isForecastingDivinerQueryPayload = (x) => x?.schema === ForecastingDivinerQuerySchema;
14
- export {
15
- ForecastPayloadSchema,
16
- ForecastingDivinerConfigSchema,
17
- ForecastingDivinerQuerySchema,
18
- ForecastingDivinerSchema,
19
- isForecastPayload,
20
- isForecastingDivinerQueryPayload
21
- };
1
+ export * from "./Config";
2
+ export * from "./ForecastingMethod";
3
+ export * from "./Payload";
4
+ export * from "./PayloadValueTransformer";
5
+ export * from "./Query";
6
+ export * from "./Schema";
22
7
  //# 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 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,IAAM,2BAAqD;;;ACO3D,IAAM,iCAAiE,GAAG,wBAAwB;;;ACFlG,IAAM,wBAA+C,GAAG,wBAAwB;AAMhF,IAAM,oBAAoB,CAAC,MAA6C,GAAG,WAAW;;;ACNtF,IAAM,gCAA+D,GAAG,wBAAwB;AAGhG,IAAM,mCAAmC,CAAC,MAC/C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './ForecastingMethod'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}