feat: mutualize CRUD tools between workflows and AI (#14996)

Closes [#1662](https://github.com/twentyhq/core-team-issues/issues/1662)
This commit is contained in:
Abdul Rahman
2025-10-10 00:55:34 +05:30
committed by GitHub
parent b508bd8f9d
commit 5adc9fe9b2
29 changed files with 899 additions and 1499 deletions
@@ -1,6 +1,6 @@
export type ToolOutput = {
export type ToolOutput<T = object> = {
success: boolean;
message: string;
error?: string;
result?: unknown;
result?: T;
};