@vuu-ui/vuu-data-test 0.8.23-debug → 0.8.24-debug
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/cjs/index.js +48 -125
- package/cjs/index.js.map +4 -4
- package/esm/index.js +46 -123
- package/esm/index.js.map +4 -4
- package/package.json +7 -3
- package/types/basket/index.d.ts +2 -0
- package/types/index.d.ts +3 -4
- package/types/simul/index.d.ts +2 -0
- package/types/simul/reference-data/instruments.d.ts +1 -0
- package/types/simul/reference-data/orders.d.ts +36 -0
- package/types/test/index.d.ts +1 -0
- package/types/vuu-modules.d.ts +1 -2
package/package.json
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-data-test",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.24-debug",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@vuu-ui/vuu-data-local": "0.8.
|
|
7
|
+
"@vuu-ui/vuu-data-local": "0.8.24-debug",
|
|
8
|
+
"@vuu-ui/vuu-utils": "0.8.24-debug",
|
|
8
9
|
"@thomaschaplin/isin-generator": "1.0.3"
|
|
9
10
|
},
|
|
10
11
|
"devDependencies": {
|
|
11
|
-
"@vuu-ui/vuu-
|
|
12
|
+
"@vuu-ui/vuu-protocol-types": "0.8.24-debug",
|
|
13
|
+
"@vuu-ui/vuu-data-types": "0.8.24-debug",
|
|
14
|
+
"@vuu-ui/vuu-table-types": "0.8.24-debug"
|
|
12
15
|
},
|
|
16
|
+
"sideEffects": false,
|
|
13
17
|
"files": [
|
|
14
18
|
"cjs",
|
|
15
19
|
"esm",
|
package/types/index.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ export * from "./schemas";
|
|
|
3
3
|
export * from "./TickingArrayDataSource";
|
|
4
4
|
export * from "./vuu-row-generator";
|
|
5
5
|
export * from "./vuu-modules";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export { type TestTableName } from "./test/test-schemas";
|
|
6
|
+
export * from "./basket";
|
|
7
|
+
export * from "./simul";
|
|
8
|
+
export * from "./test";
|
|
10
9
|
export * from "./Table";
|
package/types/simul/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const InstrumentColumnMap: {
|
|
|
26
26
|
readonly price: 7;
|
|
27
27
|
};
|
|
28
28
|
declare const instrumentsData: InstrumentsDataRow[];
|
|
29
|
+
export declare const getRic: (defaultRic: string) => string;
|
|
29
30
|
declare const instrumentsTable: Table;
|
|
30
31
|
export { instrumentsData };
|
|
31
32
|
export default instrumentsTable;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Table } from "../../Table";
|
|
2
|
+
export type ccy = string;
|
|
3
|
+
export type created = number;
|
|
4
|
+
export type filledQuantity = number;
|
|
5
|
+
export type lastUpdate = number;
|
|
6
|
+
export type orderId = string;
|
|
7
|
+
export type quantity = number;
|
|
8
|
+
export type ric = string;
|
|
9
|
+
export type side = string;
|
|
10
|
+
export type trader = string;
|
|
11
|
+
export type OrdersDataRow = [
|
|
12
|
+
ccy,
|
|
13
|
+
created,
|
|
14
|
+
filledQuantity,
|
|
15
|
+
lastUpdate,
|
|
16
|
+
orderId,
|
|
17
|
+
quantity,
|
|
18
|
+
ric,
|
|
19
|
+
side,
|
|
20
|
+
trader
|
|
21
|
+
];
|
|
22
|
+
export declare const OrderColumnMap: {
|
|
23
|
+
readonly ccy: 0;
|
|
24
|
+
readonly created: 1;
|
|
25
|
+
readonly filledQuantity: 2;
|
|
26
|
+
readonly lastUpdate: 3;
|
|
27
|
+
readonly orderId: 4;
|
|
28
|
+
readonly quantity: 5;
|
|
29
|
+
readonly ric: 6;
|
|
30
|
+
readonly side: 7;
|
|
31
|
+
readonly trader: 8;
|
|
32
|
+
};
|
|
33
|
+
declare const ordersData: OrdersDataRow[];
|
|
34
|
+
declare const ordersTable: Table;
|
|
35
|
+
export { ordersData };
|
|
36
|
+
export default ordersTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type TestTableName } from "./test-schemas";
|
package/types/vuu-modules.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DataSource } from "@vuu-ui/vuu-data-types";
|
|
2
|
-
import { SuggestionFetcher } from "@vuu-ui/vuu-data-react";
|
|
1
|
+
import { DataSource, SuggestionFetcher } from "@vuu-ui/vuu-data-types";
|
|
3
2
|
export type VuuModuleName = "BASKET" | "SIMUL" | "TEST";
|
|
4
3
|
export interface VuuModule<T extends string = string> {
|
|
5
4
|
createDataSource: (tableName: T) => DataSource;
|