@suluk/platform - v0.6.0
    Preparing search index...

    Interface Port<P>

    A typed PORT a service EXPOSES: a named hook others fill. hookOptKey is the mount-opt field a bound edge renders INTO (e.g. auth's onUserCreated), so an edge never emits a separate post-route statement — it composes into the producer's own mount call. render wraps the consumer expressions for this hook's real signature. (Consumed in Phase 3.)

    interface Port<P = unknown> {
        kind: "port";
        param?: Schema<P>;
        hookOptKey: string;
        render: (consumerExprs: string[]) => string;
    }

    Type Parameters

    • P = unknown
    Index

    Properties

    kind: "port"
    param?: Schema<P>
    hookOptKey: string
    render: (consumerExprs: string[]) => string