@@ -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" ,
0 commit comments