onix-chess-game
Version:
Chess game board
17 lines (16 loc) • 470 B
TypeScript
import { Store } from 'redux';
import { BoardSize } from 'onix-board-assets';
import * as cg from 'chessground/types';
import { BoardAction } from './BoardActions';
export interface BoardState {
is3d: boolean;
size: BoardSize;
piece: string;
square: string;
orientation: cg.Color;
coordinates: boolean;
}
export interface BoardRelatedState {
board: BoardState;
}
export declare type BoardRelatedStore = Store<BoardRelatedState, BoardAction>;