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!
}
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.
Returned By
execModClientDeploy mutation