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) {
11
11
'/frdrpc.FaradayServer' ,
12
12
'/litrpc.Session' ,
13
13
'/litrpc.Accounts' ,
14
+ '/litrpc.Status' ,
14
15
] ,
15
16
{
16
17
target : 'https://localhost:8443' ,
Original file line number Diff line number Diff line change 1
1
import * as AUCT from 'types/generated/auctioneerrpc/auctioneer_pb' ;
2
2
import * as LIT from 'types/generated/lit-sessions_pb' ;
3
+ import * as STATUS from 'types/generated/lit-status_pb' ;
3
4
import * as LND from 'types/generated/lnd_pb' ;
4
5
import * as LOOP from 'types/generated/loop_pb' ;
5
6
import * as POOL from 'types/generated/trader_pb' ;
@@ -1059,6 +1060,59 @@ export const litListSessions: LIT.ListSessionsResponse.AsObject = {
1059
1060
] ,
1060
1061
} ;
1061
1062
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
+
1062
1116
// collection of sample API responses
1063
1117
export const sampleApiResponses : Record < string , any > = {
1064
1118
'lnrpc.Lightning.GetInfo' : lndGetInfo ,
@@ -1095,4 +1149,5 @@ export const sampleApiResponses: Record<string, any> = {
1095
1149
'poolrpc.Trader.Leases' : poolLeases ,
1096
1150
'poolrpc.Trader.RegisterSidecar' : poolRegisterSidecar ,
1097
1151
'litrpc.Sessions.ListSessions' : litListSessions ,
1152
+ 'litrpc.Status.SubServerStatus' : litSubServerStatus ,
1098
1153
} ;
You can’t perform that action at this time.
0 commit comments