import { computeItemLinks } from "../../core/_internal/computeItemLinks";
/**
 * Compute the links that get appended to a Hub Site
 * search result and entity
 *
 * @param item
 * @param requestOptions
 */
export function computeLinks(item, requestOptions) {
    const links = computeItemLinks(item, requestOptions);
    return Object.assign(Object.assign({}, links), { 
        // for sites we use the site's url as the self link
        self: item.url, 
        // add the layout relative link
        layoutRelative: "/edit" });
}
//# sourceMappingURL=computeLinks.js.map