frontend
    Preparing search index...

    Variable spadesApiConst

    spadesApi: {
        exec: (
            command: "reset" | "play" | "next" | "nextround" | "hint" | "bid",
            bid?: number,
            cardIndex?: number,
            config?: SpadesConfigInput,
        ) => Promise<SpadesResponse>;
    } = ...

    API client for the Spades /spades/exec endpoint.

    Type Declaration

    • exec: (
          command: "reset" | "play" | "next" | "nextround" | "hint" | "bid",
          bid?: number,
          cardIndex?: number,
          config?: SpadesConfigInput,
      ) => Promise<SpadesResponse>