export const paths = {
    auth: {
        register: {
            path: '/auth/register',
            getHref: (redirectTo?: string | null | undefined) => `/auth/register${redirectTo ? `?redirectTo=${encodeURIComponent(redirectTo)}` : ''}`,
        },
        login: {
            path: '/auth/login',
            getHref: (redirectTo?: string | null | undefined) => `/auth/login${redirectTo ? `?redirectTo=${encodeURIComponent(redirectTo)}` : ''}`,
        },
    },

    dashboard: {
        path: '/',
        getHref: () => '/',
    },

    inventory: {
        myProducts: {
            path: 'inventory/my-products',
            getHref: () => '/inventory/my-products',
        },
        productCategories: {
            path: 'inventory/product-categories',
            getHref: () => '/inventory/product-categories',
        },
        productCollections: {
            path: 'inventory/product-collections',
            getHref: () => '/inventory/product-collections',
        },
        productColors: {
            path: 'inventory/product-colors',
            getHref: () => '/inventory/product-colors',
        },
        productSizes: {
            path: 'inventory/product-sizes',
            getHref: () => '/inventory/product-sizes',
        },
    },
} as const;
