feat(wip member dashboard)
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 26h10m31s

This commit is contained in:
2026-04-08 15:17:05 +02:00
parent 341032162a
commit aea22e72af
16 changed files with 711 additions and 51 deletions

View File

@@ -74,12 +74,47 @@ export interface Service {
illustration: string;
}
export interface DashboardService {
identifier: string;
name: string;
description: string | null;
url: string;
icon: string | null;
is_active: boolean;
}
export interface DashboardPackage {
identifier: string;
name: string;
description: string | null;
price: string;
}
export interface DashboardMembership {
status: string;
payment_status: string;
start_date: string | null;
end_date: string | null;
amount: string;
package: DashboardPackage | null;
services: DashboardService[];
}
export interface DashboardMember {
firstname: string | null;
lastname: string | null;
email: string;
retzien_email: string;
membership: DashboardMembership | null;
}
export interface PageProps {
flash?: FlashMessages;
auth?: Auth;
plans?: Plans[];
services?: MembershipService[];
captcha_question?: string;
member?: DashboardMember | null;
[key: string]: unknown;
}