0661016827
- Replace Email+Password login with Phone+OTP flow - Remove RegisterCubit and registration screens (email verification) - Remove ResetPasswordCubit and reset password screens - Add phone normalization and international dial code support - Update LoginCubit with sendCode/resend cooldown logic - Add new widgets: phone prefix selector, confirm sheet - Update all auth API endpoints: /otp/send, /phone-session - Update form inputs: Email -> Phone with E.164 validation - Update tests for new auth flow
33 lines
1.2 KiB
Dart
33 lines
1.2 KiB
Dart
class AppRoutes {
|
|
AppRoutes._();
|
|
|
|
static const authBoot = '/boot';
|
|
static const authLogin = '/';
|
|
|
|
static const homeMain = '/home';
|
|
|
|
static const messageInviteList = '/messages/invites';
|
|
static String messageInviteDetail(String id) => '/messages/invites/$id';
|
|
|
|
static const contactsList = '/contacts';
|
|
static const contactsAdd = '/contacts/add';
|
|
|
|
static const calendarDayWeek = '/calendar/dayweek';
|
|
static const calendarMonth = '/calendar/month';
|
|
static String calendarEventDetail(String id) => '/calendar/events/$id';
|
|
static const calendarEventCreate = '/calendar/events/new';
|
|
static String calendarEventEdit(String id) => '/calendar/events/$id/edit';
|
|
static String calendarEventShare(String id) => '/calendar/events/$id/share';
|
|
|
|
static const todoList = '/todo';
|
|
static String todoDetail(String id) => '/todo/$id';
|
|
static const todoCreate = '/todo/new';
|
|
static String todoEdit(String id) => '/todo/$id/edit';
|
|
|
|
static const settingsMain = '/settings';
|
|
static const settingsFeatures = '/settings/features';
|
|
static const settingsMemory = '/settings/memory';
|
|
static const settingsAccount = '/settings/account';
|
|
static const settingsEditProfile = '/edit-profile';
|
|
}
|