feat: two-factor authentication via TOTP (#686) #201
Annotations
20 errors and 11 warnings
|
Typecheck
Process completed with exit code 2.
|
|
Typecheck:
lib/deleteOtpStore.test.ts#L33
Cannot redeclare block-scoped variable 'test'.
|
|
Typecheck:
app/api/jobs/enqueue/route.test.ts#L34
Type '(req: Request) => Promise<NextResponse<{ error: string; }> | NextResponse<{ id: string; }>>' is not assignable to type '(...args: unknown[]) => Promise<Response>'.
|
|
Typecheck:
app/api/jobs/[id]/route.test.ts#L36
Type '(_req: Request, ctx: { params: Promise<{ id: string; }>; }) => Promise<NextResponse<{ error: string; }> | NextResponse<{ status: JobStatus; id: string; createdAt: Date; ... 7 more ...; runAfter: Date | null; }>>' is not assignable to type '(...args: unknown[]) => Promise<Response>'.
|
|
Typecheck:
app/api/2fa/setup/route.test.ts#L53
Spread types may only be created from object types.
|
|
Typecheck:
app/api/2fa/setup/route.test.ts#L43
Spread types may only be created from object types.
|
|
Typecheck:
app/api/2fa/enable/route.test.ts#L54
Spread types may only be created from object types.
|
|
Typecheck:
app/api/2fa/enable/route.test.ts#L44
Spread types may only be created from object types.
|
|
Typecheck:
app/api/2fa/disable/route.test.ts#L54
Spread types may only be created from object types.
|
|
Typecheck:
app/api/2fa/disable/route.test.ts#L44
Spread types may only be created from object types.
|
|
Lint:
lib/profileWorkflow.test.ts#L6
Unexpected any. Specify a different type
|
|
Lint:
lib/profileWorkflow.test.ts#L5
Unexpected any. Specify a different type
|
|
Lint:
lib/profileWorkflow.test.ts#L4
Unexpected any. Specify a different type
|
|
Lint:
lib/accountMerge.ts#L171
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L47
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L33
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L8
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L8
Unexpected var, use let or const instead
|
|
Lint:
app/api/links/[id]/route.test.ts#L43
Unexpected any. Specify a different type
|
|
Lint:
app/api/links/[id]/route.test.ts#L24
Unexpected any. Specify a different type
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
app/dashboard/page.tsx#L8
'Link' is defined but never used
|
|
Lint:
app/dashboard/GroupItem.tsx#L17
'getCsrfToken' is defined but never used
|
|
Lint:
app/api/subscribers/export/route.ts#L6
'req' is defined but never used
|
|
Lint:
app/api/jobs/analytics/route.ts#L2
'releaseJob' is defined but never used
|
|
Lint:
app/api/extension/user/[username]/route.ts#L68
'req' is defined but never used
|
|
Lint:
app/api/auth/register/route.ts#L49
'user' is assigned a value but never used
|
|
Lint:
app/[username]/ShareProfileButton.tsx#L15
'err' is defined but never used
|
|
Lint:
__tests__/Home.test.tsx#L2
'Home' is defined but never used
|
|
Lint:
__tests__/Home.test.tsx#L1
'screen' is defined but never used
|
|
Lint:
__tests__/Home.test.tsx#L1
'render' is defined but never used
|
background
wait
wait-all
cancel
parallel
Loading