Files
agologum/client/src/models/User.ts
Blitblank baca04fa03
All checks were successful
Build and Deploy Frontend / build-and-deploy (push) Successful in 6s
Build and Deploy API / build-and-deploy (push) Successful in 9s
create permission modification endpoints
2026-04-22 21:49:15 -05:00

23 lines
563 B
TypeScript

// 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 UserDto {
createdAt: string;
email: string;
id: string;
userName: string;
permissions: string;
}
export interface RegisterDto {
userName: string;
email: string;
password: string;
}
export interface LoginDto {
userName: string;
password: string;
}