Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update @joystream/types to 0.20.5 #3935

Merged
merged 4 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@joystream/markdown-editor": "^0.1.0",
"@joystream/metadata-protobuf": "^2.0.0",
"@joystream/types": "0.20.3",
"@joystream/types": "0.20.5",
"@nivo/bar": "^0.79.1",
"@nivo/core": "^0.79.0",
"@polkadot/api": "8.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/accounts/model/lockTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const lockTypes: { [key: string]: LockType } = {
['invitemb']: 'Invitation',
['boundsta']: 'Bound Staking Account',
['bounty ']: 'Bounties',
['wg-gatew']: 'Apps Worker',
['wg-appli']: 'Apps Worker',
['wg-opera']: 'Builders Worker',
['wg-operb']: 'HR Worker',
['wg-operg']: 'Marketing Worker',
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/app/pages/WorkingGroups/WorkingGroups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ const defaultGroups: WorkingGroup[] = [
name: 'Operations Alpha',
},
{
id: 'gatewayWorkingGroup',
name: 'Gateway',
id: 'appWorkingGroup',
name: 'App',
},
{
id: 'distributionWorkingGroup',
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/common/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const nameMapping = (value: string) => {
switch (value) {
case 'Operations Alpha':
return 'Builders'
case 'Gateway':
case 'App':
return 'Apps'
case 'Operations Beta':
return 'HR'
Expand Down Expand Up @@ -57,7 +57,7 @@ export const wgListItemMappings = (value: string) => {
'Run and maintain distributor nodes that deliver large volumes of upstream data to a large number of simultaneous end users.',
tooltipLink: 'https://joystream.gitbook.io/testnet-workspace/system/storage#distributor',
}
case 'Gateway':
case 'App':
return {
subtitle:
'Apps group runs multiple video streaming apps working on Joystream blockchain and provides support to all external app operators.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export const WorkingGroupImage = ({ className, groupName }: WorkingGroupImagePro
/>
</WorkingGroupImageTag>
)
case 'Gateway':
case 'App':
return (
<WorkingGroupImageTag viewBox="0 0 108 108" fill="none" className={className}>
<rect width="108" height="108" rx="2" fill="#F9FAFC" stroke="#E8EDF6" />
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/working-groups/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export * from './routes'
export const GroupIdToGroupParam = {
contentWorkingGroup: 'Content',
forumWorkingGroup: 'Forum',
gatewayWorkingGroup: 'Gateway',
appWorkingGroup: 'App',
membershipWorkingGroup: 'Membership',
distributionWorkingGroup: 'Distribution',
storageWorkingGroup: 'Storage',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/working-groups/model/workingGroupName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const urlParamToWorkingGroupId = (name: string) => {
case 'marketing':
return 'operationsWorkingGroupGamma'
case 'apps':
return 'gatewayWorkingGroup'
return 'appWorkingGroup'
default:
return name
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/working-groups/types/locks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const GROUP_TO_LOCK_ID: Record<GroupIdName, LockType> = {
contentWorkingGroup: 'Content Directory Worker',
membershipWorkingGroup: 'Membership Worker',
storageWorkingGroup: 'Storage Worker',
gatewayWorkingGroup: 'Apps Worker',
appWorkingGroup: 'Apps Worker',
distributionWorkingGroup: 'Distribution Worker',
operationsWorkingGroupGamma: 'Builders Worker',
operationsWorkingGroupBeta: 'HR Worker',
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3382,7 +3382,7 @@ __metadata:
"@jest/types": ^27.2.5
"@joystream/markdown-editor": ^0.1.0
"@joystream/metadata-protobuf": ^2.0.0
"@joystream/types": 0.20.3
"@joystream/types": 0.20.5
"@miragejs/graphql": ^0.1.13
"@nivo/bar": ^0.79.1
"@nivo/core": ^0.79.0
Expand Down Expand Up @@ -3483,9 +3483,9 @@ __metadata:
languageName: unknown
linkType: soft

"@joystream/types@npm:0.20.3":
version: 0.20.3
resolution: "@joystream/types@npm:0.20.3"
"@joystream/types@npm:0.20.5":
version: 0.20.5
resolution: "@joystream/types@npm:0.20.5"
dependencies:
"@polkadot/api": 8.9.1
"@polkadot/keyring": 9.5.1
Expand All @@ -3495,7 +3495,7 @@ __metadata:
ajv: ^6.11.0
lodash: ^4.17.15
moment: ^2.24.0
checksum: 3e41b6923b0b1a1caf34eb35ca781b1d44c688151b06626b6a900e9eee1561e4d8cdbbb0a69078e8208e7891c4a96a6a8e2d11b026b20c1e3c6029a3fd938b6a
checksum: a3e310f358d7aa6d51a39d639f6ceec5052959abd38bc3ef34339a3c411ea91647d4fe50d09361d2aecd7d254da5d90b774e44dc67656cf1a5cd72aa89b0ba7b
languageName: node
linkType: hard

Expand Down