blob: fb5b337c90e7bec0c92aef23a52c4ebc669afcc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import * as mongodb from 'mongodb';
import db from '../db/mongodb';
const RemoteUserObject = db.get<IRemoteUserObject>('remoteUserObjects');
export default RemoteUserObject;
export type IRemoteUserObject = {
_id: mongodb.ObjectID;
uri: string;
object: {
$ref: string;
$id: mongodb.ObjectID;
}
};
|