mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 10:22:39 +01:00
added missing exports (guildschema)
This commit is contained in:
parent
14d56bb536
commit
16a01111b8
4
dist/Schema/Guild.d.ts
vendored
4
dist/Schema/Guild.d.ts
vendored
@ -1,8 +1,8 @@
|
||||
export declare const Guild: {
|
||||
export declare const GuildSchema: {
|
||||
name: StringConstructor;
|
||||
$region: StringConstructor;
|
||||
};
|
||||
export interface Guild {
|
||||
export interface GuildSchema {
|
||||
name: string;
|
||||
region?: string;
|
||||
}
|
||||
|
4
dist/Schema/Guild.js
vendored
4
dist/Schema/Guild.js
vendored
@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Guild = void 0;
|
||||
exports.Guild = {
|
||||
exports.GuildSchema = void 0;
|
||||
exports.GuildSchema = {
|
||||
name: String,
|
||||
$region: String,
|
||||
};
|
||||
|
2
dist/Schema/Guild.js.map
vendored
2
dist/Schema/Guild.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"Guild.js","sourceRoot":"","sources":["../../src/Schema/Guild.ts"],"names":[],"mappings":";;;AAAa,QAAA,KAAK,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,MAAM;CAcf,CAAC"}
|
||||
{"version":3,"file":"Guild.js","sourceRoot":"","sources":["../../src/Schema/Guild.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,MAAM;CAcf,CAAC"}
|
3
dist/index.d.ts
vendored
3
dist/index.d.ts
vendored
@ -12,6 +12,7 @@ import { User } from "./models/User";
|
||||
import { EmojiSchema } from "./Schema/Emoji";
|
||||
import { ActivitySchema } from "./Schema/Activity";
|
||||
import { IdentifySchema } from "./Schema/Identify";
|
||||
import { GuildSchema } from "./Schema/Guild";
|
||||
import { trimSpecial } from "./util/String";
|
||||
import { BitField } from "./util/BitField";
|
||||
import { Intents } from "./util/Intents";
|
||||
@ -19,4 +20,4 @@ import { MessageFlags } from "./util/MessageFlags";
|
||||
import { Permissions } from "./util/Permissions";
|
||||
import { Snowflake } from "./util/Snowflake";
|
||||
import { UserFlags } from "./util/UserFlags";
|
||||
export { trimSpecial, checkToken, Config, Constants, db, BitField, DefaultOptions, Permissions, MessageFlags, UserFlags, Snowflake, Intents, Channel, Emoji, Guild, Invite, Member, Role, User, EmojiSchema, ActivitySchema, IdentifySchema, };
|
||||
export { trimSpecial, checkToken, Config, Constants, db, BitField, DefaultOptions, Permissions, MessageFlags, UserFlags, Snowflake, Intents, Channel, Emoji, Guild, Invite, Member, Role, User, EmojiSchema, ActivitySchema, IdentifySchema, GuildSchema, };
|
||||
|
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.IdentifySchema = exports.ActivitySchema = exports.EmojiSchema = exports.Intents = exports.Snowflake = exports.UserFlags = exports.MessageFlags = exports.Permissions = exports.DefaultOptions = exports.BitField = exports.db = exports.Constants = exports.Config = exports.checkToken = exports.trimSpecial = void 0;
|
||||
exports.GuildSchema = exports.IdentifySchema = exports.ActivitySchema = exports.EmojiSchema = exports.Intents = exports.Snowflake = exports.UserFlags = exports.MessageFlags = exports.Permissions = exports.DefaultOptions = exports.BitField = exports.db = exports.Constants = exports.Config = exports.checkToken = exports.trimSpecial = void 0;
|
||||
const checkToken_1 = require("./util/checkToken");
|
||||
Object.defineProperty(exports, "checkToken", { enumerable: true, get: function () { return checkToken_1.checkToken; } });
|
||||
const Config_1 = __importStar(require("./util/Config"));
|
||||
@ -32,12 +32,15 @@ const Database_1 = __importDefault(require("./util/Database"));
|
||||
exports.db = Database_1.default;
|
||||
const Constants = __importStar(require("./util/Constants"));
|
||||
exports.Constants = Constants;
|
||||
//* schema
|
||||
const Emoji_1 = require("./Schema/Emoji");
|
||||
Object.defineProperty(exports, "EmojiSchema", { enumerable: true, get: function () { return Emoji_1.EmojiSchema; } });
|
||||
const Activity_1 = require("./Schema/Activity");
|
||||
Object.defineProperty(exports, "ActivitySchema", { enumerable: true, get: function () { return Activity_1.ActivitySchema; } });
|
||||
const Identify_1 = require("./Schema/Identify");
|
||||
Object.defineProperty(exports, "IdentifySchema", { enumerable: true, get: function () { return Identify_1.IdentifySchema; } });
|
||||
const Guild_1 = require("./Schema/Guild");
|
||||
Object.defineProperty(exports, "GuildSchema", { enumerable: true, get: function () { return Guild_1.GuildSchema; } });
|
||||
const String_1 = require("./util/String");
|
||||
Object.defineProperty(exports, "trimSpecial", { enumerable: true, get: function () { return String_1.trimSpecial; } });
|
||||
const BitField_1 = require("./util/BitField");
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAwB9C,2FAxBQ,uBAAU,OAwBR;AAvBX,wDAAuD;AAwBtD,iBAxBM,gBAAM,CAwBN;AAIN,+FA5BgB,uBAAc,OA4BhB;AA3Bf,+DAAiC;AAyBhC,aAzBM,kBAAE,CAyBN;AAxBH,4DAA8C;AAuB7C,8BAAS;AAfV,0CAA6C;AA+B5C,4FA/BQ,mBAAW,OA+BR;AA9BZ,gDAAmD;AA+BlD,+FA/BQ,yBAAc,OA+BR;AA9Bf,gDAAmD;AA+BlD,+FA/BQ,yBAAc,OA+BR;AA9Bf,0CAA4C;AAS3C,4FATQ,oBAAW,OASR;AARZ,8CAA2C;AAa1C,yFAbQ,mBAAQ,OAaR;AAZT,4CAAyC;AAkBxC,wFAlBQ,iBAAO,OAkBR;AAjBR,sDAAmD;AAclD,6FAdQ,2BAAY,OAcR;AAbb,oDAAiD;AAYhD,4FAZQ,yBAAW,OAYR;AAXZ,gDAA6C;AAc5C,0FAdQ,qBAAS,OAcR;AAbV,gDAA6C;AAY5C,0FAZQ,qBAAS,OAYR"}
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AA6B9C,2FA7BQ,uBAAU,OA6BR;AA5BX,wDAAuD;AA6BtD,iBA7BM,gBAAM,CA6BN;AAIN,+FAjCgB,uBAAc,OAiChB;AAhCf,+DAAiC;AA8BhC,aA9BM,kBAAE,CA8BN;AA5BH,4DAA8C;AA2B7C,8BAAS;AAlBV,WAAW;AACX,0CAA6C;AAiC5C,4FAjCQ,mBAAW,OAiCR;AAhCZ,gDAAmD;AAiClD,+FAjCQ,yBAAc,OAiCR;AAhCf,gDAAmD;AAiClD,+FAjCQ,yBAAc,OAiCR;AAhCf,0CAA6C;AAiC5C,4FAjCQ,mBAAW,OAiCR;AA/BZ,0CAA4C;AAS3C,4FATQ,oBAAW,OASR;AARZ,8CAA2C;AAa1C,yFAbQ,mBAAQ,OAaR;AAZT,4CAAyC;AAkBxC,wFAlBQ,iBAAO,OAkBR;AAjBR,sDAAmD;AAclD,6FAdQ,2BAAY,OAcR;AAbb,oDAAiD;AAYhD,4FAZQ,yBAAW,OAYR;AAXZ,gDAA6C;AAc5C,0FAdQ,qBAAS,OAcR;AAbV,gDAA6C;AAY5C,0FAZQ,qBAAS,OAYR"}
|
@ -1,4 +1,4 @@
|
||||
export const Guild = {
|
||||
export const GuildSchema = {
|
||||
name: String, // ! 2-100 chars
|
||||
$region: String, // ? voice region ?
|
||||
// $icon: String, // TODO: add icon data (base64 128x128)
|
||||
@ -16,7 +16,7 @@ export const Guild = {
|
||||
// $system_channel_id: snowflake,
|
||||
};
|
||||
|
||||
export interface Guild {
|
||||
export interface GuildSchema {
|
||||
name: string; // ! 2-100 chars
|
||||
region?: string; // ? voice region ?
|
||||
// icon?: string; // TODO: add icon data (base64 128x128)
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { checkToken } from "./util/checkToken";
|
||||
import Config, { DefaultOptions } from "./util/Config";
|
||||
import db from "./util/Database";
|
||||
|
||||
import * as Constants from "./util/Constants";
|
||||
import { Channel } from "./models/Channel";
|
||||
import { Emoji } from "./models/Emoji";
|
||||
@ -9,9 +10,13 @@ import { Invite } from "./models/Invite";
|
||||
import { Member } from "./models/Member";
|
||||
import { Role } from "./models/Role";
|
||||
import { User } from "./models/User";
|
||||
|
||||
//* schema
|
||||
import { EmojiSchema } from "./Schema/Emoji";
|
||||
import { ActivitySchema } from "./Schema/Activity";
|
||||
import { IdentifySchema } from "./Schema/Identify";
|
||||
import { GuildSchema } from "./Schema/Guild";
|
||||
|
||||
import { trimSpecial } from "./util/String";
|
||||
import { BitField } from "./util/BitField";
|
||||
import { Intents } from "./util/Intents";
|
||||
@ -43,4 +48,5 @@ export {
|
||||
EmojiSchema,
|
||||
ActivitySchema,
|
||||
IdentifySchema,
|
||||
GuildSchema,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user