Skip to main content

lineark_sdk/generated/
scalars.rs

1//! Custom scalar type aliases.
2//!
3//! Generated by lineark-codegen — do not edit.
4/// Represents a date and time in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago)
5pub type DateTime = chrono::DateTime<chrono::Utc>;
6/// Represents a date and time in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago)
7pub type DateTimeOrDuration = serde_json::Value;
8/// Represents a duration in ISO 8601 format. Accepts ISO 8601 duration strings or integers in milliseconds.
9pub type Duration = serde_json::Value;
10/// The `JSON` scalar type represents arbitrary values as *stringified* JSON
11pub type JSON = serde_json::Value;
12/// The `JSONObject` scalar type represents arbitrary values as *embedded* JSON
13pub type JSONObject = serde_json::Value;
14/// Represents a date in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago)
15pub type TimelessDate = chrono::NaiveDate;
16/// Represents a date in ISO 8601 format or a duration. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings (e.g '-P2W1D'), which are not converted to dates.
17pub type TimelessDateOrDuration = serde_json::Value;
18/// A universally unique identifier as specified by RFC 4122.
19pub type UUID = String;