From 6ab45ac2f38f42828781d33538012068233db191 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Wed, 8 May 2024 15:40:42 +0530 Subject: [PATCH] data domain and presentation folder added --- lib/Bloc/config/{graphql => }/graphql_config.dart | 0 lib/Bloc/{config => }/core/queries/auth.dart | 0 lib/Bloc/{config => }/core/queries/beacon.dart | 0 lib/Bloc/{config => }/core/queries/group.dart | 0 lib/Bloc/{config => }/core/resources/data_state.dart | 0 .../core/services/shared_prefrence_service.dart | 0 lib/Bloc/{config => }/core/services/size_config.dart | 0 lib/Bloc/{config => }/core/usercase/usecase.dart | 0 lib/Bloc/{config => }/core/utils/utils.dart | 0 lib/Bloc/{config => }/theme/theme.dart | 0 lib/locator.dart | 2 +- lib/{ => old/components}/enums/view_state.dart | 0 .../components/services/database_mutation_functions.dart | 6 +++--- lib/old/components/view_model/auth_screen_model.dart | 2 +- lib/old/components/view_model/base_view_model.dart | 2 +- lib/old/components/view_model/group_screen_view_model.dart | 2 +- lib/old/components/view_model/hike_screen_model.dart | 6 +++--- lib/old/components/view_model/home_screen_view_model.dart | 2 +- 18 files changed, 11 insertions(+), 11 deletions(-) rename lib/Bloc/config/{graphql => }/graphql_config.dart (100%) rename lib/Bloc/{config => }/core/queries/auth.dart (100%) rename lib/Bloc/{config => }/core/queries/beacon.dart (100%) rename lib/Bloc/{config => }/core/queries/group.dart (100%) rename lib/Bloc/{config => }/core/resources/data_state.dart (100%) rename lib/Bloc/{config => }/core/services/shared_prefrence_service.dart (100%) rename lib/Bloc/{config => }/core/services/size_config.dart (100%) rename lib/Bloc/{config => }/core/usercase/usecase.dart (100%) rename lib/Bloc/{config => }/core/utils/utils.dart (100%) rename lib/Bloc/{config => }/theme/theme.dart (100%) rename lib/{ => old/components}/enums/view_state.dart (100%) diff --git a/lib/Bloc/config/graphql/graphql_config.dart b/lib/Bloc/config/graphql_config.dart similarity index 100% rename from lib/Bloc/config/graphql/graphql_config.dart rename to lib/Bloc/config/graphql_config.dart diff --git a/lib/Bloc/config/core/queries/auth.dart b/lib/Bloc/core/queries/auth.dart similarity index 100% rename from lib/Bloc/config/core/queries/auth.dart rename to lib/Bloc/core/queries/auth.dart diff --git a/lib/Bloc/config/core/queries/beacon.dart b/lib/Bloc/core/queries/beacon.dart similarity index 100% rename from lib/Bloc/config/core/queries/beacon.dart rename to lib/Bloc/core/queries/beacon.dart diff --git a/lib/Bloc/config/core/queries/group.dart b/lib/Bloc/core/queries/group.dart similarity index 100% rename from lib/Bloc/config/core/queries/group.dart rename to lib/Bloc/core/queries/group.dart diff --git a/lib/Bloc/config/core/resources/data_state.dart b/lib/Bloc/core/resources/data_state.dart similarity index 100% rename from lib/Bloc/config/core/resources/data_state.dart rename to lib/Bloc/core/resources/data_state.dart diff --git a/lib/Bloc/config/core/services/shared_prefrence_service.dart b/lib/Bloc/core/services/shared_prefrence_service.dart similarity index 100% rename from lib/Bloc/config/core/services/shared_prefrence_service.dart rename to lib/Bloc/core/services/shared_prefrence_service.dart diff --git a/lib/Bloc/config/core/services/size_config.dart b/lib/Bloc/core/services/size_config.dart similarity index 100% rename from lib/Bloc/config/core/services/size_config.dart rename to lib/Bloc/core/services/size_config.dart diff --git a/lib/Bloc/config/core/usercase/usecase.dart b/lib/Bloc/core/usercase/usecase.dart similarity index 100% rename from lib/Bloc/config/core/usercase/usecase.dart rename to lib/Bloc/core/usercase/usecase.dart diff --git a/lib/Bloc/config/core/utils/utils.dart b/lib/Bloc/core/utils/utils.dart similarity index 100% rename from lib/Bloc/config/core/utils/utils.dart rename to lib/Bloc/core/utils/utils.dart diff --git a/lib/Bloc/config/theme/theme.dart b/lib/Bloc/theme/theme.dart similarity index 100% rename from lib/Bloc/config/theme/theme.dart rename to lib/Bloc/theme/theme.dart diff --git a/lib/locator.dart b/lib/locator.dart index 7e9d173c..2073c85c 100644 --- a/lib/locator.dart +++ b/lib/locator.dart @@ -1,7 +1,7 @@ import 'package:beacon/main.dart'; import 'package:beacon/old/components/services/connection_checker.dart'; import 'package:beacon/old/components/services/database_mutation_functions.dart'; -import 'package:beacon/Bloc/config/graphql/graphql_config.dart'; +import 'package:beacon/Bloc/config/graphql_config.dart'; import 'package:beacon/old/components/services/hive_localdb.dart'; import 'package:beacon/old/components/services/local_notification.dart'; import 'package:beacon/old/components/services/navigation_service.dart'; diff --git a/lib/enums/view_state.dart b/lib/old/components/enums/view_state.dart similarity index 100% rename from lib/enums/view_state.dart rename to lib/old/components/enums/view_state.dart diff --git a/lib/old/components/services/database_mutation_functions.dart b/lib/old/components/services/database_mutation_functions.dart index e1027857..55895f83 100644 --- a/lib/old/components/services/database_mutation_functions.dart +++ b/lib/old/components/services/database_mutation_functions.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:developer'; -import 'package:beacon/Bloc/config/core/queries/auth.dart'; -import 'package:beacon/Bloc/config/core/queries/beacon.dart'; -import 'package:beacon/Bloc/config/core/queries/group.dart'; +import 'package:beacon/Bloc/core/queries/auth.dart'; +import 'package:beacon/Bloc/core/queries/beacon.dart'; +import 'package:beacon/Bloc/core/queries/group.dart'; import 'package:beacon/old/components/models/beacon/beacon.dart'; import 'package:beacon/old/components/models/group/group.dart'; import 'package:beacon/old/components/models/landmarks/landmark.dart'; diff --git a/lib/old/components/view_model/auth_screen_model.dart b/lib/old/components/view_model/auth_screen_model.dart index 336cfe87..33714b77 100644 --- a/lib/old/components/view_model/auth_screen_model.dart +++ b/lib/old/components/view_model/auth_screen_model.dart @@ -1,6 +1,6 @@ import 'dart:developer'; -import 'package:beacon/enums/view_state.dart'; +import 'package:beacon/old/components/enums/view_state.dart'; import 'package:beacon/old/components/utilities/constants.dart'; import 'package:flutter/material.dart'; import 'package:beacon/locator.dart'; diff --git a/lib/old/components/view_model/base_view_model.dart b/lib/old/components/view_model/base_view_model.dart index d0b66cb8..42acc5c9 100644 --- a/lib/old/components/view_model/base_view_model.dart +++ b/lib/old/components/view_model/base_view_model.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:beacon/enums/view_state.dart'; +import 'package:beacon/old/components/enums/view_state.dart'; class BaseModel extends ChangeNotifier { ViewState _state = ViewState.idle; diff --git a/lib/old/components/view_model/group_screen_view_model.dart b/lib/old/components/view_model/group_screen_view_model.dart index 11916ae1..9951dc10 100644 --- a/lib/old/components/view_model/group_screen_view_model.dart +++ b/lib/old/components/view_model/group_screen_view_model.dart @@ -1,4 +1,4 @@ -import 'package:beacon/enums/view_state.dart'; +import 'package:beacon/old/components/enums/view_state.dart'; import 'package:beacon/locator.dart'; import 'package:beacon/old/components/models/beacon/beacon.dart'; import 'package:beacon/old/components/view_model/base_view_model.dart'; diff --git a/lib/old/components/view_model/hike_screen_model.dart b/lib/old/components/view_model/hike_screen_model.dart index 125e2a67..81f6364c 100644 --- a/lib/old/components/view_model/hike_screen_model.dart +++ b/lib/old/components/view_model/hike_screen_model.dart @@ -1,9 +1,9 @@ import 'dart:async'; -import 'package:beacon/Bloc/config/core/queries/beacon.dart'; +import 'package:beacon/Bloc/core/queries/beacon.dart'; import 'package:beacon/old/components/dialog_boxes.dart'; import 'package:beacon/Bloc/config/enviornment_config.dart'; import 'package:beacon/locator.dart'; -import 'package:beacon/Bloc/config/graphql/graphql_config.dart'; +import 'package:beacon/Bloc/config/graphql_config.dart'; import 'package:beacon/old/components/utilities/constants.dart'; import 'package:flutter/material.dart'; import 'package:flutter_animarker/core/ripple_marker.dart'; @@ -11,7 +11,7 @@ import 'package:flutter_geocoder_alternative/flutter_geocoder_alternative.dart'; import 'package:flutter_polyline_points/flutter_polyline_points.dart'; import 'package:fluttertoast/fluttertoast.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; -import 'package:beacon/enums/view_state.dart'; +import 'package:beacon/old/components/enums/view_state.dart'; import 'package:beacon/old/components/models/beacon/beacon.dart'; import 'package:beacon/old/components/models/location/location.dart' deferred as locModel; diff --git a/lib/old/components/view_model/home_screen_view_model.dart b/lib/old/components/view_model/home_screen_view_model.dart index 0ef31dfc..7b769f48 100644 --- a/lib/old/components/view_model/home_screen_view_model.dart +++ b/lib/old/components/view_model/home_screen_view_model.dart @@ -1,4 +1,4 @@ -import 'package:beacon/enums/view_state.dart'; +import 'package:beacon/old/components/enums/view_state.dart'; import 'package:beacon/locator.dart'; import 'package:beacon/old/components/view_model/base_view_model.dart'; import 'package:flutter/material.dart';