Skip to main content

ExecGridClientMod

A CLIENT half a grid serves: of a mod on it that is switched on, not stopped by the kill ladder and admitted, running as the grid’s owner. Carries the caller’s consent and trust in its author.

type ExecGridClientMod {
modId: String!
name: String!
gridId: BigInt!
authorId: BigInt!
listingId: BigInt
clientVersion: Int!
digest: String!
capabilitySummaryJson: String!
capabilityHash: String!
tickIntervalMs: Int!
callerConsented: Boolean!
authorCapabilitySummaryJson: String!
authorCapabilityHash: String!
callerTrustsAuthor: Boolean!
updatedAt: DateTime!
}

Fields​

ExecGridClientMod.modId ● String! non-null scalar​

The mod, for execConsentClientMod and execModClientArtifact.

ExecGridClientMod.name ● String! non-null scalar​

The mod’s name: its name on the page’s grid event bus.

ExecGridClientMod.gridId ● BigInt! non-null scalar​

The grid.

ExecGridClientMod.authorId ● BigInt! non-null scalar​

Its author: the mod’s owner, who owns the grid. Pass it to execTrustAuthor.

ExecGridClientMod.listingId ● BigInt scalar​

The marketplace listing the mod was installed from.

ExecGridClientMod.clientVersion ● Int! non-null scalar​

The CLIENT half’s version.

ExecGridClientMod.digest ● String! non-null scalar​

SHA-256 of the module, hex: cache the bytes by it, and stop a worker whose digest is no longer listed.

ExecGridClientMod.capabilitySummaryJson ● String! non-null scalar​

Its capability summary as JSON.

ExecGridClientMod.capabilityHash ● String! non-null scalar​

The hash execConsentClientMod takes: SHA-256 of the canonical capability summary.

ExecGridClientMod.tickIntervalMs ● Int! non-null scalar​

How often, in milliseconds, to tick it (16-1000).

ExecGridClientMod.callerConsented ● Boolean! non-null scalar​

The caller consented to it at its current capability hash.

ExecGridClientMod.authorCapabilitySummaryJson ● String! non-null scalar​

The union, as JSON, of the capability summaries of every CLIENT half this author has on the grid: the summary a one-per-author trust prompt shows.

ExecGridClientMod.authorCapabilityHash ● String! non-null scalar​

The hash execTrustAuthor takes: SHA-256 of the canonical union. A new capability changes it.

ExecGridClientMod.callerTrustsAuthor ● Boolean! non-null scalar​

The caller trusts this author on this grid, at this hash or a union at least as wide.

ExecGridClientMod.updatedAt ● DateTime! non-null scalar​

When it was last attached.

Returned By​

execGridClientMods query