user create wip

This commit is contained in:
2022-10-10 12:11:11 +02:00
parent da02f87e97
commit f19e24533e
16 changed files with 576 additions and 23 deletions

View File

@ -1,4 +1,4 @@
export type entity = {
export type Entity = {
uuid: string;
createdAt: Date;
updatedAt: Date;

View File

@ -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;