mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-04-23 03:01:03 -04:00
39 lines
770 B
TypeScript
39 lines
770 B
TypeScript
export interface NewsInterface {
|
|
type: string
|
|
title: string
|
|
expires?: string
|
|
action: {
|
|
label: string
|
|
url: string
|
|
}
|
|
}
|
|
|
|
export type ProjectExtraLinkType = "buildWith" | "play" | "research" | "learn"
|
|
|
|
export type ProjectLinkType = Partial<
|
|
Record<"github" | "website" | "discord" | "twitter", string>
|
|
>
|
|
|
|
export type ActionLinkType = Partial<
|
|
Record<
|
|
ProjectExtraLinkType,
|
|
Array<{
|
|
label: string
|
|
url: 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[]>
|
|
extraLinks?: ActionLinkType
|
|
}
|