djs-systems
Version:
The simplest way to build complex Discord bots.
21 lines (20 loc) • 941 B
TypeScript
import mongoose from 'mongoose';
import { Progress } from '../suggest';
export interface Vote {
userId: number | string;
vote: 'up' | 'down';
}
export declare type suggestionData = {
message: string;
author: string;
votes: Array<Vote>;
progress: Progress;
};
declare const _default: mongoose.Model<suggestionData, {}, {}, {}, mongoose.Document<unknown, {}, suggestionData> & Omit<suggestionData & {
_id: mongoose.Types.ObjectId;
}, never>, mongoose.Schema<suggestionData, mongoose.Model<suggestionData, any, any, any, mongoose.Document<unknown, any, suggestionData> & Omit<suggestionData & {
_id: mongoose.Types.ObjectId;
}, never>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, suggestionData, mongoose.Document<unknown, {}, mongoose.FlatRecord<suggestionData>> & Omit<mongoose.FlatRecord<suggestionData> & {
_id: mongoose.Types.ObjectId;
}, never>>>;
export default _default;