MutationDefinition
Describes one Mutation: its access Grants, input and output contracts, and the handler that performs the write.
- MutationBuilder for declaring a Mutation
- MutationHandlerInstance for invoking the Mutation inside an execution
Properties
Section titled “Properties”description
Section titled “description”
readonlydescription:string|undefined
Description set with setDescription, or undefined.
grants
Section titled “grants”
readonlygrants:GrantDefinition[]
Roles allowed to run the Mutation; a principal needs any one of them.
handler
Section titled “handler”
readonlyhandler:MutationHandler
The function the Runtime calls with parsed input.
readonlyinput:InputDefinition
Input contract, or null when the Mutation takes no input.
readonlykey:string
Key of the Mutation, unique within its App.
output
Section titled “output”
readonlyoutput:OutputDefinition
Output contract, or null when the Mutation returns nothing.
readonlyprn:string
PRN of the Mutation, prn::<app>:mutation/<key>.

