diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f771c1a7..162ce935 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,21 @@
-
+
+
+
+
+
+
+
+
+
+
@@ -30,41 +39,54 @@
- {
+ "keyToString": {
+ "NIXITCH_NIXPKGS_CONFIG": "/etc/nix/nixpkgs-config.nix",
+ "NIXITCH_NIX_CONF_DIR": "",
+ "NIXITCH_NIX_OTHER_STORES": "",
+ "NIXITCH_NIX_PATH": "/home/Rory/.nix-defexpr/channels:nixpkgs=/nix/store/wb6agba4kfsxpbnb5hzlq58vkjzvbsk6-source",
+ "NIXITCH_NIX_PROFILES": "/run/current-system/sw /nix/var/nix/profiles/default /etc/profiles/per-user/Rory /home/Rory/.local/state/nix/profile /nix/profile /home/Rory/.nix-profile",
+ "NIXITCH_NIX_REMOTE": "",
+ "NIXITCH_NIX_USER_PROFILE_DIR": "/nix/var/nix/profiles/per-user/Rory",
+ "Node.js.Server.ts.executor": "Debug",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "javascript.nodejs.core.library.configured.version": "24.8.0",
+ "javascript.nodejs.core.library.typings.version": "24.7.0",
+ "last_opened_file_path": "/home/Rory/git/spacebar/server/src/admin-api/routes/v0",
+ "node.js.detected.package.eslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_interpreter_path": "node",
+ "nodejs_package_manager_path": "npm",
+ "npm.Start API.executor": "Run",
+ "npm.Start CDN.executor": "Run",
+ "npm.Start Gateway.executor": "Run",
+ "npm.build.executor": "Run",
+ "npm.start.executor": "Debug",
+ "prettierjs.PrettierConfiguration.Package": "/home/Rory/git/spacebar/server/node_modules/prettier",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "ts.external.directory.path": "/home/Rory/git/spacebar/server-master/node_modules/typescript/lib"
+ },
+ "keyToStringList": {
+ "GitStage.ChangesTree.GroupingKeys": [
+ "directory",
+ "module",
+ "repository"
+ ]
}
-}]]>
+}
+
+
+
+
+
diff --git a/package.json b/package.json
index c847f552..13a41028 100644
--- a/package.json
+++ b/package.json
@@ -120,6 +120,7 @@
"@spacebar/gateway": "dist/gateway",
"@spacebar/util": "dist/util",
"@spacebar/webrtc": "dist/webrtc",
+ "@spacebar/schemas": "dist/schemas",
"lambert-server": "dist/util/util/lambert-server"
},
"optionalDependencies": {
diff --git a/scripts/schema.js b/scripts/schema.js
index 32af357f..77205831 100644
--- a/scripts/schema.js
+++ b/scripts/schema.js
@@ -94,7 +94,7 @@ const Excluded = [
function main() {
const program = TJS.programFromConfig(
path.join(__dirname, "..", "tsconfig.json"),
- walk(path.join(__dirname, "..", "src", "util", "schemas")),
+ walk(path.join(__dirname, "..", "src", "schemas")),
);
const generator = TJS.buildGenerator(program, settings);
if (!generator || !program) return;
diff --git a/src/util/schemas/AckBulkSchema.ts b/src/schemas/AckBulkSchema.ts
similarity index 100%
rename from src/util/schemas/AckBulkSchema.ts
rename to src/schemas/AckBulkSchema.ts
diff --git a/src/util/schemas/ActivitySchema.ts b/src/schemas/ActivitySchema.ts
similarity index 100%
rename from src/util/schemas/ActivitySchema.ts
rename to src/schemas/ActivitySchema.ts
diff --git a/src/util/schemas/ApplicationAuthorizeSchema.ts b/src/schemas/ApplicationAuthorizeSchema.ts
similarity index 100%
rename from src/util/schemas/ApplicationAuthorizeSchema.ts
rename to src/schemas/ApplicationAuthorizeSchema.ts
diff --git a/src/util/schemas/ApplicationCreateSchema.ts b/src/schemas/ApplicationCreateSchema.ts
similarity index 100%
rename from src/util/schemas/ApplicationCreateSchema.ts
rename to src/schemas/ApplicationCreateSchema.ts
diff --git a/src/util/schemas/ApplicationModifySchema.ts b/src/schemas/ApplicationModifySchema.ts
similarity index 100%
rename from src/util/schemas/ApplicationModifySchema.ts
rename to src/schemas/ApplicationModifySchema.ts
diff --git a/src/util/schemas/AutomodRuleSchema.ts b/src/schemas/AutomodRuleSchema.ts
similarity index 100%
rename from src/util/schemas/AutomodRuleSchema.ts
rename to src/schemas/AutomodRuleSchema.ts
diff --git a/src/util/schemas/BackupCodesChallengeSchema.ts b/src/schemas/BackupCodesChallengeSchema.ts
similarity index 100%
rename from src/util/schemas/BackupCodesChallengeSchema.ts
rename to src/schemas/BackupCodesChallengeSchema.ts
diff --git a/src/util/schemas/BanCreateSchema.ts b/src/schemas/BanCreateSchema.ts
similarity index 100%
rename from src/util/schemas/BanCreateSchema.ts
rename to src/schemas/BanCreateSchema.ts
diff --git a/src/util/schemas/BanModeratorSchema.ts b/src/schemas/BanModeratorSchema.ts
similarity index 100%
rename from src/util/schemas/BanModeratorSchema.ts
rename to src/schemas/BanModeratorSchema.ts
diff --git a/src/util/schemas/BanRegistrySchema.ts b/src/schemas/BanRegistrySchema.ts
similarity index 100%
rename from src/util/schemas/BanRegistrySchema.ts
rename to src/schemas/BanRegistrySchema.ts
diff --git a/src/util/schemas/BotModifySchema.ts b/src/schemas/BotModifySchema.ts
similarity index 100%
rename from src/util/schemas/BotModifySchema.ts
rename to src/schemas/BotModifySchema.ts
diff --git a/src/util/schemas/BulkBanSchema.ts b/src/schemas/BulkBanSchema.ts
similarity index 100%
rename from src/util/schemas/BulkBanSchema.ts
rename to src/schemas/BulkBanSchema.ts
diff --git a/src/util/schemas/BulkDeleteSchema.ts b/src/schemas/BulkDeleteSchema.ts
similarity index 100%
rename from src/util/schemas/BulkDeleteSchema.ts
rename to src/schemas/BulkDeleteSchema.ts
diff --git a/src/util/schemas/ChannelModifySchema.ts b/src/schemas/ChannelModifySchema.ts
similarity index 100%
rename from src/util/schemas/ChannelModifySchema.ts
rename to src/schemas/ChannelModifySchema.ts
diff --git a/src/util/schemas/ChannelPermissionOverwriteSchema.ts b/src/schemas/ChannelPermissionOverwriteSchema.ts
similarity index 100%
rename from src/util/schemas/ChannelPermissionOverwriteSchema.ts
rename to src/schemas/ChannelPermissionOverwriteSchema.ts
diff --git a/src/util/schemas/ChannelReorderSchema.ts b/src/schemas/ChannelReorderSchema.ts
similarity index 100%
rename from src/util/schemas/ChannelReorderSchema.ts
rename to src/schemas/ChannelReorderSchema.ts
diff --git a/src/util/schemas/CodesVerificationSchema.ts b/src/schemas/CodesVerificationSchema.ts
similarity index 100%
rename from src/util/schemas/CodesVerificationSchema.ts
rename to src/schemas/CodesVerificationSchema.ts
diff --git a/src/util/schemas/ConnectedAccountSchema.ts b/src/schemas/ConnectedAccountSchema.ts
similarity index 94%
rename from src/util/schemas/ConnectedAccountSchema.ts
rename to src/schemas/ConnectedAccountSchema.ts
index 5fd05b71..3c3e76ec 100644
--- a/src/util/schemas/ConnectedAccountSchema.ts
+++ b/src/schemas/ConnectedAccountSchema.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { ConnectedAccountTokenData } from "../interfaces";
+import { ConnectedAccountTokenData } from "../util/interfaces";
export interface ConnectedAccountSchema {
external_id: string;
diff --git a/src/util/schemas/ConnectionCallbackSchema.ts b/src/schemas/ConnectionCallbackSchema.ts
similarity index 100%
rename from src/util/schemas/ConnectionCallbackSchema.ts
rename to src/schemas/ConnectionCallbackSchema.ts
diff --git a/src/util/schemas/ConnectionUpdateSchema.ts b/src/schemas/ConnectionUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/ConnectionUpdateSchema.ts
rename to src/schemas/ConnectionUpdateSchema.ts
diff --git a/src/util/schemas/DmChannelCreateSchema.ts b/src/schemas/DmChannelCreateSchema.ts
similarity index 100%
rename from src/util/schemas/DmChannelCreateSchema.ts
rename to src/schemas/DmChannelCreateSchema.ts
diff --git a/src/util/schemas/EmailDomainLookupSchema.ts b/src/schemas/EmailDomainLookupSchema.ts
similarity index 100%
rename from src/util/schemas/EmailDomainLookupSchema.ts
rename to src/schemas/EmailDomainLookupSchema.ts
diff --git a/src/util/schemas/EmailDomainLookupVerifyCodeSchema.ts b/src/schemas/EmailDomainLookupVerifyCodeSchema.ts
similarity index 100%
rename from src/util/schemas/EmailDomainLookupVerifyCodeSchema.ts
rename to src/schemas/EmailDomainLookupVerifyCodeSchema.ts
diff --git a/src/util/schemas/EmojiCreateSchema.ts b/src/schemas/EmojiCreateSchema.ts
similarity index 100%
rename from src/util/schemas/EmojiCreateSchema.ts
rename to src/schemas/EmojiCreateSchema.ts
diff --git a/src/util/schemas/EmojiModifySchema.ts b/src/schemas/EmojiModifySchema.ts
similarity index 100%
rename from src/util/schemas/EmojiModifySchema.ts
rename to src/schemas/EmojiModifySchema.ts
diff --git a/src/util/schemas/ForgotPasswordSchema.ts b/src/schemas/ForgotPasswordSchema.ts
similarity index 100%
rename from src/util/schemas/ForgotPasswordSchema.ts
rename to src/schemas/ForgotPasswordSchema.ts
diff --git a/src/util/schemas/GatewayBotResponse.ts b/src/schemas/GatewayBotResponse.ts
similarity index 100%
rename from src/util/schemas/GatewayBotResponse.ts
rename to src/schemas/GatewayBotResponse.ts
diff --git a/src/util/schemas/GatewayPayloadSchema.ts b/src/schemas/GatewayPayloadSchema.ts
similarity index 95%
rename from src/util/schemas/GatewayPayloadSchema.ts
rename to src/schemas/GatewayPayloadSchema.ts
index 306f2c03..cb01f161 100644
--- a/src/util/schemas/GatewayPayloadSchema.ts
+++ b/src/schemas/GatewayPayloadSchema.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Tuple } from "lambert-server";
+import { Tuple } from "lambert-server*";
export const PayloadSchema = {
op: Number,
diff --git a/src/util/schemas/GatewayResponse.ts b/src/schemas/GatewayResponse.ts
similarity index 100%
rename from src/util/schemas/GatewayResponse.ts
rename to src/schemas/GatewayResponse.ts
diff --git a/src/util/schemas/GreetRequestSchema.ts b/src/schemas/GreetRequestSchema.ts
similarity index 100%
rename from src/util/schemas/GreetRequestSchema.ts
rename to src/schemas/GreetRequestSchema.ts
diff --git a/src/util/schemas/GuildCreateSchema.ts b/src/schemas/GuildCreateSchema.ts
similarity index 95%
rename from src/util/schemas/GuildCreateSchema.ts
rename to src/schemas/GuildCreateSchema.ts
index c293aa8f..278a759c 100644
--- a/src/util/schemas/GuildCreateSchema.ts
+++ b/src/schemas/GuildCreateSchema.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { ChannelModifySchema } from ".";
+import { ChannelModifySchema } from "./index";
export interface GuildCreateSchema {
/**
diff --git a/src/util/schemas/GuildSubscriptionsBulkSchema.ts b/src/schemas/GuildSubscriptionsBulkSchema.ts
similarity index 100%
rename from src/util/schemas/GuildSubscriptionsBulkSchema.ts
rename to src/schemas/GuildSubscriptionsBulkSchema.ts
diff --git a/src/util/schemas/GuildTemplateCreateSchema.ts b/src/schemas/GuildTemplateCreateSchema.ts
similarity index 100%
rename from src/util/schemas/GuildTemplateCreateSchema.ts
rename to src/schemas/GuildTemplateCreateSchema.ts
diff --git a/src/util/schemas/GuildUpdateSchema.ts b/src/schemas/GuildUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/GuildUpdateSchema.ts
rename to src/schemas/GuildUpdateSchema.ts
diff --git a/src/util/schemas/GuildUpdateWelcomeScreenSchema.ts b/src/schemas/GuildUpdateWelcomeScreenSchema.ts
similarity index 100%
rename from src/util/schemas/GuildUpdateWelcomeScreenSchema.ts
rename to src/schemas/GuildUpdateWelcomeScreenSchema.ts
diff --git a/src/util/schemas/HubWaitlistSignupSchema.ts b/src/schemas/HubWaitlistSignupSchema.ts
similarity index 100%
rename from src/util/schemas/HubWaitlistSignupSchema.ts
rename to src/schemas/HubWaitlistSignupSchema.ts
diff --git a/src/util/schemas/IdentifySchema.ts b/src/schemas/IdentifySchema.ts
similarity index 100%
rename from src/util/schemas/IdentifySchema.ts
rename to src/schemas/IdentifySchema.ts
diff --git a/src/util/schemas/InviteCreateSchema.ts b/src/schemas/InviteCreateSchema.ts
similarity index 100%
rename from src/util/schemas/InviteCreateSchema.ts
rename to src/schemas/InviteCreateSchema.ts
diff --git a/src/util/schemas/LazyRequestSchema.ts b/src/schemas/LazyRequestSchema.ts
similarity index 100%
rename from src/util/schemas/LazyRequestSchema.ts
rename to src/schemas/LazyRequestSchema.ts
diff --git a/src/util/schemas/LoginResponse.ts b/src/schemas/LoginResponse.ts
similarity index 100%
rename from src/util/schemas/LoginResponse.ts
rename to src/schemas/LoginResponse.ts
diff --git a/src/util/schemas/LoginSchema.ts b/src/schemas/LoginSchema.ts
similarity index 100%
rename from src/util/schemas/LoginSchema.ts
rename to src/schemas/LoginSchema.ts
diff --git a/src/util/schemas/MemberChangeProfileSchema.ts b/src/schemas/MemberChangeProfileSchema.ts
similarity index 100%
rename from src/util/schemas/MemberChangeProfileSchema.ts
rename to src/schemas/MemberChangeProfileSchema.ts
diff --git a/src/util/schemas/MemberChangeSchema.ts b/src/schemas/MemberChangeSchema.ts
similarity index 100%
rename from src/util/schemas/MemberChangeSchema.ts
rename to src/schemas/MemberChangeSchema.ts
diff --git a/src/util/schemas/MemberNickChangeSchema.ts b/src/schemas/MemberNickChangeSchema.ts
similarity index 100%
rename from src/util/schemas/MemberNickChangeSchema.ts
rename to src/schemas/MemberNickChangeSchema.ts
diff --git a/src/util/schemas/MessageAcknowledgeSchema.ts b/src/schemas/MessageAcknowledgeSchema.ts
similarity index 100%
rename from src/util/schemas/MessageAcknowledgeSchema.ts
rename to src/schemas/MessageAcknowledgeSchema.ts
diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/schemas/MessageCreateSchema.ts
similarity index 100%
rename from src/util/schemas/MessageCreateSchema.ts
rename to src/schemas/MessageCreateSchema.ts
diff --git a/src/util/schemas/MessageEditSchema.ts b/src/schemas/MessageEditSchema.ts
similarity index 100%
rename from src/util/schemas/MessageEditSchema.ts
rename to src/schemas/MessageEditSchema.ts
diff --git a/src/util/schemas/MfaCodesSchema.ts b/src/schemas/MfaCodesSchema.ts
similarity index 100%
rename from src/util/schemas/MfaCodesSchema.ts
rename to src/schemas/MfaCodesSchema.ts
diff --git a/src/util/schemas/ModifyGuildStickerSchema.ts b/src/schemas/ModifyGuildStickerSchema.ts
similarity index 100%
rename from src/util/schemas/ModifyGuildStickerSchema.ts
rename to src/schemas/ModifyGuildStickerSchema.ts
diff --git a/src/util/schemas/PasswordResetSchema.ts b/src/schemas/PasswordResetSchema.ts
similarity index 100%
rename from src/util/schemas/PasswordResetSchema.ts
rename to src/schemas/PasswordResetSchema.ts
diff --git a/src/util/schemas/PreloadMessagesRequestSchema.ts b/src/schemas/PreloadMessagesRequestSchema.ts
similarity index 100%
rename from src/util/schemas/PreloadMessagesRequestSchema.ts
rename to src/schemas/PreloadMessagesRequestSchema.ts
diff --git a/src/util/schemas/PruneSchema.ts b/src/schemas/PruneSchema.ts
similarity index 100%
rename from src/util/schemas/PruneSchema.ts
rename to src/schemas/PruneSchema.ts
diff --git a/src/util/schemas/PurgeSchema.ts b/src/schemas/PurgeSchema.ts
similarity index 100%
rename from src/util/schemas/PurgeSchema.ts
rename to src/schemas/PurgeSchema.ts
diff --git a/src/util/schemas/RefreshUrlsRequestSchema.ts b/src/schemas/RefreshUrlsRequestSchema.ts
similarity index 100%
rename from src/util/schemas/RefreshUrlsRequestSchema.ts
rename to src/schemas/RefreshUrlsRequestSchema.ts
diff --git a/src/util/schemas/RegisterSchema.ts b/src/schemas/RegisterSchema.ts
similarity index 100%
rename from src/util/schemas/RegisterSchema.ts
rename to src/schemas/RegisterSchema.ts
diff --git a/src/util/schemas/RelationshipPostSchema.ts b/src/schemas/RelationshipPostSchema.ts
similarity index 100%
rename from src/util/schemas/RelationshipPostSchema.ts
rename to src/schemas/RelationshipPostSchema.ts
diff --git a/src/util/schemas/RelationshipPutSchema.ts b/src/schemas/RelationshipPutSchema.ts
similarity index 100%
rename from src/util/schemas/RelationshipPutSchema.ts
rename to src/schemas/RelationshipPutSchema.ts
diff --git a/src/util/schemas/RequestGuildMembersSchema.ts b/src/schemas/RequestGuildMembersSchema.ts
similarity index 100%
rename from src/util/schemas/RequestGuildMembersSchema.ts
rename to src/schemas/RequestGuildMembersSchema.ts
diff --git a/src/util/schemas/RoleModifySchema.ts b/src/schemas/RoleModifySchema.ts
similarity index 100%
rename from src/util/schemas/RoleModifySchema.ts
rename to src/schemas/RoleModifySchema.ts
diff --git a/src/util/schemas/RolePositionUpdateSchema.ts b/src/schemas/RolePositionUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/RolePositionUpdateSchema.ts
rename to src/schemas/RolePositionUpdateSchema.ts
diff --git a/src/util/schemas/SelectProtocolSchema.ts b/src/schemas/SelectProtocolSchema.ts
similarity index 100%
rename from src/util/schemas/SelectProtocolSchema.ts
rename to src/schemas/SelectProtocolSchema.ts
diff --git a/src/util/schemas/SettingsProtoUpdateSchema.ts b/src/schemas/SettingsProtoUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/SettingsProtoUpdateSchema.ts
rename to src/schemas/SettingsProtoUpdateSchema.ts
diff --git a/src/util/schemas/StreamCreateSchema.ts b/src/schemas/StreamCreateSchema.ts
similarity index 100%
rename from src/util/schemas/StreamCreateSchema.ts
rename to src/schemas/StreamCreateSchema.ts
diff --git a/src/util/schemas/StreamDeleteSchema.ts b/src/schemas/StreamDeleteSchema.ts
similarity index 100%
rename from src/util/schemas/StreamDeleteSchema.ts
rename to src/schemas/StreamDeleteSchema.ts
diff --git a/src/util/schemas/StreamWatchSchema.ts b/src/schemas/StreamWatchSchema.ts
similarity index 100%
rename from src/util/schemas/StreamWatchSchema.ts
rename to src/schemas/StreamWatchSchema.ts
diff --git a/src/util/schemas/TeamCreateSchema.ts b/src/schemas/TeamCreateSchema.ts
similarity index 100%
rename from src/util/schemas/TeamCreateSchema.ts
rename to src/schemas/TeamCreateSchema.ts
diff --git a/src/util/schemas/TemplateCreateSchema.ts b/src/schemas/TemplateCreateSchema.ts
similarity index 100%
rename from src/util/schemas/TemplateCreateSchema.ts
rename to src/schemas/TemplateCreateSchema.ts
diff --git a/src/util/schemas/TemplateModifySchema.ts b/src/schemas/TemplateModifySchema.ts
similarity index 100%
rename from src/util/schemas/TemplateModifySchema.ts
rename to src/schemas/TemplateModifySchema.ts
diff --git a/src/util/schemas/TotpDisableSchema.ts b/src/schemas/TotpDisableSchema.ts
similarity index 100%
rename from src/util/schemas/TotpDisableSchema.ts
rename to src/schemas/TotpDisableSchema.ts
diff --git a/src/util/schemas/TotpEnableSchema.ts b/src/schemas/TotpEnableSchema.ts
similarity index 100%
rename from src/util/schemas/TotpEnableSchema.ts
rename to src/schemas/TotpEnableSchema.ts
diff --git a/src/util/schemas/TotpSchema.ts b/src/schemas/TotpSchema.ts
similarity index 100%
rename from src/util/schemas/TotpSchema.ts
rename to src/schemas/TotpSchema.ts
diff --git a/src/util/schemas/UploadAttachmentRequestSchema.ts b/src/schemas/UploadAttachmentRequestSchema.ts
similarity index 100%
rename from src/util/schemas/UploadAttachmentRequestSchema.ts
rename to src/schemas/UploadAttachmentRequestSchema.ts
diff --git a/src/util/schemas/UserDeleteSchema.ts b/src/schemas/UserDeleteSchema.ts
similarity index 100%
rename from src/util/schemas/UserDeleteSchema.ts
rename to src/schemas/UserDeleteSchema.ts
diff --git a/src/util/schemas/UserGuildSettingsSchema.ts b/src/schemas/UserGuildSettingsSchema.ts
similarity index 100%
rename from src/util/schemas/UserGuildSettingsSchema.ts
rename to src/schemas/UserGuildSettingsSchema.ts
diff --git a/src/util/schemas/UserModifySchema.ts b/src/schemas/UserModifySchema.ts
similarity index 100%
rename from src/util/schemas/UserModifySchema.ts
rename to src/schemas/UserModifySchema.ts
diff --git a/src/util/schemas/UserNoteUpdateSchema.ts b/src/schemas/UserNoteUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/UserNoteUpdateSchema.ts
rename to src/schemas/UserNoteUpdateSchema.ts
diff --git a/src/util/schemas/UserProfileModifySchema.ts b/src/schemas/UserProfileModifySchema.ts
similarity index 100%
rename from src/util/schemas/UserProfileModifySchema.ts
rename to src/schemas/UserProfileModifySchema.ts
diff --git a/src/util/schemas/UserSettingsSchema.ts b/src/schemas/UserSettingsSchema.ts
similarity index 100%
rename from src/util/schemas/UserSettingsSchema.ts
rename to src/schemas/UserSettingsSchema.ts
diff --git a/src/util/schemas/Validator.ts b/src/schemas/Validator.ts
similarity index 99%
rename from src/util/schemas/Validator.ts
rename to src/schemas/Validator.ts
index 1d9daf2c..04608603 100644
--- a/src/util/schemas/Validator.ts
+++ b/src/schemas/Validator.ts
@@ -25,7 +25,6 @@ const SchemaPath = path.join(
__dirname,
"..",
"..",
- "..",
"assets",
"schemas.json",
);
diff --git a/src/util/schemas/VanityUrlSchema.ts b/src/schemas/VanityUrlSchema.ts
similarity index 100%
rename from src/util/schemas/VanityUrlSchema.ts
rename to src/schemas/VanityUrlSchema.ts
diff --git a/src/util/schemas/VerifyEmailSchema.ts b/src/schemas/VerifyEmailSchema.ts
similarity index 100%
rename from src/util/schemas/VerifyEmailSchema.ts
rename to src/schemas/VerifyEmailSchema.ts
diff --git a/src/util/schemas/VoiceIdentifySchema.ts b/src/schemas/VoiceIdentifySchema.ts
similarity index 100%
rename from src/util/schemas/VoiceIdentifySchema.ts
rename to src/schemas/VoiceIdentifySchema.ts
diff --git a/src/util/schemas/VoiceStateUpdateSchema.ts b/src/schemas/VoiceStateUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/VoiceStateUpdateSchema.ts
rename to src/schemas/VoiceStateUpdateSchema.ts
diff --git a/src/util/schemas/VoiceVideoSchema.ts b/src/schemas/VoiceVideoSchema.ts
similarity index 100%
rename from src/util/schemas/VoiceVideoSchema.ts
rename to src/schemas/VoiceVideoSchema.ts
diff --git a/src/util/schemas/WebAuthnSchema.ts b/src/schemas/WebAuthnSchema.ts
similarity index 100%
rename from src/util/schemas/WebAuthnSchema.ts
rename to src/schemas/WebAuthnSchema.ts
diff --git a/src/util/schemas/WebhookCreateSchema.ts b/src/schemas/WebhookCreateSchema.ts
similarity index 100%
rename from src/util/schemas/WebhookCreateSchema.ts
rename to src/schemas/WebhookCreateSchema.ts
diff --git a/src/util/schemas/WebhookExecuteSchema.ts b/src/schemas/WebhookExecuteSchema.ts
similarity index 97%
rename from src/util/schemas/WebhookExecuteSchema.ts
rename to src/schemas/WebhookExecuteSchema.ts
index c2617d12..b50a4cf6 100644
--- a/src/util/schemas/WebhookExecuteSchema.ts
+++ b/src/schemas/WebhookExecuteSchema.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Embed } from "../entities";
+import { Embed } from "../util/entities";
import {
MessageCreateAttachment,
PollCreationSchema,
diff --git a/src/util/schemas/WebhookUpdateSchema.ts b/src/schemas/WebhookUpdateSchema.ts
similarity index 100%
rename from src/util/schemas/WebhookUpdateSchema.ts
rename to src/schemas/WebhookUpdateSchema.ts
diff --git a/src/util/schemas/WidgetModifySchema.ts b/src/schemas/WidgetModifySchema.ts
similarity index 100%
rename from src/util/schemas/WidgetModifySchema.ts
rename to src/schemas/WidgetModifySchema.ts
diff --git a/src/util/schemas/index.ts b/src/schemas/index.ts
similarity index 100%
rename from src/util/schemas/index.ts
rename to src/schemas/index.ts
diff --git a/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts b/src/schemas/responses/APIErrorOrCaptchaResponse.ts
similarity index 100%
rename from src/util/schemas/responses/APIErrorOrCaptchaResponse.ts
rename to src/schemas/responses/APIErrorOrCaptchaResponse.ts
diff --git a/src/util/schemas/responses/APIErrorResponse.ts b/src/schemas/responses/APIErrorResponse.ts
similarity index 100%
rename from src/util/schemas/responses/APIErrorResponse.ts
rename to src/schemas/responses/APIErrorResponse.ts
diff --git a/src/util/schemas/responses/AccountStandingResponse.ts b/src/schemas/responses/AccountStandingResponse.ts
similarity index 98%
rename from src/util/schemas/responses/AccountStandingResponse.ts
rename to src/schemas/responses/AccountStandingResponse.ts
index 9315a32a..b2992c74 100644
--- a/src/util/schemas/responses/AccountStandingResponse.ts
+++ b/src/schemas/responses/AccountStandingResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Attachment } from "../../entities";
+import { Attachment } from "../../util/entities";
export enum AccountStandingState {
ALL_GOOD = 100,
diff --git a/src/util/schemas/responses/BackupCodesChallengeResponse.ts b/src/schemas/responses/BackupCodesChallengeResponse.ts
similarity index 100%
rename from src/util/schemas/responses/BackupCodesChallengeResponse.ts
rename to src/schemas/responses/BackupCodesChallengeResponse.ts
diff --git a/src/util/schemas/responses/CaptchaRequiredResponse.ts b/src/schemas/responses/CaptchaRequiredResponse.ts
similarity index 100%
rename from src/util/schemas/responses/CaptchaRequiredResponse.ts
rename to src/schemas/responses/CaptchaRequiredResponse.ts
diff --git a/src/util/schemas/responses/CollectiblesCategoriesResponse.ts b/src/schemas/responses/CollectiblesCategoriesResponse.ts
similarity index 98%
rename from src/util/schemas/responses/CollectiblesCategoriesResponse.ts
rename to src/schemas/responses/CollectiblesCategoriesResponse.ts
index 57dbf47a..8a26d897 100644
--- a/src/util/schemas/responses/CollectiblesCategoriesResponse.ts
+++ b/src/schemas/responses/CollectiblesCategoriesResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { StringStringDictionary } from "../../util";
+import { StringStringDictionary } from "../../util/util";
// TODO: Clean up
export type CollectiblesCategoriesResponse = CollectiblesCategoryItem[];
diff --git a/src/util/schemas/responses/CollectiblesMarketingResponse.ts b/src/schemas/responses/CollectiblesMarketingResponse.ts
similarity index 100%
rename from src/util/schemas/responses/CollectiblesMarketingResponse.ts
rename to src/schemas/responses/CollectiblesMarketingResponse.ts
diff --git a/src/util/schemas/responses/CollectiblesShopResponse.ts b/src/schemas/responses/CollectiblesShopResponse.ts
similarity index 100%
rename from src/util/schemas/responses/CollectiblesShopResponse.ts
rename to src/schemas/responses/CollectiblesShopResponse.ts
diff --git a/src/util/schemas/responses/DiscoverableGuildsResponse.ts b/src/schemas/responses/DiscoverableGuildsResponse.ts
similarity index 95%
rename from src/util/schemas/responses/DiscoverableGuildsResponse.ts
rename to src/schemas/responses/DiscoverableGuildsResponse.ts
index dc475902..9785c04c 100644
--- a/src/util/schemas/responses/DiscoverableGuildsResponse.ts
+++ b/src/schemas/responses/DiscoverableGuildsResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Guild } from "../../entities";
+import { Guild } from "../../util/entities";
export interface DiscoverableGuildsResponse {
total: number;
diff --git a/src/util/schemas/responses/DmMessagesResponseSchema.ts b/src/schemas/responses/DmMessagesResponseSchema.ts
similarity index 100%
rename from src/util/schemas/responses/DmMessagesResponseSchema.ts
rename to src/schemas/responses/DmMessagesResponseSchema.ts
diff --git a/src/util/schemas/responses/EmailDomainLookupResponse.ts b/src/schemas/responses/EmailDomainLookupResponse.ts
similarity index 100%
rename from src/util/schemas/responses/EmailDomainLookupResponse.ts
rename to src/schemas/responses/EmailDomainLookupResponse.ts
diff --git a/src/util/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts b/src/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts
similarity index 95%
rename from src/util/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts
rename to src/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts
index 1fcfba34..3e29c70d 100644
--- a/src/util/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts
+++ b/src/schemas/responses/EmailDomainLookupVerifyCodeResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Guild } from "../../entities";
+import { Guild } from "../../util/entities";
export interface EmailDomainLookupVerifyCodeResponse {
guild: Guild;
diff --git a/src/util/schemas/responses/EmojiSourceResponse.ts b/src/schemas/responses/EmojiSourceResponse.ts
similarity index 100%
rename from src/util/schemas/responses/EmojiSourceResponse.ts
rename to src/schemas/responses/EmojiSourceResponse.ts
diff --git a/src/util/schemas/responses/GatewayBotResponse.ts b/src/schemas/responses/GatewayBotResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GatewayBotResponse.ts
rename to src/schemas/responses/GatewayBotResponse.ts
diff --git a/src/util/schemas/responses/GatewayResponse.ts b/src/schemas/responses/GatewayResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GatewayResponse.ts
rename to src/schemas/responses/GatewayResponse.ts
diff --git a/src/util/schemas/responses/GenerateRegistrationTokensResponse.ts b/src/schemas/responses/GenerateRegistrationTokensResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GenerateRegistrationTokensResponse.ts
rename to src/schemas/responses/GenerateRegistrationTokensResponse.ts
diff --git a/src/util/schemas/responses/GuildBansResponse.ts b/src/schemas/responses/GuildBansResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildBansResponse.ts
rename to src/schemas/responses/GuildBansResponse.ts
diff --git a/src/util/schemas/responses/GuildCreateResponse.ts b/src/schemas/responses/GuildCreateResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildCreateResponse.ts
rename to src/schemas/responses/GuildCreateResponse.ts
diff --git a/src/util/schemas/responses/GuildDiscoveryRequirements.ts b/src/schemas/responses/GuildDiscoveryRequirements.ts
similarity index 100%
rename from src/util/schemas/responses/GuildDiscoveryRequirements.ts
rename to src/schemas/responses/GuildDiscoveryRequirements.ts
diff --git a/src/util/schemas/responses/GuildMessagesSearchResponse.ts b/src/schemas/responses/GuildMessagesSearchResponse.ts
similarity index 97%
rename from src/util/schemas/responses/GuildMessagesSearchResponse.ts
rename to src/schemas/responses/GuildMessagesSearchResponse.ts
index ec41965b..376b684e 100644
--- a/src/util/schemas/responses/GuildMessagesSearchResponse.ts
+++ b/src/schemas/responses/GuildMessagesSearchResponse.ts
@@ -24,7 +24,7 @@ import {
Poll,
PublicUser,
Role,
-} from "../../entities";
+} from "../../util/entities";
export interface GuildMessagesSearchMessage {
id: string;
diff --git a/src/util/schemas/responses/GuildProfileResponse.ts b/src/schemas/responses/GuildProfileResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildProfileResponse.ts
rename to src/schemas/responses/GuildProfileResponse.ts
diff --git a/src/util/schemas/responses/GuildPruneResponse.ts b/src/schemas/responses/GuildPruneResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildPruneResponse.ts
rename to src/schemas/responses/GuildPruneResponse.ts
diff --git a/src/util/schemas/responses/GuildRecommendationsResponse.ts b/src/schemas/responses/GuildRecommendationsResponse.ts
similarity index 95%
rename from src/util/schemas/responses/GuildRecommendationsResponse.ts
rename to src/schemas/responses/GuildRecommendationsResponse.ts
index db67ff67..2f7bb776 100644
--- a/src/util/schemas/responses/GuildRecommendationsResponse.ts
+++ b/src/schemas/responses/GuildRecommendationsResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Guild } from "../../entities";
+import { Guild } from "../../util/entities";
export interface GuildRecommendationsResponse {
recommended_guilds: Guild[];
diff --git a/src/util/schemas/responses/GuildVanityUrl.ts b/src/schemas/responses/GuildVanityUrl.ts
similarity index 100%
rename from src/util/schemas/responses/GuildVanityUrl.ts
rename to src/schemas/responses/GuildVanityUrl.ts
diff --git a/src/util/schemas/responses/GuildVoiceRegionsResponse.ts b/src/schemas/responses/GuildVoiceRegionsResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildVoiceRegionsResponse.ts
rename to src/schemas/responses/GuildVoiceRegionsResponse.ts
diff --git a/src/util/schemas/responses/GuildWidgetJsonResponse.ts b/src/schemas/responses/GuildWidgetJsonResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildWidgetJsonResponse.ts
rename to src/schemas/responses/GuildWidgetJsonResponse.ts
diff --git a/src/util/schemas/responses/GuildWidgetSettingsResponse.ts b/src/schemas/responses/GuildWidgetSettingsResponse.ts
similarity index 100%
rename from src/util/schemas/responses/GuildWidgetSettingsResponse.ts
rename to src/schemas/responses/GuildWidgetSettingsResponse.ts
diff --git a/src/util/schemas/responses/HubDirectoryEntriesResponse.ts b/src/schemas/responses/HubDirectoryEntriesResponse.ts
similarity index 96%
rename from src/util/schemas/responses/HubDirectoryEntriesResponse.ts
rename to src/schemas/responses/HubDirectoryEntriesResponse.ts
index 9aaadfed..9efa90c7 100644
--- a/src/util/schemas/responses/HubDirectoryEntriesResponse.ts
+++ b/src/schemas/responses/HubDirectoryEntriesResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { Guild } from "../../entities";
+import { Guild } from "../../util/entities";
export interface HubDirectoryEntry {
author_id: string;
diff --git a/src/util/schemas/responses/HubWaitlistSignupResponse.ts b/src/schemas/responses/HubWaitlistSignupResponse.ts
similarity index 100%
rename from src/util/schemas/responses/HubWaitlistSignupResponse.ts
rename to src/schemas/responses/HubWaitlistSignupResponse.ts
diff --git a/src/util/schemas/responses/InstanceDomainsResponse.ts b/src/schemas/responses/InstanceDomainsResponse.ts
similarity index 100%
rename from src/util/schemas/responses/InstanceDomainsResponse.ts
rename to src/schemas/responses/InstanceDomainsResponse.ts
diff --git a/src/util/schemas/responses/InstancePingResponse.ts b/src/schemas/responses/InstancePingResponse.ts
similarity index 100%
rename from src/util/schemas/responses/InstancePingResponse.ts
rename to src/schemas/responses/InstancePingResponse.ts
diff --git a/src/util/schemas/responses/InstanceStatsResponse.ts b/src/schemas/responses/InstanceStatsResponse.ts
similarity index 100%
rename from src/util/schemas/responses/InstanceStatsResponse.ts
rename to src/schemas/responses/InstanceStatsResponse.ts
diff --git a/src/util/schemas/responses/LocationMetadataResponse.ts b/src/schemas/responses/LocationMetadataResponse.ts
similarity index 100%
rename from src/util/schemas/responses/LocationMetadataResponse.ts
rename to src/schemas/responses/LocationMetadataResponse.ts
diff --git a/src/util/schemas/responses/MemberJoinGuildResponse.ts b/src/schemas/responses/MemberJoinGuildResponse.ts
similarity index 94%
rename from src/util/schemas/responses/MemberJoinGuildResponse.ts
rename to src/schemas/responses/MemberJoinGuildResponse.ts
index 67d2de01..40002e11 100644
--- a/src/util/schemas/responses/MemberJoinGuildResponse.ts
+++ b/src/schemas/responses/MemberJoinGuildResponse.ts
@@ -17,7 +17,7 @@
*/
import { GuildCreateResponse } from "@spacebar/util";
-import { Emoji, Role, Sticker } from "../../entities";
+import { Emoji, Role, Sticker } from "../../util/entities";
export interface MemberJoinGuildResponse {
guild: GuildCreateResponse;
diff --git a/src/util/schemas/responses/OAuthAuthorizeResponse.ts b/src/schemas/responses/OAuthAuthorizeResponse.ts
similarity index 100%
rename from src/util/schemas/responses/OAuthAuthorizeResponse.ts
rename to src/schemas/responses/OAuthAuthorizeResponse.ts
diff --git a/src/util/schemas/responses/PreloadMessagesResponseSchema.ts b/src/schemas/responses/PreloadMessagesResponseSchema.ts
similarity index 100%
rename from src/util/schemas/responses/PreloadMessagesResponseSchema.ts
rename to src/schemas/responses/PreloadMessagesResponseSchema.ts
diff --git a/src/util/schemas/responses/RefreshUrlsResponse.ts b/src/schemas/responses/RefreshUrlsResponse.ts
similarity index 100%
rename from src/util/schemas/responses/RefreshUrlsResponse.ts
rename to src/schemas/responses/RefreshUrlsResponse.ts
diff --git a/src/util/schemas/responses/SettingsProtoUpdateResponse.ts b/src/schemas/responses/SettingsProtoUpdateResponse.ts
similarity index 100%
rename from src/util/schemas/responses/SettingsProtoUpdateResponse.ts
rename to src/schemas/responses/SettingsProtoUpdateResponse.ts
diff --git a/src/util/schemas/responses/TeamListResponse.ts b/src/schemas/responses/TeamListResponse.ts
similarity index 100%
rename from src/util/schemas/responses/TeamListResponse.ts
rename to src/schemas/responses/TeamListResponse.ts
diff --git a/src/util/schemas/responses/Tenor.ts b/src/schemas/responses/Tenor.ts
similarity index 100%
rename from src/util/schemas/responses/Tenor.ts
rename to src/schemas/responses/Tenor.ts
diff --git a/src/util/schemas/responses/TokenResponse.ts b/src/schemas/responses/TokenResponse.ts
similarity index 94%
rename from src/util/schemas/responses/TokenResponse.ts
rename to src/schemas/responses/TokenResponse.ts
index bc136051..c0f1346c 100644
--- a/src/util/schemas/responses/TokenResponse.ts
+++ b/src/schemas/responses/TokenResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { BackupCode, UserSettings } from "../../entities";
+import { BackupCode, UserSettings } from "../../util/entities";
export interface TokenResponse {
token: string;
diff --git a/src/util/schemas/responses/TypedResponses.ts b/src/schemas/responses/TypedResponses.ts
similarity index 96%
rename from src/util/schemas/responses/TypedResponses.ts
rename to src/schemas/responses/TypedResponses.ts
index bc204502..86d0849e 100644
--- a/src/util/schemas/responses/TypedResponses.ts
+++ b/src/schemas/responses/TypedResponses.ts
@@ -17,8 +17,8 @@
*/
import { GuildBansResponse, GuildCreateResponse } from "@spacebar/util";
-import { GeneralConfiguration, LimitsConfiguration } from "../../config";
-import { DmChannelDTO } from "../../dtos";
+import { GeneralConfiguration, LimitsConfiguration } from "../../util/config";
+import { DmChannelDTO } from "../../util/dtos";
import {
Application,
BackupCode,
@@ -37,7 +37,7 @@ import {
StickerPack,
Template,
Webhook,
-} from "../../entities";
+} from "../../util/entities";
import { GuildVoiceRegion } from "./GuildVoiceRegionsResponse";
// removes internal properties from the guild class
diff --git a/src/util/schemas/responses/UpdatesResponse.ts b/src/schemas/responses/UpdatesResponse.ts
similarity index 100%
rename from src/util/schemas/responses/UpdatesResponse.ts
rename to src/schemas/responses/UpdatesResponse.ts
diff --git a/src/util/schemas/responses/UploadAttachmentResponseSchema.ts b/src/schemas/responses/UploadAttachmentResponseSchema.ts
similarity index 100%
rename from src/util/schemas/responses/UploadAttachmentResponseSchema.ts
rename to src/schemas/responses/UploadAttachmentResponseSchema.ts
diff --git a/src/util/schemas/responses/UserNoteResponse.ts b/src/schemas/responses/UserNoteResponse.ts
similarity index 100%
rename from src/util/schemas/responses/UserNoteResponse.ts
rename to src/schemas/responses/UserNoteResponse.ts
diff --git a/src/util/schemas/responses/UserProfileResponse.ts b/src/schemas/responses/UserProfileResponse.ts
similarity index 100%
rename from src/util/schemas/responses/UserProfileResponse.ts
rename to src/schemas/responses/UserProfileResponse.ts
diff --git a/src/util/schemas/responses/UserRelationsResponse.ts b/src/schemas/responses/UserRelationsResponse.ts
similarity index 100%
rename from src/util/schemas/responses/UserRelationsResponse.ts
rename to src/schemas/responses/UserRelationsResponse.ts
diff --git a/src/util/schemas/responses/UserRelationshipsResponse.ts b/src/schemas/responses/UserRelationshipsResponse.ts
similarity index 93%
rename from src/util/schemas/responses/UserRelationshipsResponse.ts
rename to src/schemas/responses/UserRelationshipsResponse.ts
index 115c45ae..1a3341f1 100644
--- a/src/util/schemas/responses/UserRelationshipsResponse.ts
+++ b/src/schemas/responses/UserRelationshipsResponse.ts
@@ -15,7 +15,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
-import { PublicUser, RelationshipType } from "../../entities";
+import { PublicUser, RelationshipType } from "../../util/entities";
export interface UserRelationshipsResponse {
id: string;
diff --git a/src/util/schemas/responses/WebAuthnCreateResponse.ts b/src/schemas/responses/WebAuthnCreateResponse.ts
similarity index 100%
rename from src/util/schemas/responses/WebAuthnCreateResponse.ts
rename to src/schemas/responses/WebAuthnCreateResponse.ts
diff --git a/src/util/schemas/responses/WebhookCreateResponse.ts b/src/schemas/responses/WebhookCreateResponse.ts
similarity index 94%
rename from src/util/schemas/responses/WebhookCreateResponse.ts
rename to src/schemas/responses/WebhookCreateResponse.ts
index 7226e617..6f1cd241 100644
--- a/src/util/schemas/responses/WebhookCreateResponse.ts
+++ b/src/schemas/responses/WebhookCreateResponse.ts
@@ -16,7 +16,7 @@
along with this program. If not, see .
*/
-import { User, Webhook } from "../../entities";
+import { User, Webhook } from "../../util/entities";
export interface WebhookCreateResponse {
user: User;
diff --git a/src/util/schemas/responses/index.ts b/src/schemas/responses/index.ts
similarity index 100%
rename from src/util/schemas/responses/index.ts
rename to src/schemas/responses/index.ts
diff --git a/src/util/connections/Connection.ts b/src/util/connections/Connection.ts
index 638dde2c..32ef6351 100644
--- a/src/util/connections/Connection.ts
+++ b/src/util/connections/Connection.ts
@@ -18,7 +18,7 @@
import crypto from "crypto";
import { ConnectedAccount } from "../entities";
-import { ConnectedAccountSchema, ConnectionCallbackSchema } from "../schemas";
+import { ConnectedAccountSchema, ConnectionCallbackSchema } from "@spacebar/schemas*";
import { Config, DiscordApiErrors } from "../util";
/**
diff --git a/src/util/index.ts b/src/util/index.ts
index 9a84d1af..f2b526e0 100644
--- a/src/util/index.ts
+++ b/src/util/index.ts
@@ -24,7 +24,7 @@ export * from "./util/index";
export * from "./interfaces/index";
export * from "./entities/index";
export * from "./dtos/index";
-export * from "./schemas";
+export * from "@spacebar/schemas*";
export * from "./imports";
export * from "./config";
export * from "./connections";
diff --git a/tsconfig.json b/tsconfig.json
index f3501339..c72ac351 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -39,6 +39,7 @@
"@spacebar/cdn*": ["./src/cdn"],
"@spacebar/util*": ["./src/util"],
"@spacebar/webrtc*": ["./src/webrtc"],
+ "@spacebar/schemas*": ["./src/schemas"],
"lambert-server*": ["./src/util/util/lambert-server"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */,
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */