This commit is contained in:
2025-06-28 15:46:38 +09:00
parent 3199c476a3
commit 934225f9e8
7 changed files with 115 additions and 36 deletions
+18 -18
View File
@@ -23,28 +23,28 @@ export type User = {
role: UserRole }
export type WikiPage = {
id: number
title: string
sha: string
pred?: string
succ?: string
updated_at?: string }
id: number
title: string
sha: string
pred?: string
succ?: string
updatedAt?: string }
export type WikiPageChange = {
sha: string
pred?: string
succ?: string
wiki_page: WikiPage
user: User
change_type: string
timestamp: string }
sha: string
pred?: string
succ?: string
wikiPage: WikiPage
user: User
changeType: string
timestamp: string }
export type WikiPageDiff = {
wiki_page_id: number
title: string
older_sha: string
newer_sha: string
diff: WikiPageDiffDiff[] }
wikiPageId: number
title: string
olderSha: string
newerSha: string
diff: WikiPageDiffDiff[] }
export type WikiPageDiffDiff = {
type: 'context' | 'added' | 'removed'