1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 06:32:36 +01:00
server/dist/util/Config.d.ts
2021-02-13 14:18:19 +01:00

22 lines
745 B
TypeScript

/// <reference path="MongoBigInt.d.ts" />
import { Schema, Document } from "mongoose";
import "missing-native-js-functions";
declare const _default: {
init: (defaultOpts?: any) => Promise<import("mongodb").UpdateWriteOpResult>;
getAll: () => DefaultOptions;
setAll: (val: any) => Promise<import("mongodb").UpdateWriteOpResult>;
};
export default _default;
export declare const DefaultOptions: {
api: {};
gateway: {};
voice: {};
};
export interface DefaultOptions extends Document {
api?: any;
gateway?: any;
voice?: any;
}
export declare const ConfigSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
export declare const ConfigModel: import("mongoose").Model<DefaultOptions>;