mini Togglemutation
mutation
Enables or disables the Mini by partner.
Anchor to inputInput
Input arguments for the mutation.
- Anchor to enableenablebooleanrequired
The flag to enable or disable Mini.
MutationMiniToggleArgs
- enable
The flag to enable or disable Mini.
boolean
export interface MutationMiniToggleArgs {
/**
* The flag to enable or disable Mini.
*/
enable: boolean
}
Was this section helpful?
Anchor to return typeReturn type
This mutation returns a object with the following fields:
- Anchor to enabledenabledboolean | null
The flag whether the Mini is enabled or disabled.
MiniTogglePayload
- enabled
The flag whether the Mini is enabled or disabled.
boolean | null
export interface MiniTogglePayload {
/**
* The flag whether the Mini is enabled or disabled.
*/
readonly enabled?: boolean | null
}
Was this section helpful?
Usage
mutation ToggleMini($enable: Boolean!) {
miniToggle(enable: $enable) {
enabled
}
}
examples
Usage
mutation ToggleMini($enable: Boolean!) { miniToggle(enable: $enable) { enabled } }