Implement outbox for profile lookup

This commit is contained in:
Jon Staab
2026-02-26 16:27:07 -08:00
parent a2be0b9a79
commit a15372d402
11 changed files with 163 additions and 41 deletions
+8
View File
@@ -124,6 +124,10 @@ export type UpdateRelayInput = {
plan: string
}
export type AdminCheck = {
is_admin: boolean
}
export function listTenantRelays() {
return request<Relay[]>("/tenant/relays")
}
@@ -179,6 +183,10 @@ export function adminListTenants() {
return request<Tenant[]>("/admin/tenants")
}
export function adminCheck() {
return request<AdminCheck>("/admin/check")
}
export function adminGetTenant(pubkey: string) {
return request<TenantDetail>(`/admin/tenants/${pubkey}`)
}