@react-pakistan/util-functions 1.23.30 → 1.23.32

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.
@@ -173,9 +173,7 @@ const postQuoteInvoice = (_d) => __awaiter(void 0, [_d], void 0, function* ({ ad
173
173
  return (Object.assign(Object.assign({}, toReturn), { quoteInvoiceId: id }));
174
174
  });
175
175
  if (filteredEditServices === null || filteredEditServices === void 0 ? void 0 : filteredEditServices.length) {
176
- console.log('>', filteredEditServices);
177
176
  filteredEditServices === null || filteredEditServices === void 0 ? void 0 : filteredEditServices.map((item) => __awaiter(void 0, void 0, void 0, function* () {
178
- console.log('>>', item);
179
177
  yield prisma.service.update({
180
178
  where: {
181
179
  id: item.id,
@@ -0,0 +1,10 @@
1
+ /**
2
+ * A util function to convert url into sentence case
3
+ *
4
+ * @param str - string provided to convert url into sentence case - taimoorKhan
5
+ * @returns string in sentence case - Taimoor Khan
6
+ * @author Taimoor Khan
7
+ * @remarks
8
+ */
9
+ /** End file docs */
10
+ export declare const textToSentenceCase: (text: string) => string;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * A util function to convert url into sentence case
4
+ *
5
+ * @param str - string provided to convert url into sentence case - taimoorKhan
6
+ * @returns string in sentence case - Taimoor Khan
7
+ * @author Taimoor Khan
8
+ * @remarks
9
+ */
10
+ /** End file docs */
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.textToSentenceCase = void 0;
13
+ const textToSentenceCase = (text) => text.charAt(0).toUpperCase() + text.slice(1);
14
+ exports.textToSentenceCase = textToSentenceCase;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.23.30",
3
+ "version": "1.23.32",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {