14 lines
No EOL
742 B
TypeScript
14 lines
No EOL
742 B
TypeScript
const { VITE_CDN_URL } = import.meta.env
|
|
|
|
export const APP_NAME = 'Sözsoft Platform'
|
|
export const PERSIST_STORE_NAME = 'admin'
|
|
export const REDIRECT_URL_KEY = 'redirectUrl'
|
|
export const DEFAULT_API_NAME = 'Default'
|
|
export const AUTH_API_NAME = 'AuthApi'
|
|
export const AVATAR_URL = (id?: string, tenantId?: string) =>
|
|
`${VITE_CDN_URL}/${tenantId ? 'tenants/' + tenantId : 'host'}/avatar/${id ?? 'default'}.jpg`
|
|
export const MULTIVALUE_DELIMITER = '|'
|
|
export const DX_CLASSNAMES =
|
|
'dx-viewport dx-device-desktop dx-device-generic dx-theme-generic dx-theme-generic-typography dx-color-scheme-light'
|
|
export const FILE_URL = (fileName?: string, tenantId?: string) =>
|
|
`${VITE_CDN_URL}/${tenantId ? 'tenants/' + tenantId : 'host'}/${fileName}` |