debian-mirror-gitlab/spec/frontend/design_management/mock_data/notes.js

47 lines
769 B
JavaScript
Raw Normal View History

2020-05-24 23:13:21 +05:30
export default [
{
id: 'note-id-1',
2020-06-23 00:09:42 +05:30
index: 1,
2020-05-24 23:13:21 +05:30
position: {
height: 100,
width: 100,
x: 10,
y: 15,
},
2020-06-23 00:09:42 +05:30
author: {
name: 'John',
webUrl: 'link-to-john-profile',
},
createdAt: '2020-05-08T07:10:45Z',
2020-05-24 23:13:21 +05:30
userPermissions: {
adminNote: true,
},
discussion: {
id: 'discussion-id-1',
},
2020-06-23 00:09:42 +05:30
resolved: false,
2020-05-24 23:13:21 +05:30
},
{
id: 'note-id-2',
2020-06-23 00:09:42 +05:30
index: 2,
2020-05-24 23:13:21 +05:30
position: {
height: 50,
width: 50,
x: 25,
y: 25,
},
2020-06-23 00:09:42 +05:30
author: {
name: 'Mary',
webUrl: 'link-to-mary-profile',
},
createdAt: '2020-05-08T07:10:45Z',
2020-05-24 23:13:21 +05:30
userPermissions: {
adminNote: true,
},
discussion: {
id: 'discussion-id-2',
},
2020-06-23 00:09:42 +05:30
resolved: true,
2020-05-24 23:13:21 +05:30
},
];