Files
dd-timer/src/application/queries/GetInventaire.ts
POL Mickaël 3e485fd09b chore: normalise fins de ligne CRLF → LF dans tout le repo
Applique .gitattributes sur tous les fichiers existants.
Élimine les différences fantômes entre WSL et Windows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 08:55:10 +02:00

10 lines
312 B
TypeScript
Executable File

import type { AppState } from '@domain/ports/StateRepository';
export interface GetInventaireQuery { type: 'get-inventaire'; }
export function createGetInventaireHandler(state: AppState) {
return (_query: GetInventaireQuery): Record<string, { m: number; f: number }> => {
return state.inventaire;
};
}