Add useWebConfig hook
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
Reference in New Issue
Block a user