Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/schema/schema.graphql
Show First 20 Lines • Show All 564 Lines • ▼ Show 20 Lines | type RevisionEdge { | ||||
cursor: String! | cursor: String! | ||||
""" | """ | ||||
Revision object | Revision object | ||||
""" | """ | ||||
node: Revision | node: Revision | ||||
} | } | ||||
""" | """ | ||||
vlorentz: the doc should explain why there are both an ISO8601 date and timestamp + offset. | |||||
Object with Date values | |||||
""" | |||||
Done Inline Actionswhy not just Date? vlorentz: why not just `Date`? | |||||
type Date { | |||||
""" | |||||
ISO-8601 encoded date string. | |||||
""" | |||||
date: DateTime | |||||
""" | |||||
UTC offset | |||||
""" | |||||
offset: BinaryString | |||||
} | |||||
""" | |||||
A revision object | A revision object | ||||
""" | """ | ||||
type Revision implements SWHNode & Node { | type Revision implements SWHNode & Node { | ||||
""" | """ | ||||
Unique identifier | Unique identifier | ||||
""" | """ | ||||
id: ID! | id: ID! | ||||
Show All 13 Lines | type Revision implements SWHNode & Node { | ||||
author: Person | author: Person | ||||
""" | """ | ||||
Revision committer | Revision committer | ||||
""" | """ | ||||
committer: Person | committer: Person | ||||
""" | """ | ||||
Revision date ISO-8601 encoded | Commit date | ||||
""" | """ | ||||
date: DateTime | committerDate: Date | ||||
""" | |||||
Revision date | |||||
""" | |||||
date: Date | |||||
""" | """ | ||||
Done Inline ActionsI just noticed that you forgot to wrap the commiter_date field from the revision model. anlambert: I just noticed that you forgot to wrap the [commiter_date](https://forge.softwareheritage. | |||||
Done Inline ActionsThanks, added that. jayeshv: Thanks, added that. | |||||
Type of the revision, eg: git/hg | Type of the revision, eg: git/hg | ||||
""" | """ | ||||
type: String | type: String | ||||
""" | """ | ||||
The unique directory object that revision points to | The unique directory object that revision points to | ||||
""" | """ | ||||
directory: Directory | directory: Directory | ||||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | type Release implements SWHNode & Node { | ||||
message: BinaryString | message: BinaryString | ||||
""" | """ | ||||
Release author | Release author | ||||
""" | """ | ||||
author: Person | author: Person | ||||
""" | """ | ||||
Release date ISO-8601 encoded | Release date | ||||
""" | """ | ||||
date: DateTime | date: Date | ||||
""" | """ | ||||
Type of release target | Type of release target | ||||
""" | """ | ||||
targetType: ReleaseTargetType | targetType: ReleaseTargetType | ||||
""" | """ | ||||
Release target object | Release target object | ||||
▲ Show 20 Lines • Show All 440 Lines • Show Last 20 Lines |
the doc should explain why there are both an ISO8601 date and timestamp + offset.