PHP Rebuild
CI / ci (push) Canceled after 0s

Initial PHP rebuild of the app
This commit is contained in:
Stefan Lazic committed 2026-09-05 08:21:33 +01:00
1 parent 8a2b211069
commit 2ef3654841
690 files changed
+33944 -12046

No files matched your search

-35
View File
@@ -1,35 +0,0 @@
/**
* Small, UI-facing display types. Deliberately NOT imported from
* `@/generated/prisma` — components in `components/ui` should never depend
* on the ORM layer directly (see docs/implementation-plan.md §11, "Server
* and client boundaries"). Feature code maps Prisma results onto these
* shapes; if the two drift, that mapping step is exactly where it should
* be caught.
*/
export type AppointmentStatus =
| "pending_approval"
| "confirmed"
| "arrived"
| "in_progress"
| "completed"
| "cancelled"
| "no_show";
export interface StaffSummary {
id: string;
name: string;
avatarUrl?: string;
}
export interface ServiceSummary {
id: string;
name: string;
/** Collapses in the UI when null/undefined/empty — see ServiceCard. */
description?: string | null;
imageUrl?: string | null;
durationMinutes: number;
/** Formatted for display, e.g. "£22.00" — currency formatting is a
* presentation concern handled once, upstream of these components. */
formattedPrice: string;
}
-15
View File
@@ -1,15 +0,0 @@
import type { DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session {
user: {
id: string;
} & DefaultSession["user"];
}
}
declare module "next-auth/jwt" {
interface JWT {
id?: string;
}
}