Add useWebConfig hook
This commit is contained in:
parent
5f86d89ca6
commit
865df884fd
3 changed files with 70 additions and 7 deletions
20
src/types/webConfig.ts
Normal file
20
src/types/webConfig.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
interface Theme {
|
||||
name: string
|
||||
id: string
|
||||
color: string
|
||||
}
|
||||
|
||||
interface MenuLink {
|
||||
name: string
|
||||
icon?: string
|
||||
url: string
|
||||
}
|
||||
|
||||
export interface WebConfig {
|
||||
includeCorsCredentials?: boolean
|
||||
multiserver?: boolean
|
||||
themes?: Theme[]
|
||||
menuLinks?: MenuLink[]
|
||||
servers?: string[]
|
||||
plugins?: string[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue