1
0
Fork 0
mirror of synced 2024-06-21 11:51:00 +12:00

Update types with new properties for new design UI

This commit is contained in:
Andrew Kingston 2022-06-15 15:56:00 +01:00
parent ac02d78082
commit e9cc8143e8
2 changed files with 30 additions and 0 deletions

View file

@ -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
}

View file

@ -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
}
}