sp-rest-proxy
Version:
SharePoint REST API Proxy for Node.js and Express local serve
8 lines (7 loc) • 356 B
TypeScript
/// <reference types="sharepoint" />
export interface IPageContextInfo extends _spPageContextInfo {
__webAbsoluteUrl?: string;
__siteAbsoluteUrl?: string;
}
export declare const isLocalhost: boolean;
export declare const loadPageContext: (proxyEndpoint?: string, timeout?: number, tries?: number) => Promise<Partial<IPageContextInfo | undefined>>;