Move schemas to separate module

This commit is contained in:
Rory&
2025-10-14 09:34:21 +02:00
parent 58d92080d5
commit 0da7169b00
147 changed files with 78 additions and 52 deletions
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { ConnectedAccountTokenData } from "../interfaces";
import { ConnectedAccountTokenData } from "../util/interfaces";
export interface ConnectedAccountSchema {
external_id: string;
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { Tuple } from "lambert-server";
import { Tuple } from "lambert-server*";
export const PayloadSchema = {
op: Number,
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { ChannelModifySchema } from ".";
import { ChannelModifySchema } from "./index";
export interface GuildCreateSchema {
/**
@@ -25,7 +25,6 @@ const SchemaPath = path.join(
__dirname,
"..",
"..",
"..",
"assets",
"schemas.json",
);
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { Embed } from "../entities";
import { Embed } from "../util/entities";
import {
MessageCreateAttachment,
PollCreationSchema,
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { Attachment } from "../../entities";
import { Attachment } from "../../util/entities";
export enum AccountStandingState {
ALL_GOOD = 100,
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { StringStringDictionary } from "../../util";
import { StringStringDictionary } from "../../util/util";
// TODO: Clean up
export type CollectiblesCategoriesResponse = CollectiblesCategoryItem[];
@@ -16,7 +16,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { Guild } from "../../entities";
import { Guild } from "../../util/entities";
export interface DiscoverableGuildsResponse {
total: number;

Some files were not shown because too many files have changed in this diff Show More