UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

15 lines (14 loc) 743 B
import type { AppManifest } from '../../../app/index.js'; import type { UCDef, UCInput, UCManager, UCOPIBase } from '../../../uc/index.js'; import type { HTTPDataEnvelope } from '../../../utils/index.js'; export interface RequestHandlerInputRaw<I extends UCInput | undefined = undefined, OPI0 extends UCOPIBase | undefined = undefined, OPI1 extends UCOPIBase | undefined = undefined> { appManifest: AppManifest; envelope: HTTPDataEnvelope; ucd: UCDef<I, OPI0, OPI1>; /** * It is not injected in the handler constructor because it must be the same as the one used in ServerManager. * * And in some cases, this latter is specific to a context : for instance in automated tests. */ ucManager: UCManager; }