Add Site settings > General (#133)

This commit is contained in:
Riccardo Graziosi
2022-07-18 10:47:54 +02:00
committed by GitHub
parent bdc4004e4a
commit 35831b9801
99 changed files with 2405 additions and 281 deletions

View File

@@ -0,0 +1,21 @@
// 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;
}
export default ITenant;