This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user