@gluestack-v2/glue-plugin-service-gateway
Version:
Gluestack V2 service Gateway Plugin
22 lines (20 loc) • 652 B
JavaScript
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const template = () => `
**--- Action CallMethod ---**: {
handler(ctx) {
return ctx.call("**--- Service Method ---**", **--- Action Data ---**).then((res) => res);
},
},
`;
exports.default = template;
});