app/routes/api.carrel.v1.$.ts
11 lines and 2 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.
Functions
| Function | Lines | Complexity | Covered | CRAP | Mutation |
|---|---|---|---|---|---|
| loader | 13 to 13 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
| action | 14 to 14 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
Imports
It imports app/lib/carrel/site-api.server.ts. No module of this repo imports it.
Source
import { handleCarrelRequest } from "~/lib/carrel/site-api.server";
import type { Route } from "./+types/api.carrel.v1.$";
/**
* Carrel's site API (the site-api package). Its key reaches only this prefix; the operator API
* is untouched.
*
* A resource route inside the Renderer, as the operator API is, so a save's cache purge reaches the
* cache the public pages live in: a purge is scoped to the entrypoint that calls it.
*/
export const loader = ({ request, context }: Route.LoaderArgs) => handleCarrelRequest(request, context);
export const action = ({ request, context }: Route.ActionArgs) => handleCarrelRequest(request, context);