Files
pse.dev/lib/types.ts
2023-08-09 16:28:32 +02:00

23 lines
419 B
TypeScript

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