Update all for Postgres and new techniques

This commit is contained in:
Sebastián Ramírez
2019-02-23 18:44:29 +04:00
parent 1b4d244033
commit 6fdba19639
72 changed files with 793 additions and 1316 deletions

View File

@@ -1,27 +1,23 @@
export interface IUserProfile {
admin_channels: string[];
admin_roles: string[];
disabled: boolean;
email: string;
human_name: string;
name: string;
is_active: boolean;
is_superuser: boolean;
full_name: string;
id: number;
}
export interface IUserProfileUpdate {
human_name?: string;
password?: string;
email?: string;
admin_channels?: string[];
admin_roles?: string[];
disabled?: boolean;
full_name?: string;
password?: string;
is_active?: boolean;
is_superuser?: boolean;
}
export interface IUserProfileCreate {
name: string;
human_name?: string;
email: string;
full_name?: string;
password?: string;
email?: string;
admin_channels?: string[];
admin_roles?: string[];
disabled?: boolean;
is_active?: boolean;
is_superuser?: boolean;
}