// @generated // This file was automatically generated and should not be edited. @_exported import ApolloAPI public class UserIDQuery: GraphQLQuery { public static let operationName: String = "UserID" public static let operationDocument: ApolloAPI.OperationDocument = .init( definition: .init( #"query UserID { User(name: "fuwn") { __typename id } }"# )) public init() {} public struct Data: Tonbo.SelectionSet { public let __data: DataDict public init(_dataDict: DataDict) { __data = _dataDict } public static var __parentType: any ApolloAPI.ParentType { Tonbo.Objects.Query } public static var __selections: [ApolloAPI.Selection] { [ .field("User", User?.self, arguments: ["name": "fuwn"]), ] } /// User query public var user: User? { __data["User"] } /// User /// /// Parent Type: `User` public struct User: Tonbo.SelectionSet { public let __data: DataDict public init(_dataDict: DataDict) { __data = _dataDict } public static var __parentType: any ApolloAPI.ParentType { Tonbo.Objects.User } public static var __selections: [ApolloAPI.Selection] { [ .field("__typename", String.self), .field("id", Int.self), ] } /// The id of the user public var id: Int { __data["id"] } } } }