21 lines
359 B
TypeScript
21 lines
359 B
TypeScript
|
|
export interface IAccountRawResponse {
|
||
|
|
id: string;
|
||
|
|
role: string;
|
||
|
|
created_at: string;
|
||
|
|
account: Account;
|
||
|
|
}
|
||
|
|
export interface IAccountResponse extends IAccountRawResponse {}
|
||
|
|
|
||
|
|
export interface IAccountRequest {
|
||
|
|
name: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IAccountPasswordRequest {
|
||
|
|
password: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
interface Account {
|
||
|
|
username: string;
|
||
|
|
status: string;
|
||
|
|
}
|