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

46 lines
1.2 KiB
TypeScript
Raw Normal View History

"use strict";
exports.__esModule = true;
exports.StarApiDefinition = void 0;
exports.StarApiDefinition = {
/**
2022-06-29 16:03:02 +00:00
*
*/
2022-06-29 16:03:02 +00:00
toggleStar: {
method: 'post',
server: 'toggle',
client: function () { return '/star/toggle'; }
},
/**
*
*/
2022-06-29 16:03:02 +00:00
isStared: {
method: 'post',
2022-06-29 16:03:02 +00:00
server: 'isStared',
client: function () { return '/star/isStared'; }
},
/**
2022-06-29 16:03:02 +00:00
*
*/
2022-06-29 16:03:02 +00:00
getStarWikisInOrganization: {
method: 'get',
2022-06-29 16:03:02 +00:00
server: '/:organizationId/wikis',
client: function (organizationId) { return "/star/".concat(organizationId, "/wikis"); }
},
/**
*
*/
2022-06-29 16:03:02 +00:00
getStarDocumentsInWiki: {
method: 'get',
2022-06-29 16:03:02 +00:00
server: '/wiki/documents',
client: function () { return "/star/wiki/documents"; }
},
/**
2022-06-29 16:03:02 +00:00
*
*/
2022-06-29 16:03:02 +00:00
getStarDocumentsInOrganization: {
method: 'get',
2022-06-29 16:03:02 +00:00
server: '/:organizationId/documents',
client: function (organizationId) { return "/star/".concat(organizationId, "/documents"); }
}
};