feat: 上位タグ(#64) (#173)

#64 おそらく完成

Merge remote-tracking branch 'origin/main' into feature/064

#64 バックエンドぼちぼち

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #173
This commit was merged in pull request #173.
This commit is contained in:
2025-12-09 12:34:26 +09:00
parent 06cd569fc5
commit d50a302d26
9 changed files with 172 additions and 27 deletions
+10 -10
View File
@@ -1,7 +1,7 @@
import React from 'react'
import { CATEGORIES, USER_ROLES, ViewFlagBehavior } from '@/consts'
import type { ReactNode } from 'react'
export type Category = typeof CATEGORIES[number]
export type Menu = MenuItem[]
@@ -29,19 +29,19 @@ export type Post = {
originalCreatedFrom: string | null
originalCreatedBefore: string | null }
export type SubMenuItem = {
component: React.ReactNode
visible: boolean
} | {
name: string
to: string
visible?: boolean }
export type SubMenuItem =
| { component: ReactNode
visible: boolean }
| { name: string
to: string
visible?: boolean }
export type Tag = {
id: number
name: string
category: Category
postCount: number }
postCount: number
children?: Tag[] }
export type User = {
id: number