The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import {
type ExtendedUIMessagePart,
isCompleteWorkspaceSetupToolPart,
} from 'twenty-shared/ai';
export const isHiddenCompleteWorkspaceSetupToolPart = (
part: ExtendedUIMessagePart,
): boolean =>
isCompleteWorkspaceSetupToolPart(part) &&
part.state !== 'output-error' &&
part.state !== 'output-denied';