refactor(p): rename TecDoc → P (parts) across the cross-reference feature
Drop the third-party brand name from the product surface and code.
The OEM detail feature is now "P" (short for parts) everywhere:
endpoint /p/oem, PModule/PController/PSourceDbService, config key
`p`, env P_DB_ENABLED/P_DB_URL, UI copy ("P kataloğundan…"), and the
unused tab label. Physical snapshot DB stays `td` (server-only).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
15
apps/api/src/integrations/p/p.module.ts
Normal file
15
apps/api/src/integrations/p/p.module.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { TecdocSourceDbService } from "./tecdoc-source-db.service";
|
||||
import { TecdocController } from "./tecdoc.controller";
|
||||
|
||||
/**
|
||||
* OEM cross-reference lookup against the imported TecDoc snapshot (db `td`).
|
||||
* Raw read-only queries — intentionally no Drizzle schema modelling, mirroring
|
||||
* CatalogSourceDbModule. Self-disables when TECDOC_DB_* env is unset.
|
||||
*/
|
||||
@Module({
|
||||
controllers: [TecdocController],
|
||||
providers: [TecdocSourceDbService],
|
||||
exports: [TecdocSourceDbService],
|
||||
})
|
||||
export class TecdocModule {}
|
||||
Reference in New Issue
Block a user