|
|
@@ -1,4 +1,4 @@
|
|
|
-import { Schema } from 'mongoose';
|
|
|
+import { Types } from 'mongoose';
|
|
|
|
|
|
export enum subscribeRuleNames {
|
|
|
PAGE_CREATE = 'PAGE_CREATE'
|
|
|
@@ -12,6 +12,6 @@ export interface ISubscribeRule {
|
|
|
isEnabled: boolean;
|
|
|
}
|
|
|
export interface IInAppNotificationSettings {
|
|
|
- userId: Schema.Types.ObjectId;
|
|
|
+ userId: Types.ObjectId;
|
|
|
subscribeRules: ISubscribeRule[];
|
|
|
}
|