kaori 4 лет назад
Родитель
Сommit
4a8bd93f83
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      packages/app/src/server/models/in-app-notification.ts

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

@@ -31,7 +31,6 @@ export interface InAppNotificationDocument extends Document {
 export interface InAppNotificationModel extends Model<InAppNotificationDocument> {
   findLatestInAppNotificationsByUser(user: Types.ObjectId, skip: number, offset: number): Promise<InAppNotificationDocument[]>
   upsertByActivity(user: Types.ObjectId, activity: ActivityDocument, createdAt?: Date | null): Promise<InAppNotificationDocument | null>
-  removeActivity(activity: any): any
   // commented out type 'Query' temporary to avoid ts error
   removeEmpty()/* : Query<any> */
   read(user: typeof User) /* : Promise<Query<any>> */