feat: add changelog/roadmap types, Sanity queries, and public route whitelist
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
export type ChangelogEntry = {
|
||||
_id: string
|
||||
title: string
|
||||
version: string
|
||||
publishedAt: string
|
||||
tags: string[]
|
||||
body: unknown[]
|
||||
}
|
||||
|
||||
export type RoadmapItemData = {
|
||||
_id: string
|
||||
title: string
|
||||
description: string
|
||||
status: 'planned' | 'in-progress'
|
||||
order: number
|
||||
}
|
||||
|
||||
export type Tab = 'whats-new' | 'whats-next' | 'give-feedback'
|
||||
|
||||
export type VoteState = {
|
||||
count: number
|
||||
voted: boolean
|
||||
loading: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user