blob: 743d0d2dd9a94dacf3c14032102b91bfb11fa59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import * as mongo from 'mongodb';
import db from '../db/mongodb';
const SwSubscription = db.get<ISwSubscription>('swSubscriptions');
export default SwSubscription;
export interface ISwSubscription {
_id: mongo.ObjectID;
userId: mongo.ObjectID;
endpoint: string;
auth: string;
publickey: string;
}
|