Skip to content

Commit

Permalink
feat: add exclution operator logic (NLU-864) (#462)
Browse files Browse the repository at this point in the history
### Brief description. What is this change?

Extend exclude field with option to provide condition operator
  • Loading branch information
abuyak-vf committed Oct 12, 2023
1 parent 5acd9d0 commit 6f1225d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/base-types/src/models/project/knowledgeBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6f1225d

Please sign in to comment.