fix: resolve TS build errors - missing schema fields, types, and packages
- Add mustChangePassword field to User model in schema.prisma - Add latitude/longitude fields to Client model (matching existing migration) - Remove @nestjs/serve-static import from app.module (not in dependencies) - Add @types/multer to devDependencies and type multer config explicitly - Create migration for mustChangePassword column Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,6 @@ import { Module } from '@nestjs/common';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import { APP_FILTER, APP_GUARD, APP_INTERCEPTOR } from '@nestjs/core';
|
||||
import { ThrottlerModule, ThrottlerGuard } from '@nestjs/throttler';
|
||||
import { ServeStaticModule } from '@nestjs/serve-static';
|
||||
import { join } from 'path';
|
||||
import { HealthModule } from './health/health.module';
|
||||
import { PrismaModule } from './prisma/prisma.module';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
@@ -73,10 +71,6 @@ import { AccessGuard } from './common/guards/access.guard';
|
||||
PayrollModule,
|
||||
RoleModule,
|
||||
CommentModule,
|
||||
ServeStaticModule.forRoot({
|
||||
rootPath: join(__dirname, '..', 'uploads'),
|
||||
serveRoot: '/uploads',
|
||||
}),
|
||||
],
|
||||
providers: [
|
||||
{ provide: APP_FILTER, useClass: GlobalExceptionFilter },
|
||||
|
||||
Reference in New Issue
Block a user