Skip to content

Commit

Permalink
Merge pull request #593 from OneCommunityGlobal/development
Browse files Browse the repository at this point in the history
Backend Release to Main [1.15]
  • Loading branch information
one-community authored Oct 31, 2023
2 parents 539c618 + 9d9e084 commit 1a95807
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 289 deletions.
155 changes: 0 additions & 155 deletions src/controllers/REAL_TIME_timerController.js

This file was deleted.

13 changes: 0 additions & 13 deletions src/models/REAL_TIME_timer.js

This file was deleted.

14 changes: 0 additions & 14 deletions src/models/oldTimer.js

This file was deleted.

2 changes: 2 additions & 0 deletions src/models/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const timerSchema = new Schema({
startAt: { type: Date, default: Date.now },
time: { type: Number, default: 900000 },
goal: { type: Number, default: 900000 },
initialGoal: { type: Number, default: 900000 },
chiming: { type: Boolean, default: false },
paused: { type: Boolean, default: false },
forcedPause: { type: Boolean, default: false },
started: { type: Boolean, default: false },
Expand Down
15 changes: 0 additions & 15 deletions src/routes/timerRouter.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/startup/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const actionItem = require('../models/actionItem');
const notification = require('../models/notification');
const wbs = require('../models/wbs');
const task = require('../models/task');
const timer = require('../models/timer');
const popup = require('../models/popupEditor');
const popupBackup = require('../models/popupEditorBackup');
const taskNotification = require('../models/taskNotification');
Expand Down Expand Up @@ -38,7 +37,6 @@ const forcePwdRouter = require('../routes/forcePwdRouter')(userProfile);
const reportsRouter = require('../routes/reportsRouter')();
const wbsRouter = require('../routes/wbsRouter')(wbs);
const taskRouter = require('../routes/taskRouter')(task);
const timerRouter = require('../routes/timerRouter')(timer);
const popupRouter = require('../routes/popupEditorRouter')(popup);
const popupBackupRouter = require('../routes/popupEditorBackupRouter')(popupBackup);
const taskNotificationRouter = require('../routes/taskNotificationRouter')(taskNotification);
Expand Down Expand Up @@ -76,7 +74,6 @@ module.exports = function (app) {
app.use('/api', reportsRouter);
app.use('/api', wbsRouter);
app.use('/api', taskRouter);
app.use('/api', timerRouter);
app.use('/api', popupRouter);
app.use('/api', popupBackupRouter);
app.use('/api', taskNotificationRouter);
Expand Down
Loading

0 comments on commit 1a95807

Please sign in to comment.