Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional fields to GraphQL schema #64

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/rivian/schemas/gateway.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,14 @@ type VehicleLocation implements TimeStamped {
longitude: Float!
}

type VehicleLocationError implements TimeStamped {
timeStamp: String!
bearing: Float!
positionHorizontal: Float!
positionVertical: Float!
speed: Float!
}

type VehicleMobileConfiguration {
trimOption: VehicleMobileConfigurationOption!
driveSystemOption: VehicleMobileConfigurationOption!
Expand Down Expand Up @@ -422,9 +430,11 @@ type VehicleState {

carWashMode: TimeStampedString

chargePortState: TimeStampedString
chargerDerateStatus: TimeStampedString
chargerState: TimeStampedString
chargerStatus: TimeStampedString
chargingTimeEstimationValidity: TimeStampedString

closureFrunkClosed: TimeStampedString
closureFrunkLocked: TimeStampedString
Expand Down Expand Up @@ -470,6 +480,7 @@ type VehicleState {

gnssAltitude: TimeStampedNullableFloat
gnssBearing: TimeStampedFloat
gnssError: VehicleLocationError
gnssLocation: VehicleLocation
gnssSpeed: TimeStampedFloat

Expand Down Expand Up @@ -502,6 +513,8 @@ type VehicleState {

rangeThreshold: TimeStampedString

rearHitchStatus: TimeStampedString

remoteChargingAvailable: TimeStampedInt

seatFrontLeftHeat: TimeStampedString
Expand All @@ -519,6 +532,10 @@ type VehicleState {

timeToEndOfCharge: TimeStampedFloat

tirePressureFrontLeft: TimeStampedNullableFloat # only available via subscription
tirePressureFrontRight: TimeStampedNullableFloat # only available via subscription
tirePressureRearLeft: TimeStampedNullableFloat # only available via subscription
tirePressureRearRight: TimeStampedNullableFloat # only available via subscription
tirePressureStatusFrontLeft: TimeStampedString
tirePressureStatusFrontRight: TimeStampedString
tirePressureStatusRearLeft: TimeStampedString
Expand Down