UNPKG

@nfdi4plants/swate-components

Version:

Customizable React components for ontology annotation, based on Swate and the ARC.

18 lines 1.52 kB
import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { OntologySourceReference } from '../../ARCtrl.Core.3.0.0-beta.12/OntologySourceReference.fs.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 { 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 = "Term Source Name"; export declare const fileLabel = "Term Source File"; export declare const versionLabel = "Term Source Version"; export declare const descriptionLabel = "Term Source Description"; export declare const labels: FSharpList<string>; export declare function fromString(description: Option<string>, file: Option<string>, name: Option<string>, version: Option<string>, comments: Comment$[]): OntologySourceReference; export declare function fromSparseTable(matrix: SparseTable): FSharpList<OntologySourceReference>; export declare function toSparseTable(ontologySources: FSharpList<OntologySourceReference>): SparseTable; export declare function fromRows(lineNumber: int32, rows: IEnumerator<Iterable<[int32, string]>>): [Option<string>, int32, FSharpList<Remark>, FSharpList<OntologySourceReference>]; export declare function toRows(termSources: FSharpList<OntologySourceReference>): Iterable<Iterable<[int32, string]>>; //# sourceMappingURL=OntologySourceReference.fs.d.ts.map