debian-mirror-gitlab/spec/frontend/gfm_auto_complete/mock_data.js
2023-01-13 15:02:22 +05:30

91 lines
1.6 KiB
JavaScript

export const eventlistenersMockDefaultMap = [
{
key: 'shown',
namespace: 'atwho',
},
{
key: 'shown-users',
namespace: 'atwho',
},
{
key: 'shown-issues',
namespace: 'atwho',
},
{
key: 'shown-milestones',
namespace: 'atwho',
},
{
key: 'shown-mergerequests',
namespace: 'atwho',
},
{
key: 'shown-labels',
namespace: 'atwho',
},
{
key: 'shown-snippets',
namespace: 'atwho',
},
{
key: 'shown-contacts',
namespace: 'atwho',
},
];
export const crmContactsMock = [
{
id: 1,
email: 'contact.1@email.com',
firstName: 'Contact',
lastName: 'One',
search: 'contact.1@email.com',
state: 'active',
set: false,
},
{
id: 2,
email: 'contact.2@email.com',
firstName: 'Contact',
lastName: 'Two',
search: 'contact.2@email.com',
state: 'active',
set: false,
},
{
id: 3,
email: 'contact.3@email.com',
firstName: 'Contact',
lastName: 'Three',
search: 'contact.3@email.com',
state: 'inactive',
set: false,
},
{
id: 4,
email: 'contact.4@email.com',
firstName: 'Contact',
lastName: 'Four',
search: 'contact.4@email.com',
state: 'inactive',
set: true,
},
{
id: 5,
email: 'contact.5@email.com',
firstName: 'Contact',
lastName: 'Five',
search: 'contact.5@email.com',
state: 'active',
set: true,
},
{
id: 5,
email: 'contact.6@email.com',
firstName: 'Contact',
lastName: 'Six',
search: 'contact.6@email.com',
state: 'active',
set: undefined, // On purpose
},
];