A11 TypeScript API - v0.2.1
    Preparing search index...

    Function validateA11Peer

    • Enforce the cross-field invariants the Python model validates.

      Parameters

      • peer: {
            endpoint: string;
            identity: string;
            protocol: "a11" | "mcp";
            scheme: "session" | "rtc" | "http" | "https" | "ws" | "wss";
        }

      Returns StatusOr<
          {
              endpoint: string;
              identity: string;
              protocol: "a11"
              | "mcp";
              scheme: "session" | "rtc" | "http" | "https" | "ws" | "wss";
          },
      >