swc/bundler/tests/.cache/deno/250a6730c15c7e1d94d5c0115a67ef935b7fde54.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

19 lines
863 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/threads/thread_list_sync.ts
import { Channel } from "../channel.ts";
import { ThreadMember } from "./thread_member.ts";
// TODO: add docs link
export interface ThreadListSync {
/** The id of the guild */
guildId: string;
/** The parent channel ids whose threads are being synced. If omitted, then threads were synced for the entire guild. This array may contain channelIds that have no active threads as well, so you know to clear that data */
channelIds?: string[];
// TODO: check if need to omit
/** All active threads in the given channels that the current user can access */
threads: Channel[];
/** All thread member objects from the synced threads for the current user, indicating which threads the current user has been added to */
members: ThreadMember[];
}