UNPKG

n8n-nodes-zola-fake

Version:

Các node hỗ trợ Zalo cho n8n Thong

19 lines (15 loc) 470 B
'use strict'; var utils = require('../utils.cjs'); const customFactory = utils.apiFactory()((api, ctx, utils) => { return function custom(name, callback) { Object.defineProperty(api, name, { value: function (props) { return callback({ ctx, utils, props }); }, writable: false, enumerable: false, configurable: false, }); }; }); exports.customFactory = customFactory;