29 lines
731 B
TypeScript
29 lines
731 B
TypeScript
/* eslint-disable */
|
|
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
|
|
import { Condition } from '../models/condition';
|
|
import { Position } from '../models/position';
|
|
|
|
/**
|
|
* 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';
|
|
|
|
/**
|
|
* Cómo se ve en el diagrama.
|
|
*/
|
|
label?: string;
|
|
|
|
/**
|
|
* Recoge lo que nadie reconoce, para revisarlo.
|
|
*/
|
|
otherwise?: boolean;
|
|
position?: (Position | null);
|
|
when?: Array<Condition>;
|
|
}
|