The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { TWENTY_STANDARD_APPLICATION } from 'src/engine/workspace-manager/twenty-standard-application/constants/twenty-standard-applications';
import { type UniversalSyncableFlatEntity } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-entity-from.type';
export const belongsToTwentyStandardApp = <
T extends UniversalSyncableFlatEntity,
>({
applicationUniversalIdentifier,
}: T) =>
applicationUniversalIdentifier ===
TWENTY_STANDARD_APPLICATION.universalIdentifier;