Skip to content

The open alternative to Salesforce, designed for AI.

699 B
Raw Blame
import { type MetadataEntityPropertyName } from 'src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant';

export const FLAT_FIELD_METADATA_MORPH_RELATION_EDITABLE_PROPERTIES_ON_SIBLING_MORPH_RELATION_UPDATE_CONSTANT =
  {
    custom: [
      'defaultValue',
      'description',
      'icon',
      'isActive',
      'isLabelSyncedWithName',
      'isUnique',
      'label',
      'options',
    ],
    standard: [
      'defaultValue',
      'description',
      'icon',
      'isActive',
      'label',
      'options',
    ],
  } as const satisfies Record<
    'standard' | 'custom',
    MetadataEntityPropertyName<'fieldMetadata'>[]
  >;