Add CounterDocument

This commit is contained in:
zkldi
2021-04-03 21:29:07 +01:00
parent e047232159
commit fc01803968
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -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;
}
+5
View File
@@ -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;
}