BaseOperationBuilder
Shared surface of the Mutation and Query builders.
MutationBuilder and QueryBuilder
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”
readonlyprn:string
Platform Resource Name of the declared resource, derived from the App key and resource key.
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”addGrant()
Section titled “addGrant()”addGrant(
role):OperationGrant
Grants a Role permission to call this operation.
Parameters
Section titled “Parameters”Role permitted to call the operation.
Returns
Section titled “Returns”The Grant builder.
Remarks
Section titled “Remarks”The Grant only permits the call. Inside the handler, Item and Property access is still checked against the caller’s Roles and Grants.
Example
Section titled “Example”Granting a Mutation to administrators
closePayRun.addGrant(core.roles.admin);setDescription()
Section titled “setDescription()”setDescription(
description):this
Sets the description emitted into the definition and rendered in generated reference and application assets.
Parameters
Section titled “Parameters”description
Section titled “description”string
Human-readable description of the resource.
Returns
Section titled “Returns”this
This builder for chaining.

