feat: refactor session components to utilize BaseSessionLiveWrapper, streamlining sharing functionality and reducing code duplication across various session types
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m14s

This commit is contained in:
Julien Froidefond
2026-02-18 08:39:15 +01:00
parent 35228441e3
commit 739b0bf87d
18 changed files with 381 additions and 795 deletions

View File

@@ -2,6 +2,21 @@
* Shared utilities for share modals across workshop types.
*/
import type { ShareRole } from '@prisma/client';
export interface ShareUser {
id: string;
name: string | null;
email: string;
}
export interface Share {
id: string;
role: ShareRole;
user: ShareUser;
createdAt?: Date;
}
export interface TeamMemberUser {
id: string;
email: string;