feat(frontend): add reservation confirmation page

This commit is contained in:
bisco
2026-04-29 18:19:05 +02:00
parent 302e3461ad
commit 24d3f4d30f
3 changed files with 226 additions and 0 deletions
@@ -44,6 +44,14 @@ export type ReservationCreateResponse = {
message: string;
};
export type ReservationConfirmResponse = {
reservation_id: number;
status: string;
party_size: number;
qr_code_url?: string;
qr_code_image?: string;
};
type ShowListResponse = {
results: ShowListItem[];
};
@@ -79,4 +87,10 @@ export class ShowsApiService {
payload,
);
}
confirmReservation(token: string): Observable<ReservationConfirmResponse> {
return this.http.get<ReservationConfirmResponse>(`${this.apiBaseUrl}/reservations/confirm/`, {
params: { token },
});
}
}