summary refs log tree commit diff
path: root/dist/models/Ban.js
diff options
context:
space:
mode:
authorxnacly <matteogropp@gmail.com>2021-04-08 15:56:11 +0200
committerxnacly <matteogropp@gmail.com>2021-04-08 15:56:11 +0200
commitf01fe1ba3ac22d33ecf61659d1f65c5ac1ba4e17 (patch)
tree1a3361f31dbbf700efb84513c95388cfbfb2e58f /dist/models/Ban.js
parentadded hasThrow (diff)
parent:bug: move dev dependencies to normal (diff)
downloadserver-f01fe1ba3ac22d33ecf61659d1f65c5ac1ba4e17.tar.xz
Merge branch 'main' of https://github.com/fosscord/fosscord-server-util
Diffstat (limited to 'dist/models/Ban.js')
-rw-r--r--dist/models/Ban.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/dist/models/Ban.js b/dist/models/Ban.js
deleted file mode 100644

index abb0a4e2..00000000 --- a/dist/models/Ban.js +++ /dev/null
@@ -1,18 +0,0 @@ -"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 }, - executor_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 \ No newline at end of file