turf-common 1.1.1-beta.67 → 1.1.1-beta.69
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BookingDetailsStatus, PaymentMode, UserType } from
|
|
1
|
+
import { BookingDetailsStatus, PaymentMode, UserType } from "../@enum";
|
|
2
2
|
export interface IGetBookingById {
|
|
3
3
|
id: number;
|
|
4
4
|
customerName: string;
|
|
@@ -12,13 +12,11 @@ export interface IGetBookingById {
|
|
|
12
12
|
updatedOn: Date;
|
|
13
13
|
createdBy: {
|
|
14
14
|
firstname: string;
|
|
15
|
-
lastname: string;
|
|
16
15
|
type: UserType;
|
|
17
16
|
id: number;
|
|
18
17
|
};
|
|
19
18
|
updatedBy: {
|
|
20
19
|
firstname: string;
|
|
21
|
-
lastname: string;
|
|
22
20
|
type: UserType;
|
|
23
21
|
id: number;
|
|
24
22
|
};
|
|
@@ -13,7 +13,7 @@ declare class StringUtil {
|
|
|
13
13
|
* @param {string} inputString - The input string to be formatted.
|
|
14
14
|
* @returns {string} - The formatted string with hyphens.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
formatStringWithHyphens(inputString: string): string;
|
|
17
17
|
}
|
|
18
18
|
export declare const stringUtil: StringUtil;
|
|
19
19
|
export {};
|
|
@@ -20,7 +20,7 @@ var StringUtil = /** @class */ (function () {
|
|
|
20
20
|
* @param {string} inputString - The input string to be formatted.
|
|
21
21
|
* @returns {string} - The formatted string with hyphens.
|
|
22
22
|
*/
|
|
23
|
-
StringUtil.prototype.
|
|
23
|
+
StringUtil.prototype.formatStringWithHyphens = function (inputString) {
|
|
24
24
|
// Convert the input string to lowercase and replace spaces with hyphens
|
|
25
25
|
return inputString.toLowerCase().replace(/\s+/g, "-");
|
|
26
26
|
};
|