Skip to content

The open alternative to Salesforce, designed for AI.

268 B
Raw Blame
import { type AppPlanAction } from '@/app/deployment/types/app-plan.type';

export const isDestructiveAppPlanAction = (action: AppPlanAction) =>
  action.type === 'delete' &&
  (action.metadataName === 'objectMetadata' ||
    action.metadataName === 'fieldMetadata');