MCPcopy Index your code
hub / github.com/coder/coder / appearance

Function appearance

site/src/api/queries/appearance.ts:9–15  ·  view source on GitHub ↗
(metadata: MetadataState<AppearanceConfig>)

Source from the content-addressed store, hash-verified

7export const appearanceConfigKey = ["appearance"] as const;
8
9export const appearance = (metadata: MetadataState<AppearanceConfig>) => {
10 return cachedQuery({
11 metadata,
12 queryKey: appearanceConfigKey,
13 queryFn: () => API.getAppearance(),
14 });
15};
16
17export const updateAppearance = (queryClient: QueryClient) => {
18 return {

Callers 1

DashboardProviderFunction · 0.90

Calls 1

cachedQueryFunction · 0.90

Tested by

no test coverage detected