MSP-3173 add statuses in type
This commit is contained in:
1 parent
f7a39dfd1c
commit
ba16e7a35d
1 file changed
+11
@@ -0,0 +1,11 @@
|
||||
export enum SessionStatusKeysType {
|
||||
allowed = 'ALLOWED',
|
||||
revoked = 'REVOKED',
|
||||
expired = 'EXPIRED'
|
||||
}
|
||||
|
||||
export const sessionStatuses: Record<SessionStatusKeysType, string> = {
|
||||
[SessionStatusKeysType.allowed]: 'Активная',
|
||||
[SessionStatusKeysType.revoked]: 'Отмененная',
|
||||
[SessionStatusKeysType.expired]: 'Истекшая'
|
||||
}
|
||||
Reference in new issue
Block a user