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
+1 -2
View File
@@ -1,6 +1,5 @@
import { cacheHandlers } from "../controllers/cache.ts";
import { ChannelCreatePayload } from "../types/channel.ts";
import { Unpromise } from "../types/misc.ts";
import { ChannelCreatePayload, Unpromise } from "../types/types.ts";
export async function createChannel(
data: ChannelCreatePayload,