Skip to content

Commit feb0c4d

Browse files
authored
fix: rename to Extensions (aws-amplify#3)
1 parent 11e6928 commit feb0c4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+129
-36
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1520"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "AWSAppSyncApolloExtensions"
18+
BuildableName = "AWSAppSyncApolloExtensions"
19+
BlueprintName = "AWSAppSyncApolloExtensions"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "YES"
26+
buildForProfiling = "NO"
27+
buildForArchiving = "NO"
28+
buildForAnalyzing = "YES">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "AWSAppSyncApolloExtensionsTests"
32+
BuildableName = "AWSAppSyncApolloExtensionsTests"
33+
BlueprintName = "AWSAppSyncApolloExtensionsTests"
34+
ReferencedContainer = "container:">
35+
</BuildableReference>
36+
</BuildActionEntry>
37+
</BuildActionEntries>
38+
</BuildAction>
39+
<TestAction
40+
buildConfiguration = "Debug"
41+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
shouldUseLaunchSchemeArgsEnv = "YES"
44+
shouldAutocreateTestPlan = "YES">
45+
<Testables>
46+
<TestableReference
47+
skipped = "NO">
48+
<BuildableReference
49+
BuildableIdentifier = "primary"
50+
BlueprintIdentifier = "AWSAppSyncApolloExtensionsTests"
51+
BuildableName = "AWSAppSyncApolloExtensionsTests"
52+
BlueprintName = "AWSAppSyncApolloExtensionsTests"
53+
ReferencedContainer = "container:">
54+
</BuildableReference>
55+
</TestableReference>
56+
</Testables>
57+
</TestAction>
58+
<LaunchAction
59+
buildConfiguration = "Debug"
60+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
61+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
62+
launchStyle = "0"
63+
useCustomWorkingDirectory = "NO"
64+
ignoresPersistentStateOnLaunch = "NO"
65+
debugDocumentVersioning = "YES"
66+
debugServiceExtension = "internal"
67+
allowLocationSimulation = "YES">
68+
</LaunchAction>
69+
<ProfileAction
70+
buildConfiguration = "Release"
71+
shouldUseLaunchSchemeArgsEnv = "YES"
72+
savedToolIdentifier = ""
73+
useCustomWorkingDirectory = "NO"
74+
debugDocumentVersioning = "YES">
75+
<MacroExpansion>
76+
<BuildableReference
77+
BuildableIdentifier = "primary"
78+
BlueprintIdentifier = "AWSAppSyncApolloExtensions"
79+
BuildableName = "AWSAppSyncApolloExtensions"
80+
BlueprintName = "AWSAppSyncApolloExtensions"
81+
ReferencedContainer = "container:">
82+
</BuildableReference>
83+
</MacroExpansion>
84+
</ProfileAction>
85+
<AnalyzeAction
86+
buildConfiguration = "Debug">
87+
</AnalyzeAction>
88+
<ArchiveAction
89+
buildConfiguration = "Release"
90+
revealArchiveInOrganizer = "YES">
91+
</ArchiveAction>
92+
</Scheme>

Package.swift

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@
44
import PackageDescription
55

66
let package = Package(
7-
name: "AWSAppSyncApolloInterceptors",
7+
name: "AWSAppSyncApolloExtensions",
88
platforms: [.iOS(.v13), .macOS(.v10_15), .tvOS(.v13), .watchOS(.v9)],
99
products: [
1010
// Products define the executables and libraries a package produces, making them visible to other packages.
1111
.library(
12-
name: "AWSAppSyncApolloInterceptors",
13-
targets: ["AWSAppSyncApolloInterceptors"]),
12+
name: "AWSAppSyncApolloExtensions",
13+
targets: ["AWSAppSyncApolloExtensions"]),
1414
],
1515
dependencies: [
1616
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.0.0"),
1717
],
1818
targets: [
1919
.target(
20-
name: "AWSAppSyncApolloInterceptors",
20+
name: "AWSAppSyncApolloExtensions",
2121
dependencies: [
2222
.product(name: "Apollo", package: "apollo-ios"),
2323
.product(name: "ApolloWebSocket", package: "apollo-ios")
2424
]),
2525
.testTarget(
26-
name: "AWSAppSyncApolloInterceptorsTests",
27-
dependencies: ["AWSAppSyncApolloInterceptors"]),
26+
name: "AWSAppSyncApolloExtensionsTests",
27+
dependencies: ["AWSAppSyncApolloExtensions"]),
2828
]
2929
)

README.md

+1-1

Tests/AWSAppSyncApolloInterceptorsTests/Authorizers/APIKeyAuthorizerTests.swift Tests/AWSAppSyncApolloExtensionsTests/Authorizers/APIKeyAuthorizerTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0
66
//
77

8-
import AWSAppSyncApolloInterceptors
8+
import AWSAppSyncApolloExtensions
99
import XCTest
1010

1111
final class APIKeyAuthorizerTests: XCTestCase {

Tests/AWSAppSyncApolloInterceptorsTests/Authorizers/AuthTokenAuthorizerTests.swift Tests/AWSAppSyncApolloExtensionsTests/Authorizers/AuthTokenAuthorizerTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0
66
//
77

8-
import AWSAppSyncApolloInterceptors
8+
import AWSAppSyncApolloExtensions
99
import XCTest
1010

1111
final class AuthTokenAuthorizerTests: XCTestCase {

Tests/AWSAppSyncApolloInterceptorsTests/Authorizers/IAMAuthorizerTests.swift Tests/AWSAppSyncApolloExtensionsTests/Authorizers/IAMAuthorizerTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0
66
//
77

8-
import AWSAppSyncApolloInterceptors
8+
import AWSAppSyncApolloExtensions
99
import XCTest
1010

1111
final class IAMAuthorizerTests: XCTestCase {

Tests/AWSAppSyncApolloInterceptorsTests/Interceptors/AppSyncInterceptorTests.swift Tests/AWSAppSyncApolloExtensionsTests/Interceptors/AppSyncInterceptorTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Apollo
99
import XCTest
10-
@testable import AWSAppSyncApolloInterceptors
10+
@testable import AWSAppSyncApolloExtensions
1111

1212
final class AppSyncInterceptorTests: XCTestCase {
1313

Tests/AWSAppSyncApolloInterceptorsTests/Interceptors/DefaultPrependInterceptorProviderTests.swift Tests/AWSAppSyncApolloExtensionsTests/Interceptors/DefaultPrependInterceptorProviderTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Apollo
99
import XCTest
10-
@testable import AWSAppSyncApolloInterceptors
10+
@testable import AWSAppSyncApolloExtensions
1111

1212
final class DefaultPrependInterceptorProviderTests: XCTestCase {
1313

Tests/AWSAppSyncApolloInterceptorsTests/Utilities/EndpointHelperTests.swift Tests/AWSAppSyncApolloExtensionsTests/Utilities/EndpointHelperTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import XCTest
9-
@testable import AWSAppSyncApolloInterceptors
9+
@testable import AWSAppSyncApolloExtensions
1010

1111
final class EndpointHelperTests: XCTestCase {
1212

Tests/AWSAppSyncApolloInterceptorsTests/Utilities/PackageInfoTests.swift Tests/AWSAppSyncApolloExtensionsTests/Utilities/PackageInfoTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
import XCTest
10-
@testable import AWSAppSyncApolloInterceptors
10+
@testable import AWSAppSyncApolloExtensions
1111

1212
class PackageInfoTests: XCTestCase {
1313

Tests/AWSAppSyncApolloInterceptorsTests/Utilities/StringMaskedTests.swift Tests/AWSAppSyncApolloExtensionsTests/Utilities/StringMaskedTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import XCTest
9-
@testable import AWSAppSyncApolloInterceptors
9+
@testable import AWSAppSyncApolloExtensions
1010

1111
final class StringMaskedTests: XCTestCase {
1212

Tests/AWSAppSyncApolloInterceptorsTests/Websocket/AppSyncWebSocketClientTests.swift Tests/AWSAppSyncApolloExtensionsTests/Websocket/AppSyncWebSocketClientTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0
66
//
77

8-
import AWSAppSyncApolloInterceptors
8+
import AWSAppSyncApolloExtensions
99
import XCTest
1010

1111
final class AppSyncWebSocketClientTests: XCTestCase {

Tests/IntegrationTestApp/IntegrationTestApp.xcodeproj/project.pbxproj

+15-14
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
218CFDBB2C5A8711009D70B9 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 218CFDBA2C5A8711009D70B9 /* ContentView.swift */; };
1515
218CFDBD2C5A8714009D70B9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 218CFDBC2C5A8714009D70B9 /* Assets.xcassets */; };
1616
218CFDC02C5A8714009D70B9 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 218CFDBF2C5A8714009D70B9 /* Preview Assets.xcassets */; };
17-
218CFDE72C5A9CC1009D70B9 /* AWSAppSyncApolloInterceptors in Frameworks */ = {isa = PBXBuildFile; productRef = 218CFDE62C5A9CC1009D70B9 /* AWSAppSyncApolloInterceptors */; };
18-
218CFDF02C5AD144009D70B9 /* AWSAppSyncApolloInterceptors in Frameworks */ = {isa = PBXBuildFile; productRef = 218CFDEF2C5AD144009D70B9 /* AWSAppSyncApolloInterceptors */; };
1917
218CFDF62C5AD23D009D70B9 /* AWSCognitoAuthPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 218CFDF52C5AD23D009D70B9 /* AWSCognitoAuthPlugin */; };
2018
218CFDF82C5AD23D009D70B9 /* Amplify in Frameworks */ = {isa = PBXBuildFile; productRef = 218CFDF72C5AD23D009D70B9 /* Amplify */; };
2119
218CFDFA2C5AD408009D70B9 /* amplify_outputs.json in Resources */ = {isa = PBXBuildFile; fileRef = 218CFDF92C5AD408009D70B9 /* amplify_outputs.json */; };
@@ -28,6 +26,7 @@
2826
218CFE242C5AD806009D70B9 /* AppSyncAPI in Frameworks */ = {isa = PBXBuildFile; productRef = 218CFE232C5AD806009D70B9 /* AppSyncAPI */; };
2927
21B8F2D22C62978D0042981F /* AuthTokenTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21B8F2D12C62978D0042981F /* AuthTokenTests.swift */; };
3028
21B8F2D42C6298580042981F /* IAMTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21B8F2D32C6298580042981F /* IAMTests.swift */; };
29+
21CFD7C92C76641E0071C70F /* AWSAppSyncApolloExtensions in Frameworks */ = {isa = PBXBuildFile; productRef = 21CFD7C82C76641E0071C70F /* AWSAppSyncApolloExtensions */; };
3130
21FDF39C2C62B20200481EA0 /* APIKeyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21FDF39B2C62B20200481EA0 /* APIKeyTests.swift */; };
3231
21FDF39E2C62B3E500481EA0 /* IntegrationTestBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21FDF39D2C62B3E500481EA0 /* IntegrationTestBase.swift */; };
3332
/* End PBXBuildFile section */
@@ -67,11 +66,10 @@
6766
isa = PBXFrameworksBuildPhase;
6867
buildActionMask = 2147483647;
6968
files = (
70-
218CFDF02C5AD144009D70B9 /* AWSAppSyncApolloInterceptors in Frameworks */,
7169
218CFDFD2C5AD4BB009D70B9 /* Authenticator in Frameworks */,
7270
21091FE22C6BA09F0023E26F /* ApolloAPI in Frameworks */,
7371
218CFDF82C5AD23D009D70B9 /* Amplify in Frameworks */,
74-
218CFDE72C5A9CC1009D70B9 /* AWSAppSyncApolloInterceptors in Frameworks */,
72+
21CFD7C92C76641E0071C70F /* AWSAppSyncApolloExtensions in Frameworks */,
7573
218CFE242C5AD806009D70B9 /* AppSyncAPI in Frameworks */,
7674
21091FE02C6BA09F0023E26F /* Apollo in Frameworks */,
7775
21091FE42C6BA09F0023E26F /* ApolloWebSocket in Frameworks */,
@@ -96,6 +94,7 @@
9694
218CFDB72C5A8711009D70B9 /* IntegrationTestApp */,
9795
218CFDC82C5A8714009D70B9 /* IntegrationTestAppTests */,
9896
218CFDB62C5A8711009D70B9 /* Products */,
97+
21CFD7C72C76641E0071C70F /* Frameworks */,
9998
);
10099
sourceTree = "<group>";
101100
};
@@ -152,6 +151,13 @@
152151
path = graphql;
153152
sourceTree = "<group>";
154153
};
154+
21CFD7C72C76641E0071C70F /* Frameworks */ = {
155+
isa = PBXGroup;
156+
children = (
157+
);
158+
name = Frameworks;
159+
sourceTree = "<group>";
160+
};
155161
/* End PBXGroup section */
156162

157163
/* Begin PBXNativeTarget section */
@@ -169,15 +175,14 @@
169175
);
170176
name = IntegrationTestApp;
171177
packageProductDependencies = (
172-
218CFDE62C5A9CC1009D70B9 /* AWSAppSyncApolloInterceptors */,
173-
218CFDEF2C5AD144009D70B9 /* AWSAppSyncApolloInterceptors */,
174178
218CFDF52C5AD23D009D70B9 /* AWSCognitoAuthPlugin */,
175179
218CFDF72C5AD23D009D70B9 /* Amplify */,
176180
218CFDFC2C5AD4BB009D70B9 /* Authenticator */,
177181
218CFE232C5AD806009D70B9 /* AppSyncAPI */,
178182
21091FDF2C6BA09F0023E26F /* Apollo */,
179183
21091FE12C6BA09F0023E26F /* ApolloAPI */,
180184
21091FE32C6BA09F0023E26F /* ApolloWebSocket */,
185+
21CFD7C82C76641E0071C70F /* AWSAppSyncApolloExtensions */,
181186
);
182187
productName = IntegrationTestApp;
183188
productReference = 218CFDB52C5A8711009D70B9 /* IntegrationTestApp.app */;
@@ -599,14 +604,6 @@
599604
package = 21091FDE2C6BA09F0023E26F /* XCRemoteSwiftPackageReference "apollo-ios" */;
600605
productName = ApolloWebSocket;
601606
};
602-
218CFDE62C5A9CC1009D70B9 /* AWSAppSyncApolloInterceptors */ = {
603-
isa = XCSwiftPackageProductDependency;
604-
productName = AWSAppSyncApolloInterceptors;
605-
};
606-
218CFDEF2C5AD144009D70B9 /* AWSAppSyncApolloInterceptors */ = {
607-
isa = XCSwiftPackageProductDependency;
608-
productName = AWSAppSyncApolloInterceptors;
609-
};
610607
218CFDF52C5AD23D009D70B9 /* AWSCognitoAuthPlugin */ = {
611608
isa = XCSwiftPackageProductDependency;
612609
package = 218CFDF42C5AD23D009D70B9 /* XCRemoteSwiftPackageReference "amplify-swift" */;
@@ -626,6 +623,10 @@
626623
isa = XCSwiftPackageProductDependency;
627624
productName = AppSyncAPI;
628625
};
626+
21CFD7C82C76641E0071C70F /* AWSAppSyncApolloExtensions */ = {
627+
isa = XCSwiftPackageProductDependency;
628+
productName = AWSAppSyncApolloExtensions;
629+
};
629630
/* End XCSwiftPackageProductDependency section */
630631
};
631632
rootObject = 218CFDAD2C5A8711009D70B9 /* Project object */;

Tests/IntegrationTestApp/IntegrationTestApp/IntegrationTestAppApp.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import Amplify
9-
import AWSAppSyncApolloInterceptors
9+
import AWSAppSyncApolloExtensions
1010
import AWSCognitoAuthPlugin
1111
import SwiftUI
1212

Tests/IntegrationTestApp/IntegrationTestApp/Network.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Amplify
99
import Apollo
1010
import ApolloAPI
1111
import ApolloWebSocket
12-
import AWSAppSyncApolloInterceptors
12+
import AWSAppSyncApolloExtensions
1313
import AWSCognitoAuthPlugin
1414
import AWSPluginsCore
1515
import Foundation

Tests/IntegrationTestApp/IntegrationTestAppTests/APIKeyTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Apollo
99
import ApolloWebSocket
1010

1111
import AppSyncAPI
12-
import AWSAppSyncApolloInterceptors
12+
import AWSAppSyncApolloExtensions
1313
import AWSPluginsCore
1414

1515
import XCTest

Tests/IntegrationTestApp/IntegrationTestAppTests/AuthTokenTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Apollo
99
import ApolloWebSocket
1010

1111
import AppSyncAPI
12-
import AWSAppSyncApolloInterceptors
12+
import AWSAppSyncApolloExtensions
1313
import AWSPluginsCore
1414

1515
import XCTest

Tests/IntegrationTestApp/IntegrationTestAppTests/IAMTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import AppSyncAPI
9-
import AWSAppSyncApolloInterceptors
9+
import AWSAppSyncApolloExtensions
1010
import XCTest
1111
@testable import IntegrationTestApp
1212

Tests/IntegrationTestApp/IntegrationTestAppTests/IntegrationTestBase.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import Amplify
9-
import AWSAppSyncApolloInterceptors
9+
import AWSAppSyncApolloExtensions
1010
import XCTest
1111

1212
class IntegrationTestBase: XCTestCase {

0 commit comments

Comments
 (0)