mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 13:25:44 +01:00
16 lines
307 B
TypeScript
16 lines
307 B
TypeScript
|
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;
|
||
|
}
|
||
|
};
|