Skip to main content

SessionUser

SessionUser is the type we use to link users who are not the owner to the session

type SessionUser {
captainId: ID
createdAt: Timestamp!
isPilot: Boolean!
loadout: MiningLoadout
owner: User
ownerId: ID!
sessionId: ID!
sessionRole: String
shipName: String
shipRole: String
state: SessionUserStateEnum!
updatedAt: Timestamp!
vehicleCode: String
}

Fields

SessionUser.captainId ● ID scalar

SessionUser.createdAt ● Timestamp! non-null scalar

SessionUser.isPilot ● Boolean! non-null scalar

SessionUser.loadout ● MiningLoadout object

SessionUser.owner ● User object

SessionUser.ownerId ● ID! non-null scalar

SessionUser.sessionId ● ID! non-null scalar

SessionUser.sessionRole ● String scalar

SessionUser.shipName ● String scalar

SessionUser.shipRole ● String scalar

SessionUser.state ● SessionUserStateEnum! non-null enum

SessionUser.updatedAt ● Timestamp! non-null scalar

SessionUser.vehicleCode ● String scalar

Example

{
"loadout": {
"activeLasers": [
{
"modules": [],
"modulesActive": []
}
],
"inventoryGadgets": [],
"inventoryLasers": [],
"inventoryModules": [],
"owner": {}
}
}

Returned By

joinSession mutation ● sessionUser query ● updateSessionUser mutation ● upsertSessionUser mutation

Member Of

PaginatedSessionUsers object ● SalvageFind object ● ScoutingFindInterface interface ● ShipClusterFind object ● VehicleClusterFind object

Implemented By

SessionUpdateUnion union