Browse Source

clean code

kaori 4 years ago
parent
commit
0e16d3dc0c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/app/src/server/models/in-app-notification.ts

+ 0 - 1
packages/app/src/server/models/in-app-notification.ts

@@ -27,7 +27,6 @@ export interface InAppNotificationDocument extends Document {
 
 
 
 
 export interface InAppNotificationModel extends PaginateModel<InAppNotificationDocument> {
 export interface InAppNotificationModel extends PaginateModel<InAppNotificationDocument> {
-  // static paginate: PaginateMethod<PaginatedModel>;
   findLatestInAppNotificationsByUser(user: Types.ObjectId, skip: number, offset: number)
   findLatestInAppNotificationsByUser(user: Types.ObjectId, skip: number, offset: number)
   getUnreadCountByUser(user: Types.ObjectId): Promise<number | undefined>
   getUnreadCountByUser(user: Types.ObjectId): Promise<number | undefined>
   open(user, id: Types.ObjectId): Promise<InAppNotificationDocument | null>
   open(user, id: Types.ObjectId): Promise<InAppNotificationDocument | null>