@cubejs-client/core 0.28.35 → 0.28.37

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 CHANGED
@@ -3,6 +3,17 @@
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.28.37](https://github.com/cube-js/cube.js/compare/v0.28.36...v0.28.37) (2021-09-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **playground:** add rollup button ([#3424](https://github.com/cube-js/cube.js/issues/3424)) ([a5db7f1](https://github.com/cube-js/cube.js/commit/a5db7f1905d1eb50bb6e78b4c6c54e03ba7499c9))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.28.35](https://github.com/cube-js/cube.js/compare/v0.28.34...v0.28.35) (2021-09-13)
7
18
 
8
19
 
package/index.d.ts CHANGED
@@ -94,6 +94,10 @@ declare module '@cubejs-client/core' {
94
94
  * Pass `true` to use continuous fetch behavior.
95
95
  */
96
96
  subscribe?: boolean;
97
+ /**
98
+ * A Cube.js API instance. If not provided will be taken from `CubeProvider`
99
+ */
100
+ cubejsApi?: CubejsApi;
97
101
  /**
98
102
  * Function that receives `ProgressResult` on each `Continue wait` message.
99
103
  */
@@ -860,6 +864,7 @@ declare module '@cubejs-client/core' {
860
864
  normalizedQueries: Query[];
861
865
  pivotQuery: PivotQuery;
862
866
  queryOrder: Array<{ [k: string]: QueryOrder }>;
867
+ transformedQueries: TransformedQuery[];
863
868
  };
864
869
 
865
870
  export type Cube = {
@@ -928,6 +933,9 @@ declare module '@cubejs-client/core' {
928
933
  ): { title: string; error: string } | TCubeMemberByType<T>;
929
934
  defaultTimeDimensionNameFor(memberName: string): string;
930
935
  filterOperatorsForMember(memberName: string, memberType: MemberType | MemberType[]): FilterOperator[];
936
+
937
+ // todo: types
938
+ membersGroupedByCube(): any;
931
939
  }
932
940
 
933
941
  /**
@@ -1068,7 +1076,7 @@ declare module '@cubejs-client/core' {
1068
1076
  /**
1069
1077
  * @hidden
1070
1078
  */
1071
- export function isQueryPresent(query: Query | Query[]): boolean;
1079
+ export function isQueryPresent(query: Query | Query[] | null | undefined): boolean;
1072
1080
  export function movePivotItem(
1073
1081
  pivotConfig: PivotConfig,
1074
1082
  sourceIndex: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubejs-client/core",
3
- "version": "0.28.35",
3
+ "version": "0.28.37",
4
4
  "engines": {},
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,5 +45,5 @@
45
45
  "eslint-plugin-node": "^5.2.1",
46
46
  "jest": "^26.0.1"
47
47
  },
48
- "gitHead": "34bfc75296e9b265c55233e432a41c3017496e45"
48
+ "gitHead": "8491774b9697362e7328846013387c8e40d28388"
49
49
  }