16 lines
291 B
TypeScript
16 lines
291 B
TypeScript
import type { Role } from './roles';
|
|
import type { Settings } from './settings';
|
|
|
|
export interface User {
|
|
id?: number;
|
|
user: string;
|
|
email: string;
|
|
role?: Role;
|
|
expiration?: string;
|
|
password?: string;
|
|
newPassword?: string;
|
|
settings?: Settings;
|
|
}
|
|
|
|
export type Users = User[];
|