mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-06 02:26:04 +02:00
wip
This commit is contained in:
11
src/api/models/othello-matching.ts
Normal file
11
src/api/models/othello-matching.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user