export const PERMISSION_TYPE_LITERALS = {
  VIEW: 'VIEW',
  OPERATION: 'OPERATION',
} as const;

export type PermissionType = keyof typeof PERMISSION_TYPE_LITERALS;

export const PERMISSION_TYPE_NAMES = {
  [PERMISSION_TYPE_LITERALS.VIEW]: '查看',
  [PERMISSION_TYPE_LITERALS.OPERATION]: '操作',
} as const;

export type PermissionTypeEnum = typeof PERMISSION_TYPE_NAMES;
