template-saas/apps/backend/src/modules/commissions/services/index.ts
Adrian Flores Cortes 72bbc1af23
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
[FIX] fix(backend): Resolve all TypeScript errors for clean build
- Added missing decorators: roles.decorator.ts, roles.guard.ts
- Added tenant decorators: current-tenant.decorator.ts, tenant-id.decorator.ts
- Fixed duplicate exports in commissions/services/index.ts
- Fixed duplicate exports in sales/services/index.ts
- Fixed TenantStatus type in superadmin DTOs (string -> enum)
- Fixed status array type in superadmin.service.ts
- Fixed test file to use valid status value

Backend now builds successfully with 0 TypeScript errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 02:24:24 -06:00

13 lines
499 B
TypeScript

// Export pagination types only from schemes.service to avoid duplicates
export {
SchemesService,
PaginatedResult,
PaginationOptions
} from './schemes.service';
// Export other services without pagination types (they re-declare the same interfaces)
export { AssignmentsService } from './assignments.service';
export { EntriesService } from './entries.service';
export { PeriodsService } from './periods.service';
export { CommissionsDashboardService } from './commissions-dashboard.service';