@cubejs-client/core 0.34.19 → 0.34.27

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.
Files changed (2) hide show
  1. package/index.d.ts +19 -1
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -835,7 +835,7 @@ declare module '@cubejs-client/core' {
835
835
 
836
836
  type QueryArrayRecordType<T extends DeeplyReadonly<Query[]>> =
837
837
  T extends readonly [infer First, ...infer Rest]
838
- ? SingleQueryRecordType<First> | QueryArrayRecordType<Rest & DeeplyReadonly<Query[]>>
838
+ ? SingleQueryRecordType<DeeplyReadonly<First>> | QueryArrayRecordType<Rest & DeeplyReadonly<Query[]>>
839
839
  : never;
840
840
 
841
841
  // If we can't infer any members at all, then return any.
@@ -905,7 +905,12 @@ declare module '@cubejs-client/core' {
905
905
  name: string;
906
906
  title: string;
907
907
  shortTitle: string;
908
+ description?: string;
909
+ /**
910
+ * @deprecated use `public` instead
911
+ */
908
912
  isVisible?: boolean;
913
+ public?: boolean;
909
914
  meta?: any;
910
915
  };
911
916
 
@@ -914,7 +919,12 @@ declare module '@cubejs-client/core' {
914
919
  name: string;
915
920
  title: string;
916
921
  shortTitle: string;
922
+ description?: string;
923
+ /**
924
+ * @deprecated use `public` instead
925
+ */
917
926
  isVisible?: boolean;
927
+ public?: boolean;
918
928
  meta?: any;
919
929
  };
920
930
 
@@ -931,6 +941,7 @@ declare module '@cubejs-client/core' {
931
941
  };
932
942
 
933
943
  export type TCubeDimension = BaseCubeMember & {
944
+ primaryKey?: boolean;
934
945
  suggestFilterValues: boolean;
935
946
  };
936
947
 
@@ -968,10 +979,17 @@ declare module '@cubejs-client/core' {
968
979
  export type Cube = {
969
980
  name: string;
970
981
  title: string;
982
+ description?: string;
971
983
  measures: TCubeMeasure[];
972
984
  dimensions: TCubeDimension[];
973
985
  segments: TCubeSegment[];
974
986
  connectedComponent?: number;
987
+ type?: 'view' | 'cube';
988
+ /**
989
+ * @deprecated use `public` instead
990
+ */
991
+ isVisible?: boolean;
992
+ public?: boolean;
975
993
  };
976
994
 
977
995
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubejs-client/core",
3
- "version": "0.34.19",
3
+ "version": "0.34.27",
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": "1ed327dcd703686b4f723cb96a7298655eba186d"
48
+ "gitHead": "869a81f0c85fa6557a15aa5885e24b6eee2bea9c"
49
49
  }