import { FooterSchema } from './footer-schema' import { HeaderSchema } from './header-schema' import { Upload } from './upload-file' import { WithMongooseProps } from './with-mongoose-props' import { WithTranslations } from './with-translations' export type SocialLink = { name: string link: string active?: boolean } export type TenantColors = { primary: string accent: string secondary: string 'ocean-97': string 'ocean-87': string 'ocean-80': string 'ocean-50': string 'ocean-29': string 'ocean-20': string 'ocean-12': string 'midnight-blue': string 'slate-blue': string 'eggplant-32-lighter': string 'eggplant-97': string 'eggplant-32': string 'eggplant-25': string success: string overlay: string dark: string white: string 'gray-disabled': string } export type Tenant = WithMongooseProps<{ name: string description?: string header: HeaderSchema footer: FooterSchema domain?: string users: number logo?: Upload footerLogo?: Upload socialLinks: SocialLink[] colors?: TenantColors translations: WithTranslations<{ name: Tenant['name'] description: Tenant['description'] header: Tenant['header'] footer: Tenant['footer'] }> showHomeSearches?: boolean // define if the home page should show searches section mapVisible?: boolean }>