refactor: centralize types (#235)

* Centralize types and structures

* Resolve Conflict

* Update cache.ts
This commit is contained in:
ITOH
2020-12-08 19:23:36 +01:00
committed by GitHub
parent bc73aeb632
commit 7bdbcb76d6
33 changed files with 133 additions and 105 deletions
+9 -6
View File
@@ -1,12 +1,15 @@
import { cacheHandlers } from "../controllers/cache.ts";
import { botID } from "../module/client.ts";
import { RequestManager } from "../module/requestManager.ts";
import { Member } from "../structures/member.ts";
import { structures } from "../structures/mod.ts";
import { ImageFormats, ImageSize } from "../types/cdn.ts";
import { DMChannelCreatePayload, MessageContent } from "../types/channel.ts";
import { Errors } from "../types/errors.ts";
import { EditMemberOptions } from "../types/member.ts";
import { Member, structures } from "../structures/structures.ts";
import {
DMChannelCreatePayload,
EditMemberOptions,
Errors,
ImageFormats,
ImageSize,
MessageContent,
} from "../types/types.ts";
import { formatImageURL } from "../utils/cdn.ts";
import { endpoints } from "../utils/constants.ts";
import {