Shun Miyazawa 1 an în urmă
părinte
comite
09b2944169
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      apps/app/src/features/openai/interfaces/ai-assistant.ts

+ 2 - 2
apps/app/src/features/openai/interfaces/ai-assistant.ts

@@ -1,5 +1,5 @@
 import type {
-  IGrantedGroup, IUser, Ref, HasObjectId,
+  IGrantedGroup, IUserHasId, Ref, HasObjectId,
 } from '@growi/core';
 
 import type { IVectorStore } from './vector-store';
@@ -32,7 +32,7 @@ export interface AiAssistant {
   additionalInstruction: string
   pagePathPatterns: string[],
   vectorStore: Ref<IVectorStore>
-  owner: Ref<IUser>
+  owner: Ref<IUserHasId>
   grantedGroupsForShareScope?: IGrantedGroup[]
   grantedGroupsForAccessScope?: IGrantedGroup[]
   shareScope: AiAssistantShareScope