Commit f0fe368a authored by Jure's avatar Jure

Merge branch 'fix-xpub-styleguide' into 'master'

fix(styleguide): fix status of teams to reviewerItem

See merge request !583
parents 4169e31a dd6722e4
Pipeline #13115 passed with stages
in 9 minutes and 50 seconds
......@@ -9,6 +9,9 @@ const currentUser = {
}
const version = {
meta: {
title: faker.lorem.sentence(10),
},
id: faker.random.uuid(),
reviews: [
{
......@@ -20,13 +23,18 @@ const version = {
{
created: new Date().toDateString(),
updated: new Date().toDateString(),
status: [
{
user: currentUser.id,
status: 'invited',
},
],
members: [
{
user: currentUser,
status: 'invited',
},
],
role: 'reviewer',
teamType: 'reviewerEditor',
},
],
}
......@@ -44,6 +52,9 @@ const currentUser = {
const version = {
id: faker.random.uuid(),
meta: {
title: faker.lorem.sentence(10),
},
reviews: [
{
id: faker.random.uuid(),
......@@ -54,13 +65,19 @@ const version = {
{
created: new Date().toDateString(),
updated: new Date().toDateString(),
status: [
{
user: currentUser.id,
status: 'accepted',
},
],
members: [
{
user: currentUser,
status: 'accepted',
},
],
role: 'reviewer',
teamType: 'reviewerEditor',
},
],
}
......@@ -77,6 +94,9 @@ const currentUser = {
}
const version = {
meta: {
title: faker.lorem.sentence(10),
},
id: faker.random.uuid(),
reviews: [
{
......@@ -88,13 +108,19 @@ const version = {
{
created: new Date().toDateString(),
updated: new Date().toDateString(),
status: [
{
user: currentUser.id,
status: 'rejected',
},
],
members: [
{
user: currentUser,
status: 'rejected',
},
],
role: 'reviewer',
teamType: 'reviewerEditor',
},
],
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment