Beignet API reference
    Preparing search index...

    Type Alias AnyUseCaseLike

    Structural shape of a finalized use case accepted by the route binder.

    This intentionally mirrors UseCaseDef from @beignet/core/application without importing it, so the server runtime stays decoupled from the application builder at runtime.

    type AnyUseCaseLike = {
        inputSchema: StandardSchemaV1;
        name: string;
        outputSchema: StandardSchemaV1;
        run: (args: never) => Promise<unknown>;
    }
    Index
    inputSchema: StandardSchemaV1

    Input schema declared with .input(...).

    name: string

    Stable use-case name, used in binder diagnostics.

    outputSchema: StandardSchemaV1

    Output schema declared with .output(...).

    run: (args: never) => Promise<unknown>

    Execute the use case with application context and typed input.