implement platform config

This commit is contained in:
2024-10-29 19:06:01 +07:00
parent 075610fb9b
commit e003bcd634
11 changed files with 213 additions and 82 deletions

View File

@@ -1,37 +0,0 @@
// export class ConfigConstant {
// static SLOT_DURATION: number = 60;
// static SLOT_BREAK_DURATION: number = 15;
// static MID_DAY_BREAK_TIME_START: Date = new Date().setHours(12, 0, 0, 0);
// static MID_DAY_BREAK_TIME_END: Date = new Date().setHours(13, 0, 0, 0);
// static SLOT_START_TIME: Date = new Date().setHours(8, 0, 0, 0);
// static SLOT_END_TIME: Date = new Date().setHours(22, 0, 0, 0);
// }
// export const ConfigConstant: Record<string, any> = {
// SLOT_DURATION: 60,
// SLOT_BREAK_DURATION: 15,
// MID_DAY_BREAK_TIME_START: {
// hour: 12,
// minute: 0,
// second: 0,
// millisecond: 0,
// },
// MID_DAY_BREAK_TIME_END: {
// hour: 13,
// minute: 0,
// second: 0,
// millisecond: 0,
// },
// SLOT_START_TIME: {
// hour: 8,
// minute: 0,
// second: 0,
// millisecond: 0,
// },
// SLOT_END_TIME: {
// hour: 22,
// minute: 0,
// second: 0,
// millisecond: 0,
// },
// };