gd-sprest-def 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/base.d.ts CHANGED
@@ -68,6 +68,9 @@ export interface IBaseExecution<Type = any, Result = Type> {
68
68
  * Method to get the request information.
69
69
  */
70
70
  getInfo(): IRequestInfo;
71
+
72
+ /** Stops any long running jobs for batch or query requests. */
73
+ stop();
71
74
  }
72
75
 
73
76
  /**
@@ -139,6 +142,7 @@ export interface IMapperMethod {
139
142
  replaceEndpointFl?: boolean;
140
143
  requestType?: number;
141
144
  requestMethod?: string;
145
+ returnProp?: string;
142
146
  returnType?: string;
143
147
  }
144
148
 
package/lib/base.d.ts CHANGED
@@ -68,6 +68,9 @@ export interface IBaseExecution<Type = any, Result = Type> {
68
68
  * Method to get the request information.
69
69
  */
70
70
  getInfo(): IRequestInfo;
71
+
72
+ /** Stops any long running jobs for batch or query requests. */
73
+ stop();
71
74
  }
72
75
 
73
76
  /**
@@ -139,6 +142,7 @@ export interface IMapperMethod {
139
142
  replaceEndpointFl?: boolean;
140
143
  requestType?: number;
141
144
  requestMethod?: string;
145
+ returnProp?: string;
142
146
  returnType?: string;
143
147
  }
144
148
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-sprest-def",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.",
5
5
  "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)",
6
6
  "license": "MIT",