mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-27 18:24:25 +01:00
initial commit
This commit is contained in:
31
src/utils/interfaces.ts
Normal file
31
src/utils/interfaces.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
website?: string;
|
||||
description: string;
|
||||
tags: Tag[];
|
||||
cover_image: Image;
|
||||
thumbnail_image: Image;
|
||||
screenShots: Image[];
|
||||
votes_count: number;
|
||||
}
|
||||
Reference in New Issue
Block a user