Răsfoiți Sursa

create type "ISnapshot"

Shun Miyazawa 3 ani în urmă
părinte
comite
b9a62f8993
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      packages/app/src/interfaces/activity.ts

+ 6 - 0
packages/app/src/interfaces/activity.ts

@@ -1,3 +1,5 @@
+import { IUser } from '~/interfaces/user';
+
 // Model
 const MODEL_PAGE = 'Page';
 
@@ -39,3 +41,7 @@ export const AllSupportedActionType = Object.values(SUPPORTED_ACTION_TYPE);
 
 // type supportedTargetModelType = typeof SUPPORTED_TARGET_MODEL_NAMES[keyof typeof SUPPORTED_TARGET_MODEL_NAMES];
 // type supportedActionType = typeof SUPPORTED_ACTION_NAMES[keyof typeof SUPPORTED_ACTION_NAMES];
+
+export type ISnapshot = {
+  username: Pick<IUser, 'username'>
+}