mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 23:53:08 +02:00
12 lines
261 B
TypeScript
12 lines
261 B
TypeScript
|
import * as mongo from 'mongodb';
|
||
|
import db from '../../db/mongodb';
|
||
|
|
||
|
const Matching = db.get<IMatching>('othello_matchings');
|
||
|
export default Matching;
|
||
|
|
||
|
export interface IMatching {
|
||
|
_id: mongo.ObjectID;
|
||
|
parent_id: mongo.ObjectID;
|
||
|
child_id: mongo.ObjectID;
|
||
|
}
|