migrations and logs
This commit is contained in:
parent
db08370d5c
commit
03f803c4f4
11 changed files with 2353 additions and 2121 deletions
|
|
@ -304,5 +304,11 @@ service LightningPub {
|
|||
option (http_route) = "/api/user/operations/sub";
|
||||
option (nostr) = true;
|
||||
}
|
||||
rpc GetMigrationUpdate(structs.Empty) returns (stream structs.MigrationUpdate){
|
||||
option (auth_type) = "User";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/user/migrations/sub";
|
||||
option (nostr) = true;
|
||||
}
|
||||
// </User>
|
||||
}
|
||||
|
|
@ -264,4 +264,16 @@ message GetProductBuyLinkResponse {
|
|||
|
||||
message LiveUserOperation {
|
||||
UserOperation operation = 1;
|
||||
}
|
||||
message MigrationUpdate {
|
||||
optional ClosureMigration closure = 1;
|
||||
optional RelaysMigration relays = 2;
|
||||
}
|
||||
|
||||
message ClosureMigration {
|
||||
int64 closes_at_unix = 1;
|
||||
}
|
||||
|
||||
message RelaysMigration {
|
||||
repeated string relays = 1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue