@cubejs-client/core
Advanced tools
Comparing version 0.27.41 to 0.27.47
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.27.47](https://github.com/cube-js/cube.js/compare/v0.27.46...v0.27.47) (2021-07-06) | ||
### Features | ||
* **@cubejs-client/playground:** rollup designer v2 ([#3018](https://github.com/cube-js/cube.js/issues/3018)) ([07e2427](https://github.com/cube-js/cube.js/commit/07e2427bb8050a74bae3a4d9206a7cfee6944022)) | ||
## [0.27.41](https://github.com/cube-js/cube.js/compare/v0.27.40...v0.27.41) (2021-06-25) | ||
@@ -8,0 +19,0 @@ |
@@ -845,3 +845,3 @@ /** | ||
type TDryRunResponse = { | ||
type DryRunResponse = { | ||
queryType: QueryType; | ||
@@ -851,2 +851,3 @@ normalizedQueries: Query[]; | ||
queryOrder: Array<{ [k: string]: QueryOrder }>; | ||
transformedQueries: TransformedQuery[] | ||
}; | ||
@@ -994,7 +995,7 @@ | ||
dryRun(query: Query | Query[], options?: LoadMethodOptions): Promise<TDryRunResponse>; | ||
dryRun(query: Query | Query[], options?: LoadMethodOptions): Promise<DryRunResponse>; | ||
/** | ||
* Get query related meta without query execution | ||
*/ | ||
dryRun(query: Query | Query[], options: LoadMethodOptions, callback?: LoadMethodCallback<TDryRunResponse>): void; | ||
dryRun(query: Query | Query[], options: LoadMethodOptions, callback?: LoadMethodCallback<DryRunResponse>): void; | ||
} | ||
@@ -1001,0 +1002,0 @@ |
{ | ||
"name": "@cubejs-client/core", | ||
"version": "0.27.41", | ||
"version": "0.27.47", | ||
"engines": {}, | ||
@@ -48,3 +48,3 @@ "repository": { | ||
}, | ||
"gitHead": "4131560e7ba0e39b340d3cc5ca9b64f272acf5fe" | ||
"gitHead": "c163d7c0789f1678f2b252ed00abd4bdb557cf7c" | ||
} |
@@ -68,2 +68,10 @@ /** | ||
memberKeys.forEach((key) => { | ||
let members = cube[key]; | ||
if (key === 'timeDimensions') { | ||
members = cube.dimensions.filter((m) => m.type === 'time'); | ||
} else if (key === 'dimensions') { | ||
members = cube.dimensions.filter((m) => m.type !== 'time'); | ||
} | ||
memo[key] = [ | ||
@@ -74,3 +82,3 @@ ...memo[key], | ||
cubeTitle: cube.title, | ||
members: key === 'timeDimensions' ? cube.dimensions.filter((m) => m.type === 'time') : cube[key], | ||
members | ||
}, | ||
@@ -77,0 +85,0 @@ ]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1981927
21649