Skip to content

Commit 1020886

Browse files
committed
feat(indexd-types): add hostkey filter param to hosts and contracts
1 parent ceda5b4 commit 1020886

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/icy-hotels-find.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@siafoundation/indexd-types': minor
3+
---
4+
5+
Added hostkey filter param to hosts and contracts APIs.

libs/indexd-types/src/admin/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export type AdminContractsParams = {
147147
limit?: number
148148
revisable?: boolean
149149
good?: boolean
150+
hostkey?: string[]
150151
sortby?: AdminContractsSortBy[]
151152
desc?: boolean[]
152153
}
@@ -204,6 +205,7 @@ export type AdminHostsParams = {
204205
usable?: boolean
205206
blocked?: boolean
206207
activecontracts?: boolean
208+
hostkey?: string[]
207209
sortby?: AdminHostsSortBy[]
208210
desc?: boolean[]
209211
}

0 commit comments

Comments
 (0)