From edcaa05be024365afea87d7c36b5cf6144b1353e Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 15 Jul 2026 12:34:21 +0200 Subject: [PATCH] Remove APIMemberArray --- assets/openapi.json | Bin 996760 -> 996580 bytes assets/schemas.json | Bin 442044 -> 441854 bytes .../routes/guilds/#guild_id/members/index.ts | 4 ++-- src/schemas/api/users/Member.ts | 2 ++ src/schemas/responses/TypedResponses.ts | 1 - 5 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/openapi.json b/assets/openapi.json index b13eba95546dbdbb8ec245a750db89eb089cf456..91807e0bc3a72e4ccffffde4385bcbd3a4f75458 100644 GIT binary patch delta 129 zcmbR7+UChin}!y~EldXvwwE7b0%B$$W&vVWAZ7z%b|B^eV$SX5hq(BUO*fEXWSefV zfSYZ4;RWup?H@jJPhi}>Ac4D*ar%KwUd!pTU3omFC+Kq+On2DMEHlYhdU`=JGwbw* XDcl0>+`ZgD%mc){+qrxBdRG7dFqJb* delta 130 zcmaFz(q_hMn}!y~EldXvviYXwCZ!fl-*|kLrF@ee<_om%J;(&a%s|Wn z#H>Kf2E^<@%mKul+xH&i5<14|7~lyt;eZrR+4KpW9Fo%=ezEIqZz$vb%{0AkGSA`m SupVw8<^f{f?O{E9eJcPp>N$`A diff --git a/assets/schemas.json b/assets/schemas.json index 9a21b5bf5483c32694bb9105edc6169c33366b1b..6b696fd48917437e4e36f9a7177aa734fadae0cc 100644 GIT binary patch delta 35 mcmdn m.toPublicMember())); }, ); diff --git a/src/schemas/api/users/Member.ts b/src/schemas/api/users/Member.ts index 0cfaa0c92..f6778509e 100644 --- a/src/schemas/api/users/Member.ts +++ b/src/schemas/api/users/Member.ts @@ -115,3 +115,5 @@ export type PublicMember = Omit, "roles"> & { user: PublicUser; roles: string[]; // only role ids not objects }; + +export type PublicMemberArray = PublicMember[]; diff --git a/src/schemas/responses/TypedResponses.ts b/src/schemas/responses/TypedResponses.ts index afc147cf3..2cf9d6f84 100644 --- a/src/schemas/responses/TypedResponses.ts +++ b/src/schemas/responses/TypedResponses.ts @@ -45,7 +45,6 @@ export type APIWebhookArray = Webhook[]; export type APIDiscoveryCategoryArray = Categories[]; export type APIGeneralConfiguration = GeneralConfiguration; export type APIChannelArray = Channel[]; -export type APIMemberArray = Member[]; export interface APIGuildWithJoinedAt extends GuildCreateResponse { joined_at: string;