mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add Site settings > General (#133)
This commit is contained in:
committed by
GitHub
parent
bdc4004e4a
commit
35831b9801
21
app/javascript/interfaces/ITenant.ts
Normal file
21
app/javascript/interfaces/ITenant.ts
Normal 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;
|
||||
Reference in New Issue
Block a user