@vuu-ui/vuu-data-types 0.8.62 → 0.8.63

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -8
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import type {
4
4
  ClientToServerEditRpc,
5
5
  ClientToServerMenuRPC,
6
6
  ClientToServerViewportRpcCall,
7
+ OpenDialogAction,
7
8
  VuuAggregation,
8
9
  VuuColumnDataType,
9
10
  VuuColumns,
@@ -205,6 +206,9 @@ export type DataSourceConfigMessage =
205
206
  | DataSourceSortMessage
206
207
  | DataSourceSetConfigMessage;
207
208
 
209
+ /**
210
+ * Messages which are routed back to the DataSource
211
+ */
208
212
  export type DataSourceCallbackMessage =
209
213
  | DataSourceConfigMessage
210
214
  | DataSourceColumnsMessage
@@ -499,21 +503,16 @@ export interface MenuRpcResponse<
499
503
  action: TAction;
500
504
  error?: string;
501
505
  requestId: string;
502
- rpcName?: string;
506
+ rpcName: string;
503
507
  tableAlreadyOpen?: boolean;
504
508
  type: "VIEW_PORT_MENU_RESP";
505
509
  }
506
510
 
507
- export interface OpenDialogAction {
508
- type: "OPEN_DIALOG_ACTION";
511
+ export interface OpenDialogActionWithSchema extends OpenDialogAction {
509
512
  tableSchema?: TableSchema;
510
- table?: VuuTable;
511
- }
512
- export interface NoAction {
513
- type: "NO_ACTION";
514
513
  }
515
514
 
516
- export declare type MenuRpcAction = OpenDialogAction | NoAction;
515
+ export declare type MenuRpcAction = OpenDialogActionWithSchema | NoAction;
517
516
 
518
517
  export type ConnectionStatus =
519
518
  | "connecting"
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-data-types",
3
- "version": "0.8.62",
3
+ "version": "0.8.63",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@vuu-ui/vuu-filter-types": "0.8.62",
8
- "@vuu-ui/vuu-protocol-types": "0.8.62"
7
+ "@vuu-ui/vuu-filter-types": "0.8.63",
8
+ "@vuu-ui/vuu-protocol-types": "0.8.63"
9
9
  },
10
10
  "dependencies": {},
11
11
  "peerDependencies": {},