@lightdash/sdk 2.426.1 → 2.427.0

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: 43222238 bytes
4
+ sha256: e2f63abbb57d44eda7714f59eb9ca6348267d7a0d64859fc09d3288bc8a1957a
@@ -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: 86268312 bytes
4
+ sha256: ac624823e7939ecf7019aae1858ae4e8f8ec2a8166aac31996eb7c88e7d77121
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: 43083266 bytes
4
+ sha256: bec9f4e9b7dcd3e976ad57064d0090f11ec3cb3add0b78c6dcd26bb7a86ab700
@@ -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: 86256471 bytes
4
+ sha256: e6d2215e8649697428580ee744c650d06ca9709255881bcc796222ffeffac43f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/sdk",
3
- "version": "2.426.1",
3
+ "version": "2.427.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",