Skip to content

Commit 594a686

Browse files
committed
Update build
1 parent 3f7d74f commit 594a686

File tree

3 files changed

+1197
-1170
lines changed

3 files changed

+1197
-1170
lines changed

packages/cubejs-client-core/dist/cubejs-client-core.esm.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ function () {
512512
*
513513
* // ResultSet.tableColumns() will return
514514
* [
515-
* { key: "Stories.time", title: "Stories Time", shortTitle: "Time" },
516-
* { key: "Stories.count", title: "Stories Count", shortTitle: "Count" },
515+
* { key: "Stories.time", title: "Stories Time", shortTitle: "Time", type: "time", format: undefined },
516+
* { key: "Stories.count", title: "Stories Count", shortTitle: "Count", type: "count", format: undefined },
517517
* //...
518518
* ]
519519
* ```
@@ -533,12 +533,16 @@ function () {
533533
return {
534534
key: m,
535535
title: _this4.loadResponse.annotation.measures[m].title,
536-
shortTitle: _this4.loadResponse.annotation.measures[m].shortTitle
536+
shortTitle: _this4.loadResponse.annotation.measures[m].shortTitle,
537+
format: _this4.loadResponse.annotation.measures[m].format,
538+
type: _this4.loadResponse.annotation.measures[m].type
537539
};
538540
}) : [{
539541
key: field,
540542
title: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).title,
541-
shortTitle: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).shortTitle
543+
shortTitle: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).shortTitle,
544+
format: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).format,
545+
type: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).type
542546
}];
543547
};
544548

@@ -744,6 +748,13 @@ function () {
744748
}];
745749
}));
746750
}
751+
/**
752+
* Get all members of specific type for a given query.
753+
* If empty query is provided no filtering is done based on query context and all available members are retrieved.
754+
* @param query - context query to provide filtering of members available to add to this query
755+
* @param memberType - `measures`, `dimensions` or `segments`
756+
*/
757+
747758

748759
_createClass(Meta, [{
749760
key: "membersForQuery",

packages/cubejs-client-core/dist/cubejs-client-core.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ function () {
518518
*
519519
* // ResultSet.tableColumns() will return
520520
* [
521-
* { key: "Stories.time", title: "Stories Time", shortTitle: "Time" },
522-
* { key: "Stories.count", title: "Stories Count", shortTitle: "Count" },
521+
* { key: "Stories.time", title: "Stories Time", shortTitle: "Time", type: "time", format: undefined },
522+
* { key: "Stories.count", title: "Stories Count", shortTitle: "Count", type: "count", format: undefined },
523523
* //...
524524
* ]
525525
* ```
@@ -539,12 +539,16 @@ function () {
539539
return {
540540
key: m,
541541
title: _this4.loadResponse.annotation.measures[m].title,
542-
shortTitle: _this4.loadResponse.annotation.measures[m].shortTitle
542+
shortTitle: _this4.loadResponse.annotation.measures[m].shortTitle,
543+
format: _this4.loadResponse.annotation.measures[m].format,
544+
type: _this4.loadResponse.annotation.measures[m].type
543545
};
544546
}) : [{
545547
key: field,
546548
title: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).title,
547-
shortTitle: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).shortTitle
549+
shortTitle: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).shortTitle,
550+
format: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).format,
551+
type: (_this4.loadResponse.annotation.dimensions[field] || _this4.loadResponse.annotation.timeDimensions[field]).type
548552
}];
549553
};
550554

@@ -750,6 +754,13 @@ function () {
750754
}];
751755
}));
752756
}
757+
/**
758+
* Get all members of specific type for a given query.
759+
* If empty query is provided no filtering is done based on query context and all available members are retrieved.
760+
* @param query - context query to provide filtering of members available to add to this query
761+
* @param memberType - `measures`, `dimensions` or `segments`
762+
*/
763+
753764

754765
_createClass(Meta, [{
755766
key: "membersForQuery",

0 commit comments

Comments
 (0)