mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
24 lines
889 B
JavaScript
24 lines
889 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.VoiceStateModel = exports.VoiceSateSchema = void 0;
|
|
const mongoose_1 = require("mongoose");
|
|
const Database_1 = __importDefault(require("../util/Database"));
|
|
exports.VoiceSateSchema = new mongoose_1.Schema({
|
|
guild_id: mongoose_1.Types.Long,
|
|
channel_id: mongoose_1.Types.Long,
|
|
user_id: mongoose_1.Types.Long,
|
|
session_id: String,
|
|
deaf: Boolean,
|
|
mute: Boolean,
|
|
self_deaf: Boolean,
|
|
self_mute: Boolean,
|
|
self_stream: Boolean,
|
|
self_video: Boolean,
|
|
suppress: Boolean,
|
|
});
|
|
// @ts-ignore
|
|
exports.VoiceStateModel = Database_1.default.model("VoiceState", exports.VoiceSateSchema, "voicestates");
|
|
//# sourceMappingURL=VoiceState.js.map
|