export const pageLinks = {
    home: '/',
    news: '/news',
    login: '/login',
    register: '/register',

    dashboard: {
        main: {
            index: '/dashboard/main',
        },
        parties: {
            index: '/dashboard/parties',
            create: '/dashboard/parties/create',
            edit: (slug: string | number) => '/dashboard/parties/edit/' + slug,
        },
        boxes: {
            index: '/dashboard/packets',
            create: '/dashboard/packets/create',
            edit: (slug: string | number) => '/dashboard/packets/edit/' + slug,
        },
        real_boxes: {
            index: '/dashboard/boxes',
            create: '/dashboard/boxes/create',
            edit: (slug: string | number) => '/dashboard/boxes/edit/' + slug,
        },
        items: {
            index: '/dashboard/items',
            create: '/dashboard/items/create',
            edit: (slug: string | number) => '/dashboard/items/edit/' + slug,
        },
        customers: {
            index: '/dashboard/customers',
        },
        staffs: {
            index: '/dashboard/staffs',
        },
    },
};

export const locales = ['en', 'ru', 'uz', 'cn'];

export const DEFAULT_PAGE_SIZE = 10;

export const BASE_URL = process.env.NEXT_PUBLIC_API_URL;
export const BASE_URI = process.env.NEXT_PUBLIC_API_URL + '/api/v1';
