|
@@ -12,6 +12,7 @@ import { mockProfile } from '../mocks';
|
|
|
|
|
|
import 'semantic-ui-css/semantic.min.css';
|
|
|
import '@polkadot/joy-roles/index.sass';
|
|
|
+import { WorkingGroups } from '../working_groups';
|
|
|
|
|
|
export default {
|
|
|
title: 'Roles / Components / Working groups tab',
|
|
@@ -29,7 +30,9 @@ export function ContentCuratorsSection () {
|
|
|
),
|
|
|
title: text('Title', 'Curation lead', 'Ben'),
|
|
|
stake: new u128(number('Stake', 10101, {}, 'Ben')),
|
|
|
- earned: new u128(number('Earned', 347829, {}, 'Ben'))
|
|
|
+ earned: new u128(number('Earned', 347829, {}, 'Ben')),
|
|
|
+ workerId: 1,
|
|
|
+ group: WorkingGroups.ContentCurators
|
|
|
},
|
|
|
{
|
|
|
memberId: new MemberId(2),
|
|
@@ -37,7 +40,9 @@ export function ContentCuratorsSection () {
|
|
|
profile: mockProfile(text('Handle', 'bwhm0', 'Martin')),
|
|
|
title: text('Title', 'Content curator', 'Martin'),
|
|
|
stake: new u128(number('Stake', 10101, {}, 'Martin')),
|
|
|
- earned: new u128(number('Earned', 347829, {}, 'Martin'))
|
|
|
+ earned: new u128(number('Earned', 347829, {}, 'Martin')),
|
|
|
+ workerId: 2,
|
|
|
+ group: WorkingGroups.ContentCurators
|
|
|
},
|
|
|
{
|
|
|
memberId: new MemberId(3),
|
|
@@ -48,7 +53,9 @@ export function ContentCuratorsSection () {
|
|
|
),
|
|
|
title: text('Title', 'Content curator', 'Paul'),
|
|
|
stake: new u128(number('Stake', 10101, {}, 'Paul')),
|
|
|
- earned: new u128(number('Earned', 347829, {}, 'Paul'))
|
|
|
+ earned: new u128(number('Earned', 347829, {}, 'Paul')),
|
|
|
+ workerId: 3,
|
|
|
+ group: WorkingGroups.ContentCurators
|
|
|
},
|
|
|
{
|
|
|
memberId: new MemberId(4),
|
|
@@ -59,7 +66,9 @@ export function ContentCuratorsSection () {
|
|
|
),
|
|
|
title: text('Title', 'Content curator', 'Alex'),
|
|
|
stake: new u128(number('Stake', 10101, {}, 'Alex')),
|
|
|
- earned: new u128(number('Earned', 347829, {}, 'Alex'))
|
|
|
+ earned: new u128(number('Earned', 347829, {}, 'Alex')),
|
|
|
+ workerId: 4,
|
|
|
+ group: WorkingGroups.ContentCurators
|
|
|
},
|
|
|
{
|
|
|
memberId: new MemberId(5),
|
|
@@ -70,7 +79,9 @@ export function ContentCuratorsSection () {
|
|
|
),
|
|
|
title: text('Title', 'Content curator', 'Mokhtar'),
|
|
|
stake: new u128(number('Stake', 10101, {}, 'Mokhtar')),
|
|
|
- earned: new u128(number('Earned', 347829, {}, 'Mokhtar'))
|
|
|
+ earned: new u128(number('Earned', 347829, {}, 'Mokhtar')),
|
|
|
+ workerId: 5,
|
|
|
+ group: WorkingGroups.ContentCurators
|
|
|
}
|
|
|
];
|
|
|
|