export const ADMIN_ROLE = "Admin"; export const DEVELOPER_ROLE = "Developer"; export const isDeveloperRole = (roles?: string[] | null): boolean => !!roles?.includes(DEVELOPER_ROLE); export const isAdminRole = (roles?: string[] | null): boolean => !!roles?.includes(ADMIN_ROLE) || isDeveloperRole(roles);