electron-agent-bridge
    Preparing search index...
    ShapeNode:
        | { name: string; t: "type" }
        | { of?: ShapeNode; t: "array" }
        | { items: readonly ShapeField[]; t: "tuple" }
        | {
            keys: Readonly<Record<string, ShapeField>>;
            more?: boolean;
            name?: string;
            t: "object";
        }
        | { of: readonly ShapeNode[]; t: "union" }
        | { t: "unknown" }

    Structural types inferred from values, merged across samples (IPC schema inference, protocol 1.1). Like shapeOf they never hold contents, only types; unlike it they merge: a key missing from some samples becomes optional, differing types become a union. Everything is bounded.

    Type Declaration

    • { name: string; t: "type" }
    • { of?: ShapeNode; t: "array" }
    • { items: readonly ShapeField[]; t: "tuple" }
    • {
          keys: Readonly<Record<string, ShapeField>>;
          more?: boolean;
          name?: string;
          t: "object";
      }
      • Readonlykeys: Readonly<Record<string, ShapeField>>
      • Optional Readonlymore?: boolean

        Keys beyond the cap were left out.

      • Optional Readonlyname?: string
      • Readonlyt: "object"
    • { of: readonly ShapeNode[]; t: "union" }
    • { t: "unknown" }