Skip to content

Commit

Permalink
chore: schema desc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x committed Nov 5, 2024
1 parent abb9cef commit 5323999
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/api/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,9 @@ export const CycleSignerSchema = Type.Object({
description:
'Time duration (in milliseconds) taken to submit responses to block proposals (tracked best effort)',
}),
last_seen: Type.Union([
Type.String({
description: 'ISO timestamp of the last time a message from this signer was seen',
}),
Type.Null(),
]),
last_seen: Type.Union([Type.String(), Type.Null()], {
description: 'ISO timestamp of the last time a message from this signer was seen',
}),
// TODO: implement these nice-to-have fields
/*
mined_blocks_accepted_included_count: Type.Integer({
Expand Down

0 comments on commit 5323999

Please sign in to comment.