Skip to the content

Capsid menu

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

The functions of api.carrel.v1.$.ts
FunctionLinesComplexityCoveredCRAPMutation
loader13 to 131No data: no coverage report in this mapNo data: no coverage report in this mapNo data: no mutants in this code
action14 to 141No data: no coverage report in this mapNo data: no coverage report in this mapNo 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);