blob: d3bbd75a6d4c1f67c9c5e8581851728f34b157e6 (
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;
}
|