init: basic structure

This commit is contained in:
YunYouJun
2022-04-13 22:41:22 +08:00
parent f77549b1cd
commit c355d51874
50 changed files with 7682 additions and 0 deletions

3
src/types/index.ts Normal file
View File

@@ -0,0 +1,3 @@
import { type ViteSSGContext } from 'vite-ssg'
export type UserModule = (ctx: ViteSSGContext) => void

28
src/types/recipe.ts Normal file
View File

@@ -0,0 +1,28 @@
export interface RecipeItem {
/**
* 菜名
*/
name: string
/**
* 链接
*/
link: string
/**
* 材料
*/
stuff: string[]
/**
* 标签
*/
tags: string[]
/**
* 方式
*/
methods: string[]
/**
* 工具
*/
tools: string[]
}
export type Recipe = RecipeItem[]