diff --git a/Apps/Locations/Libraries/Package.swift b/Apps/Locations/Libraries/Package.swift index 16ba787..301153d 100644 --- a/Apps/Locations/Libraries/Package.swift +++ b/Apps/Locations/Libraries/Package.swift @@ -13,8 +13,8 @@ let package = Package( targets: [ "Core", "Dependency", - "Locations", - "Persistence" + "Persistence", + "Remote" ] ), ], @@ -33,15 +33,15 @@ let package = Package( dependencies: [] ), .target( - name: "Locations", + name: "Persistence", + dependencies: [] + ), + .target( + name: "Remote", dependencies: [ "APICore" ] ), - .target( - name: "Persistence", - dependencies: [] - ), .testTarget( name: "APICoreTests", dependencies: [ @@ -60,18 +60,18 @@ let package = Package( "Dependency" ] ), - .testTarget( - name: "LocationsTests", - dependencies: [ - "APICore", - "Locations" - ] - ), .testTarget( name: "PersistenceTests", dependencies: [ "Persistence" ] ), + .testTarget( + name: "RemoteTests", + dependencies: [ + "APICore", + "Remote" + ] + ), ] ) diff --git a/Apps/Locations/Libraries/Sources/Locations/Clients/LocationsClient.swift b/Apps/Locations/Libraries/Sources/Remote/Clients/LocationsClient.swift similarity index 100% rename from Apps/Locations/Libraries/Sources/Locations/Clients/LocationsClient.swift rename to Apps/Locations/Libraries/Sources/Remote/Clients/LocationsClient.swift diff --git a/Apps/Locations/Libraries/Sources/Locations/Endpoints/GetLocationsEndpoint.swift b/Apps/Locations/Libraries/Sources/Remote/Endpoints/GetLocationsEndpoint.swift similarity index 100% rename from Apps/Locations/Libraries/Sources/Locations/Endpoints/GetLocationsEndpoint.swift rename to Apps/Locations/Libraries/Sources/Remote/Endpoints/GetLocationsEndpoint.swift diff --git a/Apps/Locations/Libraries/Sources/Locations/Extensions/String+Constants.swift b/Apps/Locations/Libraries/Sources/Remote/Extensions/String+Constants.swift similarity index 100% rename from Apps/Locations/Libraries/Sources/Locations/Extensions/String+Constants.swift rename to Apps/Locations/Libraries/Sources/Remote/Extensions/String+Constants.swift diff --git a/Apps/Locations/Libraries/Sources/Locations/Models/Location.swift b/Apps/Locations/Libraries/Sources/Remote/Models/Location.swift similarity index 100% rename from Apps/Locations/Libraries/Sources/Locations/Models/Location.swift rename to Apps/Locations/Libraries/Sources/Remote/Models/Location.swift diff --git a/Apps/Locations/Libraries/Sources/Locations/Services/LocationsService.swift b/Apps/Locations/Libraries/Sources/Remote/Services/LocationsService.swift similarity index 100% rename from Apps/Locations/Libraries/Sources/Locations/Services/LocationsService.swift rename to Apps/Locations/Libraries/Sources/Remote/Services/LocationsService.swift diff --git a/Apps/Locations/Libraries/Tests/LocationsTests/Clients/LocationsClientTests.swift b/Apps/Locations/Libraries/Tests/RemoteTests/Clients/LocationsClientTests.swift similarity index 100% rename from Apps/Locations/Libraries/Tests/LocationsTests/Clients/LocationsClientTests.swift rename to Apps/Locations/Libraries/Tests/RemoteTests/Clients/LocationsClientTests.swift diff --git a/Apps/Locations/Libraries/Tests/LocationsTests/Endpoints/GetLocationsEndpointTests.swift b/Apps/Locations/Libraries/Tests/RemoteTests/Endpoints/GetLocationsEndpointTests.swift similarity index 100% rename from Apps/Locations/Libraries/Tests/LocationsTests/Endpoints/GetLocationsEndpointTests.swift rename to Apps/Locations/Libraries/Tests/RemoteTests/Endpoints/GetLocationsEndpointTests.swift diff --git a/Apps/Locations/Libraries/Tests/LocationsTests/Helpers/Data+Constants.swift b/Apps/Locations/Libraries/Tests/RemoteTests/Helpers/Data+Constants.swift similarity index 100% rename from Apps/Locations/Libraries/Tests/LocationsTests/Helpers/Data+Constants.swift rename to Apps/Locations/Libraries/Tests/RemoteTests/Helpers/Data+Constants.swift diff --git a/Apps/Locations/Libraries/Tests/LocationsTests/Services/LocationsServiceTests.swift b/Apps/Locations/Libraries/Tests/RemoteTests/Services/LocationsServiceTests.swift similarity index 100% rename from Apps/Locations/Libraries/Tests/LocationsTests/Services/LocationsServiceTests.swift rename to Apps/Locations/Libraries/Tests/RemoteTests/Services/LocationsServiceTests.swift