UNPKG

@nfdi4plants/swate-components

Version:

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

28 lines 2.5 kB
import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { Option } from '@fable-org/fable-library-js/Option.js'; import { Protocol } from '../../ARCtrl.Core.3.0.0-beta.12/Process/Protocol.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 nameLabel = "Name"; export declare const protocolTypeLabel = "Type"; export declare const typeTermAccessionNumberLabel = "Type Term Accession Number"; export declare const typeTermSourceREFLabel = "Type Term Source REF"; export declare const descriptionLabel = "Description"; export declare const uriLabel = "URI"; export declare const versionLabel = "Version"; export declare const parametersNameLabel = "Parameters Name"; export declare const parametersTermAccessionNumberLabel = "Parameters Term Accession Number"; export declare const parametersTermSourceREFLabel = "Parameters Term Source REF"; export declare const componentsNameLabel = "Components Name"; export declare const componentsTypeLabel = "Components Type"; export declare const componentsTypeTermAccessionNumberLabel = "Components Type Term Accession Number"; export declare const componentsTypeTermSourceREFLabel = "Components Type Term Source REF"; export declare const labels: FSharpList<string>; export declare function fromString(name: Option<string>, protocolType: Option<string>, typeTermAccessionNumber: Option<string>, typeTermSourceREF: Option<string>, description: Option<string>, uri: Option<string>, version: Option<string>, parametersName: string, parametersTermAccessionNumber: string, parametersTermSourceREF: string, componentsName: string, componentsType: string, componentsTypeTermAccessionNumber: string, componentsTypeTermSourceREF: string, comments: FSharpList<Comment$>): Protocol; export declare function fromSparseTable(matrix: SparseTable): FSharpList<Protocol>; export declare function toSparseTable(protocols: FSharpList<Protocol>): SparseTable; export declare function fromRows(prefix: Option<string>, lineNumber: int32, rows: IEnumerator<Iterable<[int32, string]>>): [Option<string>, int32, FSharpList<Remark>, FSharpList<Protocol>]; export declare function toRows(prefix: Option<string>, protocols: FSharpList<Protocol>): Iterable<Iterable<[int32, string]>>; //# sourceMappingURL=Protocols.fs.d.ts.map