@vankosoft/game-platform 0.2.0 → 0.3.0
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 +13 -0
- package/README.md +1 -1
- package/VERSION +1 -1
- package/dist/cjs/Types/BoardGame/checkerDto.d.ts +5 -0
- package/dist/cjs/{Model → Types}/BoardGame/chessMoveDto.d.ts +3 -3
- package/dist/cjs/Types/BoardGame/chessPieceDto.d.ts +9 -0
- package/dist/cjs/{Model → Types}/BoardGame/gameDto.d.ts +1 -1
- package/dist/cjs/{Model → Types}/BoardGame/moveDto.d.ts +1 -1
- package/dist/cjs/{Model → Types}/BoardGame/playerDto.d.ts +1 -1
- package/dist/cjs/{Model → Types/CardGame}/CardGameAnnounceSymbolModel.d.ts +1 -1
- package/dist/cjs/{Model → Types}/CardGame/announceDto.d.ts +2 -2
- package/dist/cjs/{Model → Types}/CardGame/bidDto.d.ts +2 -2
- package/dist/cjs/Types/CardGame/cardDto.d.ts +14 -0
- package/dist/cjs/{Model → Types}/CardGame/gameDto.d.ts +2 -2
- package/dist/cjs/{Model → Types}/CardGame/playerDto.d.ts +1 -1
- package/dist/cjs/{Model → Types}/Core/gameCookieDto.d.ts +2 -2
- package/dist/cjs/{Model → Types}/Core/gameDto.d.ts +1 -1
- package/dist/cjs/Types/GamePlayerModel.d.ts +8 -0
- package/dist/cjs/index.d.ts +42 -40
- package/dist/cjs/index.js +35 -35
- package/package.json +1 -1
- package/rollup.config.mjs +2 -2
- package/dist/cjs/Model/BoardGame/checkerDto.d.ts +0 -5
- package/dist/cjs/Model/BoardGame/chessMoveType.ts +0 -8
- package/dist/cjs/Model/BoardGame/chessPieceDto.d.ts +0 -9
- package/dist/cjs/Model/BoardGame/chessPieceType.ts +0 -9
- package/dist/cjs/Model/BoardGame/playerColor.ts +0 -6
- package/dist/cjs/Model/CardGame/announceType.ts +0 -18
- package/dist/cjs/Model/CardGame/bidType.ts +0 -13
- package/dist/cjs/Model/CardGame/bridgeBeloteCardType.ts +0 -11
- package/dist/cjs/Model/CardGame/cardDto.d.ts +0 -14
- package/dist/cjs/Model/CardGame/cardGameTeam.ts +0 -6
- package/dist/cjs/Model/CardGame/cardSuit.ts +0 -7
- package/dist/cjs/Model/CardGame/contractBridgeCardType.ts +0 -16
- package/dist/cjs/Model/CardGame/playerPosition.ts +0 -8
- package/dist/cjs/Model/Core/gameState.ts +0 -17
- package/dist/cjs/Model/GamePlayerModel.d.ts +0 -8
- /package/dist/cjs/{Model/BoardGame → BoardGame}/chessMoveType.d.ts +0 -0
- /package/dist/cjs/{Model/BoardGame → BoardGame}/chessPieceType.d.ts +0 -0
- /package/dist/cjs/{Model/BoardGame → BoardGame}/playerColor.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/announceType.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/bidType.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/bridgeBeloteCardType.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/cardGameTeam.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/cardSuit.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/contractBridgeCardType.d.ts +0 -0
- /package/dist/cjs/{Model/CardGame → CardGame}/playerPosition.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/BoardGame/chessSquareDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/BoardGame/diceDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/BoardGame/pointDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/BoardGame/toplist.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/BoardGame/toplistResult.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/CardGame/bridgeBeloteScoreDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/Core/connectionDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/Core/errorReportDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/Core/newScoreDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/Core/playerDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/Core/userDto.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/GameInterface.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/GamePlayInterface.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/GameRoomInterface.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/GameRoomModel.d.ts +0 -0
- /package/dist/cjs/{Model → Types}/PlayerInterface.d.ts +0 -0
- /package/dist/cjs/{Model/Core/gameState.d.ts → gameState.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
0.3.0 | Release date: **15.08.2026**
|
|
2
|
+
============================================
|
|
3
|
+
* New Features:
|
|
4
|
+
- Refactoring of All Types.
|
|
5
|
+
- Update Package Version.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
0.2.1 | Release date: **14.08.2026**
|
|
9
|
+
============================================
|
|
10
|
+
* New Features:
|
|
11
|
+
- Export Some Other Interfaces.
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
0.2.0 | Release date: **14.08.2026**
|
|
2
15
|
============================================
|
|
3
16
|
* New Features:
|
package/README.md
CHANGED
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PlayerColor } from '
|
|
2
|
-
import { ChessMoveType } from '
|
|
3
|
-
import { ChessPieceType } from '
|
|
1
|
+
import { PlayerColor } from '../../BoardGame/playerColor';
|
|
2
|
+
import { ChessMoveType } from '../../BoardGame/chessMoveType';
|
|
3
|
+
import { ChessPieceType } from '../../BoardGame/chessPieceType';
|
|
4
4
|
|
|
5
5
|
export interface ChessMoveDto
|
|
6
6
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GameDto } from '../Core/gameDto';
|
|
2
2
|
import { BoardGamePlayerDto } from './playerDto';
|
|
3
|
-
import { PlayerColor } from '
|
|
3
|
+
import { PlayerColor } from '../../BoardGame/playerColor';
|
|
4
4
|
import { PointDto } from './pointDto';
|
|
5
5
|
import { MoveDto } from './moveDto';
|
|
6
6
|
import { ChessSquareDto } from './chessSquareDto';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PlayerPosition } from '
|
|
2
|
-
import { AnnounceType } from '
|
|
1
|
+
import { PlayerPosition } from '../../CardGame/playerPosition';
|
|
2
|
+
import { AnnounceType } from '../../CardGame/announceType';
|
|
3
3
|
import { CardDto } from './cardDto';
|
|
4
4
|
|
|
5
5
|
export interface AnnounceDto
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CardSuit } from '../../CardGame/cardSuit';
|
|
2
|
+
import { BridgeBeloteCardType } from '../../CardGame/bridgeBeloteCardType';
|
|
3
|
+
import { ContractBridgeCardType } from '../../CardGame/contractBridgeCardType';
|
|
4
|
+
import { PlayerPosition } from '../../CardGame/playerPosition';
|
|
5
|
+
|
|
6
|
+
export interface CardDto
|
|
7
|
+
{
|
|
8
|
+
Suit: CardSuit;
|
|
9
|
+
Type: BridgeBeloteCardType | ContractBridgeCardType;
|
|
10
|
+
|
|
11
|
+
position: PlayerPosition;
|
|
12
|
+
cardIndex: string;
|
|
13
|
+
animate: boolean;
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GameDto } from '../Core/gameDto';
|
|
2
2
|
import { CardGamePlayerDto } from './playerDto';
|
|
3
|
-
import { PlayerPosition } from '
|
|
4
|
-
import { CardGameTeam } from '
|
|
3
|
+
import { PlayerPosition } from '../../CardGame/playerPosition';
|
|
4
|
+
import { CardGameTeam } from '../../CardGame/cardGameTeam'
|
|
5
5
|
|
|
6
6
|
export interface CardGameDto extends GameDto {
|
|
7
7
|
players: CardGamePlayerDto[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PlayerColor } from '
|
|
2
|
-
import { PlayerPosition } from '
|
|
1
|
+
import { PlayerColor } from '../../BoardGame/playerColor';
|
|
2
|
+
import { PlayerPosition } from '../../CardGame/playerPosition';
|
|
3
3
|
|
|
4
4
|
export interface GameCookieDto
|
|
5
5
|
{
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,52 +1,54 @@
|
|
|
1
|
+
import { GameState } from "./gameState";
|
|
2
|
+
import { PlayerColor } from "./BoardGame/playerColor";
|
|
3
|
+
import { ChessPieceType } from "./BoardGame/chessPieceType";
|
|
4
|
+
import { ChessMoveType } from "./BoardGame/chessMoveType";
|
|
5
|
+
import { PlayerPosition } from "./CardGame/playerPosition";
|
|
6
|
+
import { CardGameTeam } from "./CardGame/cardGameTeam";
|
|
7
|
+
import { BridgeBeloteCardType } from "./CardGame/bridgeBeloteCardType";
|
|
8
|
+
import { ContractBridgeCardType } from "./CardGame/contractBridgeCardType";
|
|
9
|
+
import { CardSuit } from "./CardGame/cardSuit";
|
|
10
|
+
import { BidType } from "./CardGame/bidType";
|
|
11
|
+
import { AnnounceType } from "./CardGame/announceType";
|
|
1
12
|
/**
|
|
2
13
|
* Global Interfaces
|
|
3
14
|
*/
|
|
4
|
-
import { IGame } from "./
|
|
5
|
-
import { IGamePlay } from "./
|
|
6
|
-
import { IPlayer } from "./
|
|
7
|
-
import { IGameRoom } from "./
|
|
15
|
+
import { IGame } from "./Types/GameInterface";
|
|
16
|
+
import { IGamePlay } from "./Types/GamePlayInterface";
|
|
17
|
+
import { IPlayer } from "./Types/PlayerInterface";
|
|
18
|
+
import { IGameRoom } from "./Types/GameRoomInterface";
|
|
19
|
+
import { IGamePlayer } from "./Types/GamePlayerModel";
|
|
8
20
|
/**
|
|
9
21
|
* Core Game Interfaces
|
|
10
22
|
*/
|
|
11
|
-
import { ConnectionDto } from "./
|
|
12
|
-
import { ErrorReportDto } from "./
|
|
13
|
-
import { UserDto } from "./
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { NewScoreDto } from "./Model/Core/newScoreDto";
|
|
23
|
+
import { ConnectionDto } from "./Types/Core/connectionDto";
|
|
24
|
+
import { ErrorReportDto } from "./Types/Core/errorReportDto";
|
|
25
|
+
import { UserDto } from "./Types/Core/userDto";
|
|
26
|
+
import { GameDto } from "./Types/Core/gameDto";
|
|
27
|
+
import { GameCookieDto } from "./Types/Core/gameCookieDto";
|
|
28
|
+
import { PlayerDto } from "./Types/Core/playerDto";
|
|
29
|
+
import { NewScoreDto } from "./Types/Core/newScoreDto";
|
|
19
30
|
/**
|
|
20
31
|
* Board Game Interfaces
|
|
21
32
|
*/
|
|
22
|
-
import { Toplist } from "./
|
|
23
|
-
import { ToplistResult } from "./
|
|
24
|
-
import { BoardGameDto } from "./
|
|
25
|
-
import { MoveDto } from "./
|
|
26
|
-
import { BoardGamePlayerDto } from "./
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { ChessPieceDto } from "./Model/BoardGame/chessPieceDto";
|
|
34
|
-
import { ChessPieceType } from "./Model/BoardGame/chessPieceType";
|
|
35
|
-
import { ChessSquareDto } from "./Model/BoardGame/chessSquareDto";
|
|
33
|
+
import { Toplist } from "./Types/BoardGame/toplist";
|
|
34
|
+
import { ToplistResult } from "./Types/BoardGame/toplistResult";
|
|
35
|
+
import { BoardGameDto } from "./Types/BoardGame/gameDto";
|
|
36
|
+
import { MoveDto } from "./Types/BoardGame/moveDto";
|
|
37
|
+
import { BoardGamePlayerDto } from "./Types/BoardGame/playerDto";
|
|
38
|
+
import { PointDto } from "./Types/BoardGame/pointDto";
|
|
39
|
+
import { CheckerDto } from "./Types/BoardGame/checkerDto";
|
|
40
|
+
import { DiceDto } from "./Types/BoardGame/diceDto";
|
|
41
|
+
import { ChessMoveDto } from "./Types/BoardGame/chessMoveDto";
|
|
42
|
+
import { ChessPieceDto } from "./Types/BoardGame/chessPieceDto";
|
|
43
|
+
import { ChessSquareDto } from "./Types/BoardGame/chessSquareDto";
|
|
36
44
|
/**
|
|
37
45
|
* Card Game Interfaces
|
|
38
46
|
*/
|
|
39
|
-
import { CardGameDto } from "./
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
|
|
47
|
-
import { CardDto } from "./Model/CardGame/cardDto";
|
|
48
|
-
import { BidDto } from "./Model/CardGame/bidDto";
|
|
49
|
-
import { BridgeBeloteScoreDto } from "./Model/CardGame/bridgeBeloteScoreDto";
|
|
50
|
-
import { AnnounceDto } from "./Model/CardGame/announceDto";
|
|
51
|
-
import { AnnounceType } from "./Model/CardGame/announceType";
|
|
52
|
-
export { IGame, IGamePlay, IPlayer, IGameRoom, ConnectionDto, ErrorReportDto, UserDto, GameState, GameDto, GameCookieDto, PlayerDto, NewScoreDto, Toplist, ToplistResult, BoardGameDto, MoveDto, BoardGamePlayerDto, PlayerColor, PointDto, CheckerDto, DiceDto, ChessMoveDto, ChessMoveType, ChessPieceDto, ChessPieceType, ChessSquareDto, CardGameDto, PlayerPosition, BidType, CardSuit, BridgeBeloteCardType, ContractBridgeCardType, CardGameTeam, CardGamePlayerDto, CardDto, BidDto, BridgeBeloteScoreDto, AnnounceDto, AnnounceType };
|
|
47
|
+
import { CardGameDto } from "./Types/CardGame/gameDto";
|
|
48
|
+
import { CardGamePlayerDto } from "./Types/CardGame/playerDto";
|
|
49
|
+
import { CardDto } from "./Types/CardGame/cardDto";
|
|
50
|
+
import { BidDto } from "./Types/CardGame/bidDto";
|
|
51
|
+
import { BridgeBeloteScoreDto } from "./Types/CardGame/bridgeBeloteScoreDto";
|
|
52
|
+
import { AnnounceDto } from "./Types/CardGame/announceDto";
|
|
53
|
+
import { CardGameAnnounceSymbolModel } from "./Types/CardGame/CardGameAnnounceSymbolModel";
|
|
54
|
+
export { IGame, IGamePlay, IPlayer, IGameRoom, IGamePlayer, ConnectionDto, ErrorReportDto, UserDto, GameState, GameDto, GameCookieDto, PlayerDto, NewScoreDto, Toplist, ToplistResult, BoardGameDto, MoveDto, BoardGamePlayerDto, PlayerColor, PointDto, CheckerDto, DiceDto, ChessMoveDto, ChessMoveType, ChessPieceDto, ChessPieceType, ChessSquareDto, CardGameDto, PlayerPosition, BidType, CardSuit, BridgeBeloteCardType, ContractBridgeCardType, CardGameTeam, CardGamePlayerDto, CardDto, BidDto, BridgeBeloteScoreDto, AnnounceDto, AnnounceType, CardGameAnnounceSymbolModel, };
|
package/dist/cjs/index.js
CHANGED
|
@@ -23,15 +23,6 @@ exports.PlayerColor = void 0;
|
|
|
23
23
|
PlayerColor[PlayerColor["neither"] = 2] = "neither";
|
|
24
24
|
})(exports.PlayerColor || (exports.PlayerColor = {}));
|
|
25
25
|
|
|
26
|
-
exports.ChessMoveType = void 0;
|
|
27
|
-
(function (ChessMoveType) {
|
|
28
|
-
ChessMoveType[ChessMoveType["NormalMove"] = 0] = "NormalMove";
|
|
29
|
-
ChessMoveType[ChessMoveType["CaputreMove"] = 1] = "CaputreMove";
|
|
30
|
-
ChessMoveType[ChessMoveType["TowerMove"] = 2] = "TowerMove";
|
|
31
|
-
ChessMoveType[ChessMoveType["PromotionMove"] = 3] = "PromotionMove";
|
|
32
|
-
ChessMoveType[ChessMoveType["EnPassant"] = 4] = "EnPassant";
|
|
33
|
-
})(exports.ChessMoveType || (exports.ChessMoveType = {}));
|
|
34
|
-
|
|
35
26
|
exports.ChessPieceType = void 0;
|
|
36
27
|
(function (ChessPieceType) {
|
|
37
28
|
ChessPieceType[ChessPieceType["King"] = 0] = "King";
|
|
@@ -42,6 +33,15 @@ exports.ChessPieceType = void 0;
|
|
|
42
33
|
ChessPieceType[ChessPieceType["Pawn"] = 5] = "Pawn";
|
|
43
34
|
})(exports.ChessPieceType || (exports.ChessPieceType = {}));
|
|
44
35
|
|
|
36
|
+
exports.ChessMoveType = void 0;
|
|
37
|
+
(function (ChessMoveType) {
|
|
38
|
+
ChessMoveType[ChessMoveType["NormalMove"] = 0] = "NormalMove";
|
|
39
|
+
ChessMoveType[ChessMoveType["CaputreMove"] = 1] = "CaputreMove";
|
|
40
|
+
ChessMoveType[ChessMoveType["TowerMove"] = 2] = "TowerMove";
|
|
41
|
+
ChessMoveType[ChessMoveType["PromotionMove"] = 3] = "PromotionMove";
|
|
42
|
+
ChessMoveType[ChessMoveType["EnPassant"] = 4] = "EnPassant";
|
|
43
|
+
})(exports.ChessMoveType || (exports.ChessMoveType = {}));
|
|
44
|
+
|
|
45
45
|
exports.PlayerPosition = void 0;
|
|
46
46
|
(function (PlayerPosition) {
|
|
47
47
|
PlayerPosition[PlayerPosition["south"] = 0] = "south";
|
|
@@ -51,26 +51,12 @@ exports.PlayerPosition = void 0;
|
|
|
51
51
|
PlayerPosition[PlayerPosition["neither"] = 4] = "neither";
|
|
52
52
|
})(exports.PlayerPosition || (exports.PlayerPosition = {}));
|
|
53
53
|
|
|
54
|
-
exports.
|
|
55
|
-
(function (
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
BidType[BidType["Spades"] = 4] = "Spades";
|
|
61
|
-
BidType[BidType["NoTrumps"] = 5] = "NoTrumps";
|
|
62
|
-
BidType[BidType["AllTrumps"] = 6] = "AllTrumps";
|
|
63
|
-
BidType[BidType["Double"] = 7] = "Double";
|
|
64
|
-
BidType[BidType["ReDouble"] = 8] = "ReDouble";
|
|
65
|
-
})(exports.BidType || (exports.BidType = {}));
|
|
66
|
-
|
|
67
|
-
exports.CardSuit = void 0;
|
|
68
|
-
(function (CardSuit) {
|
|
69
|
-
CardSuit[CardSuit["Club"] = 0] = "Club";
|
|
70
|
-
CardSuit[CardSuit["Diamond"] = 1] = "Diamond";
|
|
71
|
-
CardSuit[CardSuit["Heart"] = 2] = "Heart";
|
|
72
|
-
CardSuit[CardSuit["Spade"] = 3] = "Spade";
|
|
73
|
-
})(exports.CardSuit || (exports.CardSuit = {}));
|
|
54
|
+
exports.CardGameTeam = void 0;
|
|
55
|
+
(function (CardGameTeam) {
|
|
56
|
+
CardGameTeam[CardGameTeam["SouthNorth"] = 0] = "SouthNorth";
|
|
57
|
+
CardGameTeam[CardGameTeam["EastWest"] = 1] = "EastWest";
|
|
58
|
+
CardGameTeam[CardGameTeam["Neither"] = 2] = "Neither";
|
|
59
|
+
})(exports.CardGameTeam || (exports.CardGameTeam = {}));
|
|
74
60
|
|
|
75
61
|
exports.BridgeBeloteCardType = void 0;
|
|
76
62
|
(function (BridgeBeloteCardType) {
|
|
@@ -101,12 +87,26 @@ exports.ContractBridgeCardType = void 0;
|
|
|
101
87
|
ContractBridgeCardType[ContractBridgeCardType["Ace"] = 12] = "Ace";
|
|
102
88
|
})(exports.ContractBridgeCardType || (exports.ContractBridgeCardType = {}));
|
|
103
89
|
|
|
104
|
-
exports.
|
|
105
|
-
(function (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
90
|
+
exports.CardSuit = void 0;
|
|
91
|
+
(function (CardSuit) {
|
|
92
|
+
CardSuit[CardSuit["Club"] = 0] = "Club";
|
|
93
|
+
CardSuit[CardSuit["Diamond"] = 1] = "Diamond";
|
|
94
|
+
CardSuit[CardSuit["Heart"] = 2] = "Heart";
|
|
95
|
+
CardSuit[CardSuit["Spade"] = 3] = "Spade";
|
|
96
|
+
})(exports.CardSuit || (exports.CardSuit = {}));
|
|
97
|
+
|
|
98
|
+
exports.BidType = void 0;
|
|
99
|
+
(function (BidType) {
|
|
100
|
+
BidType[BidType["Pass"] = 0] = "Pass";
|
|
101
|
+
BidType[BidType["Clubs"] = 1] = "Clubs";
|
|
102
|
+
BidType[BidType["Diamonds"] = 2] = "Diamonds";
|
|
103
|
+
BidType[BidType["Hearts"] = 3] = "Hearts";
|
|
104
|
+
BidType[BidType["Spades"] = 4] = "Spades";
|
|
105
|
+
BidType[BidType["NoTrumps"] = 5] = "NoTrumps";
|
|
106
|
+
BidType[BidType["AllTrumps"] = 6] = "AllTrumps";
|
|
107
|
+
BidType[BidType["Double"] = 7] = "Double";
|
|
108
|
+
BidType[BidType["ReDouble"] = 8] = "ReDouble";
|
|
109
|
+
})(exports.BidType || (exports.BidType = {}));
|
|
110
110
|
|
|
111
111
|
//export type AnnounceType = "Belot" | "SequenceOf3" | "SequenceOf4" | "SequenceOf5";
|
|
112
112
|
/* */
|
package/package.json
CHANGED
package/rollup.config.mjs
CHANGED
|
@@ -8,8 +8,8 @@ const typescriptOptions = {
|
|
|
8
8
|
|
|
9
9
|
const copyOptions = {
|
|
10
10
|
targets: [
|
|
11
|
-
//{ src: 'src/
|
|
12
|
-
{ src: 'src/
|
|
11
|
+
//{ src: 'src/Types/*', dest: 'dist/esm/Types' },
|
|
12
|
+
{ src: 'src/Types/*', dest: 'dist/cjs/Types' },
|
|
13
13
|
]
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//export type AnnounceType = "Belot" | "SequenceOf3" | "SequenceOf4" | "SequenceOf5";
|
|
2
|
-
|
|
3
|
-
/* */
|
|
4
|
-
export enum AnnounceType
|
|
5
|
-
{
|
|
6
|
-
Belot,
|
|
7
|
-
SequenceOf3,
|
|
8
|
-
SequenceOf4,
|
|
9
|
-
SequenceOf5,
|
|
10
|
-
SequenceOf6,
|
|
11
|
-
SequenceOf7,
|
|
12
|
-
SequenceOf8,
|
|
13
|
-
FourOfAKind,
|
|
14
|
-
FourNines,
|
|
15
|
-
FourJacks,
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//export = AnnounceType;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CardSuit } from './cardSuit';
|
|
2
|
-
import { BridgeBeloteCardType } from './bridgeBeloteCardType';
|
|
3
|
-
import { ContractBridgeCardType } from './contractBridgeCardType';
|
|
4
|
-
import { PlayerPosition } from './playerPosition';
|
|
5
|
-
|
|
6
|
-
export interface CardDto
|
|
7
|
-
{
|
|
8
|
-
Suit: CardSuit;
|
|
9
|
-
Type: BridgeBeloteCardType | ContractBridgeCardType;
|
|
10
|
-
|
|
11
|
-
position: PlayerPosition;
|
|
12
|
-
cardIndex: string;
|
|
13
|
-
animate: boolean;
|
|
14
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|