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

74 lines
1.6 KiB
JavaScript
Raw Normal View History

2020-05-24 23:13:21 +05:30
export default {
2020-11-24 15:15:51 +05:30
id: 'gid::/gitlab/Design/1',
2020-05-24 23:13:21 +05:30
filename: 'test.jpg',
fullPath: 'full-design-path',
image: 'test.jpg',
updatedAt: '01-01-2019',
updatedBy: {
name: 'test',
},
issue: {
2020-11-24 15:15:51 +05:30
id: 'gid::/gitlab/Issue/1',
2020-05-24 23:13:21 +05:30
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',
},
};