@datatechsolutions/ui 2.11.43 → 2.11.46

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.
@@ -232,6 +232,17 @@ type WorkflowCanvasProps = {
232
232
  agentTools?: AgentTool[];
233
233
  rules?: AgentRule[];
234
234
  entities?: WorkflowEntityDefinition[];
235
+ datasources?: Array<{
236
+ id: string;
237
+ name: string;
238
+ dialect: string;
239
+ }>;
240
+ onLoadTables?: (datasourceId: string) => Promise<string[]>;
241
+ onLoadSchema?: (datasourceId: string, table: string) => Promise<Array<{
242
+ name: string;
243
+ type: string;
244
+ nullable?: boolean;
245
+ }>>;
235
246
  initialGraph?: WorkflowGraph | null;
236
247
  onGraphChange?: (graph: WorkflowGraph) => void;
237
248
  onEditTool?: (tool: WorkflowTool) => void;
@@ -232,6 +232,17 @@ type WorkflowCanvasProps = {
232
232
  agentTools?: AgentTool[];
233
233
  rules?: AgentRule[];
234
234
  entities?: WorkflowEntityDefinition[];
235
+ datasources?: Array<{
236
+ id: string;
237
+ name: string;
238
+ dialect: string;
239
+ }>;
240
+ onLoadTables?: (datasourceId: string) => Promise<string[]>;
241
+ onLoadSchema?: (datasourceId: string, table: string) => Promise<Array<{
242
+ name: string;
243
+ type: string;
244
+ nullable?: boolean;
245
+ }>>;
235
246
  initialGraph?: WorkflowGraph | null;
236
247
  onGraphChange?: (graph: WorkflowGraph) => void;
237
248
  onEditTool?: (tool: WorkflowTool) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.11.43",
3
+ "version": "2.11.46",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",