fix: align types/index.ts with dev to resolve merge conflict
CI / Lint & Typecheck (pull_request) Failing after 13s
CI / Test (pull_request) Failing after 20s
CI / Build (pull_request) Has been skipped
CI / Build & Push Docker Images (pull_request) Has been skipped
CI / Update Infra Image Tags (pull_request) Has been skipped
CI / Lint & Typecheck (pull_request) Failing after 13s
CI / Test (pull_request) Failing after 20s
CI / Build (pull_request) Has been skipped
CI / Build & Push Docker Images (pull_request) Has been skipped
CI / Update Infra Image Tags (pull_request) Has been skipped
This commit is contained in:
+12
-19
@@ -26,20 +26,6 @@ export interface Client {
|
|||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ─── Medical Alerts ────────────────────────────────────────────────────────────
|
|
||||||
|
|
||||||
export type AlertSeverity = "low" | "medium" | "high";
|
|
||||||
|
|
||||||
export interface MedicalAlert {
|
|
||||||
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;
|
||||||
@@ -56,16 +42,23 @@ export interface Pet {
|
|||||||
customFields: Record<string, string>;
|
customFields: Record<string, string>;
|
||||||
photoKey?: string;
|
photoKey?: string;
|
||||||
photoUploadedAt?: string;
|
photoUploadedAt?: string;
|
||||||
// Extended fields (GRO-1176/GRO-1178)
|
coatType?: string | null;
|
||||||
coatType?: CoatType | null;
|
temperamentScore?: number | null;
|
||||||
preferredCuts?: string[];
|
temperamentFlags?: string[];
|
||||||
temperamentScore?: number | null; // 1–5, read-only (staff-set)
|
|
||||||
temperamentFlags?: string[]; // read-only (staff-set)
|
|
||||||
medicalAlerts?: MedicalAlert[];
|
medicalAlerts?: MedicalAlert[];
|
||||||
|
preferredCuts?: string[];
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user