feat(application): implement Phase 3 strict DTOs, eradicate any types, and add Suspense boundaries
Deploy Canina / deploy (push) Failing after 29s
Deploy Canina / deploy (push) Failing after 29s
This commit is contained in:
1 parent
57596f5aaf
commit
74fcaa6a4e
8 files changed
+82
-24
No files matched your search
@@ -0,0 +1,37 @@
|
||||
export interface Banner {
|
||||
id?: string;
|
||||
imageUrl?: string;
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
export interface VetTestimonial {
|
||||
id?: string;
|
||||
name?: string;
|
||||
role?: string;
|
||||
text?: string;
|
||||
avatarUrl?: string;
|
||||
}
|
||||
|
||||
export interface SmartAdvisorRule {
|
||||
id?: string;
|
||||
condition?: string;
|
||||
recommendation?: string;
|
||||
category?: string;
|
||||
symptom?: string;
|
||||
recommendedProductSlug?: string;
|
||||
}
|
||||
|
||||
export interface HomeApiResponse {
|
||||
heroBanners?: Banner[];
|
||||
vetTestimonials?: VetTestimonial[];
|
||||
smartAdvisorRules?: SmartAdvisorRule[];
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
export type NavigationTarget = string | { view: string };
|
||||
|
||||
export interface NavigationHandler {
|
||||
(target: NavigationTarget): void;
|
||||
}
|
||||
Reference in new issue
Block a user