1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00
server/dist/models/Invite.d.ts
2021-02-21 19:09:37 +01:00

18 lines
575 B
TypeScript

/// <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: number;
guild_id: bigint;
channel_id: bigint;
inviter_id: bigint;
target_user_id?: bigint;
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>;