@xyo-network/tzero-stock-market-payload-plugin 4.1.1 → 4.2.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/browser/index.d.ts +3 -66
- package/dist/neutral/index.d.ts +3 -66
- package/dist/node/index.d.ts +3 -66
- package/package.json +4 -5
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,66 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface PriceHistory {
|
|
5
|
-
close: number | null;
|
|
6
|
-
date: string;
|
|
7
|
-
high: number | null;
|
|
8
|
-
low: number | null;
|
|
9
|
-
open: number | null;
|
|
10
|
-
symbol: string;
|
|
11
|
-
volume: number;
|
|
12
|
-
}
|
|
13
|
-
interface PriceHistoryPageFields {
|
|
14
|
-
currentPage: number;
|
|
15
|
-
priceHistories: PriceHistory[];
|
|
16
|
-
size: number;
|
|
17
|
-
totalCount: number;
|
|
18
|
-
totalPages: number;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare const PriceHistorySchema: string;
|
|
22
|
-
type PriceHistorySchema = typeof PriceHistorySchema;
|
|
23
|
-
|
|
24
|
-
declare const SnapshotSchema: string;
|
|
25
|
-
type SnapshotSchema = typeof SnapshotSchema;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* The fields for a Snapshot
|
|
29
|
-
*/
|
|
30
|
-
interface SnapshotFields {
|
|
31
|
-
askPrice: number | null;
|
|
32
|
-
askPriceRate: number | null;
|
|
33
|
-
askQtyBookTotal: number | null;
|
|
34
|
-
askQuantity: number | null;
|
|
35
|
-
bidPrice: number | null;
|
|
36
|
-
bidPriceRate: number | null;
|
|
37
|
-
bidQtyBookTotal: number | null;
|
|
38
|
-
bidQuantity: number | null;
|
|
39
|
-
high: number | null;
|
|
40
|
-
lastPrice: number | null;
|
|
41
|
-
lastQuantity: number | null;
|
|
42
|
-
low: number | null;
|
|
43
|
-
open: number | null;
|
|
44
|
-
prevClosePx: number | null;
|
|
45
|
-
symbol: string;
|
|
46
|
-
timestamp: string;
|
|
47
|
-
volume: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The Snapshot payload
|
|
51
|
-
*/
|
|
52
|
-
type Snapshot = Payload<SnapshotFields, SnapshotSchema>;
|
|
53
|
-
/**
|
|
54
|
-
* Identity function for determine if an object is a Snapshot
|
|
55
|
-
*/
|
|
56
|
-
declare const isSnapshot: (x?: unknown | null) => x is Snapshot;
|
|
57
|
-
/**
|
|
58
|
-
* Identity function for determine if an object is a Snapshot with sources
|
|
59
|
-
*/
|
|
60
|
-
declare const isSnapshotWithSources: (x?: unknown | null) => x is _xyo_network_payload_model.WithSources<Snapshot>;
|
|
61
|
-
|
|
62
|
-
type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero';
|
|
63
|
-
declare const TZeroStockMarketSchema: TZeroStockMarketSchema;
|
|
64
|
-
|
|
65
|
-
export { PriceHistorySchema, SnapshotSchema, TZeroStockMarketSchema, isSnapshot, isSnapshotWithSources };
|
|
66
|
-
export type { PriceHistory, PriceHistoryPageFields, Snapshot, SnapshotFields };
|
|
1
|
+
export * from './Payload/index.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,66 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface PriceHistory {
|
|
5
|
-
close: number | null;
|
|
6
|
-
date: string;
|
|
7
|
-
high: number | null;
|
|
8
|
-
low: number | null;
|
|
9
|
-
open: number | null;
|
|
10
|
-
symbol: string;
|
|
11
|
-
volume: number;
|
|
12
|
-
}
|
|
13
|
-
interface PriceHistoryPageFields {
|
|
14
|
-
currentPage: number;
|
|
15
|
-
priceHistories: PriceHistory[];
|
|
16
|
-
size: number;
|
|
17
|
-
totalCount: number;
|
|
18
|
-
totalPages: number;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare const PriceHistorySchema: string;
|
|
22
|
-
type PriceHistorySchema = typeof PriceHistorySchema;
|
|
23
|
-
|
|
24
|
-
declare const SnapshotSchema: string;
|
|
25
|
-
type SnapshotSchema = typeof SnapshotSchema;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* The fields for a Snapshot
|
|
29
|
-
*/
|
|
30
|
-
interface SnapshotFields {
|
|
31
|
-
askPrice: number | null;
|
|
32
|
-
askPriceRate: number | null;
|
|
33
|
-
askQtyBookTotal: number | null;
|
|
34
|
-
askQuantity: number | null;
|
|
35
|
-
bidPrice: number | null;
|
|
36
|
-
bidPriceRate: number | null;
|
|
37
|
-
bidQtyBookTotal: number | null;
|
|
38
|
-
bidQuantity: number | null;
|
|
39
|
-
high: number | null;
|
|
40
|
-
lastPrice: number | null;
|
|
41
|
-
lastQuantity: number | null;
|
|
42
|
-
low: number | null;
|
|
43
|
-
open: number | null;
|
|
44
|
-
prevClosePx: number | null;
|
|
45
|
-
symbol: string;
|
|
46
|
-
timestamp: string;
|
|
47
|
-
volume: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The Snapshot payload
|
|
51
|
-
*/
|
|
52
|
-
type Snapshot = Payload<SnapshotFields, SnapshotSchema>;
|
|
53
|
-
/**
|
|
54
|
-
* Identity function for determine if an object is a Snapshot
|
|
55
|
-
*/
|
|
56
|
-
declare const isSnapshot: (x?: unknown | null) => x is Snapshot;
|
|
57
|
-
/**
|
|
58
|
-
* Identity function for determine if an object is a Snapshot with sources
|
|
59
|
-
*/
|
|
60
|
-
declare const isSnapshotWithSources: (x?: unknown | null) => x is _xyo_network_payload_model.WithSources<Snapshot>;
|
|
61
|
-
|
|
62
|
-
type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero';
|
|
63
|
-
declare const TZeroStockMarketSchema: TZeroStockMarketSchema;
|
|
64
|
-
|
|
65
|
-
export { PriceHistorySchema, SnapshotSchema, TZeroStockMarketSchema, isSnapshot, isSnapshotWithSources };
|
|
66
|
-
export type { PriceHistory, PriceHistoryPageFields, Snapshot, SnapshotFields };
|
|
1
|
+
export * from './Payload/index.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,66 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface PriceHistory {
|
|
5
|
-
close: number | null;
|
|
6
|
-
date: string;
|
|
7
|
-
high: number | null;
|
|
8
|
-
low: number | null;
|
|
9
|
-
open: number | null;
|
|
10
|
-
symbol: string;
|
|
11
|
-
volume: number;
|
|
12
|
-
}
|
|
13
|
-
interface PriceHistoryPageFields {
|
|
14
|
-
currentPage: number;
|
|
15
|
-
priceHistories: PriceHistory[];
|
|
16
|
-
size: number;
|
|
17
|
-
totalCount: number;
|
|
18
|
-
totalPages: number;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare const PriceHistorySchema: string;
|
|
22
|
-
type PriceHistorySchema = typeof PriceHistorySchema;
|
|
23
|
-
|
|
24
|
-
declare const SnapshotSchema: string;
|
|
25
|
-
type SnapshotSchema = typeof SnapshotSchema;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* The fields for a Snapshot
|
|
29
|
-
*/
|
|
30
|
-
interface SnapshotFields {
|
|
31
|
-
askPrice: number | null;
|
|
32
|
-
askPriceRate: number | null;
|
|
33
|
-
askQtyBookTotal: number | null;
|
|
34
|
-
askQuantity: number | null;
|
|
35
|
-
bidPrice: number | null;
|
|
36
|
-
bidPriceRate: number | null;
|
|
37
|
-
bidQtyBookTotal: number | null;
|
|
38
|
-
bidQuantity: number | null;
|
|
39
|
-
high: number | null;
|
|
40
|
-
lastPrice: number | null;
|
|
41
|
-
lastQuantity: number | null;
|
|
42
|
-
low: number | null;
|
|
43
|
-
open: number | null;
|
|
44
|
-
prevClosePx: number | null;
|
|
45
|
-
symbol: string;
|
|
46
|
-
timestamp: string;
|
|
47
|
-
volume: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The Snapshot payload
|
|
51
|
-
*/
|
|
52
|
-
type Snapshot = Payload<SnapshotFields, SnapshotSchema>;
|
|
53
|
-
/**
|
|
54
|
-
* Identity function for determine if an object is a Snapshot
|
|
55
|
-
*/
|
|
56
|
-
declare const isSnapshot: (x?: unknown | null) => x is Snapshot;
|
|
57
|
-
/**
|
|
58
|
-
* Identity function for determine if an object is a Snapshot with sources
|
|
59
|
-
*/
|
|
60
|
-
declare const isSnapshotWithSources: (x?: unknown | null) => x is _xyo_network_payload_model.WithSources<Snapshot>;
|
|
61
|
-
|
|
62
|
-
type TZeroStockMarketSchema = 'network.xyo.stock.market.tzero';
|
|
63
|
-
declare const TZeroStockMarketSchema: TZeroStockMarketSchema;
|
|
64
|
-
|
|
65
|
-
export { PriceHistorySchema, SnapshotSchema, TZeroStockMarketSchema, isSnapshot, isSnapshotWithSources };
|
|
66
|
-
export type { PriceHistory, PriceHistoryPageFields, Snapshot, SnapshotFields };
|
|
1
|
+
export * from './Payload/index.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/tzero-stock-market-payload-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,12 +29,11 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xyo-network/payload-model": "^4.
|
|
32
|
+
"@xyo-network/payload-model": "^4.3.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
36
|
-
"@xylabs/tsconfig": "^7.0.
|
|
37
|
-
"knip": "^5.62.0",
|
|
35
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
36
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
38
37
|
"typescript": "^5.8.3"
|
|
39
38
|
},
|
|
40
39
|
"publishConfig": {
|