user create wip
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
export type entity = {
|
||||
export type Entity = {
|
||||
uuid: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
@ -1,12 +1,14 @@
|
||||
import { entity } from "./entity";
|
||||
import { Entity } from "./entity";
|
||||
|
||||
export type user = {
|
||||
export type UserInfo = {
|
||||
name: string;
|
||||
} & entity;
|
||||
}
|
||||
|
||||
export type createUserBody = {
|
||||
export type User = UserInfo & Entity;
|
||||
|
||||
export type CreateUserBody = {
|
||||
name: string;
|
||||
password: string;
|
||||
};
|
||||
|
||||
export type loginLoginUserBody = createUserBody;
|
||||
export type LoginUserBody = CreateUserBody;
|
||||
|
Reference in New Issue
Block a user