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

73 lines
1.5 KiB
JavaScript
Raw Normal View History

2020-05-24 23:13:21 +05:30
export default {
id: 'design-id',
filename: 'test.jpg',
fullPath: 'full-design-path',
image: 'test.jpg',
updatedAt: '01-01-2019',
updatedBy: {
name: 'test',
},
issue: {
title: 'My precious issue',
webPath: 'full-issue-path',
webUrl: 'full-issue-url',
participants: {
2020-10-24 23:57:45 +05:30
nodes: [
2020-05-24 23:13:21 +05:30
{
2020-10-24 23:57:45 +05:30
name: 'Administrator',
username: 'root',
webUrl: 'link-to-author',
avatarUrl: 'link-to-avatar',
2020-05-24 23:13:21 +05:30
},
],
},
},
discussions: {
nodes: [
{
id: 'discussion-id',
replyId: 'discussion-reply-id',
2020-06-23 00:09:42 +05:30
resolved: false,
2020-05-24 23:13:21 +05:30
notes: {
nodes: [
{
id: 'note-id',
body: '123',
author: {
name: 'Administrator',
username: 'root',
webUrl: 'link-to-author',
avatarUrl: 'link-to-avatar',
},
},
],
},
},
2020-06-23 00:09:42 +05:30
{
id: 'discussion-resolved',
replyId: 'discussion-reply-resolved',
resolved: true,
notes: {
nodes: [
{
id: 'note-resolved',
body: '123',
author: {
name: 'Administrator',
username: 'root',
webUrl: 'link-to-author',
avatarUrl: 'link-to-avatar',
},
},
],
},
},
2020-05-24 23:13:21 +05:30
],
},
diffRefs: {
headSha: 'headSha',
baseSha: 'baseSha',
startSha: 'startSha',
},
};