check phone repo

This commit is contained in:
efrilm
2025-09-18 05:51:17 +07:00
parent c072e4c168
commit c3263edb89
14 changed files with 1324 additions and 3 deletions
+14 -1
View File
@@ -1 +1,14 @@
// TODO: define your code
import '../../domain/auth/auth.dart';
extension StringExt on String {
CheckPhoneStatus toCheckPhoneStatus() {
switch (this) {
case 'NO_REGISTERED':
return CheckPhoneStatus.notRegistered;
case 'PASSWORD_REQUIRED':
return CheckPhoneStatus.passwordRequired;
default:
return CheckPhoneStatus.unknown;
}
}
}
+3
View File
@@ -0,0 +1,3 @@
class ApiPath {
static String checkPhone = '/api/v1/customer-auth/check-phone';
}