This commit is contained in:
2025-07-13 02:46:13 +09:00
parent fdf242c060
commit 0c46cf28db
29 changed files with 509 additions and 456 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
import { CATEGORIES, USER_ROLES } from '@/consts'
import { CATEGORIES, USER_ROLES, ViewFlagBehavior } from '@/consts'
export type Category = typeof CATEGORIES[number]
@@ -28,9 +28,12 @@ export type User = {
inheritanceCode: string
role: UserRole }
export type ViewFlagBehavior = typeof ViewFlagBehavior[keyof typeof ViewFlagBehavior]
export type WikiPage = {
id: number
title: string
body: string
sha: string
pred?: string
succ?: string