@onehat/data 1.21.6 → 1.21.8
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/package.json
CHANGED
package/src/Property/Json.js
CHANGED
package/src/Repository/Ajax.js
CHANGED
|
@@ -287,6 +287,17 @@ class AjaxRepository extends Repository {
|
|
|
287
287
|
return this._baseParams.hasOwnProperty(name);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Returns current value of base query param
|
|
292
|
+
* @param {string} name - Param name
|
|
293
|
+
*/
|
|
294
|
+
getBaseParam(name) {
|
|
295
|
+
if (!this.hasBaseParam(name)) {
|
|
296
|
+
return null;
|
|
297
|
+
}
|
|
298
|
+
return this._baseParams[name];
|
|
299
|
+
}
|
|
300
|
+
|
|
290
301
|
/**
|
|
291
302
|
* Determines if query param exists
|
|
292
303
|
* @param {string} name - Param name
|
|
Binary file
|