UNPKG

@pnp/sp

Version:

pnp - provides a fluent api for working with SharePoint REST

16 lines 553 B
import { spInvokableFactory, _SPInstance } from "../spqueryable.js"; export class _SitePageService extends _SPInstance { constructor(baseUrl, path = "_api/SP.Publishing.SitePageService") { super(baseUrl, path); } /** * Gets current user unified group memberships */ getCurrentUserMemberships() { const q = SitePageService(this, null); q.concat(".GetCurrentUserMemberships"); return q(); } } export const SitePageService = spInvokableFactory(_SitePageService); //# sourceMappingURL=types.js.map