Skip to content

The open alternative to Salesforce, designed for AI.

419 B
Raw Blame
import { createAtomFamilyState } from '@/ui/utilities/state/jotai/utils/createAtomFamilyState';
import { type ApplicationVariableScope } from '~/generated-metadata/graphql';

export const applicationVariablesDraftFamilyState = createAtomFamilyState<
  Record<string, string | null>,
  { applicationId: string; scope: ApplicationVariableScope }
>({
  key: 'applicationVariablesDraftFamilyState',
  defaultValue: {},
});