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.
8 lines (7 loc) • 311 B
TypeScript
import { IPolicyPluginCatalog, IPolicyPluginSchema } from "../plugin";
export declare type ScopePolicyPluginSchema = IPolicyPluginSchema & string[];
export declare type ScopePolicyPluginCatalog = IPolicyPluginCatalog & {
type: string;
description: string | null;
scopes: ScopePolicyPluginSchema;
};