mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
* feat: custom node command execution models and methods
* feat: implement custom node command handlers for HTTP server and Wails
* chore: expose GetNodeCommands API methods in HTTP and Wails
* chore: add sample custom node command implementation for Cashu restore
* feat: add frontend for custom node commands
* chore: consistent naming of custom node command entities
* chore: consistent naming of custom node command entities
* chore: return interface{} as custom node command execution result
* test: add tests for ParseCommandLine
* chore: add extra ParseCommandLine tests for json
* test: add API tests and mocks
* fix: stabilize order of arguments when invoking custom node commands
* test: add test for unsupported custom node command argument
* chore: add the mockery configuration file and move mocks to tests/mocks
* docs: document mockery usage
---------
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
16 lines
284 B
YAML
16 lines
284 B
YAML
filename: "{{.InterfaceName}}.go"
|
|
dir: tests/mocks
|
|
outpkg: mocks
|
|
|
|
# Fix deprecation warnings:
|
|
issue-845-fix: True
|
|
resolve-type-alias: False
|
|
|
|
packages:
|
|
github.com/getAlby/hub/service:
|
|
interfaces:
|
|
Service:
|
|
|
|
github.com/getAlby/hub/lnclient:
|
|
interfaces:
|
|
LNClient:
|