@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
18 lines • 1.47 kB
TypeScript
import { FSharpList } from '@fable-org/fable-library-js/List.js';
import { Option } from '@fable-org/fable-library-js/Option.js';
import { Remark, Comment$ } from '../../ARCtrl.Core.3.0.0-beta.12/Comment.fs.js';
import { Factor } from '../../ARCtrl.Core.3.0.0-beta.12/Process/Factor.fs.js';
import { SparseTable } from './SparseTable.fs.js';
import { int32 } from '@fable-org/fable-library-js/Int32.js';
import { IEnumerator } from '@fable-org/fable-library-js/Util.js';
export declare const nameLabel = "Name";
export declare const factorTypeLabel = "Type";
export declare const typeTermAccessionNumberLabel = "Type Term Accession Number";
export declare const typeTermSourceREFLabel = "Type Term Source REF";
export declare const labels: FSharpList<string>;
export declare function fromString(name: Option<string>, designType: Option<string>, typeTermSourceREF: Option<string>, typeTermAccessionNumber: Option<string>, comments: Comment$[]): Factor;
export declare function fromSparseTable(matrix: SparseTable): FSharpList<Factor>;
export declare function toSparseTable(factors: FSharpList<Factor>): SparseTable;
export declare function fromRows(prefix: Option<string>, lineNumber: int32, rows: IEnumerator<Iterable<[int32, string]>>): [Option<string>, int32, FSharpList<Remark>, FSharpList<Factor>];
export declare function toRows(prefix: Option<string>, factors: FSharpList<Factor>): Iterable<Iterable<[int32, string]>>;
//# sourceMappingURL=Factors.fs.d.ts.map