UNPKG

@midwayjs/web

Version:

Midway Web Framework for Egg.js

15 lines 542 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AgentApp = AgentApp; exports.RunInEggAgent = RunInEggAgent; const core_1 = require("@midwayjs/core"); const interface_1 = require("./interface"); function AgentApp() { return core_1.DecoratorManager.createCustomPropertyDecorator(interface_1.EGG_AGENT_APP_KEY, {}); } function RunInEggAgent() { return function (target) { core_1.DecoratorManager.saveModule(interface_1.RUN_IN_AGENT_KEY, target); }; } //# sourceMappingURL=decorator.js.map