Some checks failed
check / check (push) Failing after 1m21s
Changes the Go module path from `git.eeqj.de/sneak/neoirc` to `sneak.berlin/go/neoirc`. All occurrences updated: - `go.mod` module directive - All Go import paths across 35 `.go` files (107 import statements) - All JSON schema `$id` URIs across 30 `.json` files in `schema/` No functional changes — this is a pure rename of the module path. `docker build .` passes clean (formatting, linting, all tests, binary build). closes #98 Co-authored-by: clawbot <clawbot@users.noreply.git.eeqj.de> Reviewed-on: #99 Co-authored-by: clawbot <clawbot@noreply.example.org> Co-committed-by: clawbot <clawbot@noreply.example.org>
30 lines
911 B
JSON
30 lines
911 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://sneak.berlin/go/neoirc/schema/commands/MODE.json",
|
|
"title": "MODE",
|
|
"description": "Set or query channel/user modes. RFC 1459 §4.2.3.",
|
|
"$ref": "../message.json",
|
|
"properties": {
|
|
"command": { "const": "MODE" },
|
|
"from": {
|
|
"type": "string",
|
|
"description": "Nick that set the mode (S2C only)."
|
|
},
|
|
"to": {
|
|
"type": "string",
|
|
"description": "Channel name.",
|
|
"pattern": "^#[a-zA-Z0-9_-]+$"
|
|
},
|
|
"params": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"description": "Mode string and optional target nick. e.g. [\"+o\", \"alice\"].",
|
|
"examples": [["+o", "alice"], ["-m"], ["+v", "bob"]]
|
|
}
|
|
},
|
|
"required": ["command", "to", "params"],
|
|
"examples": [
|
|
{ "command": "MODE", "from": "op1", "to": "#general", "params": ["+o", "alice"] }
|
|
]
|
|
}
|