mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-19 06:14:28 +01:00
37 lines
617 B
TypeScript
37 lines
617 B
TypeScript
export interface AllCategoriesData {
|
|
allCategories: ProjectCategory[];
|
|
}
|
|
|
|
export interface ProjectCategory {
|
|
id: string;
|
|
title: string;
|
|
}
|
|
|
|
export interface ProjectCard {
|
|
id: string;
|
|
title: string;
|
|
thumbnail_image: string;
|
|
category: ProjectCategory;
|
|
votes_count: number;
|
|
}
|
|
|
|
export interface Tag {
|
|
id: string;
|
|
title: string;
|
|
}
|
|
|
|
export type Image = string;
|
|
|
|
export interface Project {
|
|
id: string;
|
|
title: string;
|
|
category: ProjectCategory;
|
|
website?: string;
|
|
description: string;
|
|
tags: Tag[];
|
|
cover_image: Image;
|
|
thumbnail_image: Image;
|
|
screenShots: Image[];
|
|
votes_count: number;
|
|
}
|