mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-19 14:24:28 +01:00
33 lines
529 B
TypeScript
33 lines
529 B
TypeScript
export interface ProjectCategory {
|
|
id: string;
|
|
title: string;
|
|
}
|
|
|
|
export interface ProjectCard {
|
|
id: string;
|
|
title: string;
|
|
img: 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;
|
|
}
|