@vuu-ui/vuu-data-types 0.13.28 → 0.13.30
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 +9 -18
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import type {
|
|
|
9
9
|
LinkDescriptorWithLabel,
|
|
10
10
|
NoAction,
|
|
11
11
|
OpenDialogAction,
|
|
12
|
-
TypeAheadMethod,
|
|
13
12
|
VuuAggregation,
|
|
14
13
|
VuuColumnDataType,
|
|
15
14
|
VuuColumns,
|
|
@@ -20,17 +19,17 @@ import type {
|
|
|
20
19
|
VuuMenu,
|
|
21
20
|
VuuRange,
|
|
22
21
|
VuuRowDataItemType,
|
|
23
|
-
VuuRpcRequest,
|
|
24
22
|
VuuRpcViewportResponse,
|
|
25
23
|
VuuSort,
|
|
26
24
|
VuuTable,
|
|
27
|
-
VuuRpcRequest,
|
|
28
25
|
VuuRpcServiceRequest,
|
|
29
26
|
VuuRpcMenuRequest,
|
|
30
27
|
VuuRpcViewportRequest,
|
|
31
28
|
VuuCreateVisualLink,
|
|
32
29
|
VuuRemoveVisualLink,
|
|
33
30
|
VuuTableList,
|
|
31
|
+
VuuRpcEditRequest,
|
|
32
|
+
VuuRpcEditResponse,
|
|
34
33
|
} from "@vuu-ui/vuu-protocol-types";
|
|
35
34
|
import type {
|
|
36
35
|
DataSourceConfigChanges,
|
|
@@ -636,19 +635,17 @@ export interface DataSource
|
|
|
636
635
|
insertRow?: DataSourceInsertHandler;
|
|
637
636
|
links?: LinkDescriptorWithLabel[];
|
|
638
637
|
menu?: VuuMenu;
|
|
639
|
-
|
|
638
|
+
editRpcCall: (
|
|
639
|
+
rpcRequest: Omit<VuuRpcEditRequest, "vpId">,
|
|
640
|
+
) => Promise<VuuRpcEditResponse>;
|
|
640
641
|
menuRpcCall: (
|
|
641
|
-
rpcRequest: Omit<
|
|
642
|
+
rpcRequest: Omit<VuuRpcMenuRequest, "vpId">,
|
|
642
643
|
) => Promise<VuuRpcMenuResponse>;
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
) => Promise<T>;
|
|
644
|
+
rpcRequest?: (
|
|
645
|
+
request: Omit<VuuRpcServiceRequest, "context">,
|
|
646
|
+
) => Promise<RpcResultSuccess | RpcResultError>;
|
|
647
647
|
openTreeNode: (keyOrIndex: string | number) => void;
|
|
648
648
|
range: Range;
|
|
649
|
-
remoteProcedureCall: <T extends VuuRpcResponse = VuuRpcResponse>(
|
|
650
|
-
message: VuuRpcRequest,
|
|
651
|
-
) => Promise<T>;
|
|
652
649
|
select: SelectionChangeHandler;
|
|
653
650
|
readonly selectedRowsCount: number;
|
|
654
651
|
sendBroadcastMessage?: (message: DataSourceBroadcastMessage) => void;
|
|
@@ -919,12 +916,6 @@ export declare type VuuUIMessageOutViewport =
|
|
|
919
916
|
| VuuUIMessageOutSuspend
|
|
920
917
|
| VuuUIMessageOutViewRange;
|
|
921
918
|
|
|
922
|
-
export interface TypeAheadRpcRequest {
|
|
923
|
-
method: TypeAheadMethod;
|
|
924
|
-
params: [VuuTable, ...string[]];
|
|
925
|
-
type: "RPC_CALL";
|
|
926
|
-
}
|
|
927
|
-
|
|
928
919
|
export declare type WithRequestId<T> = T & { requestId: string };
|
|
929
920
|
|
|
930
921
|
export declare type VuuUIMessageOut =
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-data-types",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.30",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@vuu-ui/vuu-filter-types": "0.13.
|
|
8
|
-
"@vuu-ui/vuu-protocol-types": "0.13.
|
|
7
|
+
"@vuu-ui/vuu-filter-types": "0.13.30",
|
|
8
|
+
"@vuu-ui/vuu-protocol-types": "0.13.30"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {},
|
|
11
11
|
"peerDependencies": {},
|