@envelop/core
Version:
This is the core package for Envelop. You can find a complete documentation here: https://github.com/n1ru4l/envelop
11 lines (10 loc) • 383 B
TypeScript
import { ExecuteFunction, ParseFunction, Plugin, SubscribeFunction, ValidateFunction } from '@envelop/types';
type UseEngineOptions = {
execute?: ExecuteFunction;
parse?: ParseFunction;
validate?: ValidateFunction;
specifiedRules?: readonly any[];
subscribe?: SubscribeFunction;
};
export declare const useEngine: (engine: UseEngineOptions) => Plugin;
export {};