import type { Permission } from "~/models/role"; // Should we define the keys first? // export type Keys = 'key1' | 'key2' | 'key3' | etc export const permissions: Record> = { '/client/patient': { 'emp|reg': ['C','R','U','D'], }, '/client/patient/add': { 'emp|reg': ['C','R','U','D'], }, '/client/patient/{id}': { 'emp|reg': ['C','R','U','D'], }, }