feat: add launcher frontend MVP

This commit is contained in:
DCCONSTRUCTIONS
2026-05-01 18:39:59 +03:00
parent 63d21a7a57
commit e8c6e76885
46 changed files with 9497 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
export type LauncherGlobalRole =
| "root_admin"
| "support_admin"
| "client_owner"
| "client_admin"
| "member";
export type LauncherUserStatus = "invited" | "active" | "blocked";
export interface LauncherUser {
id: string;
authentikUserId?: string | null;
email: string;
name: string;
avatarUrl?: string | null;
globalStatus: LauncherUserStatus;
createdAt: string;
updatedAt: string;
}
export type ClientMembershipRole = "client_owner" | "client_admin" | "member";
export type ClientMembershipStatus = "active" | "disabled";
export interface ClientMembership {
id: string;
clientId: string;
userId: string;
role: ClientMembershipRole;
status: ClientMembershipStatus;
createdAt: string;
updatedAt: string;
}
export interface ClientGroup {
id: string;
clientId: string;
name: string;
description?: string | null;
memberIds: string[];
createdAt: string;
updatedAt: string;
}