Browse Source

clean code

jam411 3 năm trước cách đây
mục cha
commit
03dba21554
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      packages/core/src/interfaces/user.ts

+ 8 - 0
packages/core/src/interfaces/user.ts

@@ -39,3 +39,11 @@ export type IUserGroup = {
 export type IUserHasId = IUser & HasObjectId;
 export type IUserGroupHasId = IUserGroup & HasObjectId;
 export type IUserGroupRelationHasId = IUserGroupRelation & HasObjectId;
+
+export type IAdminExternalAccount = {
+  _id: string,
+  providerType: string,
+  accountId: string,
+  user: IUser,
+  createdAt: Date,
+}