mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
24 lines
981 B
TypeScript
24 lines
981 B
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/members/guild_members_chunk.ts
|
|
|
|
|
|
import { PresenceUpdate } from "../activity/presence_update.ts";
|
|
import { GuildMemberWithUser } from "../members/guild_member.ts";
|
|
|
|
/** https://discord.com/developers/docs/topics/gateway#guild-members-chunk */
|
|
export interface GuildMembersChunk {
|
|
/** The id of the guild */
|
|
guildId: string;
|
|
/** Set of guild members */
|
|
members: GuildMemberWithUser[];
|
|
/** The chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count) */
|
|
chunkIndex: number;
|
|
/** The total number of expected chunks for this response */
|
|
chunkCount: number;
|
|
/** If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here */
|
|
notFound?: string[];
|
|
/** If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here */
|
|
presences?: PresenceUpdate[];
|
|
/** The nonce used in the Guild Members Request */
|
|
nonce?: string;
|
|
}
|