@onehat/data 1.22.10 → 1.22.11
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 +1 -1
- package/src/Repository/Ajax.js +8 -0
package/package.json
CHANGED
package/src/Repository/Ajax.js
CHANGED
|
@@ -319,6 +319,14 @@ class AjaxRepository extends Repository {
|
|
|
319
319
|
return this._baseParams[name];
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
+
/**
|
|
323
|
+
* Returns current value of base query params
|
|
324
|
+
* @param {object} params - Params to set. Key is parameter name, value is parameter value
|
|
325
|
+
*/
|
|
326
|
+
getBaseParams() {
|
|
327
|
+
return this._baseParams;
|
|
328
|
+
}
|
|
329
|
+
|
|
322
330
|
/**
|
|
323
331
|
* Determines if query param exists
|
|
324
332
|
* @param {string} name - Param name
|