Skip to main content

GridClientMod

One marketplace or self-authored client attachment active on a grid, including immutable artifact identity, exact attachment consent, and aggregate per-author capability/trust state.

type GridClientMod {
attachmentId: String!
listingId: String
listingName: String!
versionId: String
sourceKind: String!
authorKind: PlayerCodeOwnerKind!
authorRef: BigInt!
serverVersionId: String
clientVersionId: String
clientArtifactHash: String!
gridId: BigInt!
capabilitySummaryJson: String!
capabilityHash: String!
authorCapabilitySummaryJson: String!
authorCapabilityHash: String!
callerConsented: Boolean!
callerTrustsAuthor: Boolean!
}

Fields

GridClientMod.attachmentId ● String! non-null scalar

UUID of the grid attachment.

GridClientMod.listingId ● String scalar

UUID of the marketplace listing, or null for a self-authored attachment.

GridClientMod.listingName ● String! non-null scalar

Listing display name.

GridClientMod.versionId ● String scalar

UUID of the pinned marketplace version, or null for a self-authored attachment.

GridClientMod.sourceKind ● String! non-null scalar

Attachment source: 'marketplace' or 'self_authored'.

GridClientMod.authorKind ● PlayerCodeOwnerKind! non-null enum

Kind of author whose code this attachment executes.

GridClientMod.authorRef ● BigInt! non-null scalar

User id or org id of the author, according to authorKind.

GridClientMod.serverVersionId ● String scalar

Immutable self-authored SERVER version declaring the requirement; null for marketplace attachments.

GridClientMod.clientVersionId ● String scalar

Immutable self-authored CLIENT version to fetch; null for marketplace attachments.

GridClientMod.clientArtifactHash ● String! non-null scalar

Compile artifact hash of the client half. Clients use it as an immutable cache and lifecycle key.

GridClientMod.gridId ● BigInt! non-null scalar

The grid the client mod is attached to.

GridClientMod.capabilitySummaryJson ● String! non-null scalar

JSON derived capability summary of the pinned version.

GridClientMod.capabilityHash ● String! non-null scalar

Capability hash a player must consent to before fetching.

GridClientMod.authorCapabilitySummaryJson ● String! non-null scalar

JSON aggregate of every active attachment from this author in the grid. This is the summary shown by the one-per-author trust prompt.

GridClientMod.authorCapabilityHash ● String! non-null scalar

Hash of authorCapabilitySummaryJson. Any capability widening changes this hash and requires fresh author trust.

GridClientMod.callerConsented ● Boolean! non-null scalar

Whether the calling player has already consented to this attachment.

GridClientMod.callerTrustsAuthor ● Boolean! non-null scalar

Whether the caller's grid-author trust matches the current aggregate author capability hash.

Returned By

gridClientMods query