@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
17 lines (16 loc) • 667 B
TypeScript
import { z } from "zod";
/**
* Default set of additional parameters that a geoprocessing or preprocessing function can accept
* Override or extend as needed with more specific types, and use .parse() function to validate your input
*/
export declare const extraParamsSchema: z.ZodObject<{
geographies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
eezs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
geographies?: string[] | undefined;
eezs?: string[] | undefined;
}, {
geographies?: string[] | undefined;
eezs?: string[] | undefined;
}>;
export type FunctionExtraParams = z.infer<typeof extraParamsSchema>;