added userDtos
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
// models are the data objects stored in the database. models defined here must match models defined in api/models
|
||||
// dtos here must match the the dtos in api/src/Modelts/Dto.cs in name (case insensitive) (types are intermediately serialized to strings)
|
||||
|
||||
export interface User {
|
||||
id: number;
|
||||
username: string;
|
||||
export interface UserDto {
|
||||
createdAt: string;
|
||||
email: string;
|
||||
password: string;
|
||||
id: string;
|
||||
username: string;
|
||||
}
|
||||
|
||||
export interface RegisterDto {
|
||||
|
||||
Reference in New Issue
Block a user