import { definePostInstallLogicFunction } from 'twenty-sdk/define'; import { LOGIC_FUNCTION_CONSTANTS } from 'src/constants/universal-identifiers'; // The app functions entirely through the front-component actions (Submit for // review / Approve / Reject), so no install-time workflow seeding is required. // This hook is a no-op placeholder kept for future automation. const handler = async () => { return { seededWorkflows: [] }; }; export default definePostInstallLogicFunction({ universalIdentifier: LOGIC_FUNCTION_CONSTANTS.postInstall.universalIdentifier, name: 'post-install', description: 'Post-install hook for the Contract Approval app (no workflow seeding; the app runs via front-component actions).', timeoutSeconds: 30, handler, shouldRunSynchronously: true, });