Beignet API reference
    Preparing search index...

    Interface NotificationPayloadDef<Name, Payload>

    Minimal notification definition shape accepted by notification ports.

    interface NotificationPayloadDef<
        Name extends string = string,
        Payload extends StandardSchema = StandardSchema,
    > {
        description?: string;
        name: Name;
        payload: Payload;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    description?: string

    Optional human-readable description for docs and tooling.

    name: Name

    Stable notification name used by dispatchers, tests, and tooling.

    payload: Payload

    Standard Schema payload validator.