@malloydata/malloy-interfaces 0.0.261 → 0.0.262-dev250414163813
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/dist/types.d.ts +1 -4
- package/dist/types.js +1 -12
- package/package.json +1 -1
- package/thrift/malloy.thrift +1 -5
package/dist/types.d.ts
CHANGED
|
@@ -229,7 +229,7 @@ export type FilterStringApplication = {
|
|
|
229
229
|
};
|
|
230
230
|
export type FilteredField = {
|
|
231
231
|
field_reference: Reference;
|
|
232
|
-
where: Array<
|
|
232
|
+
where: Array<FilterOperation>;
|
|
233
233
|
};
|
|
234
234
|
export type GroupBy = {
|
|
235
235
|
name?: string;
|
|
@@ -523,7 +523,4 @@ export type ViewRefinement = {
|
|
|
523
523
|
export type ViewSegment = {
|
|
524
524
|
operations: Array<ViewOperation>;
|
|
525
525
|
};
|
|
526
|
-
export type Where = {
|
|
527
|
-
filter: Filter;
|
|
528
|
-
};
|
|
529
526
|
export {};
|
package/dist/types.js
CHANGED
|
@@ -548,7 +548,7 @@ exports.MALLOY_INTERFACE_TYPES = {
|
|
|
548
548
|
'array': false,
|
|
549
549
|
},
|
|
550
550
|
'where': {
|
|
551
|
-
'type': '
|
|
551
|
+
'type': 'FilterOperation',
|
|
552
552
|
'array': true,
|
|
553
553
|
'optional': false,
|
|
554
554
|
},
|
|
@@ -1490,16 +1490,5 @@ exports.MALLOY_INTERFACE_TYPES = {
|
|
|
1490
1490
|
},
|
|
1491
1491
|
},
|
|
1492
1492
|
},
|
|
1493
|
-
'Where': {
|
|
1494
|
-
'type': 'struct',
|
|
1495
|
-
'name': 'Where',
|
|
1496
|
-
'fields': {
|
|
1497
|
-
'filter': {
|
|
1498
|
-
'type': 'Filter',
|
|
1499
|
-
'optional': false,
|
|
1500
|
-
'array': false,
|
|
1501
|
-
},
|
|
1502
|
-
},
|
|
1503
|
-
},
|
|
1504
1493
|
};
|
|
1505
1494
|
//# sourceMappingURL=types.js.map
|
package/package.json
CHANGED
package/thrift/malloy.thrift
CHANGED
|
@@ -276,10 +276,6 @@ struct Limit {
|
|
|
276
276
|
// allow me to have a union whose property is also a union, since I'm compressing them
|
|
277
277
|
// into an intersection type of `{__type: } & Where`. If Where is also a union, then
|
|
278
278
|
// there would be two `__type` fields...
|
|
279
|
-
struct Where {
|
|
280
|
-
1: required Filter filter,
|
|
281
|
-
}
|
|
282
|
-
|
|
283
279
|
struct FilterOperation {
|
|
284
280
|
1: required Filter filter,
|
|
285
281
|
}
|
|
@@ -417,7 +413,7 @@ struct TimeTruncationFieldReference {
|
|
|
417
413
|
|
|
418
414
|
struct FilteredField {
|
|
419
415
|
1: required Reference field_reference,
|
|
420
|
-
2: required list<
|
|
416
|
+
2: required list<FilterOperation> where,
|
|
421
417
|
}
|
|
422
418
|
|
|
423
419
|
struct StringCell {
|