@vuu-ui/vuu-protocol-types 2.1.19-beta.1 → 2.1.19-beta.3
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 +23 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export interface VuuTableMetaRequest {
|
|
|
89
89
|
export interface VuuTableMetaResponse {
|
|
90
90
|
columns: VuuColumns;
|
|
91
91
|
dataTypes: VuuColumnDataType[];
|
|
92
|
+
editableColumns: string[];
|
|
92
93
|
key: string;
|
|
93
94
|
table: VuuTable;
|
|
94
95
|
type: "TABLE_META_RESP";
|
|
@@ -551,7 +552,8 @@ export declare type VuuRpcServiceRequest<T extends RpcContext = RpcContext> = {
|
|
|
551
552
|
};
|
|
552
553
|
|
|
553
554
|
export declare type AddRowParams = {
|
|
554
|
-
key
|
|
555
|
+
/** Omitted for remote datasources — the server generates the key. */
|
|
556
|
+
key?: string;
|
|
555
557
|
data: Record<string, VuuRowDataItemType>;
|
|
556
558
|
};
|
|
557
559
|
export declare type AddRowRpcServiceRequest = {
|
|
@@ -593,6 +595,24 @@ export declare type EndEditSessionRpcServiceRequest = {
|
|
|
593
595
|
params: EndEditSessionParams;
|
|
594
596
|
rpcName: "endEditSession";
|
|
595
597
|
};
|
|
598
|
+
export declare type UndoRowChangeParams = {
|
|
599
|
+
key: string;
|
|
600
|
+
};
|
|
601
|
+
export declare type UndoRowChangeRpcServiceRequest = {
|
|
602
|
+
context: ViewportRpcContext;
|
|
603
|
+
type: "RPC_REQUEST";
|
|
604
|
+
params: UndoRowChangeParams;
|
|
605
|
+
rpcName: "undoRowChange";
|
|
606
|
+
};
|
|
607
|
+
export declare type DeleteSelectedRowsParams = {
|
|
608
|
+
mode?: "soft" | "hard";
|
|
609
|
+
};
|
|
610
|
+
export declare type DeleteSelectedRowsRpcServiceRequest = {
|
|
611
|
+
context: ViewportRpcContext;
|
|
612
|
+
type: "RPC_REQUEST";
|
|
613
|
+
params: DeleteSelectedRowsParams;
|
|
614
|
+
rpcName: "deleteSelectedRows";
|
|
615
|
+
};
|
|
596
616
|
|
|
597
617
|
export declare type AddRowRpcRequest = {
|
|
598
618
|
context: ViewportRpcContext;
|
|
@@ -713,7 +733,8 @@ export declare type VuuColumnDataType =
|
|
|
713
733
|
| "string"
|
|
714
734
|
| "char"
|
|
715
735
|
| "boolean"
|
|
716
|
-
| "epochtimestamp"
|
|
736
|
+
| "epochtimestamp"
|
|
737
|
+
| "epochtimestampnano";
|
|
717
738
|
|
|
718
739
|
export declare type VuuMenuContext = "cell" | "row" | "grid" | "selected-rows";
|
|
719
740
|
export declare type VuuTable = {
|