Skip to content

Commit

Permalink
feat(sources): add StringFilterType enum
Browse files Browse the repository at this point in the history
CTCORE-9562
  • Loading branch information
ClaudineL committed Nov 20, 2023
1 parent 2e60355 commit f2dd98f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/resources/Enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ export enum FilterStatusType {
ERROR = 'ERROR',
}

export enum StringFilterType {
WILDCARD = 'WILDCARD',
EXACTMATCH = 'EXACTMATCH'
}

export enum UpdateStatusCategory {
MINOR = 'MINOR',
CRITICAL = 'CRITICAL',
Expand Down
8 changes: 5 additions & 3 deletions src/resources/Sources/SourcesInterfaces.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {GranularResource, Paginated} from '../BaseInterfaces.js';
import { GranularResource, Paginated } from '../BaseInterfaces.js';
import {
FilterHostType,
FilterLastOperationResultType,
Expand All @@ -10,10 +10,11 @@ import {
SourceSecurityOption,
SourceType,
SourceVisibility,
StringFilterType,
} from '../Enums.js';
import {SecurityProvider, SecurityProviderModel} from '../SecurityCache/SecurityCacheInterfaces.js';
import { SecurityProvider, SecurityProviderModel } from '../SecurityCache/SecurityCacheInterfaces.js';
import { MappingModel } from './SourcesMappings/index.js';
import * as SourcesSubInterface from './SourcesSubInterfaces/index.js';
import {MappingModel} from './SourcesMappings/index.js';

export * from './SourcesSubInterfaces/index.js';

Expand All @@ -33,6 +34,7 @@ export interface ListSourcesParams extends ListParams {
filterLastOperationResultType?: FilterLastOperationResultType;
filterLastOperationType?: FilterLastOperationType;
filterStatusType?: FilterStatusType;
stringFilterType?: StringFilterType;
}

export interface ExtendedConfig {
Expand Down

0 comments on commit f2dd98f

Please sign in to comment.