1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import * as uuid from 'uuid'; import * as dynogels from 'drandx-dynogels'; import { BaseModel } from './BaseModel'; import { globalConst } from '../config/db/appVariables'; import { PUSH_NOTIFICATIONS_TOPICS } from './Enums'; export interface PayLoad { [key: string]: (string | number | boolean | Date | Object ); } export class PushNotification extends BaseModel { public pushType: PUSH_NOTIFICATIONS_TOPICS; public userId: string; public payLoad: PayLoad; constructor() { super(); } } |