gd-sprest-def 1.4.5 → 1.4.7

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
@@ -78,7 +78,7 @@ export interface IBaseQuery<Type = any, Result = Type> extends IBaseExecution<Ty
78
78
  * Queries the collection.
79
79
  * @param oData - The OData information.
80
80
  */
81
- query?: (query: IODataQuery) => IBaseExecution<Result>;
81
+ query: (query: IODataQuery) => IBaseExecution<Result>;
82
82
  }
83
83
 
84
84
  /**
@@ -138,6 +138,7 @@ export interface IMapperMethod {
138
138
  */
139
139
  export interface IMethodInfo {
140
140
  appendEndpointFl?: boolean;
141
+ appendRequest?: boolean;
141
142
  argNames?: Array<string>;
142
143
  argValues?: Array<any>;
143
144
  data?: any;
package/lib/base.d.ts CHANGED
@@ -78,7 +78,7 @@ export interface IBaseQuery<Type = any, Result = Type> extends IBaseExecution<Ty
78
78
  * Queries the collection.
79
79
  * @param oData - The OData information.
80
80
  */
81
- query?: (query: IODataQuery) => IBaseExecution<Result>;
81
+ query: (query: IODataQuery) => IBaseExecution<Result>;
82
82
  }
83
83
 
84
84
  /**
@@ -138,6 +138,7 @@ export interface IMapperMethod {
138
138
  */
139
139
  export interface IMethodInfo {
140
140
  appendEndpointFl?: boolean;
141
+ appendRequest?: boolean;
141
142
  argNames?: Array<string>;
142
143
  argValues?: Array<any>;
143
144
  data?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-sprest-def",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
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",