think/packages/domains/lib/api/collector.js

38 lines
830 B
TypeScript
Raw Normal View History

2022-05-23 13:05:59 +08:00
"use strict";
exports.__esModule = true;
exports.CollectorApiDefinition = void 0;
exports.CollectorApiDefinition = {
/**
*
*/
toggle: {
2022-05-23 16:20:56 +08:00
method: 'post',
2022-05-23 13:05:59 +08:00
server: 'toggle',
client: function () { return '/collector/toggle'; }
},
/**
*
*/
check: {
2022-05-23 16:20:56 +08:00
method: 'post',
2022-05-23 13:05:59 +08:00
server: 'check',
client: function () { return '/collector/check'; }
},
/**
*
*/
wikis: {
2022-05-23 16:20:56 +08:00
method: 'get',
2022-05-23 13:05:59 +08:00
server: 'wikis',
client: function () { return '/collector/wikis'; }
},
/**
*
*/
documents: {
2022-05-23 16:20:56 +08:00
method: 'get',
2022-05-23 13:05:59 +08:00
server: 'documents',
client: function () { return '/collector/documents'; }
}
};