swc/bundler/tests/.cache/deno/048a424b4a0d2b5ef1753fb52fc81ba3d31d6656.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

28 lines
1.0 KiB
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/users/connection.ts
import { Integration } from "../integrations/integration.ts";
import { DiscordVisibilityTypes } from "./visibility_types.ts";
/** https://discord.com/developers/docs/resources/user#connection-objecthttps://discord.com/developers/docs/resources/user#user-object-premium-types */
export interface Connection {
/** id of the connection account */
id: string;
/** The username of the connection account */
name: string;
/** The service of the connection (twitch, youtube) */
type: string;
/** Whether the connection is revoked */
revoked?: boolean;
/** An array of partial server integrations */
integrations?: Integration[];
/** Whether the connection is verified */
verified: boolean;
/** Whether friend sync is enabled for this connection */
friendSync: boolean;
/** Whether activities related to this connection will be shown in presence updates */
showActivity: boolean;
/** Visibility of this connection */
visibility: DiscordVisibilityTypes;
}