UNPKG

@furystack/rest-service

Version:

Repository implementation for FuryStack

18 lines 493 B
import type { RequestAction } from './request-action-implementation.js'; export declare const Validate: <TSchema extends { definitions: { [K: string]: any; }; }>(validationOptions: { /** * The Schema object */ schema: TSchema; /** * Entity key from the JSON Schema object */ schemaName: keyof TSchema["definitions"]; }) => <T extends { result: any; }>(action: RequestAction<T>) => RequestAction<T>; //# sourceMappingURL=validate.d.ts.map