feat(wip member dashboard)
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 26h10m31s
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 26h10m31s
This commit is contained in:
35
resources/js/types/index.d.ts
vendored
35
resources/js/types/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user