From 098346bd34f3dcfcc7d75df87cc51d7505cbc8f9 Mon Sep 17 00:00:00 2001 From: Ivan Vigliante Date: Mon, 8 Feb 2021 23:09:49 -0500 Subject: [PATCH 1/2] Moved `lib/ApiCaller` to `lib/input/figma/helper` --- lib/{APICaller => input/figma/helper}/api_call_service.dart | 0 lib/{APICaller => input/figma/helper}/api_exceptions.dart | 0 lib/input/figma/helper/figma_asset_processor.dart | 2 +- lib/main.dart | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename lib/{APICaller => input/figma/helper}/api_call_service.dart (100%) rename lib/{APICaller => input/figma/helper}/api_exceptions.dart (100%) diff --git a/lib/APICaller/api_call_service.dart b/lib/input/figma/helper/api_call_service.dart similarity index 100% rename from lib/APICaller/api_call_service.dart rename to lib/input/figma/helper/api_call_service.dart diff --git a/lib/APICaller/api_exceptions.dart b/lib/input/figma/helper/api_exceptions.dart similarity index 100% rename from lib/APICaller/api_exceptions.dart rename to lib/input/figma/helper/api_exceptions.dart diff --git a/lib/input/figma/helper/figma_asset_processor.dart b/lib/input/figma/helper/figma_asset_processor.dart index 12e9a32a..01415955 100644 --- a/lib/input/figma/helper/figma_asset_processor.dart +++ b/lib/input/figma/helper/figma_asset_processor.dart @@ -1,8 +1,8 @@ import 'dart:io'; import 'package:http/http.dart' as http; -import 'package:parabeac_core/APICaller/api_call_service.dart'; import 'package:parabeac_core/controllers/main_info.dart'; +import 'package:parabeac_core/input/figma/helper/api_call_service.dart'; import 'package:parabeac_core/input/helper/asset_processing_service.dart'; import 'package:quick_log/quick_log.dart'; diff --git a/lib/main.dart b/lib/main.dart index e458c31b..b209838b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,10 +1,10 @@ import 'dart:convert'; import 'dart:io'; -import 'package:parabeac_core/APICaller/api_call_service.dart'; import 'package:parabeac_core/controllers/design_controller.dart'; import 'package:parabeac_core/controllers/figma_controller.dart'; import 'package:parabeac_core/controllers/main_info.dart'; import 'package:parabeac_core/controllers/sketch_controller.dart'; +import 'package:parabeac_core/input/figma/helper/api_call_service.dart'; import 'package:parabeac_core/input/figma/helper/figma_asset_processor.dart'; import 'package:parabeac_core/input/helper/azure_asset_service.dart'; import 'package:parabeac_core/input/sketch/helper/sketch_asset_processor.dart'; From 2dbe5410270d08d38b2dd6cfdc82d73832c6ae5f Mon Sep 17 00:00:00 2001 From: Ivan Vigliante Date: Mon, 8 Feb 2021 23:19:01 -0500 Subject: [PATCH 2/2] Fixed import paths in tests --- test/lib/input_services/figma_to_map_test.dart | 2 +- test/lib/input_services/input_to_pbdl_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/input_services/figma_to_map_test.dart b/test/lib/input_services/figma_to_map_test.dart index 41f9eb21..d9cde83b 100644 --- a/test/lib/input_services/figma_to_map_test.dart +++ b/test/lib/input_services/figma_to_map_test.dart @@ -1,5 +1,5 @@ import 'dart:io'; -import 'package:parabeac_core/APICaller/api_call_service.dart'; +import 'package:parabeac_core/input/figma/helper/api_call_service.dart'; import 'package:test/test.dart'; void main() async { diff --git a/test/lib/input_services/input_to_pbdl_test.dart b/test/lib/input_services/input_to_pbdl_test.dart index 55a4057b..eb82a62b 100644 --- a/test/lib/input_services/input_to_pbdl_test.dart +++ b/test/lib/input_services/input_to_pbdl_test.dart @@ -1,8 +1,8 @@ import 'dart:io'; -import 'package:parabeac_core/APICaller/api_call_service.dart'; import 'package:parabeac_core/controllers/figma_controller.dart'; import 'package:parabeac_core/controllers/main_info.dart'; import 'package:parabeac_core/controllers/sketch_controller.dart'; +import 'package:parabeac_core/input/figma/helper/api_call_service.dart'; import 'package:parabeac_core/input/figma/helper/figma_page.dart'; import 'package:parabeac_core/input/figma/helper/figma_project.dart'; import 'package:parabeac_core/input/sketch/helper/sketch_page.dart';