mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Move tenant settings on separate model (#196)
This commit is contained in:
committed by
GitHub
parent
6c03a0d750
commit
d4242dd78e
@@ -1,20 +1,7 @@
|
||||
// Brand display setting
|
||||
export const TENANT_BRAND_NAME_AND_LOGO = 'name_and_logo';
|
||||
export const TENANT_BRAND_NAME_ONLY = 'name_only';
|
||||
export const TENANT_BRAND_LOGO_ONLY = 'logo_only';
|
||||
export const TENANT_BRAND_NONE = 'no_name_no_logo';
|
||||
|
||||
export type TenantBrandDisplaySetting =
|
||||
typeof TENANT_BRAND_NAME_AND_LOGO |
|
||||
typeof TENANT_BRAND_NAME_ONLY |
|
||||
typeof TENANT_BRAND_LOGO_ONLY |
|
||||
typeof TENANT_BRAND_NONE;
|
||||
|
||||
interface ITenant {
|
||||
id: number;
|
||||
siteName: string;
|
||||
siteLogo: string;
|
||||
brandDisplaySetting: TenantBrandDisplaySetting;
|
||||
locale: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user