@cubejs-client/core 0.30.60 → 0.30.74
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 +16 -0
- package/dist/cubejs-client-core.esm.js +1032 -1852
- package/dist/cubejs-client-core.esm.js.map +1 -1
- package/dist/cubejs-client-core.js +0 -21
- package/dist/cubejs-client-core.js.map +1 -1
- package/dist/cubejs-client-core.umd.js +0 -21
- package/dist/cubejs-client-core.umd.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/index.js +0 -19
package/index.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ declare module '@cubejs-client/core' {
|
|
|
151
151
|
measureToLeafMeasures?: Record<string, LeafMeasure[]>;
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
export type PreAggregationType = 'rollup' | 'rollupJoin' | 'originalSql';
|
|
154
|
+
export type PreAggregationType = 'rollup' | 'rollupJoin' | 'rollupLambda' | 'originalSql';
|
|
155
155
|
|
|
156
156
|
type UsedPreAggregation = {
|
|
157
157
|
targetTableName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-client/core",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.74",
|
|
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": "
|
|
48
|
+
"gitHead": "5e3106342a834ac7138afc79da2242ac400beee6"
|
|
49
49
|
}
|
package/src/index.js
CHANGED
|
@@ -280,15 +280,6 @@ class CubejsApi {
|
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
/**
|
|
284
|
-
* Fetch data for the passed `query`. Operates with the
|
|
285
|
-
* `ApiGateway#load` method to fetch the data.
|
|
286
|
-
* @param {Query | Query[]} query
|
|
287
|
-
* @param {LoadMethodOptions | undefined} options
|
|
288
|
-
* @param {LoadMethodCallback<ResultSet> | undefined} callback
|
|
289
|
-
* @param {string} responseFormat
|
|
290
|
-
* @returns {undefined | Promise<ResultSet>}
|
|
291
|
-
*/
|
|
292
283
|
load(query, options, callback, responseFormat = ResultType.DEFAULT) {
|
|
293
284
|
if (responseFormat === ResultType.COMPACT) {
|
|
294
285
|
if (Array.isArray(query)) {
|
|
@@ -308,16 +299,6 @@ class CubejsApi {
|
|
|
308
299
|
);
|
|
309
300
|
}
|
|
310
301
|
|
|
311
|
-
/**
|
|
312
|
-
* Allows you to fetch data and receive updates over time. Operates
|
|
313
|
-
* with the `ApiGateway#load` method to fetch the data.
|
|
314
|
-
* @link real-time-data-fetch
|
|
315
|
-
* @param {Query | Query[]} query
|
|
316
|
-
* @param {LoadMethodOptions | null} options
|
|
317
|
-
* @param {LoadMethodCallback<ResultSet> | undefined} callback
|
|
318
|
-
* @param {string} responseFormat
|
|
319
|
-
* @returns {void}
|
|
320
|
-
*/
|
|
321
302
|
subscribe(query, options, callback, responseFormat = ResultType.DEFAULT) {
|
|
322
303
|
if (responseFormat === ResultType.COMPACT) {
|
|
323
304
|
if (Array.isArray(query)) {
|