feat: update order types in ClientCreateOrderRepositoryImpl and add firebase_auth dependency in pubspec.yaml
This commit is contained in:
@@ -27,26 +27,28 @@ class ClientCreateOrderRepositoryImpl
|
|||||||
@override
|
@override
|
||||||
Future<List<domain.OrderType>> getOrderTypes() {
|
Future<List<domain.OrderType>> getOrderTypes() {
|
||||||
return Future.value(const <domain.OrderType>[
|
return Future.value(const <domain.OrderType>[
|
||||||
domain.OrderType(
|
|
||||||
id: 'rapid',
|
|
||||||
titleKey: 'client_create_order.types.rapid',
|
|
||||||
descriptionKey: 'client_create_order.types.rapid_desc',
|
|
||||||
),
|
|
||||||
domain.OrderType(
|
domain.OrderType(
|
||||||
id: 'one-time',
|
id: 'one-time',
|
||||||
titleKey: 'client_create_order.types.one_time',
|
titleKey: 'client_create_order.types.one_time',
|
||||||
descriptionKey: 'client_create_order.types.one_time_desc',
|
descriptionKey: 'client_create_order.types.one_time_desc',
|
||||||
),
|
),
|
||||||
domain.OrderType(
|
|
||||||
id: 'recurring',
|
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||||
titleKey: 'client_create_order.types.recurring',
|
// domain.OrderType(
|
||||||
descriptionKey: 'client_create_order.types.recurring_desc',
|
// id: 'rapid',
|
||||||
),
|
// titleKey: 'client_create_order.types.rapid',
|
||||||
domain.OrderType(
|
// descriptionKey: 'client_create_order.types.rapid_desc',
|
||||||
id: 'permanent',
|
// ),
|
||||||
titleKey: 'client_create_order.types.permanent',
|
// domain.OrderType(
|
||||||
descriptionKey: 'client_create_order.types.permanent_desc',
|
// id: 'recurring',
|
||||||
),
|
// titleKey: 'client_create_order.types.recurring',
|
||||||
|
// descriptionKey: 'client_create_order.types.recurring_desc',
|
||||||
|
// ),
|
||||||
|
// domain.OrderType(
|
||||||
|
// id: 'permanent',
|
||||||
|
// titleKey: 'client_create_order.types.permanent',
|
||||||
|
// descriptionKey: 'client_create_order.types.permanent_desc',
|
||||||
|
// ),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ dependencies:
|
|||||||
krow_data_connect:
|
krow_data_connect:
|
||||||
path: ../../../data_connect
|
path: ../../../data_connect
|
||||||
firebase_data_connect: ^0.2.2+2
|
firebase_data_connect: ^0.2.2+2
|
||||||
|
firebase_auth: ^6.1.4
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Reference in New Issue
Block a user