Shun Miyazawa 3 лет назад
Родитель
Сommit
3cb9cc0443
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      packages/app/src/interfaces/activity.ts

+ 2 - 1
packages/app/src/interfaces/activity.ts

@@ -1,3 +1,4 @@
+import { Ref } from './common';
 import { HasObjectId } from './has-object-id';
 import { IUser } from './user';
 
@@ -107,7 +108,7 @@ export type SupportedActionType = typeof SUPPORTED_ACTION_TYPE[keyof typeof SUPP
 export type ISnapshot = Partial<Pick<IUser, 'username'>>
 
 export type IActivity = {
-  user?: string
+  user?: Ref<IUser>
   ip?: string
   endpoint?: string
   targetModel?: SupportedTargetModelType