Skip to content

[BUG][P1] TypeScript type errors across admin pages block production build #12

@l0gic

Description

@l0gic

Describe the bug

Multiple TypeScript type errors exist across admin pages, preventing successful production build.

Sample Errors Found

  • src/app/admin/data-retention/page.tsx:155 - Property 'entityType' does not exist
  • src/app/admin/roles/page.tsx:604 - Property 'onClick' does not exist on ResponsiveTableRow
  • src/app/admin/settings/page.tsx:274 - Property 'label' does not exist on SystemConfig
  • Multiple isNotNull comparison errors with null values
  • Various auth-related type errors

Expected behavior

All TypeScript errors should be resolved for successful production builds.

Possible Solution

Run pnpm run typecheck to identify all errors and fix them systematically. Focus on:

  1. Missing type definitions
  2. Incorrect property access
  3. Null safety issues

Files Affected

Multiple admin pages under src/app/admin/

Discovered By

Automated TypeScript analysis during build verification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions