Design kit command
board.nextSticky
Next sticky note
Adds a sticky of the same colour beside another (right, below, left or above).
- Kit
- Design 0.1.0 (.kdesign)
- Changes the document
- yes
- Acts on
id(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
edit | boolean | no | |
id | integer | string | no | an id; a sticky; default the selected or edited one |
side | "right" | "below" | "left" | "above" | no | default right |
Call through design_run
text
design_run {
"path": "<file>.kdesign",
"steps": [{ "command": "board.nextSticky" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: edit, id, side. design_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"edit": {
"type": "boolean"
},
"id": {
"description": "an id; a sticky; default the selected or edited one",
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"x-khp-types": [
"Node"
]
},
"side": {
"description": "default right",
"enum": [
"right",
"below",
"left",
"above"
],
"type": "string"
}
},
"returns": "{id, text} a sticky of the same colour beside it",
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (design_commands through @kition/[email protected], built from KitionAI/kition-design@abc7e16). As data: commands.jsonl.