fix
This commit is contained in:
@@ -6,11 +6,13 @@ export enum Sex {
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
email: string;
|
||||
first_name: string;
|
||||
second_name: string;
|
||||
birth_date: string;
|
||||
sex: Sex;
|
||||
is_admin: boolean;
|
||||
}
|
||||
|
||||
export interface OAuthSession {
|
||||
@@ -23,22 +25,30 @@ export interface OAuthSession {
|
||||
}
|
||||
|
||||
export interface Consent {
|
||||
client_id: string
|
||||
client_name: string
|
||||
scopes: string[]
|
||||
authorized_at: string
|
||||
last_used_at: string | null
|
||||
isRevokable: boolean
|
||||
client_id: string;
|
||||
client_name: string;
|
||||
scopes: string[];
|
||||
authorized_at: string;
|
||||
last_used_at: string | null;
|
||||
isRevokable: boolean;
|
||||
}
|
||||
|
||||
export interface Permission {
|
||||
id: string;
|
||||
code: string;
|
||||
description: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface Position {
|
||||
code: string
|
||||
name: string
|
||||
description?: string | null
|
||||
code: string;
|
||||
name: string;
|
||||
description?: string | null;
|
||||
permissions: Permission[];
|
||||
}
|
||||
|
||||
export const localeMap = {
|
||||
ru,
|
||||
en: enUS,
|
||||
it
|
||||
it,
|
||||
};
|
||||
Reference in New Issue
Block a user