frontend
    Preparing search index...

    Variable cribbageApiConst

    cribbageApi: {
        exec: (
            command:
                | "reset"
                | "log"
                | "discard"
                | "nextround"
                | "peg"
                | "go"
                | "shownext",
            cardIndex?: number,
            cardIndices?: number[],
            config?: CribbageConfigInput,
        ) => Promise<CribbageResponse>;
    } = ...

    API client for the Cribbage /cribbage/exec endpoint.

    Type Declaration

    • exec: (
          command:
              | "reset"
              | "log"
              | "discard"
              | "nextround"
              | "peg"
              | "go"
              | "shownext",
          cardIndex?: number,
          cardIndices?: number[],
          config?: CribbageConfigInput,
      ) => Promise<CribbageResponse>