@@ -8,6 +8,34 @@ Only allow the field to be queried when targeting one of the specified targets.
88"""
99directive @restrictTarget (only : [String ! ]! ) on FIELD_DEFINITION
1010
11+ """
12+ Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date string.
13+ For example, September 7, 2019 is represented as `"2019-07-16"`.
14+ """
15+ scalar Date
16+
17+ """
18+ Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.
19+ For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is
20+ represented as `"2019-09-07T15:50:00Z`".
21+ """
22+ scalar DateTime
23+
24+ """
25+ A subset of the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format that
26+ includes the date and time but not the timezone which is determined from context.
27+
28+ For example, "2018-01-01T00:00:00".
29+ """
30+ scalar DateTimeWithoutTimezone
31+
32+ """
33+ A signed decimal number, which supports arbitrary precision and is serialized as a string.
34+
35+ Example values: `"29.99"`, `"29.999"`.
36+ """
37+ scalar Decimal
38+
1139"""
1240Represents a unique identifier, often used to refetch an object.
1341The ID type appears in a JSON response as a String, but it is not intended to be human-readable.
@@ -16,6 +44,13 @@ Example value: `"gid://shopify/Product/10079785100"`
1644"""
1745scalar ID
1846
47+ """
48+ A subset of the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format that
49+ includes the time but not the date or timezone which is determined from context.
50+ For example, "05:43:21".
51+ """
52+ scalar TimeWithoutTimezone
53+
1954"""
2055A void type that can be used to return a null value from a mutation.
2156"""
@@ -28,6 +63,10 @@ type Input {
2863 id : ID !
2964 num : Int
3065 name : String
66+ date : Date
67+ dateTime : DateTime
68+ dateTimeWithoutTimezone : DateTimeWithoutTimezone
69+ timeWithoutTimezone : TimeWithoutTimezone
3170 targetAResult : Int @restrictTarget (only : ["test.target-b" ])
3271}
3372
0 commit comments