Typed API Passkeys Example #54
Draft
Annotations
10 errors
Check:
examples/passkeys/src/components/input-box.tsx#L36
Property 'generateChallenge' does not exist on type 'TypedAPITypeError<"The types for the client have not been generated yet. Try running `npm exec astro sync`.">'.
|
Check:
examples/passkeys/src/components/input-box.tsx#L54
Property 'registerUser' does not exist on type 'TypedAPITypeError<"The types for the client have not been generated yet. Try running `npm exec astro sync`.">'.
|
Check:
examples/passkeys/src/components/input-box.tsx#L77
Property 'loginUser' does not exist on type 'TypedAPITypeError<"The types for the client have not been generated yet. Try running `npm exec astro sync`.">'.
|
Check:
examples/passkeys/src/middleware.ts#L2
Cannot find module 'db/tokens.ts' or its corresponding type declarations.
|
Check:
examples/passkeys/src/middleware.ts#L3
Cannot find module 'db/users.ts' or its corresponding type declarations.
|
Check:
examples/passkeys/src/middleware.ts#L13
Property 'user' does not exist on type 'Locals'.
|
Check:
examples/passkeys/src/pages/api/generateChallenge.ts#L2
Cannot find module 'db/users.ts' or its corresponding type declarations.
|
Check:
examples/passkeys/src/pages/api/generateChallenge.ts#L106
Parameter 'cred' implicitly has an 'any' type.
|
Check:
examples/passkeys/src/pages/api/loginUser.ts#L2
Cannot find module 'db/users.ts' or its corresponding type declarations.
|
Check:
examples/passkeys/src/pages/api/loginUser.ts#L3
Cannot find module 'db/tokens.ts' or its corresponding type declarations.
|
The logs for this run have expired and are no longer available.
Loading