mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-01 20:09:01 +00:00
Move schemas to separate module
This commit is contained in:
@@ -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,
|
||||
+1
-1
@@ -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,
|
||||
+1
-1
@@ -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[];
|
||||
+1
-1
@@ -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
Reference in New Issue
Block a user