more fixies

This commit is contained in:
hatim 2023-05-11 16:35:59 +02:00
parent c5ea8c899d
commit 6ae03e520c
19 changed files with 2330 additions and 1880 deletions

View file

@ -89,9 +89,9 @@ service LightningPub {
};
rpc SetMockInvoiceAsPaid(structs.SetMockInvoiceAsPaidRequest) returns (structs.Empty) {
option (auth_type) = "Admin";
option (auth_type) = "Guest";
option (http_method) = "post";
option (http_route) = "/api/admin/lnd/mock/invoice/paid";
option (http_route) = "/api/lnd/mock/invoice/paid";
}
// <App>
@ -101,6 +101,12 @@ service LightningPub {
option (http_method) = "post";
option (http_route) = "/api/admin/app/add";
};
rpc GetApp(structs.Empty) returns (structs.Application) {
option (auth_type) = "App";
option (http_method) = "post";
option (http_route) = "/api/app/get";
}
rpc AddAppUser(structs.AddAppUserRequest)returns (structs.AppUser) {
option (auth_type) = "App";
@ -149,6 +155,16 @@ service LightningPub {
option (http_method) = "post";
option (http_route) = "/api/app/user/lnurl/pay/info";
}
rpc SetMockAppUserBalance(structs.SetMockAppUserBalanceRequest) returns (structs.Empty) {
option (auth_type) = "App";
option (http_method) = "post";
option (http_route) = "/api/app/mock/user/blance/set";
}
rpc SetMockAppBalance(structs.SetMockAppBalanceRequest) returns (structs.Empty) {
option (auth_type) = "App";
option (http_method) = "post";
option (http_route) = "/api/app/mock/blance/set";
}
// </App>