2
0
Fork 0
tcrud/lib/plugin/format/format-json.js

36 lines
728 B
JavaScript
Raw Normal View History

2017-06-10 14:53:29 +00:00
// TODO: move to default-format-json.js ??
module.exports = (function () {
return function FormatJsonPlugin() {
this.configPlugin = function (ctx) {
ctx.key = 'formatJSON';
ctx.description = 'Export the tentity api in json format.';
ctx.localDir = __dirname;
ctx.localConfigTemplate = 'format-json.json';
};
// flag that we support these all crud types.
this.configApiTListExport = function (ctx) {
};
this.configApiTCreateExport = function (ctx) {
};
this.configApiTReadExport = function (ctx) {
};
this.configApiTEditExport = function (ctx) {
};
this.configApiTDeleteExport = function (ctx) {
};
this.configApiTCountExport = function (ctx) {
};
};
})();