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.

15 lines 520 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Pluggable = void 0; const keyed_1 = require("./keyed"); class Pluggable extends keyed_1.HasStaticKey { constructor() { super(); const constructor = this.constructor; if (typeof constructor.autoLoadOptions === "undefined") { throw new Error(`${constructor.name}.autoLoadOptions public static field required`); } } } exports.Pluggable = Pluggable; //# sourceMappingURL=pluggable.js.map