fix(build): resolve 40 TypeScript errors blocking Docker build
- schema.ts: add date import from drizzle-orm/pg-core - service-key.guard.ts: fix public.decorator import path (auth/ not common/decorators/) - tsconfig.json: exclude src/modules/ai and src/modules/webhooks (incomplete modules referencing non-existent workspaces/observations services; not wired in app.module.ts)
This commit is contained in:
parent
1ac0dfc4ab
commit
3ff9265c7f
3 changed files with 8 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import {
|
|||
} from '@nestjs/common';
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import { Reflector } from '@nestjs/core';
|
||||
import { IS_PUBLIC_KEY } from '../decorators/public.decorator';
|
||||
import { IS_PUBLIC_KEY } from '../../auth/public.decorator';
|
||||
|
||||
/**
|
||||
* ServiceKeyGuard — accepts X-Service-Key header for automation tools (n8n, cron scripts).
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import {
|
|||
numeric,
|
||||
uniqueIndex,
|
||||
index,
|
||||
date,
|
||||
} from 'drizzle-orm/pg-core';
|
||||
|
||||
// --- Business Engine (blueprint sectiunea 5, 12): companii, tranzactii, documente, taskuri ---
|
||||
|
|
|
|||
|
|
@ -17,5 +17,10 @@
|
|||
"noImplicitAny": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"src/modules/ai",
|
||||
"src/modules/webhooks"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue