mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
more stuff
This commit is contained in:
21
src/use-cases/types.ts
Normal file
21
src/use-cases/types.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export type Plan = "free" | "basic" | "premium";
|
||||
export type Role = "owner" | "admin" | "member";
|
||||
|
||||
export type UserId = number;
|
||||
|
||||
export type UserProfile = {
|
||||
id: UserId;
|
||||
name: string | null;
|
||||
image: string | null;
|
||||
};
|
||||
|
||||
export type UserSession = {
|
||||
id: UserId;
|
||||
};
|
||||
|
||||
export type MemberInfo = {
|
||||
name: string | null;
|
||||
userId: UserId;
|
||||
image: string | null;
|
||||
role: Role;
|
||||
};
|
||||
Reference in New Issue
Block a user