06ff16e086
## Context This PR introduces the new Create and Edit role components, behind the PERMISSIONS_ENABLED_V2 feature flag.
13 lines
348 B
TypeScript
13 lines
348 B
TypeScript
import { createFamilyState } from '@/ui/utilities/state/utils/createFamilyState';
|
|
import { Role } from '~/generated-metadata/graphql';
|
|
|
|
export const settingsValidateRoleFamilyState = createFamilyState<
|
|
Record<keyof Pick<Role, 'label'>, boolean>,
|
|
string
|
|
>({
|
|
key: 'settingsValidateRoleFamilyState',
|
|
defaultValue: {
|
|
label: false,
|
|
},
|
|
});
|