Update types with new properties for new design UI
This commit is contained in:
parent
0b2491a047
commit
cccccd19a9
|
@ -11,9 +11,36 @@ export interface App extends Document {
|
|||
instance: AppInstance
|
||||
tenantId: string
|
||||
status: string
|
||||
theme?: string
|
||||
customTheme?: {
|
||||
buttonBorderRadius?: string
|
||||
primaryColor?: string
|
||||
primaryColorHover?: string
|
||||
}
|
||||
revertableVersion?: string
|
||||
navigation?: AppNavigation
|
||||
}
|
||||
|
||||
export interface AppInstance {
|
||||
_id: string
|
||||
}
|
||||
|
||||
export interface AppNavigation {
|
||||
navigation: string
|
||||
title: string
|
||||
navWidth: string
|
||||
sticky?: boolean
|
||||
hideLogo?: boolean
|
||||
logoUrl?: string
|
||||
hideTitle?: boolean
|
||||
navBackground?: string
|
||||
navTextColor?: string
|
||||
links?: AppNavigationLink[]
|
||||
}
|
||||
|
||||
export interface AppNavigationLink {
|
||||
text: string
|
||||
url: string
|
||||
id?: string
|
||||
roleId?: string
|
||||
}
|
||||
|
|
|
@ -2,8 +2,11 @@ import { Document } from "../document"
|
|||
|
||||
export interface Screen extends Document {
|
||||
layoutId: string
|
||||
showNavigation?: boolean
|
||||
width?: string
|
||||
routing: {
|
||||
route: string
|
||||
roleId: string
|
||||
homeScreen?: boolean
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue