The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
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: {},
});