@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
24 lines (23 loc) • 1.21 kB
TypeScript
/**
* If running geoprocessing CLI command from a project
* the geoprocessing path is the top-level of dist folder (3 folders up),
* If running tests ian the geoprocessing library, then the
* geoprocessing path is the top-levl of src folder (2 folders up)
*/
export declare function getGeoprocessingPath(): string;
/**
* If running geoprocessing CLI command from a project then execution is from
* your_project/node_modules/@seasketch/geoprocessing/dist/script
* and base project is located relative to this up at top-level of dist.
* If running internal geoprocessing tests then point to base project
* package
*/
export declare function getBaseProjectPath(): string;
export declare function getBaseFunctionPath(): string;
export declare function getReportAssetPath(): string;
export declare function getReportAssetFunctionPath(): string;
export declare function getReportAssetComponentPath(): string;
export declare function getProjectPath(basePath?: string): string;
export declare function getProjectFunctionPath(basePath?: string): string;
export declare function getProjectComponentPath(basePath?: string): string;
export declare function getProjectConfigPath(basePath?: string): string;