summaryrefslogtreecommitdiff
path: root/src/api/models/app.ts
blob: 68d74be32455a7274cb9d9249442f19977c26e3f (plain)
1
2
3
4
5
6
7
8
9
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;