feat: Add language selector

Closes #212
This commit is contained in:
Maksim Eltyshev
2022-07-26 12:26:42 +02:00
parent a1cb04ea8e
commit 1329da3fe5
31 changed files with 277 additions and 40 deletions

View File

@@ -32,6 +32,11 @@ module.exports = {
isNotEmptyString: true,
allowNull: true,
},
language: {
type: 'string',
isNotEmptyString: true,
allowNull: true,
},
subscribeToOwnCards: {
type: 'boolean',
},
@@ -66,6 +71,7 @@ module.exports = {
'avatarUrl',
'phone',
'organization',
'language',
'subscribeToOwnCards',
]);