Explorar o código

create type "ISnapshot"

Shun Miyazawa %!s(int64=3) %!d(string=hai) anos
pai
achega
b9a62f8993
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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'>
+}