//! This code was AUTOGENERATED using the Codama library.
use {carbon_core::graphql::primitives::U64, juniper::GraphQLObject};

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "OffsetCurve")]
pub struct OffsetCurveGraphQL {
    pub token_b_offset: U64,
}

impl From<crate::types::OffsetCurve> for OffsetCurveGraphQL {
    fn from(original: crate::types::OffsetCurve) -> Self {
        Self {
            token_b_offset: carbon_core::graphql::primitives::U64(original.token_b_offset),
        }
    }
}
