From 0e8356e9b1acd95be5b94f0e55bba9d749a36d12 Mon Sep 17 00:00:00 2001 From: afeuerstein <32029275+afeuerstein@users.noreply.github.com> Date: Tue, 6 Apr 2021 21:32:44 +0200 Subject: remove compiled typescript code from repo --- dist/models/Channel.js | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 dist/models/Channel.js (limited to 'dist/models/Channel.js') diff --git a/dist/models/Channel.js b/dist/models/Channel.js deleted file mode 100644 index 956b1fc5..00000000 --- a/dist/models/Channel.js +++ /dev/null @@ -1,50 +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.ChannelType = exports.ChannelPermissionOverwriteType = exports.ChannelModel = exports.ChannelSchema = void 0; -const mongoose_1 = require("mongoose"); -const Database_1 = __importDefault(require("../util/Database")); -exports.ChannelSchema = new mongoose_1.Schema({ - id: String, - created_at: { type: mongoose_1.Schema.Types.Date, required: true }, - name: { type: String, required: true }, - type: { type: Number, required: true }, - guild_id: String, - owner_id: String, - parent_id: String, - recipients: [String], - position: Number, - last_message_id: String, - last_pin_timestamp: Date, - nsfw: Boolean, - rate_limit_per_user: Number, - topic: String, - permission_overwrites: [ - { - allow: mongoose_1.Types.Long, - deny: mongoose_1.Types.Long, - id: String, - type: Number, - }, - ], -}); -// @ts-ignore -exports.ChannelModel = Database_1.default.model("Channel", exports.ChannelSchema, "channels"); -var ChannelPermissionOverwriteType; -(function (ChannelPermissionOverwriteType) { - ChannelPermissionOverwriteType[ChannelPermissionOverwriteType["role"] = 0] = "role"; - ChannelPermissionOverwriteType[ChannelPermissionOverwriteType["member"] = 1] = "member"; -})(ChannelPermissionOverwriteType = exports.ChannelPermissionOverwriteType || (exports.ChannelPermissionOverwriteType = {})); -var ChannelType; -(function (ChannelType) { - ChannelType[ChannelType["GUILD_TEXT"] = 0] = "GUILD_TEXT"; - ChannelType[ChannelType["DM"] = 1] = "DM"; - ChannelType[ChannelType["GUILD_VOICE"] = 2] = "GUILD_VOICE"; - ChannelType[ChannelType["GROUP_DM"] = 3] = "GROUP_DM"; - ChannelType[ChannelType["GUILD_CATEGORY"] = 4] = "GUILD_CATEGORY"; - ChannelType[ChannelType["GUILD_NEWS"] = 5] = "GUILD_NEWS"; - ChannelType[ChannelType["GUILD_STORE"] = 6] = "GUILD_STORE"; -})(ChannelType = exports.ChannelType || (exports.ChannelType = {})); -//# sourceMappingURL=Channel.js.map \ No newline at end of file -- cgit 1.5.1