- Enhanced tests to ensure consistent messageId generation for legacy inbox rows lacking a messageId. - Updated test descriptions for better clarity regarding the new messageId handling. - Adjusted test expectations to align with the updated behavior of relaying legacy inbox rows with generated messageIds.
51 lines
889 B
TypeScript
51 lines
889 B
TypeScript
import type { LocaleCode } from "~/data/i18n";
|
|
|
|
export interface FeatureItem {
|
|
id: string;
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface FaqItem {
|
|
id: string;
|
|
question: string;
|
|
answer: string;
|
|
}
|
|
|
|
export interface HeroContent {
|
|
title: string;
|
|
subtitle: string;
|
|
}
|
|
|
|
export interface DownloadContent {
|
|
title: string;
|
|
note: string;
|
|
}
|
|
|
|
export interface PricingPlan {
|
|
id: string;
|
|
name: string;
|
|
price: string;
|
|
period: string;
|
|
description: string;
|
|
features: string[];
|
|
highlighted?: boolean;
|
|
}
|
|
|
|
export interface TestimonialItem {
|
|
id: string;
|
|
name: string;
|
|
role: string;
|
|
text: string;
|
|
}
|
|
|
|
export interface LandingContent {
|
|
hero: HeroContent;
|
|
features: FeatureItem[];
|
|
faq: FaqItem[];
|
|
download: DownloadContent;
|
|
pricing: PricingPlan[];
|
|
testimonials: TestimonialItem[];
|
|
}
|
|
|
|
export type LocalizedContent = Record<LocaleCode, LandingContent>;
|