mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 06:29:04 +00:00
21 lines
527 B
TypeScript
21 lines
527 B
TypeScript
import { LucideIcon, UserCheckIcon, UserPenIcon } from "lucide-react";
|
|
|
|
import { TBadgeProps } from "@app/components/v3";
|
|
import { PolicyType } from "@app/hooks/api/policies/enums";
|
|
|
|
export const policyDetails: Record<
|
|
PolicyType,
|
|
{ name: string; variant: TBadgeProps["variant"]; Icon: LucideIcon }
|
|
> = {
|
|
[PolicyType.AccessPolicy]: {
|
|
variant: "ghost",
|
|
name: "Access Policy",
|
|
Icon: UserCheckIcon
|
|
},
|
|
[PolicyType.ChangePolicy]: {
|
|
variant: "ghost",
|
|
name: "Change Policy",
|
|
Icon: UserPenIcon
|
|
}
|
|
};
|