@lightdash-tools/client 0.19.0 → 0.21.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/agentops/apply-agent-change.js +15 -24
- package/dist/agentops/apply-agent-change.test.d.ts +1 -0
- package/dist/agentops/apply-agent-change.test.js +160 -0
- package/dist/api/v1/ai-agents/agents.js +3 -1
- package/dist/api/v1/ai-agents/documents.d.ts +20 -0
- package/dist/api/v1/ai-agents/documents.js +35 -0
- package/dist/api/v1/ai-agents/documents.test.d.ts +1 -0
- package/dist/api/v1/ai-agents/documents.test.js +69 -0
- package/dist/api/v1/ai-agents/facade.d.ts +8 -1
- package/dist/api/v1/ai-agents/facade.js +21 -0
- package/dist/api/v1/ai-agents.test.js +3 -1
- package/dist/api/v1/sql-runner.d.ts +13 -0
- package/dist/api/v1/sql-runner.js +18 -0
- package/dist/api/v1/sql-runner.test.d.ts +1 -0
- package/dist/api/v1/sql-runner.test.js +53 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/package.json +2 -2
- package/src/agentops/apply-agent-change.test.ts +206 -0
- package/src/agentops/apply-agent-change.ts +26 -25
- package/src/api/v1/ai-agents/agents.ts +3 -1
- package/src/api/v1/ai-agents/documents.test.ts +86 -0
- package/src/api/v1/ai-agents/documents.ts +86 -0
- package/src/api/v1/ai-agents/facade.ts +53 -0
- package/src/api/v1/ai-agents.test.ts +3 -1
- package/src/api/v1/sql-runner.test.ts +61 -0
- package/src/api/v1/sql-runner.ts +26 -0
- package/src/client.ts +3 -0
- package/src/index.ts +2 -0
package/src/client.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { ProjectsClient } from './api/v1/projects';
|
|
|
15
15
|
import { QueryClient } from './api/v1/query';
|
|
16
16
|
import { SchedulersClient } from './api/v1/schedulers';
|
|
17
17
|
import { SpacesClient } from './api/v1/spaces';
|
|
18
|
+
import { SqlRunnerClient } from './api/v1/sql-runner';
|
|
18
19
|
import { TagsClient } from './api/v1/tags';
|
|
19
20
|
import { UsersClient } from './api/v1/users';
|
|
20
21
|
import { ValidationClient } from './api/v1/validation';
|
|
@@ -53,6 +54,7 @@ export class V1ApiClients {
|
|
|
53
54
|
readonly schedulers: SchedulersClient;
|
|
54
55
|
readonly tags: TagsClient;
|
|
55
56
|
readonly analytics: AnalyticsClient;
|
|
57
|
+
readonly sqlRunner: SqlRunnerClient;
|
|
56
58
|
|
|
57
59
|
constructor(http: HttpClient) {
|
|
58
60
|
this.projects = new ProjectsClient(http);
|
|
@@ -71,6 +73,7 @@ export class V1ApiClients {
|
|
|
71
73
|
this.schedulers = new SchedulersClient(http);
|
|
72
74
|
this.tags = new TagsClient(http);
|
|
73
75
|
this.analytics = new AnalyticsClient(http);
|
|
76
|
+
this.sqlRunner = new SqlRunnerClient(http);
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
79
|
|
package/src/index.ts
CHANGED
|
@@ -20,6 +20,8 @@ export { MetricsClient } from './api/v1/metrics';
|
|
|
20
20
|
export { SchedulersClient } from './api/v1/schedulers';
|
|
21
21
|
export { TagsClient } from './api/v1/tags';
|
|
22
22
|
export { AnalyticsClient } from './api/v1/analytics';
|
|
23
|
+
export { SqlRunnerClient } from './api/v1/sql-runner';
|
|
24
|
+
export type { SqlChart } from './api/v1/sql-runner';
|
|
23
25
|
export { ContentClient } from './api/v2/content';
|
|
24
26
|
export { ChartsClientV2 } from './api/v2/charts';
|
|
25
27
|
export { DashboardsClientV2 } from './api/v2/dashboards';
|