UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

9 lines (8 loc) 458 B
import type { URLPath } from '../../../dt/index.js'; import type { UC, UCInput, UCOPIBase } from '../../../uc/index.js'; export type UCEntrypointOnPress = () => Promise<void>; export interface UCEntrypointCtx<I extends UCInput | undefined = undefined, OPI0 extends UCOPIBase | undefined = undefined, OPI1 extends UCOPIBase | undefined = undefined> { onPress?: UCEntrypointOnPress | undefined; path?: URLPath | undefined; uc: UC<I, OPI0, OPI1>; }