@godspeedsystems/core
Version:
> 4th Generation Declarative Microservice Framework
7 lines (6 loc) • 311 B
TypeScript
import Ajv from 'ajv';
import { PlainObject } from '../common';
declare const ajvInstance: Ajv;
export declare const isValidEvent: (event: PlainObject, eventKey: string) => boolean;
export declare const isValidWorkflow: (workflow: PlainObject, workflowKey: string) => boolean;
export default ajvInstance;