Flycro-Me/src/types.ts

18 lines
302 B
TypeScript

import type { ViteSSGContext } from 'vite-ssg'
export type UserModule = (ctx: ViteSSGContext) => void
export interface Post {
title: string
slug: string
body: string
tags: string[]
user_created: string
date_created: string
status: string
}
export interface Error {
message: string
}