feat(Scheduler, MatchService, PredefinedActivity): enhance scheduling and match fetching features
- Added new scheduler routes to manage scheduling functionalities. - Updated match fetching logic to include a scope parameter for more flexible data retrieval. - Introduced a new field `excludeFromStats` in the PredefinedActivity model to manage activity visibility in statistics. - Enhanced the diary date activity controller to handle predefined activities, improving activity management. - Refactored various services to support new features and improve overall data handling.
This commit is contained in:
@@ -36,6 +36,11 @@ const PredefinedActivity = sequelize.define('PredefinedActivity', {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
},
|
||||
excludeFromStats: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
allowNull: false,
|
||||
defaultValue: false,
|
||||
},
|
||||
}, {
|
||||
tableName: 'predefined_activities',
|
||||
timestamps: true,
|
||||
|
||||
Reference in New Issue
Block a user