Skip to main content

ExecModClient

The CLIENT half of a mod: browser WASM built from a crowdy-client-sdk crate and attached to the mod, which the mod’s grid serves to visitors who consent to it.

type ExecModClient {
modId: String!
gridId: BigInt!
name: String!
ownerId: BigInt!
clientVersion: Int!
digest: String!
sizeBytes: Int!
capabilitySummaryJson: String!
capabilityHash: String!
tickIntervalMs: Int!
updatedAt: DateTime!
studioProjectId: String
studioRevision: BigInt
}

Fields​

ExecModClient.modId ● String! non-null scalar​

The mod it is attached to.

ExecModClient.gridId ● BigInt! non-null scalar​

The mod’s grid.

ExecModClient.name ● String! non-null scalar​

The mod’s name.

ExecModClient.ownerId ● BigInt! non-null scalar​

The player it was attached as: the mod’s owner.

ExecModClient.clientVersion ● Int! non-null scalar​

Rises by one with every attach to the mod.

ExecModClient.digest ● String! non-null scalar​

SHA-256 of the module, hex: what execModClientArtifact serves.

ExecModClient.sizeBytes ● Int! non-null scalar​

The module’s size in bytes.

ExecModClient.capabilitySummaryJson ● String! non-null scalar​

Its capability summary as JSON, derived from the module: imports, the client host calls it can reach, their groups, presentation hooks and exports.

ExecModClient.capabilityHash ● String! non-null scalar​

SHA-256 of the canonical capability summary, hex: what a visitor consents to.

ExecModClient.tickIntervalMs ● Int! non-null scalar​

How often, in milliseconds, browsers tick it (16-1000, from its Cargo.toml).

ExecModClient.updatedAt ● DateTime! non-null scalar​

When it was last attached.

ExecModClient.studioProjectId ● String scalar​

The Crowdy Studio project its build was made from (execModClientBuild studio); null when it named none, or for an install.

ExecModClient.studioRevision ● BigInt scalar​

That project’s revision its build was made from; null when studioProjectId is.

Returned By​

execModClientDeploy mutation