1import { markRaw } from "vue";
2import OrganizationsIcon from "../OrganizationsIcon.vue";
3import { __ } from "../translation";
4
5// The desk's access icons; a function so labels translate once loaded.
6export function categoryAccess(): Record<string, { icon: unknown; label: string }> {
7 return {
8 Public: { icon: "lucide-globe", label: __("Public") },
9 Customers: { icon: markRaw(OrganizationsIcon), label: __("Customers") },
10 Private: { icon: "lucide-lock", label: __("Private") },
11 Mixed: { icon: "lucide-blend", label: __("Mixed") },
12 };
13}
14