use linear_schema::linear as schema;
use serde::Deserialize;
use serde::Serialize;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DateTime(pub String);
impl cynic::schema::IsScalar<schema::DateTime> for DateTime {
type SchemaType = schema::DateTime;
}
impl cynic::coercions::CoercesTo<schema::DateTime> for DateTime {}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DateTimeOrDuration(pub String);
impl cynic::schema::IsScalar<schema::DateTimeOrDuration> for DateTimeOrDuration {
type SchemaType = schema::DateTimeOrDuration;
}
impl cynic::coercions::CoercesTo<schema::DateTimeOrDuration> for DateTimeOrDuration {}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct TimelessDate(pub String);
impl cynic::schema::IsScalar<schema::TimelessDate> for TimelessDate {
type SchemaType = schema::TimelessDate;
}
impl cynic::coercions::CoercesTo<schema::TimelessDate> for TimelessDate {}