0a9588abb7
- Add pagination support to findAll (page, limit query params) - Add findByTemplateId method to service - Add GET /by-template/:templateId endpoint to controller - Service already includes CRUD for QuestionBank and QuestionBankItem
8 lines
167 B
TypeScript
8 lines
167 B
TypeScript
import { AsyncLocalStorage } from 'async_hooks';
|
|
|
|
export interface I18nContext {
|
|
language: string;
|
|
}
|
|
|
|
export const i18nStore = new AsyncLocalStorage<I18nContext>();
|