Files
pse.dev/lib/types.ts
Kalidou Diagne 186033f017 add youtube
2023-08-16 00:15:35 +02:00

28 lines
492 B
TypeScript

export interface NewsInterface {
type: string
title: string
expires?: string
action: {
label: string
url: string
}
}
export type ProjectLinkWebsite =
| "github"
| "website"
| "discord"
| "twitter"
| "youtube"
export type ProjectLinkType = Partial<Record<ProjectLinkWebsite, string>>
export interface ProjectInterface {
id: string
image: string
name: string
tldr: string
description: string
links?: ProjectLinkType
tags?: Record<string, string[]>
}