Skip to content

Commit b8033df

Browse files
committed
Update Bouncers.tsx
1 parent 5bce03c commit b8033df

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

web/src/pages/Bouncers.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ function isBouncer(obj: unknown): obj is Bouncer {
5151
'ip_address' in obj &&
5252
typeof (obj as { ip_address: unknown }).ip_address === 'string' &&
5353
'valid' in obj &&
54-
typeof (obj as { valid: unknown }).valid === 'boolean'
54+
typeof (obj as { valid: unknown }).valid === 'boolean' &&
55+
'last_pull' in obj &&
56+
typeof (obj as { last_pull: unknown }).last_pull === 'string' &&
57+
'type' in obj &&
58+
typeof (obj as { type: unknown }).type === 'string' &&
59+
'version' in obj &&
60+
typeof (obj as { version: unknown }).version === 'string'
5561
)
5662
}
5763

0 commit comments

Comments
 (0)