@@ -4,15 +4,15 @@ import {
44 VuuLink ,
55 VuuMenu ,
66} from "@finos/vuu-protocol-types" ;
7+ import { MenuRpcResponse } from "@finos/vuu-data-types" ;
78import { Table , buildDataColumnMap , joinTables } from "../Table" ;
9+ import { RpcService , RpcServiceRequest } from "../VuuModule" ;
10+ import { SimulModule } from "./SimulModule" ;
811import { instrumentsTable } from "./reference-data/instruments" ;
912import { instrumentsExtendedTable } from "./reference-data/instruments-extended" ;
1013import { ordersTable } from "./reference-data/orders" ;
1114import { pricesTable } from "./reference-data/prices" ;
1215import { schemas , type SimulTableName } from "./simul-schemas" ;
13- import { RpcService , RpcServiceRequest } from "../VuuModule" ;
14- import { MenuRpcResponse } from "packages/vuu-data-types" ;
15- import { SimulModule } from "./SimulModule" ;
1616
1717const undefinedTables = {
1818 childOrders : undefined ,
@@ -28,21 +28,21 @@ const tables: Record<SimulTableName, Table> = {
2828 childOrders : new Table (
2929 schemas . childOrders ,
3030 [ ] ,
31- buildDataColumnMap < SimulTableName > ( schemas , "childOrders" )
31+ buildDataColumnMap < SimulTableName > ( schemas , "childOrders" ) ,
3232 ) ,
3333 instruments : instrumentsTable ,
3434 instrumentsExtended : instrumentsExtendedTable ,
3535 instrumentPrices : joinTables (
3636 { module : "SIMUL" , table : "instrumentPrices" } ,
3737 instrumentsTable ,
3838 pricesTable ,
39- "ric"
39+ "ric" ,
4040 ) ,
4141 orders : ordersTable ,
4242 parentOrders : new Table (
4343 schemas . parentOrders ,
4444 [ ] ,
45- buildDataColumnMap < SimulTableName > ( schemas , "parentOrders" )
45+ buildDataColumnMap < SimulTableName > ( schemas , "parentOrders" ) ,
4646 ) ,
4747 prices : pricesTable ,
4848} ;
@@ -94,7 +94,7 @@ const menus: Record<SimulTableName, VuuMenu | undefined> = {
9494} ;
9595
9696async function cancelOrder (
97- rpcRequest : RpcServiceRequest
97+ rpcRequest : RpcServiceRequest ,
9898) : Promise < Omit < MenuRpcResponse < ShowNotificationAction > , "requestId" > > {
9999 const { rowKey } = rpcRequest as ClientToServerMenuRowRPC ;
100100 const table = tables . orders ;
0 commit comments