Skip to main content

execConsentClientMod

Consent to run a mod's CLIENT half in your browser at its current capability hash. A CLIENT half whose capabilities change carries a new hash, and the consent stops holding until you consent again. Answers CONFLICT when the hash is not the current one. Requires access to the app.

execConsentClientMod(
appId: BigInt!
modId: String!
capabilityHash: String!
): Boolean!

Arguments​

execConsentClientMod.appId ● BigInt! non-null scalar​

The app the mod is in.

execConsentClientMod.modId ● String! non-null scalar​

The mod’s id (modId of execGridClientMods).

execConsentClientMod.capabilityHash ● String! non-null scalar​

The capabilityHash of the CLIENT half you were shown, as execGridClientMods returned it.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.