Client for otherwise routes and unrecognised documents
This commit is contained in:
@@ -5,13 +5,16 @@ import { Condition } from '../models/condition';
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Only the rows where every condition holds (e.g. reports titled "Citología").
|
||||
* Only the rows where every condition holds (e.g. reports titled "Citología"). An
|
||||
* `otherwise` route takes the rows of its input that none of the other routes on that
|
||||
* input take (documents nobody recognises, for a reviewer), then its own conditions.
|
||||
*/
|
||||
export interface Route {
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'route';
|
||||
label?: string;
|
||||
otherwise?: boolean;
|
||||
position?: (Position | null);
|
||||
when: Array<Condition>;
|
||||
when?: Array<Condition>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user