import { MENU_CODES, PERMISSIONS } from "@/app/permissions";

export const userLeaderboardRoutes = [
    {
        label: "用户榜单",
        loader: () => import("./pages/UserLeaderboardPage.jsx").then((module) => module.UserLeaderboardPage),
        menuCode: MENU_CODES.userLeaderboard,
        pageKey: "user-leaderboard",
        path: "/activities/user-leaderboards",
        permission: PERMISSIONS.userLeaderboardView,
    },
];
