summary refs log tree commit diff
path: root/dist/models/Invite.d.ts
blob: e6de64d37a7e0b26fed43c698c6662c0bd5b3ce2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// <reference path="../util/MongoBigInt.d.ts" />
import { Schema, Document } from "mongoose";
export interface Invite extends Document {
    code: string;
    temporary: boolean;
    uses: number;
    max_uses: number;
    max_age: number;
    created_at: Date;
    guild_id: string;
    channel_id: string;
    inviter_id: string;
    target_user_id?: string;
    target_user_type?: number;
}
export declare const InviteSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
export declare const InviteModel: import("mongoose").Model<Invite>;