import { sliderProductsMock } from '../product/slider';

export const sliderMockData = {
    data: {
        productLists: {
            defaultList: {
                url: 'https://seeItAll.test',
                items: sliderProductsMock
            }
        }
    }
};

export const sliderMockSettings = {
    settings: {
        productsList: {
            url: 'https://seeItAll.test',
            items: [
                ...sliderProductsMock,
                // avoid duplicate keys
                ...sliderProductsMock.map((item, index) => ({
                    ...item,
                    id: item.id + (index + 1) * 10
                }))
            ],
            contentType: 'dynamic'
        }
    }
};
