@vuu-ui/vuu-data-types 0.8.95 → 0.8.97

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 +8 -19
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -420,7 +420,6 @@ export declare type TableSchema = {
420
420
  export interface WithFullConfig {
421
421
  readonly aggregations: VuuAggregation[];
422
422
  readonly columns: VuuColumns;
423
- readonly baseFilterSpec: DataSourceFilter;
424
423
  readonly filterSpec: DataSourceFilter;
425
424
  readonly groupBy: VuuGroupBy;
426
425
  readonly sort: VuuSort;
@@ -440,14 +439,17 @@ export interface WithSort extends DataSourceConfig {
440
439
  sort: VuuSort;
441
440
  }
442
441
 
443
- export interface DataSourceConstructorProps extends DataSourceConfig {
442
+ export interface DataSourceConstructorProps
443
+ extends WithBaseFilter<DataSourceConfig> {
444
444
  bufferSize?: number;
445
445
  table: VuuTable;
446
446
  title?: string;
447
+ url?: string;
447
448
  viewport?: string;
448
449
  }
449
450
 
450
- export interface SubscribeProps extends Partial<WithFullConfig> {
451
+ export interface SubscribeProps
452
+ extends Partial<WithBaseFilter<WithFullConfig>> {
451
453
  viewport?: string;
452
454
  range?: VuuRange;
453
455
  title?: string;
@@ -549,7 +551,9 @@ export declare type SelectionItem = number | RangeTuple;
549
551
  export declare type Selection = SelectionItem[];
550
552
  export declare type SelectionChangeHandler = (selection: Selection) => void;
551
553
 
552
- export declare type WithBaseFilter<T> = T & { baseFilter?: DataSourceFilter };
554
+ export declare type WithBaseFilter<T> = T & {
555
+ baseFilterSpec?: DataSourceFilter;
556
+ };
553
557
 
554
558
  export interface DataSource
555
559
  extends IEventEmitter<DataSourceEvents>,
@@ -837,10 +841,6 @@ export interface RequestMessage {
837
841
  requestId: string;
838
842
  }
839
843
 
840
- export interface VuuUIMessageOutColumns extends ViewportMessageOut {
841
- type: "setColumns";
842
- columns: string[];
843
- }
844
844
  export interface VuuUIMessageOutViewRange extends ViewportMessageOut {
845
845
  type: "setViewRange";
846
846
  range: {
@@ -848,10 +848,6 @@ export interface VuuUIMessageOutViewRange extends ViewportMessageOut {
848
848
  to: number;
849
849
  };
850
850
  }
851
- export interface VuuUIMessageOutAggregate extends ViewportMessageOut {
852
- aggregations: VuuAggregation[];
853
- type: "aggregate";
854
- }
855
851
  export interface VuuUIMessageOutCloseTreeNode extends ViewportMessageOut {
856
852
  key: string;
857
853
  type: "closeTreeNode";
@@ -889,10 +885,6 @@ export interface VuuUIMessageOutSelectNone extends ViewportMessageOut {
889
885
  type: "selectNone";
890
886
  }
891
887
 
892
- export interface VuuUIMessageOutSort extends ViewportMessageOut {
893
- sort: VuuSort;
894
- type: "sort";
895
- }
896
888
  export interface VuuUIMessageOutSuspend extends ViewportMessageOut {
897
889
  type: "suspend";
898
890
  }
@@ -903,9 +895,7 @@ export interface VuuUIMessageOutConfig extends ViewportMessageOut {
903
895
  }
904
896
 
905
897
  export declare type VuuUIMessageOutViewport =
906
- | VuuUIMessageOutAggregate
907
898
  | VuuUIMessageOutCloseTreeNode
908
- | VuuUIMessageOutColumns
909
899
  | VuuUIMessageOutConfig
910
900
  | VuuUIMessageOutDisable
911
901
  | VuuUIMessageOutEnable
@@ -917,7 +907,6 @@ export declare type VuuUIMessageOutViewport =
917
907
  | VuuUIMessageOutSelectNone
918
908
  | VuuUIMessageOutSetTitle
919
909
  | VuuUIMessageOutSuspend
920
- | VuuUIMessageOutSort
921
910
  | VuuUIMessageOutViewRange;
922
911
 
923
912
  export interface TypeAheadRpcRequest {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-data-types",
3
- "version": "0.8.95",
3
+ "version": "0.8.97",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@vuu-ui/vuu-filter-types": "0.8.95",
8
- "@vuu-ui/vuu-protocol-types": "0.8.95"
7
+ "@vuu-ui/vuu-filter-types": "0.8.97",
8
+ "@vuu-ui/vuu-protocol-types": "0.8.97"
9
9
  },
10
10
  "dependencies": {},
11
11
  "peerDependencies": {},