From 43b18292e4b45461649e48194f322499685dacaa Mon Sep 17 00:00:00 2001 From: Anthony Miller Date: Thu, 5 Jan 2023 13:36:24 -0800 Subject: [PATCH] Regenerate example --- .../ClassroomPetDetails.graphql.swift | 28 ++++---- .../ClassroomPetDetailsCCN.graphql.swift | 12 ++-- .../Fragments/DogFragment.graphql.swift | 4 +- .../Fragments/HeightInMeters.graphql.swift | 8 +-- .../Fragments/PetDetails.graphql.swift | 8 +-- .../WarmBloodedDetails.graphql.swift | 4 +- ...AllAnimalsLocalCacheMutation.graphql.swift | 12 ++-- .../PetDetailsMutation.graphql.swift | 8 +-- .../PetSearchLocalCacheMutation.graphql.swift | 8 +-- .../PetAdoptionMutation.graphql.swift | 12 ++-- .../Queries/AllAnimalsCCNQuery.graphql.swift | 16 ++--- .../AllAnimalsIncludeSkipQuery.graphql.swift | 70 +++++++++---------- .../Queries/AllAnimalsQuery.graphql.swift | 68 +++++++++--------- .../ClassroomPetsCCNQuery.graphql.swift | 14 ++-- .../Queries/ClassroomPetsQuery.graphql.swift | 24 +++---- .../Operations/Queries/DogQuery.graphql.swift | 16 ++--- .../Queries/PetSearchQuery.graphql.swift | 12 ++-- .../Fragments/AuthorDetails.graphql.swift | 8 +-- ...ndCommentsForRepositoryQuery.graphql.swift | 40 +++++------ .../Queries/RepoURLQuery.graphql.swift | 12 ++-- .../Queries/RepositoryQuery.graphql.swift | 36 +++++----- .../CharacterAppearsIn.graphql.swift | 4 +- .../Fragments/CharacterName.graphql.swift | 4 +- .../CharacterNameAndAppearsIn.graphql.swift | 4 +- ...AppearsInWithNestedFragments.graphql.swift | 4 +- ...aracterNameAndDroidAppearsIn.graphql.swift | 8 +-- ...rNameAndDroidPrimaryFunction.graphql.swift | 8 +-- ...racterNameWithInlineFragment.graphql.swift | 16 ++--- ...eWithNestedAppearsInFragment.graphql.swift | 4 +- .../Fragments/DroidDetails.graphql.swift | 4 +- .../Sources/Fragments/DroidName.graphql.swift | 4 +- .../DroidNameAndPrimaryFunction.graphql.swift | 4 +- .../DroidPrimaryFunction.graphql.swift | 4 +- .../Fragments/FriendsNames.graphql.swift | 8 +-- .../Fragments/HeroDetails.graphql.swift | 12 ++-- .../HumanHeightWithVariable.graphql.swift | 4 +- .../CreateAwesomeReviewMutation.graphql.swift | 12 ++-- ...eateReviewForEpisodeMutation.graphql.swift | 12 ++-- ...eReviewWithNullFieldMutation.graphql.swift | 12 ++-- ...roidDetailsWithFragmentQuery.graphql.swift | 16 ++--- .../HeroAndFriendsIDsQuery.graphql.swift | 16 ++--- .../HeroAndFriendsNamesQuery.graphql.swift | 16 ++--- ...riendsNamesWithFragmentQuery.graphql.swift | 12 ++-- ...sNamesWithFragmentTwiceQuery.graphql.swift | 24 +++---- ...amesWithIDForParentOnlyQuery.graphql.swift | 16 ++--- ...oAndFriendsNamesWithIDsQuery.graphql.swift | 16 ++--- .../Queries/HeroAppearsInQuery.graphql.swift | 12 ++-- ...roAppearsInWithFragmentQuery.graphql.swift | 12 ++-- ...entConditionalInclusionQuery.graphql.swift | 14 ++-- ...ineConditionalInclusionQuery.graphql.swift | 16 ++--- .../Queries/HeroDetailsQuery.graphql.swift | 20 +++--- ...HeroDetailsWithFragmentQuery.graphql.swift | 16 ++--- ...ilsConditionalInclusionQuery.graphql.swift | 20 +++--- ...AndConditionalInclusionQuery.graphql.swift | 26 +++---- ...roFriendsOfFriendsNamesQuery.graphql.swift | 20 +++--- .../HeroNameAndAppearsInQuery.graphql.swift | 12 ++-- ...ndAppearsInWithFragmentQuery.graphql.swift | 12 ++-- ...HeroNameConditionalBothQuery.graphql.swift | 12 ++-- ...ConditionalBothSeparateQuery.graphql.swift | 12 ++-- ...ameConditionalExclusionQuery.graphql.swift | 12 ++-- ...ameConditionalInclusionQuery.graphql.swift | 12 ++-- .../Queries/HeroNameQuery.graphql.swift | 12 ++-- ...ficConditionalInclusionQuery.graphql.swift | 16 ++--- ...roNameWithFragmentAndIDQuery.graphql.swift | 12 ++-- .../HeroNameWithFragmentQuery.graphql.swift | 12 ++-- .../Queries/HeroNameWithIDQuery.graphql.swift | 12 ++-- ...arentTypeDependentFieldQuery.graphql.swift | 36 +++++----- ...peDependentAliasedFieldQuery.graphql.swift | 20 +++--- .../Queries/HumanQuery.graphql.swift | 12 ++-- .../Queries/SameHeroTwiceQuery.graphql.swift | 16 ++--- .../Queries/SearchQuery.graphql.swift | 24 +++---- .../StarshipCoordinatesQuery.graphql.swift | 12 ++-- .../Queries/StarshipQuery.graphql.swift | 12 ++-- .../Queries/TwoHeroesQuery.graphql.swift | 16 ++--- .../ReviewAddedSubscription.graphql.swift | 12 ++-- .../IncrementingSubscription.graphql.swift | 8 +-- ...oDifferentParametersMutation.graphql.swift | 12 ++-- ...esToTheSameParameterMutation.graphql.swift | 12 ++-- .../UploadOneFileMutation.graphql.swift | 12 ++-- 79 files changed, 580 insertions(+), 580 deletions(-) diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetails.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetails.graphql.swift index 3d31d4f58f..d85e18693e 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetails.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetails.graphql.swift @@ -32,8 +32,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Unions.ClassroomPet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsAnimal.self), .inlineFragment(AsPet.self), .inlineFragment(AsWarmBlooded.self), @@ -56,8 +56,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("species", String.self), ] } @@ -71,8 +71,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("humanName", String?.self), ] } @@ -86,8 +86,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .field("laysEggs", Bool.self), ] } @@ -102,8 +102,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Cat } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Cat } + public static var __selections: [ApolloAPI.Selection] { [ .field("bodyTemperature", Int.self), .field("isJellicle", Bool.self), ] } @@ -122,8 +122,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Bird } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird } + public static var __selections: [ApolloAPI.Selection] { [ .field("wingspan", Double.self), ] } @@ -140,8 +140,8 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.PetRock } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.PetRock } + public static var __selections: [ApolloAPI.Selection] { [ .field("favoriteToy", String.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetailsCCN.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetailsCCN.graphql.swift index 182756eb34..a7acb10f0d 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetailsCCN.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetailsCCN.graphql.swift @@ -19,8 +19,8 @@ public struct ClassroomPetDetailsCCN: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Unions.ClassroomPet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsAnimal.self), ] } @@ -33,8 +33,8 @@ public struct ClassroomPetDetailsCCN: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height.self), ] } @@ -47,8 +47,8 @@ public struct ClassroomPetDetailsCCN: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .field("inches", Int.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/DogFragment.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/DogFragment.graphql.swift index 3049628225..4ccf11da4f 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/DogFragment.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/DogFragment.graphql.swift @@ -14,8 +14,8 @@ public struct DogFragment: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Dog } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Dog } + public static var __selections: [ApolloAPI.Selection] { [ .field("species", String.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/HeightInMeters.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/HeightInMeters.graphql.swift index ff53bdcc08..8a4dc55f05 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/HeightInMeters.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/HeightInMeters.graphql.swift @@ -17,8 +17,8 @@ public struct HeightInMeters: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height.self), ] } @@ -31,8 +31,8 @@ public struct HeightInMeters: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .field("meters", Int.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/PetDetails.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/PetDetails.graphql.swift index 4bb5c6f123..1b85bb7d14 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/PetDetails.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/PetDetails.graphql.swift @@ -19,8 +19,8 @@ public struct PetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("humanName", String?.self), .field("favoriteToy", String.self), .field("owner", Owner?.self), @@ -37,8 +37,8 @@ public struct PetDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("firstName", String.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/WarmBloodedDetails.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/WarmBloodedDetails.graphql.swift index ac7a8a2574..30c88f5394 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/WarmBloodedDetails.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/WarmBloodedDetails.graphql.swift @@ -15,8 +15,8 @@ public struct WarmBloodedDetails: AnimalKingdomAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .field("bodyTemperature", Int.self), .fragment(HeightInMeters.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/AllAnimalsLocalCacheMutation.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/AllAnimalsLocalCacheMutation.graphql.swift index 8cc42121ce..2e3fbb1574 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/AllAnimalsLocalCacheMutation.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/AllAnimalsLocalCacheMutation.graphql.swift @@ -12,8 +12,8 @@ public class AllAnimalsLocalCacheMutation: LocalCacheMutation { public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("allAnimals", [AllAnimal].self), ] } @@ -29,8 +29,8 @@ public class AllAnimalsLocalCacheMutation: LocalCacheMutation { public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("species", String.self), .field("skinCovering", GraphQLEnum?.self), .inlineFragment(AsBird.self), @@ -57,8 +57,8 @@ public class AllAnimalsLocalCacheMutation: LocalCacheMutation { public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Bird } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird } + public static var __selections: [ApolloAPI.Selection] { [ .field("wingspan", Double.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetDetailsMutation.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetDetailsMutation.graphql.swift index bd888af839..cad7d7f962 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetDetailsMutation.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetDetailsMutation.graphql.swift @@ -17,8 +17,8 @@ public struct PetDetailsMutation: AnimalKingdomAPI.MutableSelectionSet, Fragment public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("owner", Owner?.self), ] } @@ -34,8 +34,8 @@ public struct PetDetailsMutation: AnimalKingdomAPI.MutableSelectionSet, Fragment public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("firstName", String.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetSearchLocalCacheMutation.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetSearchLocalCacheMutation.graphql.swift index c364a44a5d..922dabaa00 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetSearchLocalCacheMutation.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetSearchLocalCacheMutation.graphql.swift @@ -29,8 +29,8 @@ public class PetSearchLocalCacheMutation: LocalCacheMutation { public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("pets", [Pet].self, arguments: ["filters": .variable("filters")]), ] } @@ -46,8 +46,8 @@ public class PetSearchLocalCacheMutation: LocalCacheMutation { public var __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("humanName", String?.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Mutations/PetAdoptionMutation.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Mutations/PetAdoptionMutation.graphql.swift index 61ff89d5a5..92c2c920b7 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Mutations/PetAdoptionMutation.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Mutations/PetAdoptionMutation.graphql.swift @@ -7,7 +7,7 @@ public class PetAdoptionMutation: GraphQLMutation { public static let operationName: String = "PetAdoptionMutation" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" mutation PetAdoptionMutation($input: PetAdoptionInput!) { adoptPet(input: $input) { __typename @@ -15,7 +15,7 @@ public class PetAdoptionMutation: GraphQLMutation { humanName } } - """ + """# )) public var input: PetAdoptionInput @@ -30,8 +30,8 @@ public class PetAdoptionMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("adoptPet", AdoptPet.self, arguments: ["input": .variable("input")]), ] } @@ -44,8 +44,8 @@ public class PetAdoptionMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("humanName", String?.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsCCNQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsCCNQuery.graphql.swift index de3ca618c5..cb8dabe429 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsCCNQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsCCNQuery.graphql.swift @@ -7,7 +7,7 @@ public class AllAnimalsCCNQuery: GraphQLQuery { public static let operationName: String = "AllAnimalsCCN" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query AllAnimalsCCN { allAnimals { __typename @@ -18,7 +18,7 @@ public class AllAnimalsCCNQuery: GraphQLQuery { } } } - """ + """# )) public init() {} @@ -27,8 +27,8 @@ public class AllAnimalsCCNQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("allAnimals", [AllAnimal].self), ] } @@ -41,8 +41,8 @@ public class AllAnimalsCCNQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height?.self), ] } @@ -55,8 +55,8 @@ public class AllAnimalsCCNQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .field("feet", Int?.self), .field("inches", Int.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsIncludeSkipQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsIncludeSkipQuery.graphql.swift index 1e83dd1f43..03ea4ac36c 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsIncludeSkipQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsIncludeSkipQuery.graphql.swift @@ -7,7 +7,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public static let operationName: String = "AllAnimalsIncludeSkipQuery" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query AllAnimalsIncludeSkipQuery($includeSpecies: Boolean!, $skipHeightInMeters: Boolean!, $getCat: Boolean!, $getWarmBlooded: Boolean!, $varA: Boolean!) { allAnimals { __typename @@ -50,7 +50,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { } } } - """, + """#, fragments: [HeightInMeters.self, WarmBloodedDetails.self, PetDetails.self] )) @@ -86,8 +86,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("allAnimals", [AllAnimal].self), ] } @@ -100,8 +100,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height.self), .field("skinCovering", GraphQLEnum?.self), .field("predators", [Predator].self), @@ -138,8 +138,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .field("feet", Int.self), .field("inches", Int?.self), ] } @@ -156,8 +156,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: "includeSpecies", .field("species", String.self)), .include(if: "getWarmBlooded", .inlineFragment(AsWarmBlooded.self)), ] } @@ -173,8 +173,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .field("species", String.self), .fragment(WarmBloodedDetails.self), .field("laysEggs", Bool.self), @@ -202,8 +202,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(WarmBloodedDetails.self), ] } @@ -230,7 +230,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -244,7 +244,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } public var height: Height { __data["height"] } public var species: String? { __data["species"] } @@ -267,7 +267,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -283,8 +283,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height.self), .inlineFragment(AsWarmBlooded.self), .fragment(PetDetails.self), @@ -315,8 +315,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: "varA", [ .field("relativeSize", GraphQLEnum.self), .field("centimeters", Double.self), @@ -337,8 +337,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(WarmBloodedDetails.self), ] } @@ -367,7 +367,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -385,8 +385,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Cat } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Cat } + public static var __selections: [ApolloAPI.Selection] { [ .field("isJellicle", Bool.self), ] } @@ -416,7 +416,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -433,8 +433,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Unions.ClassroomPet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsBird.self), ] } @@ -459,7 +459,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -473,8 +473,8 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Bird } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird } + public static var __selections: [ApolloAPI.Selection] { [ .field("wingspan", Double.self), ] } @@ -504,7 +504,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -521,7 +521,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } public var height: Height { __data["height"] } public var species: String? { __data["species"] } @@ -542,7 +542,7 @@ public class AllAnimalsIncludeSkipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsQuery.graphql.swift index 24d2408e0a..50c581cf14 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/AllAnimalsQuery.graphql.swift @@ -7,7 +7,7 @@ public class AllAnimalsQuery: GraphQLQuery { public static let operationName: String = "AllAnimalsQuery" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query AllAnimalsQuery { allAnimals { __typename @@ -53,7 +53,7 @@ public class AllAnimalsQuery: GraphQLQuery { } } } - """, + """#, fragments: [HeightInMeters.self, WarmBloodedDetails.self, PetDetails.self] )) @@ -63,8 +63,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("allAnimals", [AllAnimal].self), ] } @@ -77,8 +77,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height.self), .field("species", String.self), .field("skinCovering", GraphQLEnum?.self), @@ -116,8 +116,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .field("feet", Int.self), .field("inches", Int?.self), ] } @@ -134,8 +134,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("species", String.self), .inlineFragment(AsWarmBlooded.self), ] } @@ -151,8 +151,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .field("laysEggs", Bool.self), .fragment(WarmBloodedDetails.self), ] } @@ -179,8 +179,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(WarmBloodedDetails.self), ] } @@ -205,7 +205,7 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -220,8 +220,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Height.self), .inlineFragment(AsWarmBlooded.self), .fragment(PetDetails.self), @@ -252,8 +252,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } + public static var __selections: [ApolloAPI.Selection] { [ .field("relativeSize", GraphQLEnum.self), .field("centimeters", Double.self), ] } @@ -272,8 +272,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(WarmBloodedDetails.self), ] } @@ -302,7 +302,7 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -320,8 +320,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Cat } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Cat } + public static var __selections: [ApolloAPI.Selection] { [ .field("isJellicle", Bool.self), ] } @@ -351,7 +351,7 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -368,8 +368,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Unions.ClassroomPet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsBird.self), ] } @@ -394,7 +394,7 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -408,8 +408,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Bird } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird } + public static var __selections: [ApolloAPI.Selection] { [ .field("wingspan", Double.self), ] } @@ -439,7 +439,7 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } @@ -457,8 +457,8 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Dog } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Dog } + public static var __selections: [ApolloAPI.Selection] { [ .field("favoriteToy", String.self), .field("birthdate", CustomDate?.self), ] } @@ -489,7 +489,7 @@ public class AllAnimalsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Height } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height } public var feet: Int { __data["feet"] } public var inches: Int? { __data["inches"] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsCCNQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsCCNQuery.graphql.swift index 22ecae8bd8..f7e10913b0 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsCCNQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsCCNQuery.graphql.swift @@ -7,14 +7,14 @@ public class ClassroomPetsCCNQuery: GraphQLQuery { public static let operationName: String = "ClassroomPetsCCN" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query ClassroomPetsCCN { classroomPets[!]? { __typename ...ClassroomPetDetailsCCN } } - """, + """#, fragments: [ClassroomPetDetailsCCN.self] )) @@ -24,8 +24,8 @@ public class ClassroomPetsCCNQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("classroomPets", [ClassroomPet]?.self), ] } @@ -38,8 +38,8 @@ public class ClassroomPetsCCNQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Unions.ClassroomPet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(ClassroomPetDetailsCCN.self), ] } @@ -59,7 +59,7 @@ public class ClassroomPetsCCNQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } public var height: ClassroomPetDetailsCCN.AsAnimal.Height { __data["height"] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsQuery.graphql.swift index 0ae86eaed4..37798b11c5 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/ClassroomPetsQuery.graphql.swift @@ -7,14 +7,14 @@ public class ClassroomPetsQuery: GraphQLQuery { public static let operationName: String = "ClassroomPets" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query ClassroomPets { classroomPets { __typename ...ClassroomPetDetails } } - """, + """#, fragments: [ClassroomPetDetails.self] )) @@ -24,8 +24,8 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("classroomPets", [ClassroomPet?]?.self), ] } @@ -38,8 +38,8 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Unions.ClassroomPet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(ClassroomPetDetails.self), ] } @@ -64,7 +64,7 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } public var species: String { __data["species"] } @@ -83,7 +83,7 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } public var humanName: String? { __data["humanName"] } @@ -102,7 +102,7 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded } public var species: String { __data["species"] } public var laysEggs: Bool { __data["laysEggs"] } @@ -122,7 +122,7 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Cat } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Cat } public var species: String { __data["species"] } public var humanName: String? { __data["humanName"] } @@ -145,7 +145,7 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Bird } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird } public var species: String { __data["species"] } public var humanName: String? { __data["humanName"] } @@ -167,7 +167,7 @@ public class ClassroomPetsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.PetRock } + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.PetRock } public var humanName: String? { __data["humanName"] } public var favoriteToy: String { __data["favoriteToy"] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/DogQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/DogQuery.graphql.swift index 4d23f27fd3..00e86d58f5 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/DogQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/DogQuery.graphql.swift @@ -7,7 +7,7 @@ public class DogQuery: GraphQLQuery { public static let operationName: String = "DogQuery" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query DogQuery { allAnimals { __typename @@ -17,7 +17,7 @@ public class DogQuery: GraphQLQuery { } } } - """, + """#, fragments: [DogFragment.self] )) @@ -27,8 +27,8 @@ public class DogQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("allAnimals", [AllAnimal].self), ] } @@ -41,8 +41,8 @@ public class DogQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Animal } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .inlineFragment(AsDog.self), ] } @@ -58,8 +58,8 @@ public class DogQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Dog } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Dog } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(DogFragment.self), ] } diff --git a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/PetSearchQuery.graphql.swift b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/PetSearchQuery.graphql.swift index 298f5dd64c..b1ec498bf6 100644 --- a/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/PetSearchQuery.graphql.swift +++ b/Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Operations/Queries/PetSearchQuery.graphql.swift @@ -7,7 +7,7 @@ public class PetSearchQuery: GraphQLQuery { public static let operationName: String = "PetSearch" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query PetSearch($filters: PetSearchFilters = {species: ["Dog", "Cat"], size: SMALL, measurements: {height: 10.5, weight: 5.0}}) { pets(filters: $filters) { __typename @@ -15,7 +15,7 @@ public class PetSearchQuery: GraphQLQuery { humanName } } - """ + """# )) public var filters: GraphQLNullable @@ -41,8 +41,8 @@ public class PetSearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("pets", [Pet].self, arguments: ["filters": .variable("filters")]), ] } @@ -55,8 +55,8 @@ public class PetSearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { AnimalKingdomAPI.Interfaces.Pet } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("humanName", String?.self), ] } diff --git a/Sources/GitHubAPI/GitHubAPI/Sources/Fragments/AuthorDetails.graphql.swift b/Sources/GitHubAPI/GitHubAPI/Sources/Fragments/AuthorDetails.graphql.swift index a239987bb8..4095786ae8 100644 --- a/Sources/GitHubAPI/GitHubAPI/Sources/Fragments/AuthorDetails.graphql.swift +++ b/Sources/GitHubAPI/GitHubAPI/Sources/Fragments/AuthorDetails.graphql.swift @@ -19,8 +19,8 @@ public struct AuthorDetails: GitHubAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Actor } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Actor } + public static var __selections: [ApolloAPI.Selection] { [ .field("login", String.self), .inlineFragment(AsUser.self), ] } @@ -37,8 +37,8 @@ public struct AuthorDetails: GitHubAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.User } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.User } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String?.self), ] } diff --git a/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/IssuesAndCommentsForRepositoryQuery.graphql.swift b/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/IssuesAndCommentsForRepositoryQuery.graphql.swift index e5fae80147..3c6bacfbd7 100644 --- a/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/IssuesAndCommentsForRepositoryQuery.graphql.swift +++ b/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/IssuesAndCommentsForRepositoryQuery.graphql.swift @@ -7,7 +7,7 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public static let operationName: String = "IssuesAndCommentsForRepository" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query IssuesAndCommentsForRepository { repository(name: "apollo-ios", owner: "apollographql") { __typename @@ -37,7 +37,7 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { } } } - """, + """#, fragments: [AuthorDetails.self] )) @@ -47,8 +47,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("repository", Repository?.self, arguments: [ "name": "apollo-ios", "owner": "apollographql" @@ -65,8 +65,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Repository } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Repository } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("issues", Issues.self, arguments: ["last": 100]), ] } @@ -83,8 +83,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.IssueConnection } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.IssueConnection } + public static var __selections: [ApolloAPI.Selection] { [ .field("nodes", [Node?]?.self), ] } @@ -98,8 +98,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Issue } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Issue } + public static var __selections: [ApolloAPI.Selection] { [ .field("title", String.self), .field("author", Author?.self), .field("body", String.self), @@ -122,8 +122,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Actor } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Actor } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(AuthorDetails.self), ] } @@ -146,7 +146,7 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.User } + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.User } /// The username of the actor. public var login: String { __data["login"] } @@ -170,8 +170,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.IssueCommentConnection } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.IssueCommentConnection } + public static var __selections: [ApolloAPI.Selection] { [ .field("nodes", [Node?]?.self), ] } @@ -185,8 +185,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.IssueComment } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.IssueComment } + public static var __selections: [ApolloAPI.Selection] { [ .field("body", String.self), .field("author", Author?.self), ] } @@ -203,8 +203,8 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Actor } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Actor } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(AuthorDetails.self), ] } @@ -227,7 +227,7 @@ public class IssuesAndCommentsForRepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.User } + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.User } /// The username of the actor. public var login: String { __data["login"] } diff --git a/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepoURLQuery.graphql.swift b/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepoURLQuery.graphql.swift index b5eb666447..b1bc9626f6 100644 --- a/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepoURLQuery.graphql.swift +++ b/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepoURLQuery.graphql.swift @@ -7,14 +7,14 @@ public class RepoURLQuery: GraphQLQuery { public static let operationName: String = "RepoURL" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query RepoURL { repository(owner: "apollographql", name: "apollo-ios") { __typename url } } - """ + """# )) public init() {} @@ -23,8 +23,8 @@ public class RepoURLQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("repository", Repository?.self, arguments: [ "owner": "apollographql", "name": "apollo-ios" @@ -41,8 +41,8 @@ public class RepoURLQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Repository } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Repository } + public static var __selections: [ApolloAPI.Selection] { [ .field("url", URI.self), ] } diff --git a/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepositoryQuery.graphql.swift b/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepositoryQuery.graphql.swift index 903e50a321..0cbf66a808 100644 --- a/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepositoryQuery.graphql.swift +++ b/Sources/GitHubAPI/GitHubAPI/Sources/Operations/Queries/RepositoryQuery.graphql.swift @@ -7,7 +7,7 @@ public class RepositoryQuery: GraphQLQuery { public static let operationName: String = "Repository" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" query Repository { repository(owner: "apollographql", name: "apollo-ios") { __typename @@ -39,7 +39,7 @@ public class RepositoryQuery: GraphQLQuery { } } } - """ + """# )) public init() {} @@ -48,8 +48,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("repository", Repository?.self, arguments: [ "owner": "apollographql", "name": "apollo-ios" @@ -66,8 +66,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Repository } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Repository } + public static var __selections: [ApolloAPI.Selection] { [ .field("issueOrPullRequest", IssueOrPullRequest?.self, arguments: ["number": 13]), ] } @@ -81,8 +81,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Unions.IssueOrPullRequest } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Unions.IssueOrPullRequest } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsIssue.self), .inlineFragment(AsReactable.self), ] } @@ -97,8 +97,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Objects.Issue } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Objects.Issue } + public static var __selections: [ApolloAPI.Selection] { [ .field("body", String.self), .field("url", URI.self), .field("author", Author?.self), @@ -120,8 +120,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Actor } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Actor } + public static var __selections: [ApolloAPI.Selection] { [ .field("avatarUrl", URI.self), ] } @@ -139,8 +139,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Reactable } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Reactable } + public static var __selections: [ApolloAPI.Selection] { [ .field("viewerCanReact", Bool.self), .inlineFragment(AsComment.self), ] } @@ -157,8 +157,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Comment } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Comment } + public static var __selections: [ApolloAPI.Selection] { [ .field("author", Author?.self), ] } @@ -174,8 +174,8 @@ public class RepositoryQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { GitHubAPI.Interfaces.Actor } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { GitHubAPI.Interfaces.Actor } + public static var __selections: [ApolloAPI.Selection] { [ .field("login", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterAppearsIn.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterAppearsIn.graphql.swift index b7692d6811..d26226a21c 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterAppearsIn.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterAppearsIn.graphql.swift @@ -14,8 +14,8 @@ public struct CharacterAppearsIn: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterName.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterName.graphql.swift index 2547c538fb..189064fdee 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterName.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterName.graphql.swift @@ -14,8 +14,8 @@ public struct CharacterName: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsIn.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsIn.graphql.swift index 2150f46b7b..f7abebe9d0 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsIn.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsIn.graphql.swift @@ -15,8 +15,8 @@ public struct CharacterNameAndAppearsIn: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsInWithNestedFragments.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsInWithNestedFragments.graphql.swift index ecd5220edb..f1a9c72300 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsInWithNestedFragments.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsInWithNestedFragments.graphql.swift @@ -14,8 +14,8 @@ public struct CharacterNameAndAppearsInWithNestedFragments: StarWarsAPI.Selectio public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterNameWithNestedAppearsInFragment.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidAppearsIn.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidAppearsIn.graphql.swift index 8900744c1e..20d6b7b615 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidAppearsIn.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidAppearsIn.graphql.swift @@ -18,8 +18,8 @@ public struct CharacterNameAndDroidAppearsIn: StarWarsAPI.SelectionSet, Fragment public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsDroid.self), ] } @@ -36,8 +36,8 @@ public struct CharacterNameAndDroidAppearsIn: StarWarsAPI.SelectionSet, Fragment public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidPrimaryFunction.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidPrimaryFunction.graphql.swift index 6c161cce5e..92d2ed46f1 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidPrimaryFunction.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidPrimaryFunction.graphql.swift @@ -15,8 +15,8 @@ public struct CharacterNameAndDroidPrimaryFunction: StarWarsAPI.SelectionSet, Fr public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsDroid.self), .fragment(CharacterName.self), ] } @@ -40,8 +40,8 @@ public struct CharacterNameAndDroidPrimaryFunction: StarWarsAPI.SelectionSet, Fr public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(DroidPrimaryFunction.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithInlineFragment.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithInlineFragment.graphql.swift index 23b651b0cf..5edb70959b 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithInlineFragment.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithInlineFragment.graphql.swift @@ -25,8 +25,8 @@ public struct CharacterNameWithInlineFragment: StarWarsAPI.SelectionSet, Fragmen public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsHuman.self), .inlineFragment(AsDroid.self), ] } @@ -41,8 +41,8 @@ public struct CharacterNameWithInlineFragment: StarWarsAPI.SelectionSet, Fragmen public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -56,8 +56,8 @@ public struct CharacterNameWithInlineFragment: StarWarsAPI.SelectionSet, Fragmen public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("appearsIn", [GraphQLEnum?].self), ] } @@ -75,8 +75,8 @@ public struct CharacterNameWithInlineFragment: StarWarsAPI.SelectionSet, Fragmen public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterName.self), .fragment(FriendsNames.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithNestedAppearsInFragment.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithNestedAppearsInFragment.graphql.swift index 9498167597..2b51e8d677 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithNestedAppearsInFragment.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithNestedAppearsInFragment.graphql.swift @@ -15,8 +15,8 @@ public struct CharacterNameWithNestedAppearsInFragment: StarWarsAPI.SelectionSet public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .fragment(CharacterAppearsIn.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidDetails.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidDetails.graphql.swift index 00a153a319..48fe677e74 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidDetails.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidDetails.graphql.swift @@ -15,8 +15,8 @@ public struct DroidDetails: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("primaryFunction", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidName.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidName.graphql.swift index fd96a63c91..4925a0aff8 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidName.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidName.graphql.swift @@ -14,8 +14,8 @@ public struct DroidName: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidNameAndPrimaryFunction.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidNameAndPrimaryFunction.graphql.swift index 27b3b62f9d..1dc6596cd0 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidNameAndPrimaryFunction.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidNameAndPrimaryFunction.graphql.swift @@ -15,8 +15,8 @@ public struct DroidNameAndPrimaryFunction: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterName.self), .fragment(DroidPrimaryFunction.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidPrimaryFunction.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidPrimaryFunction.graphql.swift index db97f54b07..08e6daef9a 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidPrimaryFunction.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidPrimaryFunction.graphql.swift @@ -14,8 +14,8 @@ public struct DroidPrimaryFunction: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("primaryFunction", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/FriendsNames.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/FriendsNames.graphql.swift index bbdfd6dc1c..b614420c7e 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/FriendsNames.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/FriendsNames.graphql.swift @@ -17,8 +17,8 @@ public struct FriendsNames: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -32,8 +32,8 @@ public struct FriendsNames: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HeroDetails.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HeroDetails.graphql.swift index 8c7627df83..54d771e085 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HeroDetails.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HeroDetails.graphql.swift @@ -22,8 +22,8 @@ public struct HeroDetails: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsHuman.self), .inlineFragment(AsDroid.self), @@ -42,8 +42,8 @@ public struct HeroDetails: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Double?.self), ] } @@ -60,8 +60,8 @@ public struct HeroDetails: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("primaryFunction", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HumanHeightWithVariable.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HumanHeightWithVariable.graphql.swift index e4b601f539..1317f1ed05 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HumanHeightWithVariable.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HumanHeightWithVariable.graphql.swift @@ -14,8 +14,8 @@ public struct HumanHeightWithVariable: StarWarsAPI.SelectionSet, Fragment { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Double?.self, arguments: ["unit": .variable("heightUnit")]), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateAwesomeReviewMutation.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateAwesomeReviewMutation.graphql.swift index c91c1e5801..bf9d12758a 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateAwesomeReviewMutation.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateAwesomeReviewMutation.graphql.swift @@ -8,7 +8,7 @@ public class CreateAwesomeReviewMutation: GraphQLMutation { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "4a1250de93ebcb5cad5870acf15001112bf27bb963e8709555b5ff67a1405374", definition: .init( - """ + #""" mutation CreateAwesomeReview { createReview(episode: JEDI, review: {stars: 10, commentary: "This is awesome!"}) { __typename @@ -16,7 +16,7 @@ public class CreateAwesomeReviewMutation: GraphQLMutation { commentary } } - """ + """# )) public init() {} @@ -25,8 +25,8 @@ public class CreateAwesomeReviewMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("createReview", CreateReview?.self, arguments: [ "episode": "JEDI", "review": [ @@ -45,8 +45,8 @@ public class CreateAwesomeReviewMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Review } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Review } + public static var __selections: [ApolloAPI.Selection] { [ .field("stars", Int.self), .field("commentary", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewForEpisodeMutation.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewForEpisodeMutation.graphql.swift index e22981d208..0d9d79cc16 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewForEpisodeMutation.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewForEpisodeMutation.graphql.swift @@ -8,7 +8,7 @@ public class CreateReviewForEpisodeMutation: GraphQLMutation { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "9bbf5b4074d0635fb19d17c621b7b04ebfb1920d468a94266819e149841e7d5d", definition: .init( - """ + #""" mutation CreateReviewForEpisode($episode: Episode!, $review: ReviewInput!) { createReview(episode: $episode, review: $review) { __typename @@ -16,7 +16,7 @@ public class CreateReviewForEpisodeMutation: GraphQLMutation { commentary } } - """ + """# )) public var episode: GraphQLEnum @@ -39,8 +39,8 @@ public class CreateReviewForEpisodeMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("createReview", CreateReview?.self, arguments: [ "episode": .variable("episode"), "review": .variable("review") @@ -56,8 +56,8 @@ public class CreateReviewForEpisodeMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Review } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Review } + public static var __selections: [ApolloAPI.Selection] { [ .field("stars", Int.self), .field("commentary", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewWithNullFieldMutation.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewWithNullFieldMutation.graphql.swift index c0e482102c..c5b633a48f 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewWithNullFieldMutation.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Mutations/CreateReviewWithNullFieldMutation.graphql.swift @@ -8,7 +8,7 @@ public class CreateReviewWithNullFieldMutation: GraphQLMutation { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "a9600d176cd7e4671b8689f1d01fe79ea896932bfafb8a925af673f0e4111828", definition: .init( - """ + #""" mutation CreateReviewWithNullField { createReview(episode: JEDI, review: {stars: 10, commentary: null}) { __typename @@ -16,7 +16,7 @@ public class CreateReviewWithNullFieldMutation: GraphQLMutation { commentary } } - """ + """# )) public init() {} @@ -25,8 +25,8 @@ public class CreateReviewWithNullFieldMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("createReview", CreateReview?.self, arguments: [ "episode": "JEDI", "review": [ @@ -45,8 +45,8 @@ public class CreateReviewWithNullFieldMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Review } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Review } + public static var __selections: [ApolloAPI.Selection] { [ .field("stars", Int.self), .field("commentary", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/DroidDetailsWithFragmentQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/DroidDetailsWithFragmentQuery.graphql.swift index a86e63c2a5..12a1789d16 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/DroidDetailsWithFragmentQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/DroidDetailsWithFragmentQuery.graphql.swift @@ -8,14 +8,14 @@ public class DroidDetailsWithFragmentQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "7277e97563e911ac8f5c91d401028d218aae41f38df014d7fa0b037bb2a2e739", definition: .init( - """ + #""" query DroidDetailsWithFragment($episode: Episode) { hero(episode: $episode) { __typename ...DroidDetails } } - """, + """#, fragments: [DroidDetails.self] )) @@ -31,8 +31,8 @@ public class DroidDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class DroidDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsDroid.self), ] } @@ -59,8 +59,8 @@ public class DroidDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(DroidDetails.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsIDsQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsIDsQuery.graphql.swift index 6d4287eac7..5539056308 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsIDsQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsIDsQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroAndFriendsIDsQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "117d0f6831d8f4abe5b61ed1dbb8071b0825e19649916c0fe0906a6f578bb088", definition: .init( - """ + #""" query HeroAndFriendsIDs($episode: Episode) { hero(episode: $episode) { __typename @@ -20,7 +20,7 @@ public class HeroAndFriendsIDsQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -35,8 +35,8 @@ public class HeroAndFriendsIDsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -49,8 +49,8 @@ public class HeroAndFriendsIDsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), .field("friends", [Friend?]?.self), @@ -70,8 +70,8 @@ public class HeroAndFriendsIDsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesQuery.graphql.swift index 5efa43b089..9045c4f11f 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroAndFriendsNamesQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "fe3f21394eb861aa515c4d582e645469045793c9cbbeca4b5d4ce4d7dd617556", definition: .init( - """ + #""" query HeroAndFriendsNames($episode: Episode) { hero(episode: $episode) { __typename @@ -19,7 +19,7 @@ public class HeroAndFriendsNamesQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -34,8 +34,8 @@ public class HeroAndFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -48,8 +48,8 @@ public class HeroAndFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("friends", [Friend?]?.self), ] } @@ -66,8 +66,8 @@ public class HeroAndFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentQuery.graphql.swift index 4571f13ec7..ff3a79115f 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroAndFriendsNamesWithFragmentQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "1d3ad903dad146ff9d7aa09813fc01becd017489bfc1af8ffd178498730a5a26", definition: .init( - """ + #""" query HeroAndFriendsNamesWithFragment($episode: Episode) { hero(episode: $episode) { __typename @@ -16,7 +16,7 @@ public class HeroAndFriendsNamesWithFragmentQuery: GraphQLQuery { ...FriendsNames } } - """, + """#, fragments: [FriendsNames.self] )) @@ -32,8 +32,8 @@ public class HeroAndFriendsNamesWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -46,8 +46,8 @@ public class HeroAndFriendsNamesWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .fragment(FriendsNames.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentTwiceQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentTwiceQuery.graphql.swift index 4430f8408b..305a6a5b3e 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentTwiceQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithFragmentTwiceQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "b5f4eca712a136f0d5d9f96203ef7d03cd119d8388f093f4b78ae124acb904cb", definition: .init( - """ + #""" query HeroAndFriendsNamesWithFragmentTwice($episode: Episode) { hero(episode: $episode) { __typename @@ -25,7 +25,7 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { } } } - """, + """#, fragments: [CharacterName.self] )) @@ -41,8 +41,8 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -55,8 +55,8 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), .inlineFragment(AsDroid.self), ] } @@ -73,8 +73,8 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterName.self), ] } @@ -96,8 +96,8 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -111,8 +111,8 @@ public class HeroAndFriendsNamesWithFragmentTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterName.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDForParentOnlyQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDForParentOnlyQuery.graphql.swift index 537240b1f2..96107ede86 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDForParentOnlyQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDForParentOnlyQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroAndFriendsNamesWithIDForParentOnlyQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "f091468a629f3b757c03a1b7710c6ede8b5c8f10df7ba3238f2bbcd71c56f90f", definition: .init( - """ + #""" query HeroAndFriendsNamesWithIDForParentOnly($episode: Episode) { hero(episode: $episode) { __typename @@ -20,7 +20,7 @@ public class HeroAndFriendsNamesWithIDForParentOnlyQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -35,8 +35,8 @@ public class HeroAndFriendsNamesWithIDForParentOnlyQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -49,8 +49,8 @@ public class HeroAndFriendsNamesWithIDForParentOnlyQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), .field("friends", [Friend?]?.self), @@ -70,8 +70,8 @@ public class HeroAndFriendsNamesWithIDForParentOnlyQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDsQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDsQuery.graphql.swift index 6d619c818d..7bd77bf204 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDsQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAndFriendsNamesWithIDsQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroAndFriendsNamesWithIDsQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "8e4ca76c63660898cfd5a3845e3709027750b5f0151c7f9be65759b869c5486d", definition: .init( - """ + #""" query HeroAndFriendsNamesWithIDs($episode: Episode) { hero(episode: $episode) { __typename @@ -21,7 +21,7 @@ public class HeroAndFriendsNamesWithIDsQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -36,8 +36,8 @@ public class HeroAndFriendsNamesWithIDsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -50,8 +50,8 @@ public class HeroAndFriendsNamesWithIDsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), .field("friends", [Friend?]?.self), @@ -71,8 +71,8 @@ public class HeroAndFriendsNamesWithIDsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInQuery.graphql.swift index 46f24ea0e8..1f0afa93c7 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroAppearsInQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "22d772c0fc813281705e8f0a55fc70e71eeff6e98f3f9ef96cf67fb896914522", definition: .init( - """ + #""" query HeroAppearsIn { hero { __typename appearsIn } } - """ + """# )) public init() {} @@ -24,8 +24,8 @@ public class HeroAppearsInQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -38,8 +38,8 @@ public class HeroAppearsInQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInWithFragmentQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInWithFragmentQuery.graphql.swift index d37176cbf1..06858102b3 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInWithFragmentQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroAppearsInWithFragmentQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroAppearsInWithFragmentQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "1756158bd7736d58db45a48d74a724fa1b6fdac735376df8afac8318ba5431fb", definition: .init( - """ + #""" query HeroAppearsInWithFragment($episode: Episode) { hero(episode: $episode) { __typename ...CharacterAppearsIn } } - """, + """#, fragments: [CharacterAppearsIn.self] )) @@ -31,8 +31,8 @@ public class HeroAppearsInWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class HeroAppearsInWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterAppearsIn.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsFragmentConditionalInclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsFragmentConditionalInclusionQuery.graphql.swift index d76ddbabf8..2276f5f5d4 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsFragmentConditionalInclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsFragmentConditionalInclusionQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroDetailsFragmentConditionalInclusionQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "b0fa7927ff93b4a579c3460fb04d093072d34c8018e41197c7e080aeeec5e19b", definition: .init( - """ + #""" query HeroDetailsFragmentConditionalInclusion($includeDetails: Boolean!) { hero { __typename ...HeroDetails @include(if: $includeDetails) } } - """, + """#, fragments: [HeroDetails.self] )) @@ -31,8 +31,8 @@ public class HeroDetailsFragmentConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -45,8 +45,8 @@ public class HeroDetailsFragmentConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: "includeDetails", .fragment(HeroDetails.self)), ] } @@ -66,7 +66,7 @@ public class HeroDetailsFragmentConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } /// The name of the character public var name: String { __data["name"] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsInlineConditionalInclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsInlineConditionalInclusionQuery.graphql.swift index d6a4678a8b..26f9bfb7e9 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsInlineConditionalInclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsInlineConditionalInclusionQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroDetailsInlineConditionalInclusionQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "3091d9d3f1d2374e2f835ce05d332e50b3fe61502d73213b9aa511f0f94f091c", definition: .init( - """ + #""" query HeroDetailsInlineConditionalInclusion($includeDetails: Boolean!) { hero { __typename @@ -19,7 +19,7 @@ public class HeroDetailsInlineConditionalInclusionQuery: GraphQLQuery { } } } - """ + """# )) public var includeDetails: Bool @@ -34,8 +34,8 @@ public class HeroDetailsInlineConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -48,8 +48,8 @@ public class HeroDetailsInlineConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: "includeDetails", .inlineFragment(IfIncludeDetails.self)), ] } @@ -62,8 +62,8 @@ public class HeroDetailsInlineConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsQuery.graphql.swift index 3ce5cc20f2..762ef8143b 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroDetailsQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "207d29944f5822bff08a07db4a55274ea14035bacfe20699da41a47454f1181e", definition: .init( - """ + #""" query HeroDetails($episode: Episode) { hero(episode: $episode) { __typename @@ -23,7 +23,7 @@ public class HeroDetailsQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -38,8 +38,8 @@ public class HeroDetailsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -52,8 +52,8 @@ public class HeroDetailsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsHuman.self), .inlineFragment(AsDroid.self), @@ -72,8 +72,8 @@ public class HeroDetailsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Double?.self), ] } @@ -90,8 +90,8 @@ public class HeroDetailsQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("primaryFunction", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsWithFragmentQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsWithFragmentQuery.graphql.swift index 9109e29c47..db55bb8337 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsWithFragmentQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroDetailsWithFragmentQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroDetailsWithFragmentQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "b55bd9d56d1b5972345412b6adb88ceb64d6086c8051d2588d8ab701f0ee7c2f", definition: .init( - """ + #""" query HeroDetailsWithFragment($episode: Episode) { hero(episode: $episode) { __typename ...HeroDetails } } - """, + """#, fragments: [HeroDetails.self] )) @@ -31,8 +31,8 @@ public class HeroDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class HeroDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(HeroDetails.self), ] } @@ -70,7 +70,7 @@ public class HeroDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } /// The name of the character public var name: String { __data["name"] } @@ -92,7 +92,7 @@ public class HeroDetailsWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } /// The name of the character public var name: String { __data["name"] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsConditionalInclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsConditionalInclusionQuery.graphql.swift index 7011840f3d..1201cacc61 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsConditionalInclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsConditionalInclusionQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroFriendsDetailsConditionalInclusionQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "8cada231691ff2f5a0a07c54b7332114588f11b947795da345c5b054211fbcfd", definition: .init( - """ + #""" query HeroFriendsDetailsConditionalInclusion($includeFriendsDetails: Boolean!) { hero { __typename @@ -22,7 +22,7 @@ public class HeroFriendsDetailsConditionalInclusionQuery: GraphQLQuery { } } } - """ + """# )) public var includeFriendsDetails: Bool @@ -37,8 +37,8 @@ public class HeroFriendsDetailsConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -51,8 +51,8 @@ public class HeroFriendsDetailsConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: "includeFriendsDetails", .field("friends", [Friend?]?.self)), ] } @@ -66,8 +66,8 @@ public class HeroFriendsDetailsConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsDroid.self), ] } @@ -84,8 +84,8 @@ public class HeroFriendsDetailsConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("primaryFunction", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery.graphql.swift index d2ad365788..e3f6301a22 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "65381a20574db4b458a0821328252deb0da1a107f9ab77c99fb2467e66a5f12d", definition: .init( - """ + #""" query HeroFriendsDetailsUnconditionalAndConditionalInclusion($includeFriendsDetails: Boolean!) { hero { __typename @@ -26,7 +26,7 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ } } } - """ + """# )) public var includeFriendsDetails: Bool @@ -41,8 +41,8 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -55,8 +55,8 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -70,8 +70,8 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .include(if: "includeFriendsDetails", .inlineFragment(IfIncludeFriendsDetails.self)), ] } @@ -89,8 +89,8 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsDroid.self), ] } @@ -107,8 +107,8 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("primaryFunction", String?.self), ] } @@ -125,7 +125,7 @@ public class HeroFriendsDetailsUnconditionalAndConditionalInclusionQuery: GraphQ public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } /// The name of the character public var name: String { __data["name"] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsOfFriendsNamesQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsOfFriendsNamesQuery.graphql.swift index d6c635e24f..10fcb702de 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsOfFriendsNamesQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroFriendsOfFriendsNamesQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroFriendsOfFriendsNamesQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "37cd5626048e7243716ffda9e56503939dd189772124a1c21b0e0b87e69aae01", definition: .init( - """ + #""" query HeroFriendsOfFriendsNames($episode: Episode) { hero(episode: $episode) { __typename @@ -22,7 +22,7 @@ public class HeroFriendsOfFriendsNamesQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -37,8 +37,8 @@ public class HeroFriendsOfFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -51,8 +51,8 @@ public class HeroFriendsOfFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -66,8 +66,8 @@ public class HeroFriendsOfFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("friends", [Friend?]?.self), ] } @@ -84,8 +84,8 @@ public class HeroFriendsOfFriendsNamesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInQuery.graphql.swift index 79c4949d0d..4e66ca6647 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroNameAndAppearsInQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "f714414a2002404f9943490c8cc9c1a7b8ecac3ca229fa5a326186b43c1385ce", definition: .init( - """ + #""" query HeroNameAndAppearsIn($episode: Episode) { hero(episode: $episode) { __typename @@ -16,7 +16,7 @@ public class HeroNameAndAppearsInQuery: GraphQLQuery { appearsIn } } - """ + """# )) public var episode: GraphQLNullable> @@ -31,8 +31,8 @@ public class HeroNameAndAppearsInQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class HeroNameAndAppearsInQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInWithFragmentQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInWithFragmentQuery.graphql.swift index e78aabb22d..011d0da42b 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInWithFragmentQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameAndAppearsInWithFragmentQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroNameAndAppearsInWithFragmentQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "0664fed3eb4f9fbdb44e8691d9e8fd11f2b3c097ba11327592054f602bd3ba1a", definition: .init( - """ + #""" query HeroNameAndAppearsInWithFragment($episode: Episode) { hero(episode: $episode) { __typename ...CharacterNameAndAppearsIn } } - """, + """#, fragments: [CharacterNameAndAppearsIn.self] )) @@ -31,8 +31,8 @@ public class HeroNameAndAppearsInWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class HeroNameAndAppearsInWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterNameAndAppearsIn.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothQuery.graphql.swift index ca141b9d8b..4e3c607173 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroNameConditionalBothQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "66f4dc124b6374b1912b22a2a208e34a4b1997349402a372b95bcfafc7884064", definition: .init( - """ + #""" query HeroNameConditionalBoth($skipName: Boolean!, $includeName: Boolean!) { hero { __typename name @skip(if: $skipName) @include(if: $includeName) } } - """ + """# )) public var skipName: Bool @@ -38,8 +38,8 @@ public class HeroNameConditionalBothQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -52,8 +52,8 @@ public class HeroNameConditionalBothQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: !"skipName" && "includeName", .field("name", String.self)), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothSeparateQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothSeparateQuery.graphql.swift index 0c3133f57d..779d42dbf4 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothSeparateQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalBothSeparateQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroNameConditionalBothSeparateQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "d0f9e9205cdc09320035662f528a177654d3275b0bf94cf0e259a65fde33e7e5", definition: .init( - """ + #""" query HeroNameConditionalBothSeparate($skipName: Boolean!, $includeName: Boolean!) { hero { __typename @@ -16,7 +16,7 @@ public class HeroNameConditionalBothSeparateQuery: GraphQLQuery { name @include(if: $includeName) } } - """ + """# )) public var skipName: Bool @@ -39,8 +39,8 @@ public class HeroNameConditionalBothSeparateQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -53,8 +53,8 @@ public class HeroNameConditionalBothSeparateQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: !"skipName" || "includeName", .field("name", String.self)), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalExclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalExclusionQuery.graphql.swift index a710e4f722..6342b6489d 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalExclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalExclusionQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroNameConditionalExclusionQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "3dd42259adf2d0598e89e0279bee2c128a7913f02b1da6aa43f3b5def6a8a1f8", definition: .init( - """ + #""" query HeroNameConditionalExclusion($skipName: Boolean!) { hero { __typename name @skip(if: $skipName) } } - """ + """# )) public var skipName: Bool @@ -30,8 +30,8 @@ public class HeroNameConditionalExclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -44,8 +44,8 @@ public class HeroNameConditionalExclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: !"skipName", .field("name", String.self)), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalInclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalInclusionQuery.graphql.swift index 88042b95d4..5d7716e709 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalInclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameConditionalInclusionQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroNameConditionalInclusionQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "338081aea3acc83d04af0741ecf0da1ec2ee8e6468a88383476b681015905ef8", definition: .init( - """ + #""" query HeroNameConditionalInclusion($includeName: Boolean!) { hero { __typename name @include(if: $includeName) } } - """ + """# )) public var includeName: Bool @@ -30,8 +30,8 @@ public class HeroNameConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), ] } @@ -44,8 +44,8 @@ public class HeroNameConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .include(if: "includeName", .field("name", String.self)), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameQuery.graphql.swift index 6ed6e0ce3d..623482ec94 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroNameQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "f6e76545cd03aa21368d9969cb39447f6e836a16717823281803778e7805d671", definition: .init( - """ + #""" query HeroName($episode: Episode) { hero(episode: $episode) { __typename name } } - """ + """# )) public var episode: GraphQLNullable> @@ -30,8 +30,8 @@ public class HeroNameQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -44,8 +44,8 @@ public class HeroNameQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameTypeSpecificConditionalInclusionQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameTypeSpecificConditionalInclusionQuery.graphql.swift index 257bd9db31..fcf16bc1bd 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameTypeSpecificConditionalInclusionQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameTypeSpecificConditionalInclusionQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroNameTypeSpecificConditionalInclusionQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "76aecc75265295818d3990000b17e32d5524ca85a4bc159ae8a3f8ec7ce91cc3", definition: .init( - """ + #""" query HeroNameTypeSpecificConditionalInclusion($episode: Episode, $includeName: Boolean!) { hero(episode: $episode) { __typename @@ -19,7 +19,7 @@ public class HeroNameTypeSpecificConditionalInclusionQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -42,8 +42,8 @@ public class HeroNameTypeSpecificConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -56,8 +56,8 @@ public class HeroNameTypeSpecificConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsDroid.self), .include(if: "includeName", .field("name", String.self)), ] } @@ -74,8 +74,8 @@ public class HeroNameTypeSpecificConditionalInclusionQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentAndIDQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentAndIDQuery.graphql.swift index 9b08eba32c..d8ddbb8eb0 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentAndIDQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentAndIDQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroNameWithFragmentAndIDQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "a87a0694c09d1ed245e9a80f245d96a5f57b20a4aa936ee9ab09b2a43620db02", definition: .init( - """ + #""" query HeroNameWithFragmentAndID($episode: Episode) { hero(episode: $episode) { __typename @@ -16,7 +16,7 @@ public class HeroNameWithFragmentAndIDQuery: GraphQLQuery { ...CharacterName } } - """, + """#, fragments: [CharacterName.self] )) @@ -32,8 +32,8 @@ public class HeroNameWithFragmentAndIDQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -46,8 +46,8 @@ public class HeroNameWithFragmentAndIDQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .fragment(CharacterName.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentQuery.graphql.swift index be82629357..dee2ec7c13 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithFragmentQuery.graphql.swift @@ -8,14 +8,14 @@ public class HeroNameWithFragmentQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "b952f0054915a32ec524ac0dde0244bcda246649debe149f9e32e303e21c8266", definition: .init( - """ + #""" query HeroNameWithFragment($episode: Episode) { hero(episode: $episode) { __typename ...CharacterName } } - """, + """#, fragments: [CharacterName.self] )) @@ -31,8 +31,8 @@ public class HeroNameWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class HeroNameWithFragmentQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .fragment(CharacterName.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithIDQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithIDQuery.graphql.swift index 3441cb8492..8ac69de47f 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithIDQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroNameWithIDQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroNameWithIDQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "83c03f612c46fca72f6cb902df267c57bffc9209bc44dd87d2524fb2b34f6f18", definition: .init( - """ + #""" query HeroNameWithID($episode: Episode) { hero(episode: $episode) { __typename @@ -16,7 +16,7 @@ public class HeroNameWithIDQuery: GraphQLQuery { name } } - """ + """# )) public var episode: GraphQLNullable> @@ -31,8 +31,8 @@ public class HeroNameWithIDQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -45,8 +45,8 @@ public class HeroNameWithIDQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroParentTypeDependentFieldQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroParentTypeDependentFieldQuery.graphql.swift index d540462ae7..3d46d5f4c4 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroParentTypeDependentFieldQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroParentTypeDependentFieldQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "39eb41b5a9477c36fa529c23d6f0de6ebcc0312daf5bdcfe208d5baec752dc5b", definition: .init( - """ + #""" query HeroParentTypeDependentField($episode: Episode) { hero(episode: $episode) { __typename @@ -37,7 +37,7 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -52,8 +52,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -66,8 +66,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsHuman.self), .inlineFragment(AsDroid.self), @@ -86,8 +86,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -103,8 +103,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsHuman.self), ] } @@ -121,8 +121,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Double?.self, arguments: ["unit": "FOOT"]), ] } @@ -141,8 +141,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("friends", [Friend?]?.self), ] } @@ -158,8 +158,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .inlineFragment(AsHuman.self), ] } @@ -176,8 +176,8 @@ public class HeroParentTypeDependentFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("height", Double?.self, arguments: ["unit": "METER"]), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroTypeDependentAliasedFieldQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroTypeDependentAliasedFieldQuery.graphql.swift index 33dabc6978..5aa63d7cb9 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroTypeDependentAliasedFieldQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HeroTypeDependentAliasedFieldQuery.graphql.swift @@ -8,7 +8,7 @@ public class HeroTypeDependentAliasedFieldQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "eac5a52f9020fc2e9b5dc5facfd6a6295683b8d57ea62ee84254069fcd5e504c", definition: .init( - """ + #""" query HeroTypeDependentAliasedField($episode: Episode) { hero(episode: $episode) { __typename @@ -22,7 +22,7 @@ public class HeroTypeDependentAliasedFieldQuery: GraphQLQuery { } } } - """ + """# )) public var episode: GraphQLNullable> @@ -37,8 +37,8 @@ public class HeroTypeDependentAliasedFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self, arguments: ["episode": .variable("episode")]), ] } @@ -51,8 +51,8 @@ public class HeroTypeDependentAliasedFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsHuman.self), .inlineFragment(AsDroid.self), ] } @@ -67,8 +67,8 @@ public class HeroTypeDependentAliasedFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("homePlanet", alias: "property", String?.self), ] } @@ -83,8 +83,8 @@ public class HeroTypeDependentAliasedFieldQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("primaryFunction", alias: "property", String?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HumanQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HumanQuery.graphql.swift index 63525c00cf..1e54fc3577 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HumanQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/HumanQuery.graphql.swift @@ -8,7 +8,7 @@ public class HumanQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "b37eb69b82fd52358321e49453769750983be1c286744dbf415735d7bcf12f1e", definition: .init( - """ + #""" query Human($id: ID!) { human(id: $id) { __typename @@ -16,7 +16,7 @@ public class HumanQuery: GraphQLQuery { mass } } - """ + """# )) public var id: ID @@ -31,8 +31,8 @@ public class HumanQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("human", Human?.self, arguments: ["id": .variable("id")]), ] } @@ -45,8 +45,8 @@ public class HumanQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("mass", Double?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SameHeroTwiceQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SameHeroTwiceQuery.graphql.swift index c3780e5aca..ab6bbc506e 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SameHeroTwiceQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SameHeroTwiceQuery.graphql.swift @@ -8,7 +8,7 @@ public class SameHeroTwiceQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "2a8ad85a703add7d64622aaf6be76b58a1134caf28e4ff6b34dd00ba89541364", definition: .init( - """ + #""" query SameHeroTwice { hero { __typename @@ -19,7 +19,7 @@ public class SameHeroTwiceQuery: GraphQLQuery { appearsIn } } - """ + """# )) public init() {} @@ -28,8 +28,8 @@ public class SameHeroTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", Hero?.self), .field("hero", alias: "r2", R2?.self), ] } @@ -44,8 +44,8 @@ public class SameHeroTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } @@ -60,8 +60,8 @@ public class SameHeroTwiceQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("appearsIn", [GraphQLEnum?].self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SearchQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SearchQuery.graphql.swift index a409f5320c..273850e175 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SearchQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/SearchQuery.graphql.swift @@ -8,7 +8,7 @@ public class SearchQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "477b77c476899915498a56ae7bb835667b1e875cb94f6daa7f75e05018be2c3a", definition: .init( - """ + #""" query Search($term: String) { search(text: $term) { __typename @@ -29,7 +29,7 @@ public class SearchQuery: GraphQLQuery { } } } - """ + """# )) public var term: GraphQLNullable @@ -44,8 +44,8 @@ public class SearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("search", [Search?]?.self, arguments: ["text": .variable("term")]), ] } @@ -58,8 +58,8 @@ public class SearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Unions.SearchResult } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Unions.SearchResult } + public static var __selections: [ApolloAPI.Selection] { [ .inlineFragment(AsHuman.self), .inlineFragment(AsDroid.self), .inlineFragment(AsStarship.self), @@ -76,8 +76,8 @@ public class SearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Human } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Human } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), ] } @@ -95,8 +95,8 @@ public class SearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Droid } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Droid } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), ] } @@ -114,8 +114,8 @@ public class SearchQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Starship } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Starship } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipCoordinatesQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipCoordinatesQuery.graphql.swift index 795988caa4..0b24b8b807 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipCoordinatesQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipCoordinatesQuery.graphql.swift @@ -8,7 +8,7 @@ public class StarshipCoordinatesQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "8dd77d4bc7494c184606da092a665a7c2ca3c2a3f14d3b23fa5e469e207b3406", definition: .init( - """ + #""" query StarshipCoordinates($coordinates: [[Float!]!]) { starshipCoordinates(coordinates: $coordinates) { __typename @@ -17,7 +17,7 @@ public class StarshipCoordinatesQuery: GraphQLQuery { length } } - """ + """# )) public var coordinates: GraphQLNullable<[[Double]]> @@ -32,8 +32,8 @@ public class StarshipCoordinatesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("starshipCoordinates", StarshipCoordinates?.self, arguments: ["coordinates": .variable("coordinates")]), ] } @@ -46,8 +46,8 @@ public class StarshipCoordinatesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Starship } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Starship } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("coordinates", [[Double]]?.self), .field("length", Double?.self), diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipQuery.graphql.swift index 064c450ad6..c7791e8ff8 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/StarshipQuery.graphql.swift @@ -8,7 +8,7 @@ public class StarshipQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "a3734516185da9919e3e66d74fe92b60d65292a1943dc54913f7332637dfdd2a", definition: .init( - """ + #""" query Starship { starship(id: 3000) { __typename @@ -16,7 +16,7 @@ public class StarshipQuery: GraphQLQuery { coordinates } } - """ + """# )) public init() {} @@ -25,8 +25,8 @@ public class StarshipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("starship", Starship?.self, arguments: ["id": 3000]), ] } @@ -39,8 +39,8 @@ public class StarshipQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Starship } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Starship } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), .field("coordinates", [[Double]]?.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/TwoHeroesQuery.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/TwoHeroesQuery.graphql.swift index 851e01fd72..32ba76b10a 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/TwoHeroesQuery.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Queries/TwoHeroesQuery.graphql.swift @@ -8,7 +8,7 @@ public class TwoHeroesQuery: GraphQLQuery { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "b868fa9c48f19b8151c08c09f46831e3b9cd09f5c617d328647de785244b52bb", definition: .init( - """ + #""" query TwoHeroes { r2: hero { __typename @@ -19,7 +19,7 @@ public class TwoHeroesQuery: GraphQLQuery { name } } - """ + """# )) public init() {} @@ -28,8 +28,8 @@ public class TwoHeroesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Query } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Query } + public static var __selections: [ApolloAPI.Selection] { [ .field("hero", alias: "r2", R2?.self), .field("hero", alias: "luke", Luke?.self, arguments: ["episode": "EMPIRE"]), ] } @@ -44,8 +44,8 @@ public class TwoHeroesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } @@ -60,8 +60,8 @@ public class TwoHeroesQuery: GraphQLQuery { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Interfaces.Character } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Interfaces.Character } + public static var __selections: [ApolloAPI.Selection] { [ .field("name", String.self), ] } diff --git a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Subscriptions/ReviewAddedSubscription.graphql.swift b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Subscriptions/ReviewAddedSubscription.graphql.swift index 96f3820d96..59871050a1 100644 --- a/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Subscriptions/ReviewAddedSubscription.graphql.swift +++ b/Sources/StarWarsAPI/StarWarsAPI/Sources/Operations/Subscriptions/ReviewAddedSubscription.graphql.swift @@ -8,7 +8,7 @@ public class ReviewAddedSubscription: GraphQLSubscription { public static let document: ApolloAPI.DocumentType = .automaticallyPersisted( operationIdentifier: "38644c5e7cf4fd506b91d2e7010cabf84e63dfcd33cf1deb443b4b32b55e2cbe", definition: .init( - """ + #""" subscription ReviewAdded($episode: Episode) { reviewAdded(episode: $episode) { __typename @@ -17,7 +17,7 @@ public class ReviewAddedSubscription: GraphQLSubscription { commentary } } - """ + """# )) public var episode: GraphQLNullable> @@ -32,8 +32,8 @@ public class ReviewAddedSubscription: GraphQLSubscription { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Subscription } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Subscription } + public static var __selections: [ApolloAPI.Selection] { [ .field("reviewAdded", ReviewAdded?.self, arguments: ["episode": .variable("episode")]), ] } @@ -46,8 +46,8 @@ public class ReviewAddedSubscription: GraphQLSubscription { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { StarWarsAPI.Objects.Review } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { StarWarsAPI.Objects.Review } + public static var __selections: [ApolloAPI.Selection] { [ .field("episode", GraphQLEnum?.self), .field("stars", Int.self), .field("commentary", String?.self), diff --git a/Sources/SubscriptionAPI/SubscriptionAPI/Sources/Operations/Subscriptions/IncrementingSubscription.graphql.swift b/Sources/SubscriptionAPI/SubscriptionAPI/Sources/Operations/Subscriptions/IncrementingSubscription.graphql.swift index 6d22434e7a..82e0468440 100644 --- a/Sources/SubscriptionAPI/SubscriptionAPI/Sources/Operations/Subscriptions/IncrementingSubscription.graphql.swift +++ b/Sources/SubscriptionAPI/SubscriptionAPI/Sources/Operations/Subscriptions/IncrementingSubscription.graphql.swift @@ -7,11 +7,11 @@ public class IncrementingSubscription: GraphQLSubscription { public static let operationName: String = "Incrementing" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" subscription Incrementing { numberIncremented } - """ + """# )) public init() {} @@ -20,8 +20,8 @@ public class IncrementingSubscription: GraphQLSubscription { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { SubscriptionAPI.Objects.Subscription } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { SubscriptionAPI.Objects.Subscription } + public static var __selections: [ApolloAPI.Selection] { [ .field("numberIncremented", Int?.self), ] } diff --git a/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToDifferentParametersMutation.graphql.swift b/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToDifferentParametersMutation.graphql.swift index 0c03ec3e5f..1cb1c4c6f0 100644 --- a/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToDifferentParametersMutation.graphql.swift +++ b/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToDifferentParametersMutation.graphql.swift @@ -7,7 +7,7 @@ public class UploadMultipleFilesToDifferentParametersMutation: GraphQLMutation { public static let operationName: String = "UploadMultipleFilesToDifferentParameters" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" mutation UploadMultipleFilesToDifferentParameters($singleFile: Upload!, $multipleFiles: [Upload!]!) { multipleParameterUpload(singleFile: $singleFile, multipleFiles: $multipleFiles) { __typename @@ -17,7 +17,7 @@ public class UploadMultipleFilesToDifferentParametersMutation: GraphQLMutation { mimetype } } - """ + """# )) public var singleFile: Upload @@ -40,8 +40,8 @@ public class UploadMultipleFilesToDifferentParametersMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { UploadAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { UploadAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("multipleParameterUpload", [MultipleParameterUpload].self, arguments: [ "singleFile": .variable("singleFile"), "multipleFiles": .variable("multipleFiles") @@ -57,8 +57,8 @@ public class UploadMultipleFilesToDifferentParametersMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { UploadAPI.Objects.File } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { UploadAPI.Objects.File } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("path", String.self), .field("filename", String.self), diff --git a/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToTheSameParameterMutation.graphql.swift b/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToTheSameParameterMutation.graphql.swift index af831c3c21..b632ca0859 100644 --- a/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToTheSameParameterMutation.graphql.swift +++ b/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadMultipleFilesToTheSameParameterMutation.graphql.swift @@ -7,7 +7,7 @@ public class UploadMultipleFilesToTheSameParameterMutation: GraphQLMutation { public static let operationName: String = "UploadMultipleFilesToTheSameParameter" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" mutation UploadMultipleFilesToTheSameParameter($files: [Upload!]!) { multipleUpload(files: $files) { __typename @@ -17,7 +17,7 @@ public class UploadMultipleFilesToTheSameParameterMutation: GraphQLMutation { mimetype } } - """ + """# )) public var files: [Upload] @@ -32,8 +32,8 @@ public class UploadMultipleFilesToTheSameParameterMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { UploadAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { UploadAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("multipleUpload", [MultipleUpload].self, arguments: ["files": .variable("files")]), ] } @@ -46,8 +46,8 @@ public class UploadMultipleFilesToTheSameParameterMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { UploadAPI.Objects.File } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { UploadAPI.Objects.File } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("path", String.self), .field("filename", String.self), diff --git a/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadOneFileMutation.graphql.swift b/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadOneFileMutation.graphql.swift index 158d3f3255..d0d311266a 100644 --- a/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadOneFileMutation.graphql.swift +++ b/Sources/UploadAPI/UploadAPI/Sources/Operations/Mutations/UploadOneFileMutation.graphql.swift @@ -7,7 +7,7 @@ public class UploadOneFileMutation: GraphQLMutation { public static let operationName: String = "UploadOneFile" public static let document: ApolloAPI.DocumentType = .notPersisted( definition: .init( - """ + #""" mutation UploadOneFile($file: Upload!) { singleUpload(file: $file) { __typename @@ -17,7 +17,7 @@ public class UploadOneFileMutation: GraphQLMutation { mimetype } } - """ + """# )) public var file: Upload @@ -32,8 +32,8 @@ public class UploadOneFileMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { UploadAPI.Objects.Mutation } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { UploadAPI.Objects.Mutation } + public static var __selections: [ApolloAPI.Selection] { [ .field("singleUpload", SingleUpload.self, arguments: ["file": .variable("file")]), ] } @@ -46,8 +46,8 @@ public class UploadOneFileMutation: GraphQLMutation { public let __data: DataDict public init(data: DataDict) { __data = data } - public static var __parentType: ParentType { UploadAPI.Objects.File } - public static var __selections: [Selection] { [ + public static var __parentType: ApolloAPI.ParentType { UploadAPI.Objects.File } + public static var __selections: [ApolloAPI.Selection] { [ .field("id", ID.self), .field("path", String.self), .field("filename", String.self),