UNPKG

646 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const mongoose = require("mongoose");
4const formSchema = new mongoose.Schema({
5 name: { type: String },
6 form: {},
7 events: {
8 accept: {
9 show: { type: Boolean, default: true },
10 text: { type: String, default: "ثبت" }
11 },
12 cancel: {
13 show: { type: Boolean, default: true },
14 text: { type: String, default: "انصراف" }
15 }
16 }
17}, { timestamps: true });
18const Form = mongoose.model("Form", formSchema);
19exports.Form = Form;
20//# sourceMappingURL=form.model.js.map
\No newline at end of file