@atlaskit/mention
Version:
A React component used to display user profiles in a list for 'Mention' functionality
17 lines (16 loc) • 616 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.config = void 0;
var config = exports.config = {
getRecommendationServiceUrl: function getRecommendationServiceUrl(baseUrl) {
return baseUrl ? "/".concat(baseUrl, "/v1/recommendations") : '/gateway/api/v1/recommendations';
},
getUsersServiceUrl: function getUsersServiceUrl(productKey) {
return productKey === 'jira' ? '/rest/api/3/user/bulk' : '/wiki/rest/api/user/bulk';
},
getGraphQLUrl: function getGraphQLUrl(baseUrl) {
return baseUrl ? "/".concat(baseUrl, "/graphql") : '/gateway/api/graphql';
}
};