Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.8/.cache/esm/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.8/.cache/esm/9bc225d9742cf765.js

let mongoose;_742‍.x([["default",()=>_742‍.o]]);_742‍.w("mongoose",[["default",["mongoose"],function(v){mongoose=v}]]);

const File = new mongoose.Schema(
  {
    files: { type: String, required: true },
    title: { type: String },
    tags: { type: Array },
    description: { type: String },
    apply_description: { type: Boolean },
    /* policy_ref: {
    type: mongoose.Schema.ObjectId,
    ref: "Policy",
    required: true,
  }, */
    contact_id: {
      type: mongoose.Schema.ObjectId,
      ref: "Contact",
    },
    line_of_business: { type: String },
    effective: { type: String },
    created_by: {
      type: mongoose.Schema.ObjectId,
      ref: "User",
      required: true,
    },
    deleted: {
      type: Boolean,
      default: false,
    },
    createdOn: { type: Date, default: Date.now },
    modifiedOn: { type: Date, default: Date.now },
  },
  {
    toJSON: { virtuals: true },
    toObject: { virtuals: true },
  }
);

_742‍.d(mongoose.model("File", File));

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists