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

Function hasFirstUser

site/src/api/queries/users.ts:175–181  ·  view source on GitHub ↗
(userMetadata: MetadataState<User>)

Source from the content-addressed store, hash-verified

173export const hasFirstUserKey = ["hasFirstUser"];
174
175export const hasFirstUser = (userMetadata: MetadataState<User>) => {
176 return cachedQuery({
177 metadata: userMetadata,
178 queryKey: hasFirstUserKey,
179 queryFn: API.hasFirstUser,
180 });
181};
182
183export const login = (
184 authorization: AuthorizationRequest,

Callers 1

AuthProviderFunction · 0.90

Calls 1

cachedQueryFunction · 0.90

Tested by

no test coverage detected