@stemy/backend 3.5.10 → 3.5.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/bundles/stemy-backend.umd.js +7 -0
- package/bundles/stemy-backend.umd.js.map +1 -1
- package/esm2015/public_api.js +2 -2
- package/esm2015/utils.js +6 -1
- package/fesm2015/stemy-backend.js +6 -1
- package/fesm2015/stemy-backend.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/stemy-backend.metadata.json +1 -1
- package/utils.d.ts +2 -1
|
@@ -1278,6 +1278,12 @@
|
|
|
1278
1278
|
return e;
|
|
1279
1279
|
}
|
|
1280
1280
|
return new routingControllers.HttpError(httpCode, message + ": " + e);
|
|
1281
|
+
}
|
|
1282
|
+
function prepareUrl(ending) {
|
|
1283
|
+
if (ending === void 0) { ending = ""; }
|
|
1284
|
+
return function (url) {
|
|
1285
|
+
return url ? "" + url.replace(/\/+$/, "") + ending : ending;
|
|
1286
|
+
};
|
|
1281
1287
|
}
|
|
1282
1288
|
|
|
1283
1289
|
var __decorate$B = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -7031,6 +7037,7 @@
|
|
|
7031
7037
|
exports.padRight = padRight;
|
|
7032
7038
|
exports.paginate = paginate;
|
|
7033
7039
|
exports.paginateAggregations = paginateAggregations;
|
|
7040
|
+
exports.prepareUrl = prepareUrl;
|
|
7034
7041
|
exports.projectStage = projectStage;
|
|
7035
7042
|
exports.promiseTimeout = promiseTimeout;
|
|
7036
7043
|
exports.rand = rand;
|