AI slop
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m20s

This commit is contained in:
2026-06-08 00:28:29 +02:00
parent 94e2b8bd47
commit 0fb4f01892
22 changed files with 1474 additions and 346 deletions

View File

@@ -0,0 +1,18 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const FolderSchema = new Schema({
name: { type: String, required: true },
campaign: {
type: Schema.Types.ObjectId,
ref: 'Campaign',
required: true
},
parentFolder: {
type: Schema.Types.ObjectId,
ref: 'Folder'
},
date: { type: Date, default: Date.now }
});
module.exports = mongoose.model('Folder', FolderSchema);