@cubejs-client/core 0.29.33 → 0.29.48
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/CHANGELOG.md +30 -0
- package/index.d.ts +4 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.29.48](https://github.com/cube-js/cube.js/compare/v0.29.47...v0.29.48) (2022-04-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **query-language:** "total" flag support ([#4134](https://github.com/cube-js/cube.js/issues/4134)) ([51aef5e](https://github.com/cube-js/cube.js/commit/51aef5ede6e9b0c0e0e8749119e98102f168b8ca))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.29.43](https://github.com/cube-js/cube.js/compare/v0.29.42...v0.29.43) (2022-04-07)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @cubejs-client/core
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [0.29.42](https://github.com/cube-js/cube.js/compare/v0.29.41...v0.29.42) (2022-04-04)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **playground:** rollup designer count distinct warning ([#4309](https://github.com/cube-js/cube.js/issues/4309)) ([add2dd3](https://github.com/cube-js/cube.js/commit/add2dd3106f7fd9deb3ea88fa74467ccd1b9244f))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [0.29.33](https://github.com/cube-js/cube.js/compare/v0.29.32...v0.29.33) (2022-03-17)
|
|
7
37
|
|
|
8
38
|
|
package/index.d.ts
CHANGED
|
@@ -134,6 +134,7 @@ declare module '@cubejs-client/core' {
|
|
|
134
134
|
type LeafMeasure = {
|
|
135
135
|
measure: string;
|
|
136
136
|
additive: boolean;
|
|
137
|
+
type: 'count' | 'countDistinct' | 'sum' | 'min' | 'max' | 'number' | 'countDistinctApprox'
|
|
137
138
|
};
|
|
138
139
|
|
|
139
140
|
export type TransformedQuery = {
|
|
@@ -168,6 +169,7 @@ declare module '@cubejs-client/core' {
|
|
|
168
169
|
requestId?: string;
|
|
169
170
|
usedPreAggregations?: Record<string, UsedPreAggregation>;
|
|
170
171
|
transformedQuery?: TransformedQuery;
|
|
172
|
+
total?: number
|
|
171
173
|
};
|
|
172
174
|
|
|
173
175
|
export type LoadResponse<T> = {
|
|
@@ -464,7 +466,7 @@ declare module '@cubejs-client/core' {
|
|
|
464
466
|
/**
|
|
465
467
|
* Base method for pivoting [ResultSet](#result-set) data.
|
|
466
468
|
* Most of the times shouldn't be used directly and [chartPivot](#result-set-chart-pivot)
|
|
467
|
-
* or (
|
|
469
|
+
* or [tablePivot](#table-pivot) should be used instead.
|
|
468
470
|
*
|
|
469
471
|
* You can find the examples of using the `pivotConfig` [here](#types-pivot-config)
|
|
470
472
|
* ```js
|
|
@@ -797,6 +799,7 @@ declare module '@cubejs-client/core' {
|
|
|
797
799
|
renewQuery?: boolean;
|
|
798
800
|
ungrouped?: boolean;
|
|
799
801
|
responseFormat?: 'compact' | 'default';
|
|
802
|
+
total?: boolean;
|
|
800
803
|
}
|
|
801
804
|
|
|
802
805
|
export class ProgressResult {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-client/core",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.48",
|
|
4
4
|
"engines": {},
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"eslint-plugin-node": "^5.2.1",
|
|
47
47
|
"jest": "^26.0.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1fa9b5fe1c15ae2e790c101381d127d691c944ac"
|
|
50
50
|
}
|