@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
21 lines • 1.73 kB
TypeScript
import { FSharpList } from '@fable-org/fable-library-js/List.js';
import { Option } from '@fable-org/fable-library-js/Option.js';
import { Publication } from '../../ARCtrl.Core.3.0.0-beta.12/Publication.fs.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 pubMedIDLabel = "PubMed ID";
export declare const doiLabel = "DOI";
export declare const authorListLabel = "Author List";
export declare const titleLabel = "Title";
export declare const statusLabel = "Status";
export declare const statusTermAccessionNumberLabel = "Status Term Accession Number";
export declare const statusTermSourceREFLabel = "Status Term Source REF";
export declare const labels: FSharpList<string>;
export declare function fromString(pubMedID: Option<string>, doi: Option<string>, author: Option<string>, title: Option<string>, status: Option<string>, statusTermSourceREF: Option<string>, statusTermAccessionNumber: Option<string>, comments: Comment$[]): Publication;
export declare function fromSparseTable(matrix: SparseTable): FSharpList<Publication>;
export declare function toSparseTable(publications: FSharpList<Publication>): SparseTable;
export declare function fromRows(prefix: Option<string>, lineNumber: int32, rows: IEnumerator<Iterable<[int32, string]>>): [Option<string>, int32, FSharpList<Remark>, FSharpList<Publication>];
export declare function toRows(prefix: Option<string>, publications: FSharpList<Publication>): Iterable<Iterable<[int32, string]>>;
//# sourceMappingURL=Publication.fs.d.ts.map