Snippets

24Flow Demodata

Created by Dieter Martens
export const resources = [
    {
        id        : 2,
        name      : 'Paint',
        bg        : '#01BAEF',
        textColor : '#fff',
        icon      : 'paint-brush'
    },
    {
        id        : 3,
        name      : 'Cut 1',
        bg        : '#01BAEF',
        textColor : '#fff',
        icon      : 'cut'
    },
    {
        id        : 4,
        name      : 'Cut 2',
        bg        : '#01BAEF',
        textColor : '#fff',
        icon      : 'cut'
    },
];

export const events = [
    {
        id         : 10,
        name       : 'ABC101',
        cls        : 'forge',
        startDate  : '2022-04-13T08:30:00.000Z',
        endDate    : '2022-04-13T18:30:00.000Z'
    },
    {
        id         : 11,
        name       : 'ABC102',
        startDate  : '2022-04-13T08:30:00.000Z',
        endDate    : '2022-04-13T18:30:00.000Z',
        cls        : ''
    },
    {
        id         : 12,
        name       : 'ABC103',
        startDate  : '2022-04-13T08:30:00.000Z',
        endDate    : '2022-04-13T18:30:00.000Z',
        cls        : ''
    },
];

export const assignments = [
    {
        id: 1,
        eventId: 10,
        resourceId: 2
    },
    {
        id: 2,
        eventId: 11,
        resourceId: 3
    },
    {
        id: 3,
        eventId: 12,
        resourceId: 4
    },
]

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.