gd-sprest-def 2.0.8 → 2.1.0

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
  /**
@@ -182,6 +185,9 @@ export interface IODataQuery {
182
185
  */
183
186
  GetAllItems?: boolean;
184
187
 
188
+ /** Time in ms to wait between calls to avoid throttling. */
189
+ GetAllItemsWaitTime?: number;
190
+
185
191
  /** The order by fields. */
186
192
  OrderBy?: Array<string>;
187
193
 
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
  /**
@@ -182,6 +185,9 @@ export interface IODataQuery {
182
185
  */
183
186
  GetAllItems?: boolean;
184
187
 
188
+ /** Time in ms to wait between calls to avoid throttling. */
189
+ GetAllItemsWaitTime?: number;
190
+
185
191
  /** The order by fields. */
186
192
  OrderBy?: Array<string>;
187
193
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-sprest-def",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
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",