2019-11-12 09:54:21 +00:00
|
|
|
import {
|
|
|
|
Environment,
|
|
|
|
commonApiUrls,
|
|
|
|
commonApiacceptableFileExtensions,
|
|
|
|
publicApiUrls,
|
|
|
|
externalApiUrls,
|
|
|
|
piUrls,
|
|
|
|
protocolUrls,
|
2019-12-16 08:42:49 +00:00
|
|
|
messageApiUrls,
|
|
|
|
promptUrls
|
2019-11-12 09:54:21 +00:00
|
|
|
} from './environment.type';
|
2019-12-24 07:16:13 +00:00
|
|
|
import { DeviceType, NotificationMethod } from '@ucap-webmessenger/core';
|
2019-11-12 09:54:21 +00:00
|
|
|
|
|
|
|
export const environment: Environment = {
|
|
|
|
production: false,
|
2019-11-18 07:49:41 +00:00
|
|
|
title: `[개발] UCapMessenger`,
|
2019-11-12 09:54:21 +00:00
|
|
|
|
2019-11-28 04:44:41 +00:00
|
|
|
companyConfig: {
|
2019-12-15 23:53:06 +00:00
|
|
|
companyGroupCode: 'LG',
|
|
|
|
fixedCompanyCode: ''
|
2019-11-28 04:44:41 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
productConfig: {
|
|
|
|
productId: 'PRO_000482',
|
2019-11-28 05:02:07 +00:00
|
|
|
productName: 'EZMessenger',
|
|
|
|
authentication: {
|
2019-12-15 13:49:35 +00:00
|
|
|
usePrivateInformationAgree: false,
|
|
|
|
rememberMe: {
|
|
|
|
use: false
|
|
|
|
},
|
|
|
|
autoLogin: {
|
|
|
|
use: true
|
|
|
|
}
|
2019-12-12 08:15:09 +00:00
|
|
|
},
|
|
|
|
updateCheckConfig: {
|
|
|
|
deviceType: DeviceType.Renderer,
|
|
|
|
intervalHour: 1
|
2019-12-15 19:49:27 +00:00
|
|
|
},
|
|
|
|
defaultSettings: {
|
|
|
|
general: {
|
|
|
|
appTheme: 'theme-default',
|
|
|
|
autoLogin: false,
|
2019-12-17 08:27:08 +00:00
|
|
|
autoLaunch: true,
|
2019-12-15 19:49:27 +00:00
|
|
|
continueRunWhenClose: true,
|
|
|
|
locale: 'ko',
|
2019-12-17 06:13:25 +00:00
|
|
|
hrInfoLocale: 'ko',
|
2019-12-18 08:11:58 +00:00
|
|
|
startupHideWindow: false,
|
2019-12-20 07:30:22 +00:00
|
|
|
timezone: 'Asia/Seoul'
|
2019-12-15 19:49:27 +00:00
|
|
|
},
|
|
|
|
notification: {
|
2019-12-20 10:53:08 +00:00
|
|
|
use: true,
|
2019-12-24 07:16:13 +00:00
|
|
|
method: NotificationMethod.SoundAndAlert,
|
2019-12-20 10:53:08 +00:00
|
|
|
alertExposureTime: 5,
|
|
|
|
receiveForMobile: false,
|
|
|
|
receiveForMessage: false
|
2019-12-24 02:41:50 +00:00
|
|
|
},
|
|
|
|
chat: {
|
|
|
|
fontFamily: 'Malgun Gothic',
|
|
|
|
fontSize: 12,
|
|
|
|
downloadPath: undefined
|
2019-12-24 07:16:13 +00:00
|
|
|
},
|
|
|
|
presence: {
|
|
|
|
absenceTime: 10
|
2019-12-15 19:49:27 +00:00
|
|
|
}
|
2019-12-18 01:46:42 +00:00
|
|
|
},
|
|
|
|
CommonSetting: {
|
2019-12-19 06:29:18 +00:00
|
|
|
editableProfileImage: true,
|
|
|
|
|
|
|
|
useTimerRoom: true,
|
2019-12-19 07:07:33 +00:00
|
|
|
timerRoomDefaultInterval: 24 * 60 * 60,
|
|
|
|
|
2019-12-19 06:29:18 +00:00
|
|
|
maxChatRoomUser: 300,
|
2019-12-19 07:07:33 +00:00
|
|
|
masstextLength: 800,
|
|
|
|
|
|
|
|
eventRequestDefaultCount: 50,
|
|
|
|
|
|
|
|
readHereShowMinimumEventCount: 10,
|
|
|
|
readHereShowMaximumEventCount: 100,
|
|
|
|
readHereEventRequestCount: 10
|
2019-11-28 05:02:07 +00:00
|
|
|
}
|
2019-11-28 04:44:41 +00:00
|
|
|
},
|
|
|
|
|
2019-12-17 04:00:33 +00:00
|
|
|
customConfig: {
|
|
|
|
appKey: '!@#$DAESANG%^&*',
|
|
|
|
|
|
|
|
/** 삭제,수정 불가 그룹 Seqs:number[] */
|
|
|
|
fixedGroupSeqs: []
|
|
|
|
},
|
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
commonApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: '27.122.224.170',
|
2019-11-13 06:42:30 +00:00
|
|
|
port: 8011
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
urls: commonApiUrls,
|
2019-11-13 06:42:30 +00:00
|
|
|
acceptableFileExtensions: commonApiacceptableFileExtensions
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
publicApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: '27.122.224.170',
|
2019-11-13 06:42:30 +00:00
|
|
|
port: 8011
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
2019-11-13 06:42:30 +00:00
|
|
|
urls: publicApiUrls
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
externalApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: '27.122.224.170',
|
2019-11-13 06:42:30 +00:00
|
|
|
port: 8011
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
2019-11-13 06:42:30 +00:00
|
|
|
urls: externalApiUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
messageApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: '27.122.224.170',
|
2019-11-28 08:30:43 +00:00
|
|
|
port: 9098
|
2019-11-13 06:42:30 +00:00
|
|
|
},
|
|
|
|
urls: messageApiUrls
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
|
2019-12-16 08:42:49 +00:00
|
|
|
promptApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: '15.164.139.105',
|
|
|
|
port: 9097
|
|
|
|
},
|
|
|
|
urls: promptUrls
|
|
|
|
},
|
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
piModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: '27.122.224.170',
|
2019-11-13 06:42:30 +00:00
|
|
|
port: 9097
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
2019-11-13 06:42:30 +00:00
|
|
|
urls: piUrls
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
protocolModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'ws',
|
|
|
|
domain: '27.122.224.170',
|
2019-11-13 06:42:30 +00:00
|
|
|
port: 8080
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
urls: protocolUrls,
|
|
|
|
reconnect: {
|
2019-11-13 06:42:30 +00:00
|
|
|
delay: 1000
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
requestId: {
|
|
|
|
min: 1,
|
2019-11-13 06:42:30 +00:00
|
|
|
max: 59999
|
|
|
|
}
|
2019-11-12 09:54:21 +00:00
|
|
|
},
|
|
|
|
|
2019-11-13 06:42:30 +00:00
|
|
|
nativeModuleConfig: {}
|
2019-11-12 09:54:21 +00:00
|
|
|
};
|