create middleware block and update proxy file also make token stored in cookes and up date user page to can show user details also fixed delete user error and delete car error and broken corse inginx image block now we can uplode image to server and but it in my app
This commit is contained in:
@@ -51,4 +51,16 @@ export type TableAction =
|
||||
| { type: "ADD"; user: User }
|
||||
| { type: "UPDATE"; user: User }
|
||||
| { type: "DELETE"; id: string }
|
||||
| { type: "CLEAR_ERR" };
|
||||
| { type: "CLEAR_ERR" };
|
||||
|
||||
|
||||
export interface UserDetail extends User {
|
||||
photo: string | null;
|
||||
refreshToken: string | null;
|
||||
isDeleted: boolean;
|
||||
deletedAt: string | null;
|
||||
updatedAt: string;
|
||||
passwordChangedAt: string | null;
|
||||
role: { id?: string; name: string; description?: string };
|
||||
branch: { id?: string; name: string };
|
||||
}
|
||||
Reference in New Issue
Block a user