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

27 lines
766 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/permissions/role.ts
import { RoleTags } from "./role_tags.ts";
/** https://discord.com/developers/docs/topics/permissions#role-object-role-structure */
export interface Role {
/** Role id */
id: string;
/** Role name */
name: string;
/** Integer representation of hexadecimal color code */
color: number;
/** If this role is showed seperately in the user listing */
hoist: boolean;
/** Position of this role */
position: number;
/** Permission bit set */
permissions: string;
/** Whether this role is managed by an integration */
managed: boolean;
/** Whether this role is mentionable */
mentionable: boolean;
/** The tags this role has */
tags?: RoleTags;
}