From 52b67d98cf88141dadca57262c137251d7141074 Mon Sep 17 00:00:00 2001 From: Daniel Primo <> Date: Tue, 14 Jan 2025 14:44:48 +0000 Subject: [PATCH] % logic to local BFFGraph SPM --- Alfie/Alfie.xcodeproj/project.pbxproj | 14 +++++++ Alfie/AlfieKit/Package.swift | 32 +++++++++++++--- .../AttributesFragment.graphql.swift | 0 .../Fragments/BrandFragment.graphql.swift | 0 .../Fragments/ColourFragment.graphql.swift | 0 .../Fragments/ImageFragment.graphql.swift | 0 .../Fragments/MediaFragment.graphql.swift | 0 .../Fragments/MoneyFragment.graphql.swift | 0 .../NavMenuItemFragment.graphql.swift | 0 .../PaginationFragment.graphql.swift | 0 .../Fragments/PriceFragment.graphql.swift | 0 .../PriceRangeFragment.graphql.swift | 0 .../Fragments/ProductFragment.graphql.swift | 0 .../Api}/Fragments/SizeFragment.graphql.swift | 0 .../Fragments/SizeGuideFragment.graphql.swift | 0 .../SizeGuideTreeFragment.graphql.swift | 0 .../Fragments/SizeTreeFragment.graphql.swift | 0 .../SuggestionBrandFragment.graphql.swift | 0 .../SuggestionKeywordFragment.graphql.swift | 0 .../SuggestionProductFragment.graphql.swift | 0 .../Fragments/VariantFragment.graphql.swift | 0 .../Queries/BrandsQuery.graphql.swift | 0 .../Queries/GetHeaderNavQuery.graphql.swift | 0 .../Queries/GetProductQuery.graphql.swift | 0 .../Queries/GetSuggestionsQuery.graphql.swift | 0 .../Queries/ProductListingQuery.graphql.swift | 0 .../Api}/Schema/CustomScalars/URL.swift | 0 .../Enums/MediaContentType.graphql.swift | 0 .../Enums/NavMenuItemType.graphql.swift | 0 .../Enums/ProductListingSort.graphql.swift | 0 .../Schema/Enums/VideoFormat.graphql.swift | 0 .../Api}/Schema/Objects/Brand.graphql.swift | 0 .../Api}/Schema/Objects/Colour.graphql.swift | 0 .../Api}/Schema/Objects/Image.graphql.swift | 0 .../Schema/Objects/KeyValuePair.graphql.swift | 0 .../Api}/Schema/Objects/Money.graphql.swift | 0 .../Schema/Objects/NavMenuItem.graphql.swift | 0 .../Schema/Objects/Pagination.graphql.swift | 0 .../Api}/Schema/Objects/Price.graphql.swift | 0 .../Schema/Objects/PriceRange.graphql.swift | 0 .../Api}/Schema/Objects/Product.graphql.swift | 0 .../Objects/ProductListing.graphql.swift | 0 .../Api}/Schema/Objects/Query.graphql.swift | 0 .../Api}/Schema/Objects/Size.graphql.swift | 0 .../Schema/Objects/SizeGuide.graphql.swift | 0 .../Schema/Objects/Suggestion.graphql.swift | 0 .../Objects/SuggestionBrand.graphql.swift | 0 .../Objects/SuggestionKeyword.graphql.swift | 0 .../Objects/SuggestionProduct.graphql.swift | 0 .../Api}/Schema/Objects/Variant.graphql.swift | 0 .../Api}/Schema/Objects/Video.graphql.swift | 0 .../Schema/Objects/VideoSource.graphql.swift | 0 .../Api}/Schema/SchemaConfiguration.swift | 0 .../Api}/Schema/SchemaMetadata.graphql.swift | 0 .../Api}/Schema/Unions/Media.graphql.swift | 0 .../Mocks}/Brand+Mock.graphql.swift | 0 .../Mocks}/Colour+Mock.graphql.swift | 0 .../Mocks}/Image+Mock.graphql.swift | 0 .../Mocks}/KeyValuePair+Mock.graphql.swift | 0 .../Mocks}/MockObject+Unions.graphql.swift | 0 .../Mocks}/Money+Mock.graphql.swift | 0 .../Mocks}/NavMenuItem+Mock.graphql.swift | 0 .../Mocks}/Pagination+Mock.graphql.swift | 0 .../Mocks}/Price+Mock.graphql.swift | 0 .../Mocks}/PriceRange+Mock.graphql.swift | 0 .../Mocks}/Product+Mock.graphql.swift | 0 .../Mocks}/ProductListing+Mock.graphql.swift | 0 .../Mocks}/Query+Mock.graphql.swift | 0 .../Mocks}/Size+Mock.graphql.swift | 0 .../Mocks}/SizeGuide+Mock.graphql.swift | 0 .../Mocks}/Suggestion+Mock.graphql.swift | 0 .../Mocks}/SuggestionBrand+Mock.graphql.swift | 0 .../SuggestionKeyword+Mock.graphql.swift | 0 .../SuggestionProduct+Mock.graphql.swift | 0 .../Mocks}/Variant+Mock.graphql.swift | 0 .../Mocks}/Video+Mock.graphql.swift | 0 .../Mocks}/VideoSource+Mock.graphql.swift | 0 .../contents.xcworkspacedata | 7 ---- .../Sources/Core/BFFGraphApi/Package.swift | 37 ------------------- 79 files changed, 41 insertions(+), 49 deletions(-) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/AttributesFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/BrandFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/ColourFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/ImageFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/MediaFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/MoneyFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/NavMenuItemFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/PaginationFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/PriceFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/PriceRangeFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/ProductFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SizeFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SizeGuideFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SizeGuideTreeFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SizeTreeFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SuggestionBrandFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SuggestionKeywordFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/SuggestionProductFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Fragments/VariantFragment.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Operations/Queries/BrandsQuery.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Operations/Queries/GetHeaderNavQuery.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Operations/Queries/GetProductQuery.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Operations/Queries/GetSuggestionsQuery.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Operations/Queries/ProductListingQuery.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/CustomScalars/URL.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Enums/MediaContentType.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Enums/NavMenuItemType.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Enums/ProductListingSort.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Enums/VideoFormat.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Brand.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Colour.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Image.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/KeyValuePair.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Money.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/NavMenuItem.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Pagination.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Price.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/PriceRange.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Product.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/ProductListing.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Query.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Size.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/SizeGuide.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Suggestion.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/SuggestionBrand.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/SuggestionKeyword.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/SuggestionProduct.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Variant.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/Video.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Objects/VideoSource.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/SchemaConfiguration.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/SchemaMetadata.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/Sources => BFFGraph/Api}/Schema/Unions/Media.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Brand+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Colour+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Image+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/KeyValuePair+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/MockObject+Unions.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Money+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/NavMenuItem+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Pagination+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Price+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/PriceRange+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Product+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/ProductListing+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Query+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Size+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/SizeGuide+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Suggestion+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/SuggestionBrand+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/SuggestionKeyword+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/SuggestionProduct+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Variant+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/Video+Mock.graphql.swift (100%) rename Alfie/AlfieKit/Sources/{Core/BFFGraphApi/BFFGraphMocks => BFFGraph/Mocks}/VideoSource+Mock.graphql.swift (100%) delete mode 100644 Alfie/AlfieKit/Sources/Core/BFFGraphApi/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata delete mode 100644 Alfie/AlfieKit/Sources/Core/BFFGraphApi/Package.swift diff --git a/Alfie/Alfie.xcodeproj/project.pbxproj b/Alfie/Alfie.xcodeproj/project.pbxproj index 8751852..4e68802 100644 --- a/Alfie/Alfie.xcodeproj/project.pbxproj +++ b/Alfie/Alfie.xcodeproj/project.pbxproj @@ -16,6 +16,8 @@ C54DA2BD2D368A40005142F4 /* Navigation in Frameworks */ = {isa = PBXBuildFile; productRef = C54DA2BC2D368A40005142F4 /* Navigation */; }; C54DA2BF2D368A40005142F4 /* StyleGuide in Frameworks */ = {isa = PBXBuildFile; productRef = C54DA2BE2D368A40005142F4 /* StyleGuide */; }; C54DA59D2D369927005142F4 /* TestUtils in Frameworks */ = {isa = PBXBuildFile; productRef = C54DA59C2D369927005142F4 /* TestUtils */; }; + C5E0B4B52D36ABDF00D759F7 /* BFFGraphApi in Frameworks */ = {isa = PBXBuildFile; productRef = C5E0B4B42D36ABDF00D759F7 /* BFFGraphApi */; }; + C5E0B4B72D36ABDF00D759F7 /* BFFGraphMocks in Frameworks */ = {isa = PBXBuildFile; productRef = C5E0B4B62D36ABDF00D759F7 /* BFFGraphMocks */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -79,9 +81,11 @@ files = ( C54DA2BD2D368A40005142F4 /* Navigation in Frameworks */, C54DA2BF2D368A40005142F4 /* StyleGuide in Frameworks */, + C5E0B4B72D36ABDF00D759F7 /* BFFGraphMocks in Frameworks */, C54DA2BB2D368A40005142F4 /* Models in Frameworks */, 49AFF8552B6D0AA600695C66 /* OrderedCollections in Frameworks */, C54DA2B52D368A40005142F4 /* Common in Frameworks */, + C5E0B4B52D36ABDF00D759F7 /* BFFGraphApi in Frameworks */, C54DA2B92D368A40005142F4 /* Mocks in Frameworks */, C54DA2B72D368A40005142F4 /* Core in Frameworks */, ); @@ -165,6 +169,8 @@ C54DA2BA2D368A40005142F4 /* Models */, C54DA2BC2D368A40005142F4 /* Navigation */, C54DA2BE2D368A40005142F4 /* StyleGuide */, + C5E0B4B42D36ABDF00D759F7 /* BFFGraphApi */, + C5E0B4B62D36ABDF00D759F7 /* BFFGraphMocks */, ); productName = Alfie; productReference = BE8B02242B616976007AE489 /* Alfie.app */; @@ -758,6 +764,14 @@ isa = XCSwiftPackageProductDependency; productName = TestUtils; }; + C5E0B4B42D36ABDF00D759F7 /* BFFGraphApi */ = { + isa = XCSwiftPackageProductDependency; + productName = BFFGraphApi; + }; + C5E0B4B62D36ABDF00D759F7 /* BFFGraphMocks */ = { + isa = XCSwiftPackageProductDependency; + productName = BFFGraphMocks; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = BE8B021C2B616976007AE489 /* Project object */; diff --git a/Alfie/AlfieKit/Package.swift b/Alfie/AlfieKit/Package.swift index a71d789..6458a3b 100644 --- a/Alfie/AlfieKit/Package.swift +++ b/Alfie/AlfieKit/Package.swift @@ -14,6 +14,14 @@ let package = Package( name: "Common", targets: ["Common"] ), + .library( + name: "BFFGraphApi", + targets: ["BFFGraphApi"] + ), + .library( + name: "BFFGraphMocks", + targets: ["BFFGraphMocks"] + ), .library( name: "Core", targets: ["Core"] @@ -41,7 +49,6 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(path: "Sources/Core/BFFGraphApi"), .package( url: "https://github.com/firebase/firebase-ios-sdk.git", exact: "10.20.0" @@ -78,6 +85,24 @@ let package = Package( path: "Sources/Common" ), + // - BFFGraph - + + .target( + name: "BFFGraphApi", + dependencies: [ + .product(name: "ApolloAPI", package: "apollo-ios"), + ], + path: "Sources/BFFGraph/Api" + ), + .target( + name: "BFFGraphMocks", + dependencies: [ + "BFFGraphApi", + .product(name: "ApolloTestSupport", package: "apollo-ios"), + ], + path: "Sources/BFFGraph/Mocks" + ), + // - Core - .target( @@ -183,10 +208,7 @@ let package = Package( "Mocks", "Common", "TestUtils", - .product( - name: "BFFGraphMocks", - package: "BFFGraphApi" - ), + "BFFGraphMocks", .product( name: "Apollo", package: "apollo-ios" diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/AttributesFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/AttributesFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/AttributesFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/AttributesFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/BrandFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/BrandFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/BrandFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/BrandFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/ColourFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/ColourFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/ColourFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/ColourFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/ImageFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/ImageFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/ImageFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/ImageFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/MediaFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/MediaFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/MediaFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/MediaFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/MoneyFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/MoneyFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/MoneyFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/MoneyFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/NavMenuItemFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/NavMenuItemFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/NavMenuItemFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/NavMenuItemFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/PaginationFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/PaginationFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/PaginationFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/PaginationFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/PriceFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/PriceFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/PriceFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/PriceFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/PriceRangeFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/PriceRangeFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/PriceRangeFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/PriceRangeFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/ProductFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/ProductFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/ProductFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/ProductFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeGuideFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeGuideFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeGuideFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeGuideFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeGuideTreeFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeGuideTreeFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeGuideTreeFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeGuideTreeFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeTreeFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeTreeFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SizeTreeFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SizeTreeFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SuggestionBrandFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SuggestionBrandFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SuggestionBrandFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SuggestionBrandFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SuggestionKeywordFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SuggestionKeywordFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SuggestionKeywordFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SuggestionKeywordFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SuggestionProductFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SuggestionProductFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/SuggestionProductFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/SuggestionProductFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/VariantFragment.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/VariantFragment.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Fragments/VariantFragment.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Fragments/VariantFragment.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/BrandsQuery.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/BrandsQuery.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/BrandsQuery.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/BrandsQuery.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/GetHeaderNavQuery.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/GetHeaderNavQuery.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/GetHeaderNavQuery.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/GetHeaderNavQuery.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/GetProductQuery.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/GetProductQuery.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/GetProductQuery.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/GetProductQuery.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/GetSuggestionsQuery.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/GetSuggestionsQuery.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/GetSuggestionsQuery.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/GetSuggestionsQuery.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/ProductListingQuery.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/ProductListingQuery.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Operations/Queries/ProductListingQuery.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Operations/Queries/ProductListingQuery.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/CustomScalars/URL.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/CustomScalars/URL.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/CustomScalars/URL.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/CustomScalars/URL.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/MediaContentType.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/MediaContentType.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/MediaContentType.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/MediaContentType.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/NavMenuItemType.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/NavMenuItemType.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/NavMenuItemType.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/NavMenuItemType.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/ProductListingSort.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/ProductListingSort.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/ProductListingSort.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/ProductListingSort.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/VideoFormat.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/VideoFormat.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Enums/VideoFormat.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Enums/VideoFormat.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Brand.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Brand.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Brand.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Brand.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Colour.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Colour.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Colour.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Colour.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Image.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Image.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Image.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Image.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/KeyValuePair.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/KeyValuePair.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/KeyValuePair.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/KeyValuePair.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Money.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Money.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Money.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Money.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/NavMenuItem.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/NavMenuItem.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/NavMenuItem.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/NavMenuItem.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Pagination.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Pagination.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Pagination.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Pagination.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Price.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Price.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Price.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Price.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/PriceRange.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/PriceRange.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/PriceRange.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/PriceRange.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Product.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Product.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Product.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Product.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/ProductListing.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/ProductListing.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/ProductListing.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/ProductListing.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Query.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Query.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Query.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Query.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Size.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Size.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Size.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Size.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SizeGuide.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SizeGuide.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SizeGuide.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SizeGuide.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Suggestion.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Suggestion.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Suggestion.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Suggestion.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SuggestionBrand.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SuggestionBrand.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SuggestionBrand.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SuggestionBrand.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SuggestionKeyword.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SuggestionKeyword.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SuggestionKeyword.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SuggestionKeyword.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SuggestionProduct.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SuggestionProduct.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/SuggestionProduct.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/SuggestionProduct.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Variant.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Variant.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Variant.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Variant.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Video.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Video.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/Video.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/Video.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/VideoSource.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/VideoSource.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Objects/VideoSource.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Objects/VideoSource.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/SchemaConfiguration.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/SchemaConfiguration.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/SchemaConfiguration.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/SchemaConfiguration.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/SchemaMetadata.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/SchemaMetadata.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/SchemaMetadata.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/SchemaMetadata.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Unions/Media.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Unions/Media.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/Sources/Schema/Unions/Media.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Api/Schema/Unions/Media.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Brand+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Brand+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Brand+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Brand+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Colour+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Colour+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Colour+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Colour+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Image+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Image+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Image+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Image+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/KeyValuePair+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/KeyValuePair+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/KeyValuePair+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/KeyValuePair+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/MockObject+Unions.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/MockObject+Unions.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/MockObject+Unions.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/MockObject+Unions.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Money+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Money+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Money+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Money+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/NavMenuItem+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/NavMenuItem+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/NavMenuItem+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/NavMenuItem+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Pagination+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Pagination+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Pagination+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Pagination+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Price+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Price+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Price+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Price+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/PriceRange+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/PriceRange+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/PriceRange+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/PriceRange+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Product+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Product+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Product+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Product+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/ProductListing+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/ProductListing+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/ProductListing+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/ProductListing+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Query+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Query+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Query+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Query+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Size+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Size+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Size+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Size+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SizeGuide+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/SizeGuide+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SizeGuide+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/SizeGuide+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Suggestion+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Suggestion+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Suggestion+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Suggestion+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SuggestionBrand+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/SuggestionBrand+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SuggestionBrand+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/SuggestionBrand+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SuggestionKeyword+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/SuggestionKeyword+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SuggestionKeyword+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/SuggestionKeyword+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SuggestionProduct+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/SuggestionProduct+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/SuggestionProduct+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/SuggestionProduct+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Variant+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Variant+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Variant+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Variant+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Video+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/Video+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/Video+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/Video+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/VideoSource+Mock.graphql.swift b/Alfie/AlfieKit/Sources/BFFGraph/Mocks/VideoSource+Mock.graphql.swift similarity index 100% rename from Alfie/AlfieKit/Sources/Core/BFFGraphApi/BFFGraphMocks/VideoSource+Mock.graphql.swift rename to Alfie/AlfieKit/Sources/BFFGraph/Mocks/VideoSource+Mock.graphql.swift diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/Alfie/AlfieKit/Sources/Core/BFFGraphApi/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Package.swift b/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Package.swift deleted file mode 100644 index 68ef22c..0000000 --- a/Alfie/AlfieKit/Sources/Core/BFFGraphApi/Package.swift +++ /dev/null @@ -1,37 +0,0 @@ -// swift-tools-version:5.7 - -import PackageDescription - -let package = Package( - name: "BFFGraphApi", - platforms: [ - .iOS(.v12), - .macOS(.v10_14), - .tvOS(.v12), - .watchOS(.v5), - ], - products: [ - .library(name: "BFFGraphApi", targets: ["BFFGraphApi"]), - .library(name: "BFFGraphMocks", targets: ["BFFGraphMocks"]), - ], - dependencies: [ - .package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.0.0"), - ], - targets: [ - .target( - name: "BFFGraphApi", - dependencies: [ - .product(name: "ApolloAPI", package: "apollo-ios"), - ], - path: "./Sources" - ), - .target( - name: "BFFGraphMocks", - dependencies: [ - .product(name: "ApolloTestSupport", package: "apollo-ios"), - .target(name: "BFFGraphApi"), - ], - path: "./BFFGraphMocks" - ), - ] -)