import type { Permission } from "~/models/role";

// Should we define the keys first?
// export type Keys = 'key1' | 'key2' | 'key3' | etc

export const permissions: Record<string, Record<string, Permission[]>> = {
  '/tools-equipment-src/medicine': {
    'div|fin': ['C', 'R', 'U', 'D'],
    'emp|pha': ['R'],
  },
  '/tools-equipment-src/medicine-method': {
    'div|fin': ['C', 'R', 'U', 'D'],
    'emp|pha': ['R'],
  },
  '/tools-equipment-src/medicine-type': {
    'div|fin': ['C', 'R', 'U', 'D'],
    'emp|pha': ['R'],
  },
  '/tools-equipment-src/medicine-form': {
    'div|fin': ['C', 'R', 'U', 'D'],
    'emp|pha': ['R'],
  },
  '/tools-equipment-src/device-src': {
    'div|fin': ['C', 'R', 'U', 'D'],
    'emp|pha': ['R'],
  },
}
