瀏覽代碼

clean code

jam411 3 年之前
父節點
當前提交
03dba21554
共有 1 個文件被更改,包括 8 次插入0 次删除
  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,
+}