@xyo-network/diviner-forecasting-model 2.106.0 → 2.107.0

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 (49) hide show
  1. package/dist/browser/Payload/Payload.d.cts +1 -5
  2. package/dist/browser/Payload/Payload.d.cts.map +1 -1
  3. package/dist/browser/Payload/Payload.d.mts +1 -5
  4. package/dist/browser/Payload/Payload.d.mts.map +1 -1
  5. package/dist/browser/Payload/Payload.d.ts +1 -5
  6. package/dist/browser/Payload/Payload.d.ts.map +1 -1
  7. package/dist/browser/Query.d.cts +1 -5
  8. package/dist/browser/Query.d.cts.map +1 -1
  9. package/dist/browser/Query.d.mts +1 -5
  10. package/dist/browser/Query.d.mts.map +1 -1
  11. package/dist/browser/Query.d.ts +1 -5
  12. package/dist/browser/Query.d.ts.map +1 -1
  13. package/dist/browser/index.cjs +1 -45
  14. package/dist/browser/index.cjs.map +1 -1
  15. package/dist/browser/index.js +1 -24
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/neutral/Payload/Payload.d.cts +1 -5
  18. package/dist/neutral/Payload/Payload.d.cts.map +1 -1
  19. package/dist/neutral/Payload/Payload.d.mts +1 -5
  20. package/dist/neutral/Payload/Payload.d.mts.map +1 -1
  21. package/dist/neutral/Payload/Payload.d.ts +1 -5
  22. package/dist/neutral/Payload/Payload.d.ts.map +1 -1
  23. package/dist/neutral/Query.d.cts +1 -5
  24. package/dist/neutral/Query.d.cts.map +1 -1
  25. package/dist/neutral/Query.d.mts +1 -5
  26. package/dist/neutral/Query.d.mts.map +1 -1
  27. package/dist/neutral/Query.d.ts +1 -5
  28. package/dist/neutral/Query.d.ts.map +1 -1
  29. package/dist/neutral/index.cjs +1 -45
  30. package/dist/neutral/index.cjs.map +1 -1
  31. package/dist/neutral/index.js +1 -24
  32. package/dist/neutral/index.js.map +1 -1
  33. package/dist/node/Payload/Payload.d.cts +1 -5
  34. package/dist/node/Payload/Payload.d.cts.map +1 -1
  35. package/dist/node/Payload/Payload.d.mts +1 -5
  36. package/dist/node/Payload/Payload.d.mts.map +1 -1
  37. package/dist/node/Payload/Payload.d.ts +1 -5
  38. package/dist/node/Payload/Payload.d.ts.map +1 -1
  39. package/dist/node/Query.d.cts +1 -5
  40. package/dist/node/Query.d.cts.map +1 -1
  41. package/dist/node/Query.d.mts +1 -5
  42. package/dist/node/Query.d.mts.map +1 -1
  43. package/dist/node/Query.d.ts +1 -5
  44. package/dist/node/Query.d.ts.map +1 -1
  45. package/dist/node/index.cjs +1 -54
  46. package/dist/node/index.cjs.map +1 -1
  47. package/dist/node/index.js +1 -24
  48. package/dist/node/index.js.map +1 -1
  49. package/package.json +7 -7
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -1,46 +1,2 @@
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");
1
+ "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var a=(o,r)=>c(o,"name",{value:r,configurable:!0});var g=(o,r)=>{for(var i in r)c(o,i,{get:r[i],enumerable:!0})},h=(o,r,i,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of f(r))!x.call(o,t)&&t!==i&&c(o,t,{get:()=>r[t],enumerable:!(n=p(r,t))||n.enumerable});return o};var F=o=>h(c({},"__esModule",{value:!0}),o);var S={};g(S,{ForecastPayloadSchema:()=>m,ForecastingDivinerConfigSchema:()=>v,ForecastingDivinerQuerySchema:()=>s,ForecastingDivinerSchema:()=>e,isForecastPayload:()=>y,isForecastingDivinerQueryPayload:()=>D});module.exports=F(S);var e="network.xyo.diviner.forecasting";var v=`${e}.config`;var m=`${e}.forecast`,y=a(o=>o?.schema===m,"isForecastPayload");var s=`${e}.query`,D=a(o=>o?.schema===s,"isForecastingDivinerQueryPayload");
46
2
  //# 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":";;;;;;;;;;;;;;;;;;;;;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"]}
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":"4dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,EAAA,mCAAAC,EAAA,kCAAAC,EAAA,6BAAAC,EAAA,sBAAAC,EAAA,qCAAAC,IAAA,eAAAC,EAAAR,GCCO,IAAMS,EAAqD,kCCO3D,IAAMC,EAAiE,GAAGC,CAAAA,UCF1E,IAAMC,EAA+C,GAAGC,CAAAA,YAOlDC,EAAoBC,EAACC,GAA6CA,GAAGC,SAAWL,EAA5D,qBCP1B,IAAMM,EAA+D,GAAGC,CAAAA,SAGlEC,EAAmCC,EAACC,GAC/CA,GAAGC,SAAWL,EADgC","names":["src_exports","__export","ForecastPayloadSchema","ForecastingDivinerConfigSchema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastPayload","isForecastingDivinerQueryPayload","__toCommonJS","ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","__name","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","__name","x","schema"]}
@@ -1,25 +1,2 @@
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
- };
1
+ var i=Object.defineProperty;var e=(r,t)=>i(r,"name",{value:t,configurable:!0});var o="network.xyo.diviner.forecasting";var p=`${o}.config`;var c=`${o}.forecast`,g=e(r=>r?.schema===c,"isForecastPayload");var a=`${o}.query`,y=e(r=>r?.schema===a,"isForecastingDivinerQueryPayload");export{c as ForecastPayloadSchema,p as ForecastingDivinerConfigSchema,a as ForecastingDivinerQuerySchema,o as ForecastingDivinerSchema,g as isForecastPayload,y as isForecastingDivinerQueryPayload};
25
2
  //# 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":";;;;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"]}
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":"+EACO,IAAMA,EAAqD,kCCO3D,IAAMC,EAAiE,GAAGC,CAAAA,UCF1E,IAAMC,EAA+C,GAAGC,CAAAA,YAOlDC,EAAoBC,EAACC,GAA6CA,GAAGC,SAAWL,EAA5D,qBCP1B,IAAMM,EAA+D,GAAGC,CAAAA,SAGlEC,EAAmCC,EAACC,GAC/CA,GAAGC,SAAWL,EADgC","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","__name","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","__name","x","schema"]}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -1,46 +1,2 @@
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");
1
+ "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var a=(o,r)=>c(o,"name",{value:r,configurable:!0});var g=(o,r)=>{for(var i in r)c(o,i,{get:r[i],enumerable:!0})},h=(o,r,i,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of f(r))!x.call(o,t)&&t!==i&&c(o,t,{get:()=>r[t],enumerable:!(n=p(r,t))||n.enumerable});return o};var F=o=>h(c({},"__esModule",{value:!0}),o);var S={};g(S,{ForecastPayloadSchema:()=>m,ForecastingDivinerConfigSchema:()=>v,ForecastingDivinerQuerySchema:()=>s,ForecastingDivinerSchema:()=>e,isForecastPayload:()=>y,isForecastingDivinerQueryPayload:()=>D});module.exports=F(S);var e="network.xyo.diviner.forecasting";var v=`${e}.config`;var m=`${e}.forecast`,y=a(o=>o?.schema===m,"isForecastPayload");var s=`${e}.query`,D=a(o=>o?.schema===s,"isForecastingDivinerQueryPayload");
46
2
  //# 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":";;;;;;;;;;;;;;;;;;;;;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"]}
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":"4dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,EAAA,mCAAAC,EAAA,kCAAAC,EAAA,6BAAAC,EAAA,sBAAAC,EAAA,qCAAAC,IAAA,eAAAC,EAAAR,GCCO,IAAMS,EAAqD,kCCO3D,IAAMC,EAAiE,GAAGC,CAAAA,UCF1E,IAAMC,EAA+C,GAAGC,CAAAA,YAOlDC,EAAoBC,EAACC,GAA6CA,GAAGC,SAAWL,EAA5D,qBCP1B,IAAMM,EAA+D,GAAGC,CAAAA,SAGlEC,EAAmCC,EAACC,GAC/CA,GAAGC,SAAWL,EADgC","names":["src_exports","__export","ForecastPayloadSchema","ForecastingDivinerConfigSchema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastPayload","isForecastingDivinerQueryPayload","__toCommonJS","ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","__name","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","__name","x","schema"]}
@@ -1,25 +1,2 @@
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
- };
1
+ var i=Object.defineProperty;var e=(r,t)=>i(r,"name",{value:t,configurable:!0});var o="network.xyo.diviner.forecasting";var p=`${o}.config`;var c=`${o}.forecast`,g=e(r=>r?.schema===c,"isForecastPayload");var a=`${o}.query`,y=e(r=>r?.schema===a,"isForecastingDivinerQueryPayload");export{c as ForecastPayloadSchema,p as ForecastingDivinerConfigSchema,a as ForecastingDivinerQuerySchema,o as ForecastingDivinerSchema,g as isForecastPayload,y as isForecastingDivinerQueryPayload};
25
2
  //# 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":";;;;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"]}
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":"+EACO,IAAMA,EAAqD,kCCO3D,IAAMC,EAAiE,GAAGC,CAAAA,UCF1E,IAAMC,EAA+C,GAAGC,CAAAA,YAOlDC,EAAoBC,EAACC,GAA6CA,GAAGC,SAAWL,EAA5D,qBCP1B,IAAMM,EAA+D,GAAGC,CAAAA,SAGlEC,EAAmCC,EAACC,GAC/CA,GAAGC,SAAWL,EADgC","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","__name","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","__name","x","schema"]}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -8,9 +8,5 @@ export type ForecastPayload = Payload<{
8
8
  sources: string[];
9
9
  values: Forecast[];
10
10
  }>;
11
- export declare const isForecastPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
- schema: ForecastPayloadSchema;
13
- sources: string[];
14
- values: Forecast[];
15
- };
11
+ export declare const isForecastPayload: (x?: Payload | null) => x is ForecastPayload;
16
12
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI;YAJ1C,qBAAqB;aACpB,MAAM,EAAE;YACT,QAAQ,EAAE;CAE8F,CAAA"}
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,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB,CAAC,CAAA;AACF,eAAO,MAAM,iBAAiB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,eAAsD,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -6,9 +6,5 @@ export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchem
6
6
  export type ForecastingDivinerQueryPayload = Query<{
7
7
  schema: ForecastingDivinerQuerySchema;
8
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 & Omit<{
10
- schema: ForecastingDivinerQuerySchema;
11
- } & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
12
- schema: "network.xyo.diviner.forecasting.query";
13
- };
9
+ export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is ForecastingDivinerQueryPayload;
14
10
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +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;;;CAE7C,CAAA"}
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,KAAG,CAAC,IAAI,8BAC9B,CAAA"}
@@ -1,55 +1,2 @@
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
- });
1
+ "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var a=(o,r)=>c(o,"name",{value:r,configurable:!0});var h=(o,r)=>{for(var i in r)c(o,i,{get:r[i],enumerable:!0})},F=(o,r,i,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of f(r))!g.call(o,t)&&t!==i&&c(o,t,{get:()=>r[t],enumerable:!(n=p(r,t))||n.enumerable});return o};var v=o=>F(c({},"__esModule",{value:!0}),o);var x={};h(x,{ForecastPayloadSchema:()=>m,ForecastingDivinerConfigSchema:()=>y,ForecastingDivinerQuerySchema:()=>s,ForecastingDivinerSchema:()=>e,isForecastPayload:()=>D,isForecastingDivinerQueryPayload:()=>S});module.exports=v(x);var e="network.xyo.diviner.forecasting";var y=`${e}.config`;var m=`${e}.forecast`,D=a(o=>(o==null?void 0:o.schema)===m,"isForecastPayload");var s=`${e}.query`,S=a(o=>(o==null?void 0:o.schema)===s,"isForecastingDivinerQueryPayload");0&&(module.exports={ForecastPayloadSchema,ForecastingDivinerConfigSchema,ForecastingDivinerQuerySchema,ForecastingDivinerSchema,isForecastPayload,isForecastingDivinerQueryPayload});
55
2
  //# 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":";;;;;;;;;;;;;;;;;;;;;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"]}
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":"4dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,EAAA,mCAAAC,EAAA,kCAAAC,EAAA,6BAAAC,EAAA,sBAAAC,EAAA,qCAAAC,IAAA,eAAAC,EAAAR,GCCO,IAAMS,EAAqD,kCCO3D,IAAMC,EAAiE,GAAGC,CAAAA,UCF1E,IAAMC,EAA+C,GAAGC,CAAAA,YAOlDC,EAAoBC,EAACC,IAA6CA,GAAAA,YAAAA,EAAGC,UAAWL,EAA5D,qBCP1B,IAAMM,EAA+D,GAAGC,CAAAA,SAGlEC,EAAmCC,EAACC,IAC/CA,GAAAA,YAAAA,EAAGC,UAAWL,EADgC","names":["src_exports","__export","ForecastPayloadSchema","ForecastingDivinerConfigSchema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastPayload","isForecastingDivinerQueryPayload","__toCommonJS","ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","__name","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","__name","x","schema"]}
@@ -1,25 +1,2 @@
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
- };
1
+ var i=Object.defineProperty;var e=(o,t)=>i(o,"name",{value:t,configurable:!0});var r="network.xyo.diviner.forecasting";var p=`${r}.config`;var c=`${r}.forecast`,h=e(o=>(o==null?void 0:o.schema)===c,"isForecastPayload");var a=`${r}.query`,D=e(o=>(o==null?void 0:o.schema)===a,"isForecastingDivinerQueryPayload");export{c as ForecastPayloadSchema,p as ForecastingDivinerConfigSchema,a as ForecastingDivinerQuerySchema,r as ForecastingDivinerSchema,h as isForecastPayload,D as isForecastingDivinerQueryPayload};
25
2
  //# 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":";;;;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"]}
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":"+EACO,IAAMA,EAAqD,kCCO3D,IAAMC,EAAiE,GAAGC,CAAAA,UCF1E,IAAMC,EAA+C,GAAGC,CAAAA,YAOlDC,EAAoBC,EAACC,IAA6CA,GAAAA,YAAAA,EAAGC,UAAWL,EAA5D,qBCP1B,IAAMM,EAA+D,GAAGC,CAAAA,SAGlEC,EAAmCC,EAACC,IAC/CA,GAAAA,YAAAA,EAAGC,UAAWL,EADgC","names":["ForecastingDivinerSchema","ForecastingDivinerConfigSchema","ForecastingDivinerSchema","ForecastPayloadSchema","ForecastingDivinerSchema","isForecastPayload","__name","x","schema","ForecastingDivinerQuerySchema","ForecastingDivinerSchema","isForecastingDivinerQueryPayload","__name","x","schema"]}
package/package.json CHANGED
@@ -12,14 +12,14 @@
12
12
  "dependencies": {
13
13
  "@xylabs/hex": "^3.5.1",
14
14
  "@xylabs/promise": "^3.5.1",
15
- "@xyo-network/diviner-model": "~2.106.0",
16
- "@xyo-network/module-model": "~2.106.0",
17
- "@xyo-network/payload-model": "~2.106.0"
15
+ "@xyo-network/diviner-model": "~2.107.0",
16
+ "@xyo-network/module-model": "~2.107.0",
17
+ "@xyo-network/payload-model": "~2.107.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@xylabs/ts-scripts-yarn3": "^3.11.2",
21
- "@xylabs/tsconfig": "^3.11.2",
22
- "typescript": "^5.4.5"
20
+ "@xylabs/ts-scripts-yarn3": "^3.11.8",
21
+ "@xylabs/tsconfig": "^3.11.8",
22
+ "typescript": "^5.5.2"
23
23
  },
24
24
  "description": "Primary SDK for using XYO Protocol 2.0",
25
25
  "types": "dist/node/index.d.ts",
@@ -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.106.0",
63
+ "version": "2.107.0",
64
64
  "type": "module"
65
65
  }