@lightdash/sdk 3.15.0 → 3.17.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: 46502863 bytes
4
- sha256: 4ec40ff6e2432dc3561f1e65b9bd2eb46881568cdcf33cf9efc49c155138214f
3
+ size: 46507956 bytes
4
+ sha256: 05f0755945f7d5617f60d0429744a33842ac4050bb4bb6310dac6562bd380fcf
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sdk.cjs.js.map
3
- size: 93117574 bytes
4
- sha256: ae032eb861c5363bdfeb64896813d0458e24840089162994012d72153db8d91a
3
+ size: 93130341 bytes
4
+ sha256: 14893c4996ede7562d460f27fa1596f37b7d20f310b7e2a1a6cc7c85b60faa3f
package/dist/sdk.d.ts CHANGED
@@ -113,21 +113,23 @@ type LocationChangedPayload = {
113
113
  search: string;
114
114
  href: string;
115
115
  };
116
+ type ContentSavedAction = 'created' | 'updated';
116
117
  /**
117
118
  * Payload for ChartSaved events.
118
119
  * Contains the saved chart identifier and whether it was created or updated.
119
120
  */
120
- type ChartSavedAction = 'created' | 'updated';
121
+ type ChartSavedAction = ContentSavedAction;
121
122
  type ChartSavedPayload = {
122
123
  chartUuid: string;
123
124
  action: ChartSavedAction;
124
125
  };
125
126
  /**
126
127
  * Payload for DashboardSaved events.
127
- * Sent after the user saves changes to an embedded dashboard.
128
+ * Sent after an embedded dashboard is saved, or an AI agent creates or edits one.
128
129
  */
129
130
  type DashboardSavedPayload = {
130
131
  dashboardUuid: string;
132
+ action: ContentSavedAction;
131
133
  };
132
134
  /**
133
135
  * Payload for Notification events.
@@ -203,7 +205,7 @@ type ChartProps = Omit<BaseProps, 'filters'> & {
203
205
  id: string;
204
206
  isEditMode?: boolean;
205
207
  };
206
- type AiAgentProps = Omit<BaseProps, 'contentOverrides' | 'uiOverrides' | 'filters' | 'onExplore' | 'onEvent'> & {
208
+ type AiAgentProps = Omit<BaseProps, 'contentOverrides' | 'uiOverrides' | 'filters' | 'onExplore'> & {
207
209
  agentUuid: string;
208
210
  onThreadChange?: (options: {
209
211
  threadUuid: string;
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: 46317398 bytes
4
- sha256: 2d6a306adc47ab85137d456ba39ad998b10dea03f28b994364b1874de190b7cb
3
+ size: 46322479 bytes
4
+ sha256: 716f266e433917c8604ee86c376b883825d3af4daf8491afd47d439b1883e3e4
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sdk.es.js.map
3
- size: 93103215 bytes
4
- sha256: 96a8b54c1aa105addc10b58d562240389d70a9068bb4f6e22b9f47761ec44c11
3
+ size: 93115980 bytes
4
+ sha256: 3db308ca2dcf1d672882695189a100919c86bcc8a0b515a9f370639e7a38b026
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/sdk",
3
- "version": "3.15.0",
3
+ "version": "3.17.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",