利用規約(#95) (#311)
#95 #95 #95 #95 #95 Merge remote-tracking branch 'origin/main' into feature/095 #95 #95 #95 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #311
This commit was merged in pull request #311.
This commit is contained in:
+21
-7
@@ -63,10 +63,20 @@ export type Material = {
|
||||
|
||||
export type Menu = MenuItem[]
|
||||
|
||||
export type MenuItem = {
|
||||
export type MenuInvisibleItem = {
|
||||
name: ReactNode
|
||||
to?: string
|
||||
base?: string
|
||||
visible: false
|
||||
subMenu: SubMenuItem[] }
|
||||
|
||||
export type MenuItem = MenuVisibleItem | MenuInvisibleItem
|
||||
|
||||
export type MenuVisibleItem = {
|
||||
name: ReactNode
|
||||
to: string
|
||||
base?: string
|
||||
visible?: true
|
||||
subMenu: SubMenuItem[] }
|
||||
|
||||
export type NicoTag = Tag & {
|
||||
@@ -126,12 +136,16 @@ export type PostTagChange = {
|
||||
changeType: 'add' | 'remove'
|
||||
timestamp: string }
|
||||
|
||||
export type SubMenuItem =
|
||||
| { component: ReactNode
|
||||
visible: boolean }
|
||||
| { name: ReactNode
|
||||
to: string
|
||||
visible?: boolean }
|
||||
export type SubMenuComponentItem = {
|
||||
component: ReactNode
|
||||
visible: boolean }
|
||||
|
||||
export type SubMenuItem = SubMenuComponentItem | SubMenuStringItem
|
||||
|
||||
export type SubMenuStringItem = {
|
||||
name: ReactNode
|
||||
to: string
|
||||
visible?: boolean }
|
||||
|
||||
export type Tag = {
|
||||
id: number
|
||||
|
||||
Reference in New Issue
Block a user