alby-hub/.mockery.yaml
Roman D d799bdff76
feat: proposal: custom node commands (#1007)
* 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>
2025-01-30 18:20:17 +07:00

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: