@xyo-network/diviner-forecasting-model 3.6.8 → 3.6.10

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.
@@ -1,3 +1,3 @@
1
- export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting';
2
- export declare const ForecastingDivinerSchema: ForecastingDivinerSchema;
1
+ export declare const ForecastingDivinerSchema: "network.xyo.diviner.forecasting";
2
+ export type ForecastingDivinerSchema = typeof ForecastingDivinerSchema;
3
3
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,iCAA0C,CAAA;AAClF,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA"}
@@ -1,6 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
1
  // src/Schema.ts
5
2
  var ForecastingDivinerSchema = "network.xyo.diviner.forecasting";
6
3
 
@@ -9,11 +6,11 @@ var ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
9
6
 
10
7
  // src/Payload/Payload.ts
11
8
  var ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
12
- var isForecastPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastPayloadSchema, "isForecastPayload");
9
+ var isForecastPayload = (x) => x?.schema === ForecastPayloadSchema;
13
10
 
14
11
  // src/Query.ts
15
12
  var ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
16
- var isForecastingDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === ForecastingDivinerQuerySchema, "isForecastingDivinerQueryPayload");
13
+ var isForecastingDivinerQueryPayload = (x) => x?.schema === ForecastingDivinerQuerySchema;
17
14
  export {
18
15
  ForecastPayloadSchema,
19
16
  ForecastingDivinerConfigSchema,
@@ -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 type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { ForecastingSettings } from './ForecastingSettings.ts'\nimport type { TransformerSettings } from './TransformerSettings.ts'\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 type { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { Forecast } from './Forecast.ts'\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 type { Payload, Query } from '@xyo-network/payload-model'\n\nimport type { ForecastingSettings } from './Config/index.ts'\nimport { ForecastingDivinerSchema } from './Schema.ts'\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 const ForecastingDivinerSchema = 'network.xyo.diviner.forecasting' as const\nexport type ForecastingDivinerSchema = typeof ForecastingDivinerSchema\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { ModuleFilter } from '@xyo-network/module-model'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { ForecastingSettings } from './ForecastingSettings.ts'\nimport type { TransformerSettings } from './TransformerSettings.ts'\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 type { Payload } from '@xyo-network/payload-model'\n\nimport { ForecastingDivinerSchema } from '../Schema.ts'\nimport type { Forecast } from './Forecast.ts'\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 type { Payload, Query } from '@xyo-network/payload-model'\n\nimport type { ForecastingSettings } from './Config/index.ts'\nimport { ForecastingDivinerSchema } from './Schema.ts'\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":";AAAO,IAAM,2BAA2B;;;ACQjC,IAAM,iCAAiE,GAAG,wBAAwB;;;ACFlG,IAAM,wBAA+C,GAAG,wBAAwB;AAOhF,IAAM,oBAAoB,CAAC,MAA6C,GAAG,WAAW;;;ACPtF,IAAM,gCAA+D,GAAG,wBAAwB;AAGhG,IAAM,mCAAmC,CAAC,MAC/C,GAAG,WAAW;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-forecasting-model",
3
- "version": "3.6.8",
3
+ "version": "3.6.10",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,16 +29,16 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/hex": "^4.4.34",
33
- "@xylabs/promise": "^4.4.34",
34
- "@xyo-network/diviner-model": "^3.6.8",
35
- "@xyo-network/module-model": "^3.6.8",
36
- "@xyo-network/payload-model": "^3.6.8"
32
+ "@xylabs/hex": "^4.5.1",
33
+ "@xylabs/promise": "^4.5.1",
34
+ "@xyo-network/diviner-model": "^3.6.10",
35
+ "@xyo-network/module-model": "^3.6.10",
36
+ "@xyo-network/payload-model": "^3.6.10"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@xylabs/ts-scripts-yarn3": "^4.2.6",
40
40
  "@xylabs/tsconfig": "^4.2.6",
41
- "typescript": "^5.7.2"
41
+ "typescript": "^5.7.3"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
package/src/Schema.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'
2
- export const ForecastingDivinerSchema: ForecastingDivinerSchema = 'network.xyo.diviner.forecasting'
1
+ export const ForecastingDivinerSchema = 'network.xyo.diviner.forecasting' as const
2
+ export type ForecastingDivinerSchema = typeof ForecastingDivinerSchema