@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
9 lines (8 loc) • 497 B
TypeScript
import { Objective, ObjectiveId, ClassificationId } from "../types/objective.js";
/** find and return objectives from passed objectives */
export declare const getObjectiveById: (objectiveId: string, objectives: Objective[]) => Objective;
/**
* Returns an object mapping objective ID to ID of first classification that counts toward objective
* @param objectives - set of objectives
*/
export declare const getMinYesCountMap: (objectives: Objective[]) => Record<ObjectiveId, ClassificationId>;