UNPKG

657 BTypeScriptView Raw
1declare module "../spqueryable" {
2 interface _SPQueryable {
3 /**
4 * Gets the context info for the specified path
5 *
6 * @param path Optional. Absolute path to a SharePoint resource [Default: this.parentUrl]
7 */
8 getContextInfo(path?: string): Promise<IContextInfo>;
9 }
10}
11/**
12 * This is the interface to expose data context information for a site/web
13 */
14export interface IContextInfo {
15 FormDigestTimeoutSeconds: number;
16 FormDigestValue: number;
17 LibraryVersion: string;
18 SiteFullUrl: string;
19 SupportedSchemaVersions: string[];
20 WebFullUrl: string;
21}
22//# sourceMappingURL=index.d.ts.map
\No newline at end of file