Taichi Masuyama 3 лет назад
Родитель
Сommit
5e7b226d8e

+ 3 - 0
packages/app/src/interfaces/questionnaire/growi-info.ts

@@ -10,7 +10,10 @@ const GrowiWikiType = { open: 'open', closed: 'closed' } as const;
 const GrowiAttachmentType = {
   aws: 'aws',
   gcs: 'gcs',
+  gcp: 'gcp',
   gridfs: 'gridfs',
+  mongo: 'mongo',
+  mongodb: 'mongodb',
   local: 'local',
   none: 'none',
 } as const;

+ 1 - 1
packages/app/src/interfaces/questionnaire/user-info.ts

@@ -5,7 +5,7 @@ export type UserType = typeof UserType[keyof typeof UserType];
 
 export type IUserInfo = {
   userIdHash: string // userId hash generated by using appSiteUrl as salt
-  type: Omit<UserType, guestType>
+  type: Exclude<UserType, guestType>
   userCreatedAt: Date // createdAt of user that answered the questionnaire
 } | {
   type: guestType