MCPcopy Create free account
hub / github.com/fontsource/fontsource / getVariable

Function getVariable

website/app/utils/metadata.server.ts:18–19  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

16 await fetchApiData<Metadata>(METADATA_URL + id);
17
18const getVariable = async (id: string): Promise<VariableData> =>
19 await fetchApiData<VariableData>(VARIABLE_URL(id));
20
21const getAxisRegistry = async (): Promise<AxisRegistryAll> =>
22 await fetchApiData<AxisRegistryAll>(AXIS_REGISTRY_URL);

Callers 3

loaderFunction · 0.90
loaderFunction · 0.90
loaderFunction · 0.90

Calls 1

VARIABLE_URLFunction · 0.85

Tested by

no test coverage detected