Skip to content
Snippets Groups Projects
Commit 3163e7a1 authored by Simon Malesys's avatar Simon Malesys
Browse files

Less constraints for the filters types

parent 8242ae0a
No related branches found
No related tags found
No related merge requests found
Pipeline #153553 passed with stages
in 7 minutes and 29 seconds
......@@ -95,10 +95,10 @@ export interface Statistics {
*/
export interface APIFilters {
keywords: string
species: Array<Antibody['species']>
sources: Array<FastaHeader['source']>
heavySegments: Array<FastaHeader['vGeneSegment']>
lightSegments: Array<FastaHeader['vGeneSegment']>
species: Array<string>
sources: Array<string>
heavySegments: Array<string>
lightSegments: Array<string>
motif: string
}
......@@ -172,10 +172,10 @@ export interface APIUserMadeArchiveResponse {
* @link https://www.typescriptlang.org/docs/handbook/2/objects.html#excess-property-checks
*/
export type AdvancedFilters = {
species: Array<Antibody['species']>
sources: Array<FastaHeader['source']>
heavySegments: Array<FastaHeader['vGeneSegment']>
lightSegments: Array<FastaHeader['vGeneSegment']>
species: Array<string>
sources: Array<string>
heavySegments: Array<string>
lightSegments: Array<string>
motif: string
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment