File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module.exports = function (app) {
1111 '/frdrpc.FaradayServer' ,
1212 '/litrpc.Session' ,
1313 '/litrpc.Accounts' ,
14+ '/litrpc.Status' ,
1415 ] ,
1516 {
1617 target : 'https://localhost:8443' ,
Original file line number Diff line number Diff line change 11import * as AUCT from 'types/generated/auctioneerrpc/auctioneer_pb' ;
22import * as LIT from 'types/generated/lit-sessions_pb' ;
3+ import * as STATUS from 'types/generated/lit-status_pb' ;
34import * as LND from 'types/generated/lnd_pb' ;
45import * as LOOP from 'types/generated/loop_pb' ;
56import * as POOL from 'types/generated/trader_pb' ;
@@ -1059,6 +1060,59 @@ export const litListSessions: LIT.ListSessionsResponse.AsObject = {
10591060 ] ,
10601061} ;
10611062
1063+ export const litSubServerStatus : STATUS . SubServerStatusResp . AsObject = {
1064+ subServersMap : [
1065+ [
1066+ 'faraday' ,
1067+ {
1068+ disabled : false ,
1069+ running : true ,
1070+ error : '' ,
1071+ } ,
1072+ ] ,
1073+ [
1074+ 'lit' ,
1075+ {
1076+ disabled : false ,
1077+ running : true ,
1078+ error : '' ,
1079+ } ,
1080+ ] ,
1081+ [
1082+ 'lnd' ,
1083+ {
1084+ disabled : false ,
1085+ running : true ,
1086+ error : '' ,
1087+ } ,
1088+ ] ,
1089+ [
1090+ 'loop' ,
1091+ {
1092+ disabled : false ,
1093+ running : true ,
1094+ error : '' ,
1095+ } ,
1096+ ] ,
1097+ [
1098+ 'pool' ,
1099+ {
1100+ disabled : false ,
1101+ running : true ,
1102+ error : '' ,
1103+ } ,
1104+ ] ,
1105+ [
1106+ 'taproot-assets' ,
1107+ {
1108+ disabled : false ,
1109+ running : true ,
1110+ error : '' ,
1111+ } ,
1112+ ] ,
1113+ ] ,
1114+ } ;
1115+
10621116// collection of sample API responses
10631117export const sampleApiResponses : Record < string , any > = {
10641118 'lnrpc.Lightning.GetInfo' : lndGetInfo ,
@@ -1095,4 +1149,5 @@ export const sampleApiResponses: Record<string, any> = {
10951149 'poolrpc.Trader.Leases' : poolLeases ,
10961150 'poolrpc.Trader.RegisterSidecar' : poolRegisterSidecar ,
10971151 'litrpc.Sessions.ListSessions' : litListSessions ,
1152+ 'litrpc.Status.SubServerStatus' : litSubServerStatus ,
10981153} ;
You can’t perform that action at this time.
0 commit comments