@lightdash/sdk 2.426.1 → 2.427.1

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/dist/sdk.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sdk.cjs.js
3
- size: 43221728 bytes
4
- sha256: 4aabe1c458453a4c885eb829613e0b9569893ee10312ae788f6abf7b9651a37b
3
+ size: 43222336 bytes
4
+ sha256: 342f83730e52a76b587f1303da47fd0acd51bc840cfbf2a27fb52cd6fbc250f1
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sdk.cjs.js.map
3
- size: 86266515 bytes
4
- sha256: 981e3e0b795d019bbc99270b935b0d14bb9d5de1864c60e3f219a0777886836a
3
+ size: 86268608 bytes
4
+ sha256: d6c317dba5a76a92e628d1ca67eea1c3fc95613816bbd35a28ff2cec9c28c3eb
package/dist/sdk.d.ts CHANGED
@@ -59,6 +59,8 @@ type SdkFilter = {
59
59
  value: unknown;
60
60
  };
61
61
 
62
+ type MetricsCatalogFilter = 'tables' | 'owners' | 'categories';
63
+
62
64
  type BaseProps = {
63
65
  instanceUrl: string;
64
66
  token: Promise<string> | string;
@@ -93,7 +95,9 @@ type AiAgentProps = Omit<BaseProps, 'contentOverrides' | 'uiOverrides' | 'filter
93
95
  }) => void;
94
96
  threadUuid?: string;
95
97
  };
96
- type MetricsCatalogProps = Omit<BaseProps, 'contentOverrides' | 'uiOverrides' | 'filters' | 'onExplore'>;
98
+ type MetricsCatalogProps = Omit<BaseProps, 'contentOverrides' | 'uiOverrides' | 'filters' | 'onExplore'> & {
99
+ hiddenFilters?: MetricsCatalogFilter[];
100
+ };
97
101
  declare const Dashboard: FC<DashboardProps>;
98
102
  declare const DashboardBuilder: FC<DashboardBuilderProps>;
99
103
  declare const Explore: FC<BaseProps & {
@@ -127,4 +131,4 @@ declare const Lightdash: {
127
131
  };
128
132
 
129
133
  export { AiAgent, Chart, Dashboard, DashboardBuilder, Explore, MetricsCatalog, createLightdashApiClient, Lightdash as default, useLightdashAiAgentThreads, useLightdashContent };
130
- export type { LightdashAiAgentThread, LightdashAiAgentThreadResults, LightdashApiClientConfig, LightdashContentItem, LightdashContentResults, LightdashSdkApiAuth, ListAiAgentThreadsOptions, ListContentOptions };
134
+ export type { LightdashAiAgentThread, LightdashAiAgentThreadResults, LightdashApiClientConfig, LightdashContentItem, LightdashContentResults, LightdashSdkApiAuth, ListAiAgentThreadsOptions, ListContentOptions, MetricsCatalogFilter };
package/dist/sdk.es.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sdk.es.js
3
- size: 43082756 bytes
4
- sha256: 912e5258757845fdb67e6be192e26e7f7e48a1a5db4d62deea5cf1e4bff99341
3
+ size: 43083364 bytes
4
+ sha256: 791b8c584f6562b87ae7bac9e8576ee2e0d5b3f675a572da2d63cf2c352c963e
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sdk.es.js.map
3
- size: 86254674 bytes
4
- sha256: 3a23069b737fc716f7c56adf7f8c683da22cc917c3ff639cf883190aca605027
3
+ size: 86256767 bytes
4
+ sha256: 97e22644bea969e698de61dfc54ec4880140d8b2f41072e77e183498010054e4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/sdk",
3
- "version": "2.426.1",
3
+ "version": "2.427.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",