UNPKG

moleculer-api

Version:

A dynamic API Gateway for MoleculerJS which updates REST endpoints and aggregated GraphQL schema, access control policy for each action calls from metadata of remote services schema without restart or deployment.

14 lines (13 loc) 618 B
import { PolicyPluginConstructorOptions, PolicyPluginConstructors } from "./policy"; import { ProtocolPluginConstructorOptions, ProtocolPluginConstructors } from "./protocol"; export * from "./protocol"; export * from "./policy"; export declare const SchemaPluginConstructors: { protocol: typeof ProtocolPluginConstructors; policy: typeof PolicyPluginConstructors; }; export declare type SchemaPluginConstructorOptions = { protocol: ProtocolPluginConstructorOptions; policy: PolicyPluginConstructorOptions; }; export declare const defaultSchemaPluginConstructorOptions: SchemaPluginConstructorOptions;