@echecs/position 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.3] - 2026-04-04
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Added `@preventExpand` JSDoc tag to `Square` type alias so downstream TypeDoc
|
|
8
|
+
(0.28+) renders it as a reference instead of expanding the 64-member union.
|
|
9
|
+
|
|
3
10
|
## [1.0.2] - 2026-03-19
|
|
4
11
|
|
|
5
12
|
### Fixed
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Piece, c as PromotionPieceType, d as SquareColor, i as Move, l as Rank, n as Color, o as PieceType, r as File, s as PositionOptions, t as CastlingRights, u as Square } from "./types-
|
|
1
|
+
import { a as Piece, c as PromotionPieceType, d as SquareColor, i as Move, l as Rank, n as Color, o as PieceType, r as File, s as PositionOptions, t as CastlingRights, u as Square } from "./types-BN6JJgNK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/position.d.ts
|
|
4
4
|
declare class Position {
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Piece, n as Color, o as PieceType, r as File, u as Square } from "../types-
|
|
1
|
+
import { a as Piece, n as Color, o as PieceType, r as File, u as Square } from "../types-BN6JJgNK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/internal/board.d.ts
|
|
4
4
|
declare const OFF_BOARD = 136;
|
|
@@ -4,6 +4,7 @@ type File = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h';
|
|
|
4
4
|
type PieceType = 'b' | 'k' | 'n' | 'p' | 'q' | 'r';
|
|
5
5
|
type PromotionPieceType = 'b' | 'n' | 'q' | 'r';
|
|
6
6
|
type Rank = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
7
|
+
/** @preventExpand */
|
|
7
8
|
type Square = `${File}${Rank}`;
|
|
8
9
|
type SquareColor = 'dark' | 'light';
|
|
9
10
|
interface CastlingRights {
|