Skip to main content

CreateStepPayload

The output of our create Step mutation.

type CreateStepPayload {
clientMutationId: String
step: Step
query: Query
stage: Stage
ownerAccount: Account
ownerProfile: Profile
playbook: Playbook
createdBy: WorkspaceAccount
parentStep: Step
libraryStep: Step
stepEdge(
orderBy: [StepsOrderBy!] = [PRIMARY_KEY_ASC]
): StepsEdge
accordSteps: [Step!]!
}

Fields

CreateStepPayload.clientMutationId ● String scalar

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

CreateStepPayload.step ● Step object

The Step that was created by this mutation.

CreateStepPayload.query ● Query object

Our root query field type. Allows us to run any query from our mutation payload.

CreateStepPayload.stage ● Stage object

Reads a single Stage that is related to this Step.

CreateStepPayload.ownerAccount ● Account object

Reads a single Account that is related to this Step.

CreateStepPayload.ownerProfile ● Profile object

Reads a single Profile that is related to this Step.

CreateStepPayload.playbook ● Playbook object

Reads a single Playbook that is related to this Step.

CreateStepPayload.createdBy ● WorkspaceAccount object

Reads a single WorkspaceAccount that is related to this Step.

CreateStepPayload.parentStep ● Step object

Reads a single Step that is related to this Step.

CreateStepPayload.libraryStep ● Step object

Reads a single Step that is related to this Step.

CreateStepPayload.stepEdge ● StepsEdge object

An edge for our Step. May be used by Relay 1.

CreateStepPayload.stepEdge.orderBy ● [StepsOrderBy!] list enum

The method to use when ordering Step.

CreateStepPayload.accordSteps ● [Step!]! non-null object

The steps created on the accord named by accordId, one per stage of that accord deriving from the library stage. Empty when accordId was omitted or the new step is not a library step; a stage whose insert fails is skipped rather than failing the mutation.

Returned By

createStep mutation