Taichi Masuyama 3 년 전
부모
커밋
5e7b226d8e
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      packages/app/src/interfaces/questionnaire/growi-info.ts
  2. 1 1
      packages/app/src/interfaces/questionnaire/user-info.ts

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

@@ -10,7 +10,10 @@ const GrowiWikiType = { open: 'open', closed: 'closed' } as const;
 const GrowiAttachmentType = {
 const GrowiAttachmentType = {
   aws: 'aws',
   aws: 'aws',
   gcs: 'gcs',
   gcs: 'gcs',
+  gcp: 'gcp',
   gridfs: 'gridfs',
   gridfs: 'gridfs',
+  mongo: 'mongo',
+  mongodb: 'mongodb',
   local: 'local',
   local: 'local',
   none: 'none',
   none: 'none',
 } as const;
 } 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 = {
 export type IUserInfo = {
   userIdHash: string // userId hash generated by using appSiteUrl as salt
   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
   userCreatedAt: Date // createdAt of user that answered the questionnaire
 } | {
 } | {
   type: guestType
   type: guestType