Files
epess-web-backend/src/AppConfig/appconfig.constant.ts
Ly Tuan Kiet b0317b0660 refactor: update configuration constants and clean up package scripts
- Modified time configuration constants in appconfig.constant.ts to reflect new operational hours.
- Removed linting and prettier scripts from package.json to streamline the build process.
2024-12-03 18:19:08 +07:00

53 lines
1.0 KiB
TypeScript

export const ConfigConstants: Record<
string,
{
name: string
key: string
value: string
visible: boolean
}
> = {
SLOT_DURATION: {
name: 'Slot Duration',
key: 'SLOT_DURATION',
value: '60',
visible: true,
},
SLOT_BREAK_DURATION: {
name: 'Slot Break Duration',
key: 'SLOT_BREAK_DURATION',
value: '15',
visible: true,
},
MID_DAY_BREAK_TIME_START: {
name: 'Mid Day Break Time Start',
key: 'MID_DAY_BREAK_TIME_START',
value: '05:00:00',
visible: true,
},
MID_DAY_BREAK_TIME_END: {
name: 'Mid Day Break Time End',
key: 'MID_DAY_BREAK_TIME_END',
value: '06:00:00',
visible: true,
},
DAY_START_TIME: {
name: 'Day Start Time',
key: 'DAY_START_TIME',
value: '01:00:00',
visible: true,
},
DAY_END_TIME: {
name: 'Day End Time',
key: 'DAY_END_TIME',
value: '15:00:00',
visible: true,
},
DEFAULT_COMMISSION: {
name: 'Default Commission',
key: 'DEFAULT_COMMISSION',
value: '0.05',
visible: true,
},
}