diff --git a/Sources/AnimalKingdomAPI/Generated/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/Sources/AnimalKingdomAPI/Generated/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000..919434a625 --- /dev/null +++ b/Sources/AnimalKingdomAPI/Generated/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Sources/AnimalKingdomAPI/Generated/AllAnimalsQuery.swift b/Sources/AnimalKingdomAPI/Generated/Operations/AllAnimalsQuery.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/AllAnimalsQuery.swift rename to Sources/AnimalKingdomAPI/Generated/Operations/AllAnimalsQuery.swift diff --git a/Sources/AnimalKingdomAPI/Generated/ClassroomPetDetails.swift b/Sources/AnimalKingdomAPI/Generated/Operations/ClassroomPetDetails.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/ClassroomPetDetails.swift rename to Sources/AnimalKingdomAPI/Generated/Operations/ClassroomPetDetails.swift diff --git a/Sources/AnimalKingdomAPI/Generated/ClassroomPets.swift b/Sources/AnimalKingdomAPI/Generated/Operations/ClassroomPetsQuery.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/ClassroomPets.swift rename to Sources/AnimalKingdomAPI/Generated/Operations/ClassroomPetsQuery.swift diff --git a/Sources/AnimalKingdomAPI/Generated/HeightInMeters.swift b/Sources/AnimalKingdomAPI/Generated/Operations/HeightInMeters.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/HeightInMeters.swift rename to Sources/AnimalKingdomAPI/Generated/Operations/HeightInMeters.swift diff --git a/Sources/AnimalKingdomAPI/Generated/PetDetails.swift b/Sources/AnimalKingdomAPI/Generated/Operations/PetDetails.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/PetDetails.swift rename to Sources/AnimalKingdomAPI/Generated/Operations/PetDetails.swift diff --git a/Sources/AnimalKingdomAPI/Generated/WarmBloodedDetails.swift b/Sources/AnimalKingdomAPI/Generated/Operations/WarmBloodedDetails.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/WarmBloodedDetails.swift rename to Sources/AnimalKingdomAPI/Generated/Operations/WarmBloodedDetails.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Package.resolved b/Sources/AnimalKingdomAPI/Generated/Package.resolved new file mode 100644 index 0000000000..587210b24d --- /dev/null +++ b/Sources/AnimalKingdomAPI/Generated/Package.resolved @@ -0,0 +1,43 @@ +{ + "object": { + "pins": [ + { + "package": "Apollo", + "repositoryURL": "https://github.com/apollographql/apollo-ios.git", + "state": { + "branch": "release/1.0-alpha-incubating", + "revision": "1c9cc6b28e15a09b35c12d36adebdc0c141ab716", + "version": null + } + }, + { + "package": "InflectorKit", + "repositoryURL": "https://github.com/mattt/InflectorKit", + "state": { + "branch": null, + "revision": "d8cbcc04972690aaa5fc760a2b9ddb3e9f0decd7", + "version": "1.0.0" + } + }, + { + "package": "SQLite.swift", + "repositoryURL": "https://github.com/stephencelis/SQLite.swift.git", + "state": { + "branch": null, + "revision": "5f5ad81ac0d0a0f3e56e39e646e8423c617df523", + "version": "0.13.2" + } + }, + { + "package": "swift-collections", + "repositoryURL": "https://github.com/apple/swift-collections", + "state": { + "branch": null, + "revision": "48254824bb4248676bf7ce56014ff57b142b77eb", + "version": "1.0.2" + } + } + ] + }, + "version": 1 +} diff --git a/Sources/AnimalKingdomAPI/Generated/Package.swift b/Sources/AnimalKingdomAPI/Generated/Package.swift new file mode 100644 index 0000000000..d8256797c0 --- /dev/null +++ b/Sources/AnimalKingdomAPI/Generated/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version:5.3 + +import PackageDescription + +let package = Package( + name: "AnimalKingdomAPI", + platforms: [ + .iOS(.v12), + .macOS(.v10_14), + .tvOS(.v12), + .watchOS(.v5), + ], + products: [ + .library(name: "AnimalKingdomAPI", targets: ["AnimalKingdomAPI"]), + ], + dependencies: [ + .package(url: "https://github.com/apollographql/apollo-ios.git", .branch("release/1.0-alpha-incubating")), + ], + targets: [ + .target( + name: "AnimalKingdomAPI", + dependencies: [ + .product(name: "ApolloAPI", package: "apollo-ios"), + ], + path: "." + ), + ] +) diff --git a/Sources/AnimalKingdomAPI/Generated/RelativeSize.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Enums/RelativeSize.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/RelativeSize.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Enums/RelativeSize.swift diff --git a/Sources/AnimalKingdomAPI/Generated/SkinCovering.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Enums/SkinCovering.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/SkinCovering.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Enums/SkinCovering.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Animal.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Interfaces/Animal.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Animal.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Interfaces/Animal.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Pet.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Interfaces/Pet.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Pet.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Interfaces/Pet.swift diff --git a/Sources/AnimalKingdomAPI/Generated/WarmBlooded.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Interfaces/WarmBlooded.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/WarmBlooded.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Interfaces/WarmBlooded.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Bird.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/Bird.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Bird.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/Bird.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Cat.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/Cat.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Cat.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/Cat.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Height.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/Height.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Height.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/Height.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Human.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/Human.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Human.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/Human.swift diff --git a/Sources/AnimalKingdomAPI/Generated/PetRock.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/PetRock.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/PetRock.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/PetRock.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Query.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/Query.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Query.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/Query.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Rat.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Objects/Rat.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Rat.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Objects/Rat.swift diff --git a/Sources/AnimalKingdomAPI/Generated/Schema.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Schema.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/Schema.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Schema.swift diff --git a/Sources/AnimalKingdomAPI/Generated/ClassroomPet.swift b/Sources/AnimalKingdomAPI/Generated/Schema/Unions/ClassroomPet.swift similarity index 100% rename from Sources/AnimalKingdomAPI/Generated/ClassroomPet.swift rename to Sources/AnimalKingdomAPI/Generated/Schema/Unions/ClassroomPet.swift