Skip to content

Commit

Permalink
Fix FilterType type
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck committed Jul 31, 2024
1 parent 5a68ea6 commit c732772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/models/Filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { v4 as uuidv4 } from 'uuid';
import type { SearchResult } from './Search';
import { GenotypeMap, type SNP } from './GenomeFilter';

type FilterType = 'categorical' | 'numeric' | 'required' | 'datatable' | 'genomic' | 'snp' | 'auto';
type FilterType = 'Categorical' | 'numeric' | 'required' | 'datatable' | 'genomic' | 'snp' | 'auto';
type DisplayType = 'any' | 'anyRecordOf' | 'restrict' | 'lessThan' | 'greaterThan' | 'between';

export interface FilterInterface {
Expand All @@ -20,7 +20,7 @@ export interface FilterInterface {
}

export interface CategoricalFilterInterface extends FilterInterface {
filterType: 'categorical' | 'required';
filterType: 'Categorical' | 'required';
categoryValues: string[];
}

Expand Down

0 comments on commit c732772

Please sign in to comment.