gd-sprest 8.5.9 → 8.6.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/build/rest.js CHANGED
@@ -9,7 +9,7 @@ var sptypes_1 = require("./sptypes");
9
9
  * SharePoint REST Library
10
10
  */
11
11
  exports.$REST = {
12
- __ver: 8.59,
12
+ __ver: 8.60,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,
@@ -16,6 +16,7 @@ var OData = /** @class */ (function () {
16
16
  this._filter = oData && oData.Filter ? oData.Filter : null;
17
17
  this._getAllItems = oData && oData.GetAllItems ? oData.GetAllItems : false;
18
18
  this._orderBy = oData && oData.OrderBy ? oData.OrderBy : [];
19
+ this._search = oData && oData.Search ? oData.Search : null;
19
20
  this._select = oData && oData.Select ? oData.Select : [];
20
21
  this._skip = oData && oData.Skip ? oData.Skip : null;
21
22
  this._top = oData && oData.Top ? oData.Top : null;
@@ -86,6 +87,13 @@ var OData = /** @class */ (function () {
86
87
  enumerable: false,
87
88
  configurable: true
88
89
  });
90
+ Object.defineProperty(OData.prototype, "Search", {
91
+ // Search
92
+ get: function () { return this._search; },
93
+ set: function (value) { this._search = value; },
94
+ enumerable: false,
95
+ configurable: true
96
+ });
89
97
  Object.defineProperty(OData.prototype, "Select", {
90
98
  // Select
91
99
  get: function () { return this._select; },