Skip to content

The open alternative to Salesforce, designed for AI.

597 B
Raw Blame
import { computeDeterministicUuid } from '@/application/deterministic-identifier/compute-deterministic-uuid.util';

export const getSystemViewFieldGroupUniversalIdentifier = ({
  objectMetadataApplicationUniversalIdentifier,
  viewUniversalIdentifier,
  name,
}: {
  objectMetadataApplicationUniversalIdentifier: string;
  viewUniversalIdentifier: string;
  name: string;
}): string =>
  computeDeterministicUuid({
    entityNamespace: 'viewFieldGroup',
    value: `${viewUniversalIdentifier}:${name}`,
    applicationUniversalIdentifier:
      objectMetadataApplicationUniversalIdentifier,
  });