@cubejs-client/core 0.36.0 → 0.36.2
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/index.d.ts +14 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -943,10 +943,22 @@ declare module '@cubejs-client/core' {
|
|
|
943
943
|
format?: 'currency' | 'percent';
|
|
944
944
|
};
|
|
945
945
|
|
|
946
|
-
export type
|
|
946
|
+
export type CubeTimeDimensionGranularity = {
|
|
947
|
+
name: string;
|
|
948
|
+
title: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export type BaseCubeDimension = BaseCubeMember & {
|
|
947
952
|
primaryKey?: boolean;
|
|
948
953
|
suggestFilterValues: boolean;
|
|
949
|
-
}
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export type CubeTimeDimension = BaseCubeDimension &
|
|
957
|
+
{ type: 'time'; granularities?: CubeTimeDimensionGranularity[] };
|
|
958
|
+
|
|
959
|
+
export type TCubeDimension =
|
|
960
|
+
(BaseCubeDimension & { type: Exclude<BaseCubeDimension['type'], 'time'> }) |
|
|
961
|
+
CubeTimeDimension;
|
|
950
962
|
|
|
951
963
|
export type TCubeSegment = Omit<BaseCubeMember, 'type'>;
|
|
952
964
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-client/core",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.2",
|
|
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": "^27"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "ab3771bfce10eaabafff99404250a3681be79137"
|
|
49
49
|
}
|