summary refs log tree commit diff
path: root/src/util/schemas/responses
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-06-11 00:27:38 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-06-11 00:27:38 +1000
commit6e47b8e0b345ed064b5bdd8e16bd4d48ca9c9cd8 (patch)
tree2b92ed44e855160b2e580b0db57ad8de473a20e3 /src/util/schemas/responses
parentReturn entire guild object in POST /guilds (diff)
downloadserver-6e47b8e0b345ed064b5bdd8e16bd4d48ca9c9cd8.tar.xz
Send user and roles id array in GET /guilds/:id/members/:id
Diffstat (limited to 'src/util/schemas/responses')
-rw-r--r--src/util/schemas/responses/TypedResponses.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/schemas/responses/TypedResponses.ts b/src/util/schemas/responses/TypedResponses.ts
index 099efba3..4349b93c 100644
--- a/src/util/schemas/responses/TypedResponses.ts
+++ b/src/util/schemas/responses/TypedResponses.ts
@@ -11,6 +11,7 @@ import {
 	Member,
 	Message,
 	PrivateUser,
+	PublicMember,
 	PublicUser,
 	Role,
 	Sticker,
@@ -68,6 +69,7 @@ export type APIChannelArray = Channel[];
 export type APIEmojiArray = Emoji[];
 
 export type APIMemberArray = Member[];
+export type APIPublicMember = PublicMember;
 
 export interface APIGuildWithJoinedAt extends Guild {
 	joined_at: string;