2021-05-17 14:10:42 -04:00
|
|
|
import { range } from 'lodash';
|
|
|
|
|
|
|
|
export const TEST_NAV_DATA = {
|
2022-09-08 20:10:07 -04:00
|
|
|
menuTitle: 'Test Menu Title',
|
2021-05-17 14:10:42 -04:00
|
|
|
primary: [
|
|
|
|
...['projects', 'groups'].map((view) => ({
|
|
|
|
id: view,
|
|
|
|
href: null,
|
|
|
|
title: view,
|
|
|
|
view,
|
|
|
|
})),
|
|
|
|
...range(0, 2).map((idx) => ({
|
|
|
|
id: `primary-link-${idx}`,
|
|
|
|
href: `/path/to/primary/${idx}`,
|
|
|
|
title: `Title ${idx}`,
|
|
|
|
})),
|
|
|
|
],
|
|
|
|
secondary: range(0, 2).map((idx) => ({
|
|
|
|
id: `secondary-link-${idx}`,
|
|
|
|
href: `/path/to/secondary/${idx}`,
|
|
|
|
title: `SecTitle ${idx}`,
|
|
|
|
})),
|
|
|
|
views: {
|
|
|
|
projects: {
|
|
|
|
namespace: 'projects',
|
|
|
|
currentUserName: '',
|
|
|
|
currentItem: {},
|
2021-06-09 11:10:05 -04:00
|
|
|
linksPrimary: [{ id: 'project-link', href: '/path/to/projects', title: 'Project Link' }],
|
|
|
|
linksSecondary: [],
|
2021-05-17 14:10:42 -04:00
|
|
|
},
|
|
|
|
groups: {
|
|
|
|
namespace: 'groups',
|
|
|
|
currentUserName: '',
|
|
|
|
currentItem: {},
|
2021-06-09 11:10:05 -04:00
|
|
|
linksPrimary: [],
|
|
|
|
linksSecondary: [{ id: 'group-link', href: '/path/to/groups', title: 'Group Link' }],
|
2021-05-17 14:10:42 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|