diff --git a/packages/base-types/src/models/project/knowledgeBase.ts b/packages/base-types/src/models/project/knowledgeBase.ts index 409d0c539..7a935c956 100644 --- a/packages/base-types/src/models/project/knowledgeBase.ts +++ b/packages/base-types/src/models/project/knowledgeBase.ts @@ -12,14 +12,14 @@ export declare enum KnowledgeBaseBooleanOperators { OR = 'or', } -export interface KnowledgeBaseTagsInclude { +export interface KnowledgeBaseTagsFilterWithOperator { items: string[]; operator?: KnowledgeBaseBooleanOperators; } export interface KnowledgeBaseTagsFilter { - include?: KnowledgeBaseTagsInclude; - exclude?: string[]; + include?: KnowledgeBaseTagsFilterWithOperator; + exclude?: KnowledgeBaseTagsFilterWithOperator; includeAllTagged?: boolean; includeAllNonTagged?: boolean; }