@xyo-network/diviner-forecasting-model 2.99.1 → 2.99.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/Config/Config.d.cts +12 -0
- package/dist/neutral/Config/Config.d.cts.map +1 -0
- package/dist/neutral/Config/Config.d.mts +12 -0
- package/dist/neutral/Config/Config.d.mts.map +1 -0
- package/dist/neutral/Config/Config.d.ts +12 -0
- package/dist/neutral/Config/Config.d.ts.map +1 -0
- package/dist/neutral/Config/ForecastingSettings.d.cts +11 -0
- package/dist/neutral/Config/ForecastingSettings.d.cts.map +1 -0
- package/dist/neutral/Config/ForecastingSettings.d.mts +11 -0
- package/dist/neutral/Config/ForecastingSettings.d.mts.map +1 -0
- package/dist/neutral/Config/ForecastingSettings.d.ts +11 -0
- package/dist/neutral/Config/ForecastingSettings.d.ts.map +1 -0
- package/dist/neutral/Config/TransformerSettings.d.cts +4 -0
- package/dist/neutral/Config/TransformerSettings.d.cts.map +1 -0
- package/dist/neutral/Config/TransformerSettings.d.mts +4 -0
- package/dist/neutral/Config/TransformerSettings.d.mts.map +1 -0
- package/dist/neutral/Config/TransformerSettings.d.ts +4 -0
- package/dist/neutral/Config/TransformerSettings.d.ts.map +1 -0
- package/dist/neutral/Config/index.d.cts +4 -0
- package/dist/neutral/Config/index.d.cts.map +1 -0
- package/dist/neutral/Config/index.d.mts +4 -0
- package/dist/neutral/Config/index.d.mts.map +1 -0
- package/dist/neutral/Config/index.d.ts +4 -0
- package/dist/neutral/Config/index.d.ts.map +1 -0
- package/dist/neutral/ForecastingMethod.d.cts +6 -0
- package/dist/neutral/ForecastingMethod.d.cts.map +1 -0
- package/dist/neutral/ForecastingMethod.d.mts +6 -0
- package/dist/neutral/ForecastingMethod.d.mts.map +1 -0
- package/dist/neutral/ForecastingMethod.d.ts +6 -0
- package/dist/neutral/ForecastingMethod.d.ts.map +1 -0
- package/dist/neutral/Payload/Forecast.d.cts +6 -0
- package/dist/neutral/Payload/Forecast.d.cts.map +1 -0
- package/dist/neutral/Payload/Forecast.d.mts +6 -0
- package/dist/neutral/Payload/Forecast.d.mts.map +1 -0
- package/dist/neutral/Payload/Forecast.d.ts +6 -0
- package/dist/neutral/Payload/Forecast.d.ts.map +1 -0
- package/dist/neutral/Payload/Payload.d.cts +16 -0
- package/dist/neutral/Payload/Payload.d.cts.map +1 -0
- package/dist/neutral/Payload/Payload.d.mts +16 -0
- package/dist/neutral/Payload/Payload.d.mts.map +1 -0
- package/dist/neutral/Payload/Payload.d.ts +16 -0
- package/dist/neutral/Payload/Payload.d.ts.map +1 -0
- package/dist/neutral/Payload/index.d.cts +3 -0
- package/dist/neutral/Payload/index.d.cts.map +1 -0
- package/dist/neutral/Payload/index.d.mts +3 -0
- package/dist/neutral/Payload/index.d.mts.map +1 -0
- package/dist/neutral/Payload/index.d.ts +3 -0
- package/dist/neutral/Payload/index.d.ts.map +1 -0
- package/dist/neutral/PayloadValueTransformer.d.cts +3 -0
- package/dist/neutral/PayloadValueTransformer.d.cts.map +1 -0
- package/dist/neutral/PayloadValueTransformer.d.mts +3 -0
- package/dist/neutral/PayloadValueTransformer.d.mts.map +1 -0
- package/dist/neutral/PayloadValueTransformer.d.ts +3 -0
- package/dist/neutral/PayloadValueTransformer.d.ts.map +1 -0
- package/dist/neutral/Query.d.cts +14 -0
- package/dist/neutral/Query.d.cts.map +1 -0
- package/dist/neutral/Query.d.mts +14 -0
- package/dist/neutral/Query.d.mts.map +1 -0
- package/dist/neutral/Query.d.ts +14 -0
- package/dist/neutral/Query.d.ts.map +1 -0
- package/dist/neutral/Schema.d.cts +3 -0
- package/dist/neutral/Schema.d.cts.map +1 -0
- package/dist/neutral/Schema.d.mts +3 -0
- package/dist/neutral/Schema.d.mts.map +1 -0
- package/dist/neutral/Schema.d.ts +3 -0
- package/dist/neutral/Schema.d.ts.map +1 -0
- package/dist/neutral/index.cjs +46 -0
- package/dist/neutral/index.cjs.map +1 -0
- package/dist/neutral/index.d.cts +7 -0
- package/dist/neutral/index.d.cts.map +1 -0
- package/dist/neutral/index.d.mts +7 -0
- package/dist/neutral/index.d.mts.map +1 -0
- package/dist/neutral/index.d.ts +7 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.js +25 -0
- package/dist/neutral/index.js.map +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
import { ModuleFilter } from '@xyo-network/module-model';
|
|
3
|
+
import { ForecastingDivinerSchema } from '../Schema';
|
|
4
|
+
import { ForecastingSettings } from './ForecastingSettings';
|
|
5
|
+
import { TransformerSettings } from './TransformerSettings';
|
|
6
|
+
export type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
7
|
+
export declare const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema;
|
|
8
|
+
export type ForecastingDivinerConfig = DivinerConfig<{
|
|
9
|
+
boundWitnessDiviner?: ModuleFilter;
|
|
10
|
+
schema: ForecastingDivinerConfigSchema;
|
|
11
|
+
} & ForecastingSettings & TransformerSettings>;
|
|
12
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,MAAM,8BAA8B,GAAG,GAAG,wBAAwB,SAAS,CAAA;AACjF,eAAO,MAAM,8BAA8B,EAAE,8BAAqE,CAAA;AAElH,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAClD;IACE,mBAAmB,CAAC,EAAE,YAAY,CAAA;IAClC,MAAM,EAAE,8BAA8B,CAAA;CACvC,GAAG,mBAAmB,GACrB,mBAAmB,CACtB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
import { ModuleFilter } from '@xyo-network/module-model';
|
|
3
|
+
import { ForecastingDivinerSchema } from '../Schema';
|
|
4
|
+
import { ForecastingSettings } from './ForecastingSettings';
|
|
5
|
+
import { TransformerSettings } from './TransformerSettings';
|
|
6
|
+
export type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
7
|
+
export declare const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema;
|
|
8
|
+
export type ForecastingDivinerConfig = DivinerConfig<{
|
|
9
|
+
boundWitnessDiviner?: ModuleFilter;
|
|
10
|
+
schema: ForecastingDivinerConfigSchema;
|
|
11
|
+
} & ForecastingSettings & TransformerSettings>;
|
|
12
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,MAAM,8BAA8B,GAAG,GAAG,wBAAwB,SAAS,CAAA;AACjF,eAAO,MAAM,8BAA8B,EAAE,8BAAqE,CAAA;AAElH,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAClD;IACE,mBAAmB,CAAC,EAAE,YAAY,CAAA;IAClC,MAAM,EAAE,8BAA8B,CAAA;CACvC,GAAG,mBAAmB,GACrB,mBAAmB,CACtB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
import { ModuleFilter } from '@xyo-network/module-model';
|
|
3
|
+
import { ForecastingDivinerSchema } from '../Schema';
|
|
4
|
+
import { ForecastingSettings } from './ForecastingSettings';
|
|
5
|
+
import { TransformerSettings } from './TransformerSettings';
|
|
6
|
+
export type ForecastingDivinerConfigSchema = `${ForecastingDivinerSchema}.config`;
|
|
7
|
+
export declare const ForecastingDivinerConfigSchema: ForecastingDivinerConfigSchema;
|
|
8
|
+
export type ForecastingDivinerConfig = DivinerConfig<{
|
|
9
|
+
boundWitnessDiviner?: ModuleFilter;
|
|
10
|
+
schema: ForecastingDivinerConfigSchema;
|
|
11
|
+
} & ForecastingSettings & TransformerSettings>;
|
|
12
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,MAAM,8BAA8B,GAAG,GAAG,wBAAwB,SAAS,CAAA;AACjF,eAAO,MAAM,8BAA8B,EAAE,8BAAqE,CAAA;AAElH,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAClD;IACE,mBAAmB,CAAC,EAAE,YAAY,CAAA;IAClC,MAAM,EAAE,8BAA8B,CAAA;CACvC,GAAG,mBAAmB,GACrB,mBAAmB,CACtB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
2
|
+
import { Schema } from '@xyo-network/payload-model';
|
|
3
|
+
export interface ForecastingSettings {
|
|
4
|
+
forecastingMethod?: string;
|
|
5
|
+
forecastingSteps?: number;
|
|
6
|
+
timestamp?: number;
|
|
7
|
+
windowSize?: number;
|
|
8
|
+
witnessAddresses?: Address[];
|
|
9
|
+
witnessSchema?: Schema;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ForecastingSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForecastingSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/ForecastingSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,OAAO,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
2
|
+
import { Schema } from '@xyo-network/payload-model';
|
|
3
|
+
export interface ForecastingSettings {
|
|
4
|
+
forecastingMethod?: string;
|
|
5
|
+
forecastingSteps?: number;
|
|
6
|
+
timestamp?: number;
|
|
7
|
+
windowSize?: number;
|
|
8
|
+
witnessAddresses?: Address[];
|
|
9
|
+
witnessSchema?: Schema;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ForecastingSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForecastingSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/ForecastingSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,OAAO,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
2
|
+
import { Schema } from '@xyo-network/payload-model';
|
|
3
|
+
export interface ForecastingSettings {
|
|
4
|
+
forecastingMethod?: string;
|
|
5
|
+
forecastingSteps?: number;
|
|
6
|
+
timestamp?: number;
|
|
7
|
+
windowSize?: number;
|
|
8
|
+
witnessAddresses?: Address[];
|
|
9
|
+
witnessSchema?: Schema;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ForecastingSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForecastingSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/ForecastingSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,OAAO,EAAE,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformerSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/TransformerSettings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformerSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/TransformerSettings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformerSettings.d.ts","sourceRoot":"","sources":["../../../src/Config/TransformerSettings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Config/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Config/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Config/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { Forecast } from './Payload';
|
|
4
|
+
import { PayloadValueTransformer } from './PayloadValueTransformer';
|
|
5
|
+
export type ForecastingMethod = (payloads: Payload[], transformers: PayloadValueTransformer) => Promisable<Forecast[]>;
|
|
6
|
+
//# sourceMappingURL=ForecastingMethod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForecastingMethod.d.ts","sourceRoot":"","sources":["../../src/ForecastingMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY,EAAE,uBAAuB,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { Forecast } from './Payload';
|
|
4
|
+
import { PayloadValueTransformer } from './PayloadValueTransformer';
|
|
5
|
+
export type ForecastingMethod = (payloads: Payload[], transformers: PayloadValueTransformer) => Promisable<Forecast[]>;
|
|
6
|
+
//# sourceMappingURL=ForecastingMethod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForecastingMethod.d.ts","sourceRoot":"","sources":["../../src/ForecastingMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY,EAAE,uBAAuB,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { Forecast } from './Payload';
|
|
4
|
+
import { PayloadValueTransformer } from './PayloadValueTransformer';
|
|
5
|
+
export type ForecastingMethod = (payloads: Payload[], transformers: PayloadValueTransformer) => Promisable<Forecast[]>;
|
|
6
|
+
//# sourceMappingURL=ForecastingMethod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForecastingMethod.d.ts","sourceRoot":"","sources":["../../src/ForecastingMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY,EAAE,uBAAuB,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Forecast.d.ts","sourceRoot":"","sources":["../../../src/Payload/Forecast.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Forecast.d.ts","sourceRoot":"","sources":["../../../src/Payload/Forecast.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Forecast.d.ts","sourceRoot":"","sources":["../../../src/Payload/Forecast.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { ForecastingDivinerSchema } from '../Schema';
|
|
3
|
+
import { Forecast } from './Forecast';
|
|
4
|
+
export type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
5
|
+
export declare const ForecastPayloadSchema: ForecastPayloadSchema;
|
|
6
|
+
export type ForecastPayload = Payload<{
|
|
7
|
+
schema: ForecastPayloadSchema;
|
|
8
|
+
sources: string[];
|
|
9
|
+
values: Forecast[];
|
|
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
|
+
};
|
|
16
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payload/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,MAAM,qBAAqB,GAAG,GAAG,wBAAwB,WAAW,CAAA;AAC1E,eAAO,MAAM,qBAAqB,EAAE,qBAA8D,CAAA;AAElG,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { ForecastingDivinerSchema } from '../Schema';
|
|
3
|
+
import { Forecast } from './Forecast';
|
|
4
|
+
export type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
5
|
+
export declare const ForecastPayloadSchema: ForecastPayloadSchema;
|
|
6
|
+
export type ForecastPayload = Payload<{
|
|
7
|
+
schema: ForecastPayloadSchema;
|
|
8
|
+
sources: string[];
|
|
9
|
+
values: Forecast[];
|
|
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
|
+
};
|
|
16
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payload/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,MAAM,qBAAqB,GAAG,GAAG,wBAAwB,WAAW,CAAA;AAC1E,eAAO,MAAM,qBAAqB,EAAE,qBAA8D,CAAA;AAElG,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { ForecastingDivinerSchema } from '../Schema';
|
|
3
|
+
import { Forecast } from './Forecast';
|
|
4
|
+
export type ForecastPayloadSchema = `${ForecastingDivinerSchema}.forecast`;
|
|
5
|
+
export declare const ForecastPayloadSchema: ForecastPayloadSchema;
|
|
6
|
+
export type ForecastPayload = Payload<{
|
|
7
|
+
schema: ForecastPayloadSchema;
|
|
8
|
+
sources: string[];
|
|
9
|
+
values: Forecast[];
|
|
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
|
+
};
|
|
16
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payload/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,MAAM,qBAAqB,GAAG,GAAG,wBAAwB,WAAW,CAAA;AAC1E,eAAO,MAAM,qBAAqB,EAAE,qBAA8D,CAAA;AAElG,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayloadValueTransformer.d.ts","sourceRoot":"","sources":["../../src/PayloadValueTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayloadValueTransformer.d.ts","sourceRoot":"","sources":["../../src/PayloadValueTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayloadValueTransformer.d.ts","sourceRoot":"","sources":["../../src/PayloadValueTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
2
|
+
import { ForecastingSettings } from './Config';
|
|
3
|
+
import { ForecastingDivinerSchema } from './Schema';
|
|
4
|
+
export type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
5
|
+
export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema;
|
|
6
|
+
export type ForecastingDivinerQueryPayload = Query<{
|
|
7
|
+
schema: ForecastingDivinerQuerySchema;
|
|
8
|
+
} & Partial<ForecastingSettings>>;
|
|
9
|
+
export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
10
|
+
schema: ForecastingDivinerQuerySchema;
|
|
11
|
+
} & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
12
|
+
schema: "network.xyo.diviner.forecasting.query";
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD,MAAM,MAAM,6BAA6B,GAAG,GAAG,wBAAwB,QAAQ,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC5H,eAAO,MAAM,gCAAgC,OAAQ,OAAO,GAAG,IAAI;YADN,6BAA6B;;;CAE7C,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
2
|
+
import { ForecastingSettings } from './Config';
|
|
3
|
+
import { ForecastingDivinerSchema } from './Schema';
|
|
4
|
+
export type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
5
|
+
export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema;
|
|
6
|
+
export type ForecastingDivinerQueryPayload = Query<{
|
|
7
|
+
schema: ForecastingDivinerQuerySchema;
|
|
8
|
+
} & Partial<ForecastingSettings>>;
|
|
9
|
+
export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
10
|
+
schema: ForecastingDivinerQuerySchema;
|
|
11
|
+
} & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
12
|
+
schema: "network.xyo.diviner.forecasting.query";
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD,MAAM,MAAM,6BAA6B,GAAG,GAAG,wBAAwB,QAAQ,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC5H,eAAO,MAAM,gCAAgC,OAAQ,OAAO,GAAG,IAAI;YADN,6BAA6B;;;CAE7C,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
2
|
+
import { ForecastingSettings } from './Config';
|
|
3
|
+
import { ForecastingDivinerSchema } from './Schema';
|
|
4
|
+
export type ForecastingDivinerQuerySchema = `${ForecastingDivinerSchema}.query`;
|
|
5
|
+
export declare const ForecastingDivinerQuerySchema: ForecastingDivinerQuerySchema;
|
|
6
|
+
export type ForecastingDivinerQueryPayload = Query<{
|
|
7
|
+
schema: ForecastingDivinerQuerySchema;
|
|
8
|
+
} & Partial<ForecastingSettings>>;
|
|
9
|
+
export declare const isForecastingDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
10
|
+
schema: ForecastingDivinerQuerySchema;
|
|
11
|
+
} & Partial<ForecastingSettings> & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
12
|
+
schema: "network.xyo.diviner.forecasting.query";
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD,MAAM,MAAM,6BAA6B,GAAG,GAAG,wBAAwB,QAAQ,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC5H,eAAO,MAAM,gCAAgC,OAAQ,OAAO,GAAG,IAAI;YADN,6BAA6B;;;CAE7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,iCAAiC,CAAA;AACxE,eAAO,MAAM,wBAAwB,EAAE,wBAA4D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,iCAAiC,CAAA;AACxE,eAAO,MAAM,wBAAwB,EAAE,wBAA4D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,iCAAiC,CAAA;AACxE,eAAO,MAAM,wBAAwB,EAAE,wBAA4D,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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");
|
|
46
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
};
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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"]}
|
package/package.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/hex": "^3.
|
|
14
|
-
"@xylabs/promise": "^3.
|
|
15
|
-
"@xyo-network/diviner-model": "~2.99.
|
|
16
|
-
"@xyo-network/module-model": "~2.99.
|
|
17
|
-
"@xyo-network/payload-model": "~2.99.
|
|
13
|
+
"@xylabs/hex": "^3.3.2",
|
|
14
|
+
"@xylabs/promise": "^3.3.2",
|
|
15
|
+
"@xyo-network/diviner-model": "~2.99.3",
|
|
16
|
+
"@xyo-network/module-model": "~2.99.3",
|
|
17
|
+
"@xyo-network/payload-model": "~2.99.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
21
|
-
"@xylabs/tsconfig": "^3.
|
|
20
|
+
"@xylabs/ts-scripts-yarn3": "^3.10.0",
|
|
21
|
+
"@xylabs/tsconfig": "^3.10.0",
|
|
22
22
|
"typescript": "^5.4.5"
|
|
23
23
|
},
|
|
24
24
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
61
61
|
},
|
|
62
62
|
"sideEffects": false,
|
|
63
|
-
"version": "2.99.
|
|
63
|
+
"version": "2.99.3",
|
|
64
64
|
"type": "module"
|
|
65
65
|
}
|