2023-05-19 15:22:48 -03:00
|
|
|
export interface ILoginResponse extends Omit<IDatabaseAccountDocument, "email" | "password"> {
|
2024-09-03 17:23:42 +03:00
|
|
|
BuildLabel?: string;
|
|
|
|
NatHash?: string;
|
|
|
|
SteamId?: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
2023-09-05 07:37:30 -05:00
|
|
|
// Includes virtual ID
|
2023-05-19 15:22:48 -03:00
|
|
|
export interface IDatabaseAccountDocument extends IDatabaseAccount {
|
2023-05-23 20:42:06 -04:00
|
|
|
id: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IGroup {
|
2023-05-23 20:42:06 -04:00
|
|
|
experiment: string;
|
|
|
|
experimentGroup: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IDatabaseAccount {
|
2024-09-03 17:23:42 +03:00
|
|
|
email?: string;
|
2023-05-23 20:42:06 -04:00
|
|
|
password: string;
|
2024-09-03 17:23:42 +03:00
|
|
|
DisplayName?: string;
|
|
|
|
Nonce?: number;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ILoginRequest {
|
2023-05-23 20:42:06 -04:00
|
|
|
email: string;
|
|
|
|
password: string;
|
2024-09-03 17:23:42 +03:00
|
|
|
ClientType?: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|