@godspeedsystems/core
Version:
> 4th Generation Declarative Microservice Framework
6 lines (5 loc) • 385 B
TypeScript
import { GSStatus } from './interfaces';
import { PlainObject } from './common';
export declare function loadJsonSchemaForEvents(allEventsConfigs: PlainObject): Promise<unknown>;
export declare function validateRequestSchema(topic: string, event: any, eventSpec: PlainObject): GSStatus;
export declare function validateResponseSchema(topic: string, gsStatus: GSStatus): GSStatus;