公共 API 参考(@saas/contracts + @core/saas-kit + apps/api 对外接口)
    Preparing search index...

    SessionGuard 读/写的最小请求形状。

    Minimal request shape SessionGuard reads/writes. Avoids coupling to a specific HTTP adapter (Fastify vs Express); Nest's switchToHttp() supplies a compatible object.

    interface SessionRequest {
        headers: Record<string, string | string[] | undefined>;
        sessionUser?: SessionUser;
    }
    Index
    headers: Record<string, string | string[] | undefined>

    请求头。

    sessionUser?: SessionUser

    会话解析出的用户。