Shun Miyazawa 3 سال پیش
والد
کامیت
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