mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-07 22:38:02 +03:00
Add CounterDocument
This commit is contained in:
Vendored
+4
@@ -2,6 +2,10 @@ import { IObjectID } from "monk";
|
||||
/**
|
||||
* All MongoDB Documents require this field, or atleast they all have them in ktchi's DB.
|
||||
*/
|
||||
export interface CounterDocument {
|
||||
counterName: string;
|
||||
value: integer;
|
||||
}
|
||||
export interface MongoDBDocument {
|
||||
_id?: IObjectID;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,11 @@ import { IObjectID } from "monk";
|
||||
/**
|
||||
* All MongoDB Documents require this field, or atleast they all have them in ktchi's DB.
|
||||
*/
|
||||
|
||||
export interface CounterDocument {
|
||||
counterName: string;
|
||||
value: integer;
|
||||
}
|
||||
export interface MongoDBDocument {
|
||||
_id?: IObjectID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user