feat: add ci cd files dont edit those files

This commit is contained in:
mahyargdz
2024-10-21 10:22:26 +03:30
commit fb5b440d42
321 changed files with 188273 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
const mongoose = require('mongoose');
const HomePageSchema = mongoose.Schema({
s2: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s3: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s4: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s5: [{type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null}],
s6: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
// side bar
s2Side: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s3Side: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s4Side: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s5Side: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
s6Side: {type: mongoose.Schema.Types.ObjectId, ref: 'Category', default: null},
modelType : String
});
module.exports = mongoose.model('HomePage', HomePageSchema);