refactor(p): complete TecDoc → P content rename

Finishes 3b14431 (which only captured the file renames): apply the
identifier/endpoint/env/UI changes so the code matches the new paths
— PModule/PController/PSourceDbService, @Controller("p"), /p/oem,
config key `p`, P_DB_ENABLED/P_DB_URL, "P kataloğundan…" copy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-09 22:30:46 +03:00
parent 3b144313b3
commit e91af4b953
11 changed files with 80 additions and 85 deletions

View File

@@ -1,15 +1,15 @@
import { Module } from "@nestjs/common";
import { TecdocSourceDbService } from "./tecdoc-source-db.service";
import { TecdocController } from "./tecdoc.controller";
import { PSourceDbService } from "./p-source-db.service";
import { PController } from "./p.controller";
/**
* OEM cross-reference lookup against the imported TecDoc snapshot (db `td`).
* OEM cross-reference lookup against the imported P snapshot (db `td`).
* Raw read-only queries — intentionally no Drizzle schema modelling, mirroring
* CatalogSourceDbModule. Self-disables when TECDOC_DB_* env is unset.
* CatalogSourceDbModule. Self-disables when P_DB_* env is unset.
*/
@Module({
controllers: [TecdocController],
providers: [TecdocSourceDbService],
exports: [TecdocSourceDbService],
controllers: [PController],
providers: [PSourceDbService],
exports: [PSourceDbService],
})
export class TecdocModule {}
export class PModule {}