@xyo-network/diviner-forecasting-abstract 2.73.3 → 2.74.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.
- package/dist/AbstractForecasting.d.mts +15 -0
- package/dist/AbstractForecasting.d.mts.map +1 -0
- package/dist/AbstractForecasting.d.ts +15 -0
- package/dist/AbstractForecasting.d.ts.map +1 -0
- package/dist/index.d.mts +2 -17
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +2 -17
- package/dist/index.d.ts.map +1 -0
- package/package.json +10 -16
- package/dist/docs.json +0 -20465
- package/tsup.config.ts +0 -16
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractDiviner } from '@xyo-network/abstract-diviner';
|
|
2
|
+
import { ForecastingDivinerConfig, ForecastingMethod, PayloadValueTransformer } from '@xyo-network/diviner-forecasting-model';
|
|
3
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
4
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
+
import { Promisable } from '@xyo-network/promise';
|
|
7
|
+
export type ForecastingDivinerParams = DivinerParams<AnyConfigSchema<ForecastingDivinerConfig>>;
|
|
8
|
+
export declare abstract class AbstractForecastingDiviner<TParams extends ForecastingDivinerParams = ForecastingDivinerParams> extends AbstractDiviner<TParams> {
|
|
9
|
+
static configSchemas: "network.xyo.diviner.forecasting.config"[];
|
|
10
|
+
protected abstract get forecastingMethod(): ForecastingMethod;
|
|
11
|
+
protected abstract get transformer(): PayloadValueTransformer;
|
|
12
|
+
protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
13
|
+
protected abstract getPayloadsInWindow(startTimestamp: number, stopTimestamp: number): Promisable<Payload[]>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AbstractForecasting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractForecasting.d.ts","sourceRoot":"","sources":["../src/AbstractForecasting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EACL,wBAAwB,EAGxB,iBAAiB,EAKjB,uBAAuB,EACxB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAE/F,8BAAsB,0BAA0B,CAC9C,OAAO,SAAS,wBAAwB,GAAG,wBAAwB,CACnE,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,OAAgB,aAAa,6CAAmC;IAEhE,SAAS,CAAC,QAAQ,KAAK,iBAAiB,IAAI,iBAAiB,CAAA;IAC7D,SAAS,CAAC,QAAQ,KAAK,WAAW,IAAI,uBAAuB,CAAA;cAEpC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAahF,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAC7G"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractDiviner } from '@xyo-network/abstract-diviner';
|
|
2
|
+
import { ForecastingDivinerConfig, ForecastingMethod, PayloadValueTransformer } from '@xyo-network/diviner-forecasting-model';
|
|
3
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
4
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
+
import { Promisable } from '@xyo-network/promise';
|
|
7
|
+
export type ForecastingDivinerParams = DivinerParams<AnyConfigSchema<ForecastingDivinerConfig>>;
|
|
8
|
+
export declare abstract class AbstractForecastingDiviner<TParams extends ForecastingDivinerParams = ForecastingDivinerParams> extends AbstractDiviner<TParams> {
|
|
9
|
+
static configSchemas: "network.xyo.diviner.forecasting.config"[];
|
|
10
|
+
protected abstract get forecastingMethod(): ForecastingMethod;
|
|
11
|
+
protected abstract get transformer(): PayloadValueTransformer;
|
|
12
|
+
protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
13
|
+
protected abstract getPayloadsInWindow(startTimestamp: number, stopTimestamp: number): Promisable<Payload[]>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AbstractForecasting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractForecasting.d.ts","sourceRoot":"","sources":["../src/AbstractForecasting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EACL,wBAAwB,EAGxB,iBAAiB,EAKjB,uBAAuB,EACxB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAE/F,8BAAsB,0BAA0B,CAC9C,OAAO,SAAS,wBAAwB,GAAG,wBAAwB,CACnE,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,OAAgB,aAAa,6CAAmC;IAEhE,SAAS,CAAC,QAAQ,KAAK,iBAAiB,IAAI,iBAAiB,CAAA;IAC7D,SAAS,CAAC,QAAQ,KAAK,WAAW,IAAI,uBAAuB,CAAA;cAEpC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAahF,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAC7G"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
4
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
-
import { Promisable } from '@xyo-network/promise';
|
|
7
|
-
|
|
8
|
-
type ForecastingDivinerParams = DivinerParams<AnyConfigSchema<ForecastingDivinerConfig>>;
|
|
9
|
-
declare abstract class AbstractForecastingDiviner<TParams extends ForecastingDivinerParams = ForecastingDivinerParams> extends AbstractDiviner<TParams> {
|
|
10
|
-
static configSchemas: "network.xyo.diviner.forecasting.config"[];
|
|
11
|
-
protected abstract get forecastingMethod(): ForecastingMethod;
|
|
12
|
-
protected abstract get transformer(): PayloadValueTransformer;
|
|
13
|
-
protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
14
|
-
protected abstract getPayloadsInWindow(startTimestamp: number, stopTimestamp: number): Promisable<Payload[]>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { AbstractForecastingDiviner, ForecastingDivinerParams };
|
|
1
|
+
export * from './AbstractForecasting';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
4
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
-
import { Promisable } from '@xyo-network/promise';
|
|
7
|
-
|
|
8
|
-
type ForecastingDivinerParams = DivinerParams<AnyConfigSchema<ForecastingDivinerConfig>>;
|
|
9
|
-
declare abstract class AbstractForecastingDiviner<TParams extends ForecastingDivinerParams = ForecastingDivinerParams> extends AbstractDiviner<TParams> {
|
|
10
|
-
static configSchemas: "network.xyo.diviner.forecasting.config"[];
|
|
11
|
-
protected abstract get forecastingMethod(): ForecastingMethod;
|
|
12
|
-
protected abstract get transformer(): PayloadValueTransformer;
|
|
13
|
-
protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
14
|
-
protected abstract getPayloadsInWindow(startTimestamp: number, stopTimestamp: number): Promisable<Payload[]>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { AbstractForecastingDiviner, ForecastingDivinerParams };
|
|
1
|
+
export * from './AbstractForecasting';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,25 +10,19 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/abstract-diviner": "~2.
|
|
14
|
-
"@xyo-network/core": "~2.
|
|
15
|
-
"@xyo-network/diviner-forecasting-model": "~2.
|
|
16
|
-
"@xyo-network/diviner-model": "~2.
|
|
17
|
-
"@xyo-network/module-model": "~2.
|
|
18
|
-
"@xyo-network/payload-model": "~2.
|
|
19
|
-
"@xyo-network/promise": "~2.
|
|
13
|
+
"@xyo-network/abstract-diviner": "~2.74.0",
|
|
14
|
+
"@xyo-network/core": "~2.74.0",
|
|
15
|
+
"@xyo-network/diviner-forecasting-model": "~2.74.0",
|
|
16
|
+
"@xyo-network/diviner-model": "~2.74.0",
|
|
17
|
+
"@xyo-network/module-model": "~2.74.0",
|
|
18
|
+
"@xyo-network/payload-model": "~2.74.0",
|
|
19
|
+
"@xyo-network/promise": "~2.74.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
23
|
-
"@xylabs/tsconfig": "^
|
|
24
|
-
"publint": "^0.2.2",
|
|
25
|
-
"tsup": "^7.2.0",
|
|
22
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.27",
|
|
23
|
+
"@xylabs/tsconfig": "^3.0.27",
|
|
26
24
|
"typescript": "^5.2.2"
|
|
27
25
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"package-compile": "tsup && publint",
|
|
30
|
-
"package-recompile": "tsup && publint"
|
|
31
|
-
},
|
|
32
26
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
33
27
|
"docs": "dist/docs.json",
|
|
34
28
|
"types": "dist/index.d.ts",
|
|
@@ -69,5 +63,5 @@
|
|
|
69
63
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
70
64
|
},
|
|
71
65
|
"sideEffects": false,
|
|
72
|
-
"version": "2.
|
|
66
|
+
"version": "2.74.0"
|
|
73
67
|
}
|