959265484cd6f442f27f0f9035a807e2474a2685
This commit introduces a durable object to handle Anilist GraphQL requests, with the goal of preventing request duplication. The durable object is designed to cache responses from the Anilist API, with a TTL based on the `nextAiringEpisode` field in the response. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
npm install
npm run dev
npm run deploy
Development
If a route is internal-only or doesn't need to appear on the OpenAPI spec (that's autogenerated by Hono), use the Hono class. Otherwise, use the OpenAPIHono class from @hono/zod-openapi.
Description
Languages
TypeScript
100%