@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
113 lines • 7.44 kB
TypeScript
import { Record } from '@fable-org/fable-library-js/Types.js';
import { FSharpList } from '@fable-org/fable-library-js/List.js';
import { Option } from '@fable-org/fable-library-js/Option.js';
import { ProcessInput_$union } from './ProcessInput.fs.js';
import { int32 } from '@fable-org/fable-library-js/Int32.js';
import { ProcessOutput_$union } from './ProcessOutput.fs.js';
import { ProcessParameterValue } from './ProcessParameterValue.fs.js';
import { Protocol } from './Protocol.fs.js';
import { Comment$ } from '../Comment.fs.js';
import { IEquatable } from '@fable-org/fable-library-js/Util.js';
import { IISAPrintable } from '../Helper/Printer.fs.js';
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
import { ProtocolParameter } from './ProtocolParameter.fs.js';
import { MaterialAttributeValue } from './MaterialAttributeValue.fs.js';
import { MaterialAttribute } from './MaterialAttribute.fs.js';
import { FactorValue } from './FactorValue.fs.js';
import { Factor } from './Factor.fs.js';
import { OntologyAnnotation } from '../OntologyAnnotation.fs.js';
import { Source } from './Source.fs.js';
import { Data } from '../Data.fs.js';
import { Sample } from './Sample.fs.js';
import { Material } from './Material.fs.js';
export declare class Process extends Record implements IEquatable<Process>, IISAPrintable {
readonly ID: Option<string>;
readonly Name: Option<string>;
readonly ExecutesProtocol: Option<Protocol>;
readonly ParameterValues: Option<FSharpList<ProcessParameterValue>>;
readonly Performer: Option<string>;
readonly Date: Option<string>;
readonly PreviousProcess: Option<Process>;
readonly NextProcess: Option<Process>;
readonly Inputs: Option<FSharpList<ProcessInput_$union>>;
readonly Outputs: Option<FSharpList<ProcessOutput_$union>>;
readonly Comments: Option<FSharpList<Comment$>>;
constructor(ID: Option<string>, Name: Option<string>, ExecutesProtocol: Option<Protocol>, ParameterValues: Option<FSharpList<ProcessParameterValue>>, Performer: Option<string>, Date$: Option<string>, PreviousProcess: Option<Process>, NextProcess: Option<Process>, Inputs: Option<FSharpList<ProcessInput_$union>>, Outputs: Option<FSharpList<ProcessOutput_$union>>, Comments: Option<FSharpList<Comment$>>);
Print(): string;
PrintCompact(): string;
}
export declare function Process_$reflection(): TypeInfo;
export declare function Process_make(id: Option<string>, name: Option<string>, executesProtocol: Option<Protocol>, parameterValues: Option<FSharpList<ProcessParameterValue>>, performer: Option<string>, date: Option<string>, previousProcess: Option<Process>, nextProcess: Option<Process>, inputs: Option<FSharpList<ProcessInput_$union>>, outputs: Option<FSharpList<ProcessOutput_$union>>, comments: Option<FSharpList<Comment$>>): Process;
export declare function Process_create_Z7C1F7FA9(Id?: string, Name?: string, ExecutesProtocol?: Protocol, ParameterValues?: FSharpList<ProcessParameterValue>, Performer?: string, Date$?: string, PreviousProcess?: Process, NextProcess?: Process, Inputs?: FSharpList<ProcessInput_$union>, Outputs?: FSharpList<ProcessOutput_$union>, Comments?: FSharpList<Comment$>): Process;
export declare function Process_get_empty(): Process;
export declare function Process_composeName(processNameRoot: string, i: int32): string;
export declare function Process_decomposeName_Z721C83C5(name: string): [string, Option<int32>];
/**
* Returns the name of the protocol the given process executes
*/
export declare function Process_tryGetProtocolName_763471FF(p: Process): Option<string>;
/**
* Returns the name of the protocol the given process executes
*/
export declare function Process_getProtocolName_763471FF(p: Process): string;
/**
* Returns the parameter values describing the process
*/
export declare function Process_getParameterValues_763471FF(p: Process): FSharpList<ProcessParameterValue>;
/**
* Returns the parameters describing the process
*/
export declare function Process_getParameters_763471FF(p: Process): FSharpList<ProtocolParameter>;
/**
* Returns the characteristics describing the inputs of the process
*/
export declare function Process_getInputCharacteristicValues_763471FF(p: Process): FSharpList<MaterialAttributeValue>;
/**
* Returns the characteristics describing the outputs of the process
*/
export declare function Process_getOutputCharacteristicValues_763471FF(p: Process): FSharpList<MaterialAttributeValue>;
/**
* Returns the characteristic values describing the inputs and outputs of the process
*/
export declare function Process_getCharacteristicValues_763471FF(p: Process): FSharpList<MaterialAttributeValue>;
/**
* Returns the characteristics describing the inputs and outputs of the process
*/
export declare function Process_getCharacteristics_763471FF(p: Process): FSharpList<MaterialAttribute>;
/**
* Returns the factor values of the samples of the process
*/
export declare function Process_getFactorValues_763471FF(p: Process): FSharpList<FactorValue>;
/**
* Returns the factors of the samples of the process
*/
export declare function Process_getFactors_763471FF(p: Process): FSharpList<Factor>;
/**
* Returns the units of the process
*/
export declare function Process_getUnits_763471FF(p: Process): FSharpList<OntologyAnnotation>;
/**
* If the process implements the given parameter, return the list of input files together with their according parameter values of this parameter
*/
export declare function Process_tryGetInputsWithParameterBy(predicate: ((arg0: ProtocolParameter) => boolean), p: Process): Option<FSharpList<[ProcessInput_$union, ProcessParameterValue]>>;
/**
* If the process implements the given parameter, return the list of output files together with their according parameter values of this parameter
*/
export declare function Process_tryGetOutputsWithParameterBy(predicate: ((arg0: ProtocolParameter) => boolean), p: Process): Option<FSharpList<[ProcessOutput_$union, ProcessParameterValue]>>;
/**
* If the process implements the given characteristic, return the list of input files together with their according characteristic values of this characteristic
*/
export declare function Process_tryGetInputsWithCharacteristicBy(predicate: ((arg0: MaterialAttribute) => boolean), p: Process): Option<FSharpList<[ProcessInput_$union, MaterialAttributeValue]>>;
/**
* If the process implements the given characteristic, return the list of output files together with their according characteristic values of this characteristic
*/
export declare function Process_tryGetOutputsWithCharacteristicBy(predicate: ((arg0: MaterialAttribute) => boolean), p: Process): Option<FSharpList<[ProcessOutput_$union, MaterialAttributeValue]>>;
/**
* If the process implements the given factor, return the list of output files together with their according factor values of this factor
*/
export declare function Process_tryGetOutputsWithFactorBy(predicate: ((arg0: Factor) => boolean), p: Process): Option<FSharpList<[ProcessOutput_$union, FactorValue]>>;
export declare function Process_getSources_763471FF(p: Process): FSharpList<Source>;
export declare function Process_getData_763471FF(p: Process): FSharpList<Data>;
export declare function Process_getSamples_763471FF(p: Process): FSharpList<Sample>;
export declare function Process_getMaterials_763471FF(p: Process): FSharpList<Material>;
//# sourceMappingURL=Process.fs.d.ts.map