@hhgtech/hhg-components
Version:
Hello Health Group common components
31 lines (30 loc) • 691 B
TypeScript
export type NewsletterTopicApi = {
id: string;
external_id: number;
name: string;
thumbnail: string;
is_trending: number;
site_id: number;
bgColor?: string;
};
export type NewsletterTopic = {
bgColor?: string;
catId: string;
engName: string;
guid?: string;
localName: string;
ranking: string;
template?: string;
};
export type PreferContent = {
title: string;
description: string;
icon: string;
checked: boolean;
id: number;
};
export type NewsletterCategoryApi = {
trending: Array<NewsletterTopic>;
recently: Array<NewsletterTopic>;
interested: Array<NewsletterTopic>;
};