@lightdash-tools/common 0.24.0 → 0.25.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/types/generated/openapi-types.d.ts +16509 -8229
- package/dist/types/lightdash-api.d.ts +1 -1
- package/dist/types/v1/ai-agents.d.ts +5 -3
- package/dist/types/v1/index.d.ts +1 -0
- package/dist/types/v1/lightdash-api.d.ts +4 -2
- package/dist/types/v2/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/types/generated/openapi-types.ts +26059 -17489
- package/src/types/lightdash-api.ts +1 -0
- package/src/types/v1/ai-agents.ts +5 -3
- package/src/types/v1/index.ts +1 -0
- package/src/types/v1/lightdash-api.ts +4 -2
- package/src/types/v2/index.ts +1 -1
|
@@ -25,7 +25,7 @@ export namespace AiAgents {
|
|
|
25
25
|
projectUuids?: string[];
|
|
26
26
|
agentUuids?: string[];
|
|
27
27
|
userUuids?: string[];
|
|
28
|
-
createdFrom?: '
|
|
28
|
+
createdFrom?: components['schemas']['AiThreadCreatedFrom'];
|
|
29
29
|
humanScore?: number;
|
|
30
30
|
dateFrom?: string;
|
|
31
31
|
dateTo?: string;
|
|
@@ -165,7 +165,7 @@ export namespace AiAgents {
|
|
|
165
165
|
/** Options for cloning a thread from a prompt (POST …/clone/{promptUuid}). */
|
|
166
166
|
export interface CloneThreadBody {
|
|
167
167
|
promptUuid: string;
|
|
168
|
-
createdFrom?: '
|
|
168
|
+
createdFrom?: components['schemas']['AiClonedThreadCreatedFrom'];
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
// ─── Knowledge documents ─────────────────────────────────────────────────────
|
|
@@ -221,7 +221,9 @@ export namespace AiAgents {
|
|
|
221
221
|
export type AiMcpCredentialScope = components['schemas']['AiMcpCredentialScope'];
|
|
222
222
|
/** MCP server connection status. */
|
|
223
223
|
export type AiMcpServerConnectionStatus = components['schemas']['AiMcpServerConnectionStatus'];
|
|
224
|
-
/** Project MCP server record. */
|
|
224
|
+
/** Project MCP server record returned by GET …/aiAgents/mcpServers (includes attachedAgentCount). */
|
|
225
|
+
export type AiProjectMcpServer = components['schemas']['AiProjectMcpServer'];
|
|
226
|
+
/** MCP server record returned by create and per-agent list. */
|
|
225
227
|
export type AiMcpServer = components['schemas']['AiMcpServer'];
|
|
226
228
|
/** MCP tool discovered on a project server. */
|
|
227
229
|
export type AiMcpServerTool = components['schemas']['AiMcpServerTool'];
|
package/src/types/v1/index.ts
CHANGED
|
@@ -163,6 +163,7 @@ export namespace V1 {
|
|
|
163
163
|
export type AiMcpServerAuthType = A.AiMcpServerAuthType;
|
|
164
164
|
export type AiMcpCredentialScope = A.AiMcpCredentialScope;
|
|
165
165
|
export type AiMcpServerConnectionStatus = A.AiMcpServerConnectionStatus;
|
|
166
|
+
export type AiProjectMcpServer = A.AiProjectMcpServer;
|
|
166
167
|
export type AiMcpServer = A.AiMcpServer;
|
|
167
168
|
export type AiMcpServerTool = A.AiMcpServerTool;
|
|
168
169
|
export type AiAgentMcpServerTool = A.AiAgentMcpServerTool;
|
|
@@ -10,6 +10,8 @@ import { V2 as V2Namespace } from '../v2/index';
|
|
|
10
10
|
|
|
11
11
|
import { V1 as V1Namespace } from './index';
|
|
12
12
|
|
|
13
|
+
import type { components } from '../generated/openapi-types';
|
|
14
|
+
import type { Content } from '../v2/content';
|
|
13
15
|
import type { AiAgents, AiAgents as AiAgentsTypes } from './ai-agents';
|
|
14
16
|
import type { Charts } from './charts';
|
|
15
17
|
import type { Dashboards } from './dashboards';
|
|
@@ -26,8 +28,6 @@ import type { Spaces } from './spaces';
|
|
|
26
28
|
import type { Tags } from './tags';
|
|
27
29
|
import type { Users } from './users';
|
|
28
30
|
import type { Validation } from './validation';
|
|
29
|
-
import type { components } from '../generated/openapi-types';
|
|
30
|
-
import type { Content } from '../v2/content';
|
|
31
31
|
|
|
32
32
|
// Re-export domain namespaces
|
|
33
33
|
export type {
|
|
@@ -269,6 +269,7 @@ export namespace LightdashApi {
|
|
|
269
269
|
export type AiMcpServerAuthType = AiAgentsTypes.AiMcpServerAuthType;
|
|
270
270
|
export type AiMcpCredentialScope = AiAgentsTypes.AiMcpCredentialScope;
|
|
271
271
|
export type AiMcpServerConnectionStatus = AiAgentsTypes.AiMcpServerConnectionStatus;
|
|
272
|
+
export type AiProjectMcpServer = AiAgentsTypes.AiProjectMcpServer;
|
|
272
273
|
export type AiMcpServer = AiAgentsTypes.AiMcpServer;
|
|
273
274
|
export type AiMcpServerTool = AiAgentsTypes.AiMcpServerTool;
|
|
274
275
|
export type AiAgentMcpServerTool = AiAgentsTypes.AiAgentMcpServerTool;
|
|
@@ -448,6 +449,7 @@ export type UpdateMessageFeedbackBody = AiAgents.UpdateMessageFeedbackBody;
|
|
|
448
449
|
export type AiMcpServerAuthType = AiAgents.AiMcpServerAuthType;
|
|
449
450
|
export type AiMcpCredentialScope = AiAgents.AiMcpCredentialScope;
|
|
450
451
|
export type AiMcpServerConnectionStatus = AiAgents.AiMcpServerConnectionStatus;
|
|
452
|
+
export type AiProjectMcpServer = AiAgents.AiProjectMcpServer;
|
|
451
453
|
export type AiMcpServer = AiAgents.AiMcpServer;
|
|
452
454
|
export type AiMcpServerTool = AiAgents.AiMcpServerTool;
|
|
453
455
|
export type AiAgentMcpServerTool = AiAgents.AiAgentMcpServerTool;
|
package/src/types/v2/index.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Domain files remain at types/*.ts; see ADR-0003 (file layout follow-up).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Content as Con } from './content';
|
|
7
6
|
import type { AiAgents as A } from '../v1/ai-agents';
|
|
8
7
|
import type { Charts as C } from '../v1/charts';
|
|
9
8
|
import type { Dashboards as D } from '../v1/dashboards';
|
|
@@ -15,6 +14,7 @@ import type { Queries as Q } from '../v1/queries';
|
|
|
15
14
|
import type { SpaceAccess as SA } from '../v1/space-access';
|
|
16
15
|
import type { Spaces as S } from '../v1/spaces';
|
|
17
16
|
import type { Users as U } from '../v1/users';
|
|
17
|
+
import type { Content as Con } from './content';
|
|
18
18
|
|
|
19
19
|
export namespace V2 {
|
|
20
20
|
export namespace Content {
|