ucap-lg-web/src/environments/environment.hmr.ts
richard-loafle 2435cd88c8 bug fixed
2020-04-09 18:21:56 +09:00

184 lines
3.8 KiB
TypeScript

import { DeviceType, DesktopType, NotificationMethod } from '@ucap/core';
import { BrowserNativeService } from '@ucap/ng-native-browser';
import {
Environment,
commonApiUrls,
commonApiacceptableFileExtensions,
publicApiUrls,
externalApiUrls,
piUrls,
protocolUrls,
messageApiUrls,
promptUrls,
commonApiAcceptableFileExtensionsForImage,
commonApiAcceptableFileExtensionsForVideo
} from './environment.type';
export const environment: Environment = {
production: false,
hmr: true,
productConfig: {
productId: 'PRO_000482',
productName: 'EZMessenger',
localEncriptionKey: '!@#$LG%^&*',
nativeServiceClass: BrowserNativeService,
updateCheck: {
deviceType: DeviceType.Renderer,
devicePlatformType: DesktopType.Windows,
intervalHour: 1
},
defaultSettings: {
general: {
theme: 'theme-default',
autoLogin: false,
autoLaunch: false,
continueRunWhenClose: true,
locale: 'ko',
hrInfoLocale: 'ko',
startupHideWindow: false,
timezone: 'Asia/Seoul'
},
notification: {
preView: true,
use: true,
method: NotificationMethod.SoundAndAlert,
alertExposureTime: 5,
receiveForMobile: false,
receiveForMessage: false
},
chat: {
fontFamily: 'Malgun Gothic',
fontSize: 12,
downloadPath: undefined
},
presence: {
absenceTime: 10
}
},
file: {
defaultDownloadFolder: 'LF Talk2 Download',
defaultFileAllowSize: 100
},
authentication: {
usePrivateInformationAgree: false,
useRememberMe: true,
useAutoLogin: true,
maxTryCount: 5,
intervalForRetry: 1 * 60
},
profile: {
editableProfileImage: false
},
group: {
useMyDeptGroup: false,
myDeptGroupSeq: -5,
fixedGroupSeqs: [-5]
},
chat: {
useTimerRoom: false,
timerRoomDefaultInterval: 24 * 60 * 60,
maxChatRoomUser: 300,
masstextLength: 800,
eventRequestInitCount: 30,
eventRequestDefaultCount: 50,
readHereShowMinimumEventCount: 10,
readHereShowMaximumEventCount: 100,
readHereEventRequestCount: 10
}
},
companyConfig: {
companyGroupCode: 'LG',
fixedCompanyCode: undefined
},
commonApiModuleConfig: {
hostConfig: {
protocol: 'http',
domain: '13.124.88.127',
port: 8033
},
urls: commonApiUrls,
acceptableFileExtensions: commonApiacceptableFileExtensions,
acceptableFileExtensionsForImage: commonApiAcceptableFileExtensionsForImage,
acceptableFileExtensionsForVideo: commonApiAcceptableFileExtensionsForVideo
},
publicApiModuleConfig: {
hostConfig: {
protocol: 'http',
domain: '13.124.88.127',
port: 8011
},
urls: publicApiUrls
},
externalApiModuleConfig: {
hostConfig: {
protocol: 'http',
domain: '13.124.88.127',
port: 8011
},
urls: externalApiUrls
},
messageApiModuleConfig: {
hostConfig: {
protocol: 'http',
domain: '13.124.88.127',
port: 9097
},
urls: messageApiUrls
},
promptApiModuleConfig: {
hostConfig: {
protocol: 'http',
domain: '13.124.88.127',
port: 9097
},
urls: promptUrls
},
piModuleConfig: {
hostConfig: {
protocol: 'http',
domain: '13.124.88.127',
port: 9097
},
urls: piUrls
},
webSocketModuleConfig: {
reconnect: {
delay: 1000 * 3
}
},
protocolModuleConfig: {
hostConfig: {
protocol: 'ws',
domain: '13.124.88.127',
port: 8080
},
urls: protocolUrls,
requestId: {
min: 1,
max: 59999
},
timeout: {
expiredTime: 15,
checkInterval: 1
}
},
pingProtocolModuleConfig: {
statusCode: 'O',
interval: 5
}
};