Centralized query specs and refreshed feed docs
Jan 14, 2022
Shipped8 commits+371−862
- TH
- NF
- Added a central query reference and project-specific docs — We added a new `dataSpecs.json` file to make supported query types, inputs, and outputs easier to find, along with a new **Project Specific** query category and documentation for `DivaProtocolPolygon`.
- Updated query definitions and encoding details — Query descriptions and examples were updated to match the current format, including clearer encoding guidance and unpacked output values for several DataSpecs queries.
Documentation
- Updated the README to explain QueryType, Query Descriptor, QueryData, and QueryID in simpler terms.
- Added guidance for when to add a new data feed to an existing query type versus creating a brand-new type.
- Added a link to the Query Builder tool for creating query requests more easily.
- Expanded the Spot Price examples with clearer asset and currency values.
- Added a dedicated LegacyRequest guide with the supported legacy request IDs.
- Renamed and refreshed the Diva Protocol documentation to better match the current query format.
- Reorganized the docs into a new `types/` structure and removed older legacy and pricing pages.
- Clarified naming rules so new types use camel-case and parameters are entered in lowercase.
API
- Added `dataSpecs.json` with structured definitions for LegacyRequest, SpotPrice, and DivaProtocolPolygon query types.
- Updated query ABI definitions for several outputs to mark values as unpacked.
- Clarified that query descriptors are ABI-style strings and query data is built from encoded query parameters.
Breaking Changes
- Documentation links and file locations changed as part of the new folder structure, so older README paths may no longer work.
8 commits+371-862
- TH
- NF