14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|||
|
|
import { TableService } from './table.service';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Global so every admin grid module can inject TableService without re-importing.
|
||
|
|
* It is stateless — pure request-shape translation.
|
||
|
|
*/
|
||
|
|
@Global()
|
||
|
|
@Module({
|
||
|
|
providers: [TableService],
|
||
|
|
exports: [TableService],
|
||
|
|
})
|
||
|
|
export class AdminTableModule {}
|