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

@@ -40,6 +40,11 @@ module.exports = {
isNotEmptyString: true,
allowNull: true,
},
language: {
type: 'string',
isNotEmptyString: true,
allowNull: true,
},
subscribeToOwnCards: {
type: 'boolean',
},
@@ -62,6 +67,7 @@ module.exports = {
'username',
'phone',
'organization',
'language',
'subscribeToOwnCards',
]);