@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
119 lines • 6.71 kB
TypeScript
import { Option } from '@fable-org/fable-library-js/Option.js';
export declare function tryCheckValidCharacters(identifier: string): boolean;
export declare function checkValidCharacters(identifier: string): void;
export declare function createMissingIdentifier(): string;
export declare function isMissingIdentifier(str: string): boolean;
export declare function removeMissingIdentifier(str: string): string;
/**
* On read-in the FileName can be any combination of "assays" (assay folder name), assayIdentifier and "isa.assay.xlsx" (the actual file name).
*
* This functions extracts assayIdentifier from any of these combinations and returns it.
*/
export declare function Assay_identifierFromFileName(fileName: string): string;
/**
* On read-in the FileName can be any combination of "assays" (assay folder name), assayIdentifier and "isa.assay.xlsx" (the actual file name).
*
* This functions extracts assayIdentifier from any of these combinations and returns it.
*/
export declare function Assay_tryIdentifierFromFileName(fileName: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `assays/assayIdentifier/isa.assay.xlsx`.
*/
export declare function Assay_fileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `assays/assayIdentifier/isa.assay.xlsx`.
*/
export declare function Assay_tryFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `assays/assayIdentifier/isa.datamap.xlsx`.
*/
export declare function Assay_datamapFileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `assays/assayIdentifier/isa.datamap.xlsx`.
*/
export declare function Assay_tryDatamapFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On read-in the FileName can be any combination of "studies" (study folder name), studyIdentifier and "isa.study.xlsx" (the actual file name).
*
* This functions extracts studyIdentifier from any of these combinations and returns it.
*/
export declare function Study_identifierFromFileName(fileName: string): string;
/**
* On read-in the FileName can be any combination of "studies" (study folder name), studyIdentifier and "isa.study.xlsx" (the actual file name).
*
* This functions extracts studyIdentifier from any of these combinations and returns it.
*/
export declare function Study_tryIdentifierFromFileName(fileName: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `studies/studyIdentifier/isa.study.xlsx`.
*/
export declare function Study_fileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `studies/studyIdentifier/isa.study.xlsx`.
*/
export declare function Study_tryFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `studies/studyIdentifier/isa.investigation.xlsx`.
*/
export declare function Study_datamapFileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `studies/studyIdentifier/isa.investigation.xlsx`.
*/
export declare function Study_tryDatamapFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On read-in the FileName can be any combination of "workflows" (workflow folder name), workflowIdentifier and "isa.workflow.xlsx" (the actual file name).
*
* This functions extracts workflowIdentifier from any of these combinations and returns it.
*/
export declare function Workflow_identifierFromFileName(fileName: string): string;
/**
* On read-in the FileName can be any combination of "workflows" (workflow folder name), workflowIdentifier and "isa.workflow.xlsx" (the actual file name).
*
* This functions extracts workflowIdentifier from any of these combinations and returns it.
*/
export declare function Workflow_tryIdentifierFromFileName(fileName: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/isa.workflow.xlsx`.
*/
export declare function Workflow_fileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/isa.workflow.xlsx`.
*/
export declare function Workflow_tryFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/isa.datamap.xlsx`.
*/
export declare function Workflow_datamapFileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/isa.datamap.xlsx`.
*/
export declare function Workflow_tryDatamapFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On read-in the FileName can be any combination of "runs" (run folder name), runIdentifier and "isa.run.xlsx" (the actual file name).
*
* This functions extracts runIdentifier from any of these combinations and returns it.
*/
export declare function Run_identifierFromFileName(fileName: string): string;
/**
* On read-in the FileName can be any combination of "runs" (run folder name), runIdentifier and "isa.run.xlsx" (the actual file name).
*
* This functions extracts runIdentifier from any of these combinations and returns it.
*/
export declare function Run_tryIdentifierFromFileName(fileName: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/isa.run.xlsx`.
*/
export declare function Run_fileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/isa.run.xlsx`.
*/
export declare function Run_tryFileNameFromIdentifier(identifier: string): Option<string>;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/isa.datamap.xlsx`.
*/
export declare function Run_datamapFileNameFromIdentifier(identifier: string): string;
/**
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/isa.datamap.xlsx`.
*/
export declare function Run_tryDatamapFileNameFromIdentifier(identifier: string): Option<string>;
//# sourceMappingURL=Identifier.fs.d.ts.map