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.
19 lines
863 B
TypeScript
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[];
|
|
}
|