Skip to main content

execModClientDeploy

Attach a CLIENT build of yours to your mod on a grid you own, replacing the CLIENT half it had; its version rises by one. A visitor's consent carries over only while the capability hash is unchanged. Requires being the grid's current owner, 'write_client_code' on both the app tier and the grid, the mod running as you, and the app's code admission admitting the new CLIENT version (an admission naming the mod, its listing or you).

execModClientDeploy(
appId: BigInt!
gridId: BigInt!
name: String!
buildId: String!
): ExecModClient!

Arguments​

execModClientDeploy.appId ● BigInt! non-null scalar​

The app the grid is in.

execModClientDeploy.gridId ● BigInt! non-null scalar​

The grid the mod runs on.

execModClientDeploy.name ● String! non-null scalar​

The mod: 1-48 lowercase letters, digits, - or _.

execModClientDeploy.buildId ● String! non-null scalar​

A succeeded execModClientBuild of yours.

Type​

ExecModClient object​

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.