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>
16 lines
506 B
TypeScript
16 lines
506 B
TypeScript
import { Module } from "@nestjs/common";
|
|
import { PSourceDbService } from "./p-source-db.service";
|
|
import { PController } from "./p.controller";
|
|
|
|
/**
|
|
* 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 P_DB_* env is unset.
|
|
*/
|
|
@Module({
|
|
controllers: [PController],
|
|
providers: [PSourceDbService],
|
|
exports: [PSourceDbService],
|
|
})
|
|
export class PModule {}
|