File size: 500 Bytes
d9494a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { computeDeterministicUuid } from '@/application/deterministic-identifier/compute-deterministic-uuid.util';

// An application variable is identified by its key within its application.
export const getApplicationVariableUniversalIdentifier = ({
  applicationUniversalIdentifier,
  key,
}: {
  applicationUniversalIdentifier: string;
  key: string;
}): string =>
  computeDeterministicUuid({
    entityNamespace: 'applicationVariable',
    value: key,
    applicationUniversalIdentifier,
  });