Files
pse.dev/lib/types.ts
2023-08-14 14:58:14 +02:00

26 lines
523 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 type ProjectStatusType = "active" | "inactive" | "archived"
export interface ProjectInterface {
id: string
image: string
name: string
tldr: string
description: string
links?: ProjectLinkType
projectStatus?: ProjectStatusType
tags?: Record<string, string[]>
}