1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 18:51:36 +02:00
server/dist/models/Ban.js
Flam3rboy f920803002 🔧 build
2021-02-19 15:34:52 +01:00

17 lines
701 B
JavaScript

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BanModel = exports.BanSchema = void 0;
const mongoose_1 = require("mongoose");
const Database_1 = __importDefault(require("../util/Database"));
exports.BanSchema = new mongoose_1.Schema({
user_id: { type: mongoose_1.Types.Long, required: true },
guild_id: { type: mongoose_1.Types.Long, required: true },
reason: String,
ip: String,
});
// @ts-ignore
exports.BanModel = Database_1.default.model("Ban", exports.BanSchema, "bans");
//# sourceMappingURL=Ban.js.map