mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-17 01:16:27 +01:00
9 lines
291 B
TypeScript
9 lines
291 B
TypeScript
import db from '../../db/mongodb';
|
|
|
|
const collection = db.get('apps');
|
|
|
|
(collection as any).index('name_id'); // fuck type definition
|
|
(collection as any).index('name_id_lower'); // fuck type definition
|
|
(collection as any).index('secret'); // fuck type definition
|
|
|
|
export default collection;
|