-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
SPP2 - SubtaskSubtask of an official SPP2 deliverableSubtask of an official SPP2 deliverableenhancementNew feature or requestNew feature or requestensnodeENSNode relatedENSNode related
Milestone
Description
Create GET /api/indexing-status
endpoint.
This task requires representing the IndexingStatus
data model in two ways:
- business-level data model, in which we use the best-suiting data types, for example:
- uses
Map
type to managekey-value
relationships between object s(such asnumber
for chain ID andChainStatus
for the chain-specific indexing status - chain IDs are always represented with the
number
type, - date values are represented with the
Date
type, - bigint values are represented with the
BigInt
type.
- uses
- serialized data model
- must be a 100% compatible input for
JSON.stringify
- must enable deserialization into its buinsess-level data model counterpart
- must be a 100% compatible input for
Deserialization must enforce all required validation and invariants enforcement (using Zod).
Checklist:
- All possible permutations of indexing status described in this spreadsheet must be expressed in code including invariants enforcement
- ...
Replaces #834
Metadata
Metadata
Assignees
Labels
SPP2 - SubtaskSubtask of an official SPP2 deliverableSubtask of an official SPP2 deliverableenhancementNew feature or requestNew feature or requestensnodeENSNode relatedENSNode related
Type
Projects
Status
No status