summary refs log tree commit diff
path: root/dist/models/Role.d.ts
blob: 6a3f1669abb009aa1d427d7b45178161a0a5ec9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/// <reference path="../util/MongoBigInt.d.ts" />
import { Schema, Document } from "mongoose";
export interface Role {
    id: bigint;
    guild_id: bigint;
    color: number;
    hoist: boolean;
    managed: boolean;
    mentionable: boolean;
    name: string;
    permissions: bigint;
    position: number;
    tags?: {
        bot_id?: bigint;
    };
}
export interface RoleDocument extends Document, Role {
    id: bigint;
}
export declare const RoleSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
export declare const RoleModel: import("mongoose").Model<RoleDocument>;