forked from coracle/caravel
Implement outbox for profile lookup
This commit is contained in:
@@ -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}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user