summary refs log tree commit diff
path: root/dist/models/Role.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:27 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:27 +0200
commit9c62b43664f9808497cdaf5142ef071c4e01275d (patch)
treea2a8b0b0b72d2182229e332b158fd9310a1cb809 /dist/models/Role.js
parent:zap: export regex (diff)
parent:bug: fix Activity model (diff)
downloadserver-9c62b43664f9808497cdaf5142ef071c4e01275d.tar.xz
Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main
Diffstat (limited to 'dist/models/Role.js')
-rw-r--r--dist/models/Role.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/dist/models/Role.js b/dist/models/Role.js
deleted file mode 100644

index ed681849..00000000 --- a/dist/models/Role.js +++ /dev/null
@@ -1,25 +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.RoleModel = exports.RoleSchema = void 0; -const mongoose_1 = require("mongoose"); -const Database_1 = __importDefault(require("../util/Database")); -exports.RoleSchema = new mongoose_1.Schema({ - id: mongoose_1.Types.Long, - guild_id: mongoose_1.Types.Long, - color: Number, - hoist: Boolean, - managed: Boolean, - mentionable: Boolean, - name: String, - permissions: mongoose_1.Types.Long, - position: Number, - tags: { - bot_id: mongoose_1.Types.Long, - }, -}); -// @ts-ignore -exports.RoleModel = Database_1.default.model("Role", exports.RoleSchema, "roles"); -//# sourceMappingURL=Role.js.map \ No newline at end of file