hiento09 86f0ffc7d1
Chore/disable submodule (#56)
* Chore disable git submodule for web-client and app-backend

* Chore add newest source code of app-backend and web-client

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-09-05 16:29:07 +07:00

16 lines
351 B
TypeScript

import { types } from "mobx-state-tree";
export const User = types.model("User", {
id: types.string,
displayName: types.optional(types.string, "Anonymous"),
avatarUrl: types.maybe(types.string),
email: types.maybe(types.string),
});
export const DefaultUser = {
id: "0",
displayName: "Anonymous",
avatarUrl: undefined,
email: "",
};