Files
music-admin/@layouts/types.ts
poptong 83b162d2bd
Some checks failed
🚀 Deploy - Demo / deployment (push) Has been cancelled
🔧 웹훅 URL을 HTTPS로 수정
- 웹훅 URL을 https://admin.youtooplay.com/webhook로 변경
- Nginx 리버스 프록시 설정 파일 추가
- 배포 가이드 업데이트
2025-10-01 01:47:51 +09:00

60 lines
1.2 KiB
TypeScript

import type { RouteLocationRaw } from 'vue-router'
export interface AclProperties {
action: string
subject: string
}
// 👉 Vertical nav section title
export interface NavSectionTitle extends Partial<AclProperties> {
heading: string
}
// 👉 Vertical nav link
declare type ATagTargetAttrValues = '_blank' | '_self' | '_parent' | '_top' | 'framename'
declare type ATagRelAttrValues =
| 'alternate'
| 'author'
| 'bookmark'
| 'external'
| 'help'
| 'license'
| 'next'
| 'nofollow'
| 'noopener'
| 'noreferrer'
| 'prev'
| 'search'
| 'tag'
export interface NavLinkProps {
to?: RouteLocationRaw | string | null
href?: string
target?: ATagTargetAttrValues
rel?: ATagRelAttrValues
}
export interface NavLink extends NavLinkProps, Partial<AclProperties> {
title: string
icon?: unknown
badgeContent?: string
badgeClass?: string
disable?: boolean
}
// 👉 Vertical nav group
export interface NavGroup extends Partial<AclProperties> {
title: string
icon?: unknown
badgeContent?: string
badgeClass?: string
children: (NavLink | NavGroup)[]
disable?: boolean
}
// 👉 Components ========================
export interface ThemeSwitcherTheme {
name: string
icon: string
}