mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +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.
27 lines
766 B
TypeScript
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;
|
|
}
|