| 123456789101112 |
- const mongoose = require('mongoose');
- /**
- * parent schema for GlobalNotificationSetting model
- */
- const globalNotificationSettingSchema = new mongoose.Schema({
- isEnabled: { type: Boolean, required: true, default: true },
- triggerPath: { type: String, required: true },
- triggerEvents: { type: [String] },
- });
- module.exports = globalNotificationSettingSchema;
|