@vuu-ui/vuu-data-types 0.8.75 → 0.8.76

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 +6 -17
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -164,7 +164,7 @@ export interface DataSourceSubscribedMessage
164
164
  extends MessageWithClientViewportId {
165
165
  aggregations: VuuAggregation[];
166
166
  columns: VuuColumns;
167
- filter: DataSourceFilter;
167
+ filterSpec: DataSourceFilter;
168
168
  groupBy: VuuGroupBy;
169
169
  range: VuuRange;
170
170
  sort: VuuSort;
@@ -293,11 +293,10 @@ export type TableSchema = {
293
293
  */
294
294
  export interface WithFullConfig {
295
295
  readonly aggregations: VuuAggregation[];
296
- readonly columns: string[];
297
- readonly filter: DataSourceFilter;
296
+ readonly columns: VuuColumns;
297
+ readonly filterSpec: DataSourceFilter;
298
298
  readonly groupBy: VuuGroupBy;
299
299
  readonly sort: VuuSort;
300
- readonly visualLink?: LinkDescriptorWithLabel;
301
300
  }
302
301
 
303
302
  export interface DataSourceConfig extends Partial<WithFullConfig> {
@@ -308,7 +307,7 @@ export interface WithGroupBy extends DataSourceConfig {
308
307
  groupBy: VuuGroupBy;
309
308
  }
310
309
  export interface WithFilter extends DataSourceConfig {
311
- filter: DataSourceFilter;
310
+ filterSpec: DataSourceFilter;
312
311
  }
313
312
  export interface WithSort extends DataSourceConfig {
314
313
  sort: VuuSort;
@@ -321,14 +320,9 @@ export interface DataSourceConstructorProps extends DataSourceConfig {
321
320
  viewport?: string;
322
321
  }
323
322
 
324
- export interface SubscribeProps {
323
+ export interface SubscribeProps extends Partial<WithFullConfig> {
325
324
  viewport?: string;
326
- columns?: string[];
327
- aggregations?: VuuAggregation[];
328
325
  range?: VuuRange;
329
- sort?: VuuSort;
330
- groupBy?: VuuGroupBy;
331
- filter?: DataSourceFilter;
332
326
  title?: string;
333
327
  }
334
328
 
@@ -552,14 +546,9 @@ export interface ConnectionQualityMetrics {
552
546
  messagesLength: number;
553
547
  }
554
548
 
555
- export interface ServerProxySubscribeMessage {
556
- aggregations: VuuAggregation[];
549
+ export interface ServerProxySubscribeMessage extends WithFullConfig {
557
550
  bufferSize?: number;
558
- columns: VuuColumns;
559
- filter: DataSourceFilter;
560
- groupBy: VuuGroupBy;
561
551
  range: VuuRange;
562
- sort: VuuSort;
563
552
  table: VuuTable;
564
553
  title?: string;
565
554
  viewport: string;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-data-types",
3
- "version": "0.8.75",
3
+ "version": "0.8.76",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@vuu-ui/vuu-filter-types": "0.8.75",
8
- "@vuu-ui/vuu-protocol-types": "0.8.75"
7
+ "@vuu-ui/vuu-filter-types": "0.8.76",
8
+ "@vuu-ui/vuu-protocol-types": "0.8.76"
9
9
  },
10
10
  "dependencies": {},
11
11
  "peerDependencies": {},