@vuu-ui/vuu-protocol-types 2.1.12 → 2.1.15
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/index.d.ts +8 -54
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -507,13 +507,18 @@ export declare type ClientMessageBody =
|
|
|
507
507
|
*
|
|
508
508
|
* Vuu supports two types of RPC message
|
|
509
509
|
*
|
|
510
|
-
*
|
|
510
|
+
* 2) VuuRpcServiceRequest
|
|
511
511
|
*
|
|
512
512
|
* There are no generic messages in this category, they will tend to be specific to a
|
|
513
513
|
* business module. Examples found in the Vuu project include rpcNames "createBasket",
|
|
514
514
|
* "addConstituent", "sendToMarket" etc in the BASKET module.
|
|
515
515
|
*
|
|
516
|
-
*
|
|
516
|
+
* There is a new proposed set of generic rpc calls, related to bulk edit operations
|
|
517
|
+
* - "VP_BULK_EDIT_SUBMIT_RPC"
|
|
518
|
+
* - "VP_BULK_EDIT_COLUMN_CELLS_RPC"
|
|
519
|
+
* These are not yet impelmented in the Vuu server and liable to change
|
|
520
|
+
*
|
|
521
|
+
* 3) VuuRpcMenuRequest
|
|
517
522
|
*
|
|
518
523
|
* These are RPC calls submitted when user clicks a menu item from the menu structure
|
|
519
524
|
* defined on the server (see VIEW_PORT_MENUS_RESP above). There are 4 categories of
|
|
@@ -552,58 +557,7 @@ export declare type VuuRpcResponse = VuuRpcServiceResponse | VuuRpcMenuResponse;
|
|
|
552
557
|
export declare type VuuRpcServiceRequest<T extends RpcContext = RpcContext> = {
|
|
553
558
|
context: T;
|
|
554
559
|
type: "RPC_REQUEST";
|
|
555
|
-
params: Record<string, VuuRowDataItemType
|
|
556
|
-
rpcName: TypeAheadMethod | string;
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
export declare type AddRowParams = {
|
|
560
|
-
key: string;
|
|
561
|
-
data: Record<string, VuuRowDataItemType>;
|
|
562
|
-
};
|
|
563
|
-
export declare type AddRowRpcServiceRequest = {
|
|
564
|
-
context: ViewportRpcContext;
|
|
565
|
-
type: "RPC_REQUEST";
|
|
566
|
-
params: AddRowParams;
|
|
567
|
-
rpcName: "addRow";
|
|
568
|
-
};
|
|
569
|
-
|
|
570
|
-
export declare type EditCellParams = {
|
|
571
|
-
column: string;
|
|
572
|
-
data: VuuRowDataItemType;
|
|
573
|
-
key: string;
|
|
574
|
-
};
|
|
575
|
-
export declare type EditCellRpcServiceRequest = {
|
|
576
|
-
context: ViewportRpcContext;
|
|
577
|
-
type: "RPC_REQUEST";
|
|
578
|
-
params: EditCellParams;
|
|
579
|
-
rpcName: "editCell";
|
|
580
|
-
};
|
|
581
|
-
|
|
582
|
-
export declare type BeginEditSessionParams = {
|
|
583
|
-
editSessionMode?: "all-rows" | "selected-rows";
|
|
584
|
-
};
|
|
585
|
-
export declare type BeginEditSessionRpcServiceRequest = {
|
|
586
|
-
context: ViewportRpcContext;
|
|
587
|
-
type: "RPC_REQUEST";
|
|
588
|
-
params: BeginEditSessionParams;
|
|
589
|
-
rpcName: "beginEditSession";
|
|
590
|
-
};
|
|
591
|
-
export declare type EndEditSessionParams = {
|
|
592
|
-
save?: boolean;
|
|
593
|
-
force?: boolean;
|
|
594
|
-
timestamp?: number;
|
|
595
|
-
};
|
|
596
|
-
export declare type EndEditSessionRpcServiceRequest = {
|
|
597
|
-
context: ViewportRpcContext;
|
|
598
|
-
type: "RPC_REQUEST";
|
|
599
|
-
params: EndEditSessionParams;
|
|
600
|
-
rpcName: "endEditSession";
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
export declare type AddRowRpcRequest = {
|
|
604
|
-
context: ViewportRpcContext;
|
|
605
|
-
type: "RPC_REQUEST";
|
|
606
|
-
params: Record<string, VuuRowDataItemType> | AddRowParams;
|
|
560
|
+
params: Record<string, VuuRowDataItemType>;
|
|
607
561
|
rpcName: TypeAheadMethod | string;
|
|
608
562
|
};
|
|
609
563
|
|