feat: init project and add user module

This commit is contained in:
2026-02-17 12:29:31 +03:30
commit b9779f7cb6
29 changed files with 11774 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import * as StringUtils from './string-utils';
const Utils = {
StringUtils,
};
export default Utils;
+9
View File
@@ -0,0 +1,9 @@
export const normalizePhone = (phone: string): string => {
phone = phone.replace(/\D/g, '');
if (phone.startsWith('9')) {
return '0' + phone;
}
return phone;
};