channels
6 files changed, 22 insertions, 0 deletions
diff --git a/src/util/schemas/responses/ChannelInvitesResponse.ts b/src/util/schemas/responses/ChannelInvitesResponse.ts
new file mode 100644
index 00000000..c50d033c
--- /dev/null
+++ b/src/util/schemas/responses/ChannelInvitesResponse.ts
@@ -0,0 +1,3 @@
+import { Invite } from "../../entities";
+
+export type ChannelInvitesResponse = Invite[];
diff --git a/src/util/schemas/responses/ChannelMessagesResponse.ts b/src/util/schemas/responses/ChannelMessagesResponse.ts
new file mode 100644
index 00000000..65b7dab5
--- /dev/null
+++ b/src/util/schemas/responses/ChannelMessagesResponse.ts
@@ -0,0 +1,3 @@
+import { Message } from "../../entities";
+
+export type ChannelMessagesResponse = Message[];
diff --git a/src/util/schemas/responses/ChannelPinsResponse.ts b/src/util/schemas/responses/ChannelPinsResponse.ts
new file mode 100644
index 00000000..7a1b8d43
--- /dev/null
+++ b/src/util/schemas/responses/ChannelPinsResponse.ts
@@ -0,0 +1,3 @@
+import { Message } from "../../entities";
+
+export type ChannelPinsResponse = Message[];
diff --git a/src/util/schemas/responses/ChannelWebhooksResponse.ts b/src/util/schemas/responses/ChannelWebhooksResponse.ts
new file mode 100644
index 00000000..84f49dce
--- /dev/null
+++ b/src/util/schemas/responses/ChannelWebhooksResponse.ts
@@ -0,0 +1,3 @@
+import { Webhook } from "../../entities";
+
+export type ChannelWebhooksResponse = Webhook[];
diff --git a/src/util/schemas/responses/WebhookCreateResponse.ts b/src/util/schemas/responses/WebhookCreateResponse.ts
new file mode 100644
index 00000000..ae142632
--- /dev/null
+++ b/src/util/schemas/responses/WebhookCreateResponse.ts
@@ -0,0 +1,6 @@
+import { User, Webhook } from "../../entities";
+
+export interface WebhookCreateResponse {
+ user: User;
+ hook: Webhook;
+}
diff --git a/src/util/schemas/responses/index.ts b/src/util/schemas/responses/index.ts
index 6dde4d24..2a1180ad 100644
--- a/src/util/schemas/responses/index.ts
+++ b/src/util/schemas/responses/index.ts
@@ -6,6 +6,10 @@ export * from "./ApplicationSkusResponse";
export * from "./ApplicationsResponse";
export * from "./BackupCodesChallengeResponse";
export * from "./CaptchaRequiredResponse";
+export * from "./ChannelInvitesResponse";
+export * from "./ChannelPinsResponse";
+export * from "./ChannelWebhooksResponse";
export * from "./GenerateRegistrationTokensResponse";
export * from "./LocationMetadataResponse";
export * from "./TokenResponse";
+export * from "./WebhookCreateResponse";
|