promote: uat → main (GRO-1509 OIDC accountLinking fix) #46

Merged
Scrubs McBarkley merged 110 commits from uat into main 2026-05-22 14:03:44 +00:00
Showing only changes of commit 22457ac361 - Show all commits
+20 -12
View File
@@ -26,6 +26,21 @@ export interface Client {
updatedAt: string; updatedAt: string;
} }
// ─── Medical Alerts ────────────────────────────────────────────────────────────
export type AlertSeverity = "low" | "medium" | "high";
export interface MedicalAlert {
id: string;
type: string;
description: string;
severity: AlertSeverity;
}
// ─── Pet Profile Summary ────────────────────────────────────────────────────
export type CoatType = "short" | "medium" | "long" | "double" | "wire" | "silky" | "curly" | "hairless";
export interface Pet { export interface Pet {
id: string; id: string;
clientId: string; clientId: string;
@@ -42,23 +57,16 @@ export interface Pet {
customFields: Record<string, string>; customFields: Record<string, string>;
photoKey?: string; photoKey?: string;
photoUploadedAt?: string; photoUploadedAt?: string;
coatType?: string | null; // Extended fields (GRO-1176/GRO-1178)
temperamentScore?: number | null; coatType?: CoatType | null;
temperamentFlags?: string[];
medicalAlerts?: MedicalAlert[];
preferredCuts?: string[]; preferredCuts?: string[];
temperamentScore?: number | null; // 15, read-only (staff-set)
temperamentFlags?: string[]; // read-only (staff-set)
medicalAlerts?: MedicalAlert[];
createdAt: string; createdAt: string;
updatedAt: string; updatedAt: string;
} }
export type MedicalAlertSeverity = "low" | "medium" | "high";
export interface MedicalAlert {
type: string;
description: string;
severity: MedicalAlertSeverity;
}
export interface GroomingVisitLog { export interface GroomingVisitLog {
id: string; id: string;
petId: string; petId: string;