more stuff

This commit is contained in:
2025-01-31 00:35:44 -05:00
parent 782384cad6
commit 88d7d6c7b1
14 changed files with 694 additions and 43 deletions

21
src/use-cases/types.ts Normal file
View 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;
};