@vankosoft/game-platform 0.3.0 → 1.0.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 +10 -0
- package/VERSION +1 -1
- package/dist/cjs/Dto/Actions/actionDto.d.ts +5 -0
- package/dist/cjs/Dto/Actions/announceMadeActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/bidMadeActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/biddingStartedActionDto.d.ts +13 -0
- package/dist/cjs/Dto/Actions/boardGameCreatedActionDto.d.ts +9 -0
- package/dist/cjs/Dto/Actions/boardGameEndedActionDto.d.ts +9 -0
- package/dist/cjs/Dto/Actions/boardGameRestoreActionDto.d.ts +11 -0
- package/dist/cjs/Dto/Actions/cardGameCreatedActionDto.d.ts +9 -0
- package/dist/cjs/Dto/Actions/cardGameEndedActionDto.d.ts +9 -0
- package/dist/cjs/Dto/Actions/cardGameRestoreActionDto.d.ts +9 -0
- package/dist/cjs/Dto/Actions/chessGameStartedActionDto.d.ts +10 -0
- package/dist/cjs/Dto/Actions/chessInvalidMoveMadeActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/chessMoveMadeActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/chessOpponentMoveActionDto.d.ts +13 -0
- package/dist/cjs/Dto/Actions/connectionInfoActionDto.d.ts +6 -0
- package/dist/cjs/Dto/Actions/dicesRolledActionDto.d.ts +12 -0
- package/dist/cjs/Dto/Actions/doublingActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/hintMovesActionDto.d.ts +8 -0
- package/dist/cjs/Dto/Actions/movesMadeActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/opponentBidsActionDto.d.ts +15 -0
- package/dist/cjs/Dto/Actions/opponentMoveActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/opponentPlayCardActionDto.d.ts +14 -0
- package/dist/cjs/Dto/Actions/playCardActionDto.d.ts +11 -0
- package/dist/cjs/Dto/Actions/playingStartedActionDto.d.ts +16 -0
- package/dist/cjs/Dto/Actions/rolledActionDto.d.ts +5 -0
- package/dist/cjs/Dto/Actions/roundEndedActionDto.d.ts +13 -0
- package/dist/cjs/Dto/Actions/serverWasTerminatedActionDto.d.ts +4 -0
- package/dist/cjs/Dto/Actions/startGamePlayActionDto.d.ts +9 -0
- package/dist/cjs/Dto/Actions/startNewGameActionDto.d.ts +5 -0
- package/dist/cjs/Dto/Actions/startNewRoundActionDto.d.ts +5 -0
- package/dist/cjs/Dto/Actions/trickEndedActionDto.d.ts +7 -0
- package/dist/cjs/Dto/Actions/undoActionDto.d.ts +4 -0
- package/dist/cjs/Dto/BoardGame/checkerDto.d.ts +5 -0
- package/dist/cjs/{Types → Dto}/BoardGame/chessMoveDto.d.ts +3 -3
- package/dist/cjs/Dto/BoardGame/chessPieceDto.d.ts +9 -0
- package/dist/cjs/{Types → Dto}/BoardGame/gameDto.d.ts +3 -2
- package/dist/cjs/Dto/BoardGame/index.d.ts +9 -0
- package/dist/cjs/Dto/BoardGame/index.ts +9 -0
- package/dist/cjs/{Types → Dto}/BoardGame/moveDto.d.ts +1 -1
- package/dist/cjs/{Types → Dto}/BoardGame/playerDto.d.ts +2 -2
- package/dist/cjs/{Types → Dto}/CardGame/announceDto.d.ts +2 -2
- package/dist/cjs/{Types → Dto}/CardGame/bidDto.d.ts +2 -2
- package/dist/cjs/Dto/CardGame/cardDto.d.ts +14 -0
- package/dist/cjs/{Types → Dto}/CardGame/gameDto.d.ts +3 -3
- package/dist/cjs/Dto/CardGame/index.d.ts +6 -0
- package/dist/cjs/Dto/CardGame/index.ts +6 -0
- package/dist/cjs/Dto/CardGame/playerDto.d.ts +6 -0
- package/dist/cjs/Dto/admin/playedGameDto.d.ts +10 -0
- package/dist/cjs/Dto/admin/playedGameListDto.d.ts +7 -0
- package/dist/cjs/Dto/chat/chatDto.d.ts +5 -0
- package/dist/cjs/Dto/chat/chatMessageDto.d.ts +9 -0
- package/dist/cjs/Dto/chat/joinedChatDto.d.ts +7 -0
- package/dist/cjs/Dto/chat/leftChatDto.d.ts +7 -0
- package/dist/cjs/Dto/editor/gameStringRequest.d.ts +10 -0
- package/dist/cjs/Dto/editor/gameStringResponseDto.d.ts +6 -0
- package/dist/cjs/Dto/feedback/feedbackDto.d.ts +8 -0
- package/dist/cjs/{Types/Core → Dto}/gameCookieDto.d.ts +2 -2
- package/dist/cjs/{Types/Core → Dto}/gameDto.d.ts +1 -1
- package/dist/cjs/Dto/index.d.ts +9 -0
- package/dist/cjs/Dto/index.ts +12 -0
- package/dist/cjs/Dto/message/messageDto.d.ts +12 -0
- package/dist/cjs/Dto/rest/inviteResponseDto.d.ts +6 -0
- package/dist/cjs/Enum/actionNames.d.ts +33 -0
- package/dist/cjs/Enum/messageType.d.ts +6 -0
- package/dist/cjs/Model/announce.d.ts +4 -0
- package/dist/cjs/Model/card-area.d.ts +13 -0
- package/dist/cjs/Model/card-drag.d.ts +13 -0
- package/dist/cjs/Model/card-game-player-area.d.ts +11 -0
- package/dist/cjs/Model/card.d.ts +7 -0
- package/dist/cjs/Model/checker-area.d.ts +18 -0
- package/dist/cjs/Model/checker-drag.d.ts +10 -0
- package/dist/cjs/Model/checker.d.ts +6 -0
- package/dist/cjs/Model/index.d.ts +9 -0
- package/dist/cjs/Model/move-animation.d.ts +17 -0
- package/dist/cjs/Model/pile.d.ts +6 -0
- package/dist/cjs/Model/point.d.ts +5 -0
- package/dist/cjs/Model/themes.d.ts +91 -0
- package/dist/cjs/{Types/CardGame → Type}/CardGameAnnounceSymbolModel.d.ts +1 -1
- package/dist/cjs/Type/auth.d.ts +15 -0
- package/dist/cjs/Type/index.d.ts +8 -0
- package/dist/cjs/Type/index.ts +11 -0
- package/dist/cjs/Type/mercure-action.d.ts +6 -0
- package/dist/cjs/Type/signed-url-response.d.ts +5 -0
- package/dist/cjs/Type/toggle-sound-mute-response.d.ts +5 -0
- package/dist/cjs/Utils/helper.d.ts +9 -0
- package/dist/cjs/Utils/keys.d.ts +5 -0
- package/dist/cjs/Utils/status-message.d.ts +15 -0
- package/dist/cjs/game.variant.d.ts +10 -0
- package/dist/cjs/index.d.ts +108 -46
- package/dist/cjs/index.js +735 -40
- package/package.json +1 -1
- package/rollup.config.mjs +3 -1
- package/dist/cjs/Types/BoardGame/checkerDto.d.ts +0 -5
- package/dist/cjs/Types/BoardGame/chessPieceDto.d.ts +0 -9
- package/dist/cjs/Types/CardGame/cardDto.d.ts +0 -14
- package/dist/cjs/Types/CardGame/playerDto.d.ts +0 -6
- /package/dist/cjs/{Types → Dto}/BoardGame/chessSquareDto.d.ts +0 -0
- /package/dist/cjs/{Types → Dto}/BoardGame/diceDto.d.ts +0 -0
- /package/dist/cjs/{Types → Dto}/BoardGame/pointDto.d.ts +0 -0
- /package/dist/cjs/{Types → Dto}/CardGame/bridgeBeloteScoreDto.d.ts +0 -0
- /package/dist/cjs/{Types/Core → Dto}/connectionDto.d.ts +0 -0
- /package/dist/cjs/{Types/Core → Dto}/errorReportDto.d.ts +0 -0
- /package/dist/cjs/{Types/Core → Dto}/newScoreDto.d.ts +0 -0
- /package/dist/cjs/{Types/Core → Dto}/playerDto.d.ts +0 -0
- /package/dist/cjs/{Types/Core → Dto}/userDto.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/announceType.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/bidType.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/bridgeBeloteCardType.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/cardGameTeam.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/cardSuit.d.ts +0 -0
- /package/dist/cjs/{BoardGame → Enum}/chessMoveType.d.ts +0 -0
- /package/dist/cjs/{BoardGame → Enum}/chessPieceType.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/contractBridgeCardType.d.ts +0 -0
- /package/dist/cjs/{gameState.d.ts → Enum/gameState.d.ts} +0 -0
- /package/dist/cjs/{BoardGame → Enum}/playerColor.d.ts +0 -0
- /package/dist/cjs/{CardGame → Enum}/playerPosition.d.ts +0 -0
- /package/dist/cjs/{Types → Type}/GameInterface.d.ts +0 -0
- /package/dist/cjs/{Types → Type}/GamePlayInterface.d.ts +0 -0
- /package/dist/cjs/{Types → Type}/GamePlayerModel.d.ts +0 -0
- /package/dist/cjs/{Types → Type}/GameRoomInterface.d.ts +0 -0
- /package/dist/cjs/{Types → Type}/GameRoomModel.d.ts +0 -0
- /package/dist/cjs/{Types → Type}/PlayerInterface.d.ts +0 -0
- /package/dist/cjs/{Types/BoardGame → Type}/toplist.d.ts +0 -0
- /package/dist/cjs/{Types/BoardGame → Type}/toplistResult.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
1.0.0 | Release date: **16.08.2026**
|
|
2
|
+
============================================
|
|
3
|
+
* New Features:
|
|
4
|
+
- Refactoring of All Types
|
|
5
|
+
- Add Models.
|
|
6
|
+
- Add More Types.
|
|
7
|
+
- Add More DTO Intefaces.
|
|
8
|
+
- Add Some Utils Components.
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
0.3.0 | Release date: **15.08.2026**
|
|
2
12
|
============================================
|
|
3
13
|
* New Features:
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
1.0.0
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
5
|
+
import { BidDto } from '../CardGame/bidDto';
|
|
6
|
+
|
|
7
|
+
export interface BiddingStartedActionDto extends ActionDto {
|
|
8
|
+
deck: CardDto[];
|
|
9
|
+
playerCards: Array<CardDto[]>;
|
|
10
|
+
firstToBid: PlayerPosition;
|
|
11
|
+
validBids: BidDto[];
|
|
12
|
+
timer: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { BoardGameDto } from '../BoardGame/gameDto';
|
|
4
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
5
|
+
|
|
6
|
+
export interface BoardGameCreatedActionDto extends ActionDto {
|
|
7
|
+
game: BoardGameDto;
|
|
8
|
+
myColor: PlayerColor;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
4
|
+
import { BoardGameDto } from '../BoardGame/gameDto';
|
|
5
|
+
import { DiceDto } from '../BoardGame/diceDto';
|
|
6
|
+
|
|
7
|
+
export interface BoardGameRestoreActionDto extends ActionDto {
|
|
8
|
+
game: BoardGameDto;
|
|
9
|
+
color: PlayerColor;
|
|
10
|
+
dices: DiceDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { CardGameDto } from '../CardGame/gameDto';
|
|
4
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
5
|
+
|
|
6
|
+
export interface CardGameCreatedActionDto extends ActionDto {
|
|
7
|
+
game: CardGameDto;
|
|
8
|
+
myPosition: PlayerPosition;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { CardGameDto } from '../CardGame/gameDto';
|
|
4
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
5
|
+
|
|
6
|
+
export interface CardGameRestoreActionDto extends ActionDto {
|
|
7
|
+
game: CardGameDto;
|
|
8
|
+
position: PlayerPosition;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
4
|
+
import { BoardGameDto } from '../BoardGame/gameDto';
|
|
5
|
+
|
|
6
|
+
export interface ChessGameStartedActionDto extends ActionDto {
|
|
7
|
+
playerToMove: PlayerColor;
|
|
8
|
+
moveTimer: number;
|
|
9
|
+
game: BoardGameDto;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { ChessMoveDto } from '../BoardGame/chessMoveDto';
|
|
4
|
+
import { BoardGameDto } from '../BoardGame/gameDto';
|
|
5
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
6
|
+
|
|
7
|
+
export interface ChessOpponentMoveActionDto extends ActionDto {
|
|
8
|
+
move?: ChessMoveDto;
|
|
9
|
+
myColor: PlayerColor;
|
|
10
|
+
|
|
11
|
+
game?: BoardGameDto;
|
|
12
|
+
moveTimer?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
4
|
+
import { DiceDto } from '../BoardGame/diceDto';
|
|
5
|
+
import { MoveDto } from '../BoardGame/moveDto';
|
|
6
|
+
|
|
7
|
+
export interface DicesRolledActionDto extends ActionDto {
|
|
8
|
+
dices: DiceDto[];
|
|
9
|
+
playerToMove: PlayerColor;
|
|
10
|
+
validMoves: MoveDto[];
|
|
11
|
+
moveTimer: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { GameState } from '../../Enum/gameState';
|
|
5
|
+
import { BidDto } from '../CardGame/bidDto';
|
|
6
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
7
|
+
|
|
8
|
+
export interface OpponentBidsActionDto extends ActionDto {
|
|
9
|
+
bid: BidDto;
|
|
10
|
+
validBids: BidDto[];
|
|
11
|
+
nextPlayer: PlayerPosition;
|
|
12
|
+
playState: GameState;
|
|
13
|
+
|
|
14
|
+
MyCards: CardDto[] | undefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
5
|
+
|
|
6
|
+
export interface OpponentPlayCardActionDto extends ActionDto {
|
|
7
|
+
Card: CardDto;
|
|
8
|
+
Belote: boolean;
|
|
9
|
+
Player: PlayerPosition;
|
|
10
|
+
TrickNumber: number;
|
|
11
|
+
|
|
12
|
+
validCards: CardDto[];
|
|
13
|
+
nextPlayer: PlayerPosition;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
5
|
+
|
|
6
|
+
export interface PlayCardActionDto extends ActionDto {
|
|
7
|
+
Card: CardDto;
|
|
8
|
+
Belote: boolean;
|
|
9
|
+
Player: PlayerPosition;
|
|
10
|
+
TrickNumber: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
5
|
+
import { BidDto } from '../CardGame/bidDto';
|
|
6
|
+
import { AnnounceDto } from '../CardGame/announceDto';
|
|
7
|
+
|
|
8
|
+
export interface PlayingStartedActionDto extends ActionDto {
|
|
9
|
+
deck: CardDto[];
|
|
10
|
+
playerCards: Array<CardDto[]>;
|
|
11
|
+
playerAnnounces: Array<AnnounceDto[]>;
|
|
12
|
+
firstToPlay: PlayerPosition;
|
|
13
|
+
contract: BidDto
|
|
14
|
+
validCards: CardDto[];
|
|
15
|
+
timer: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { CardGameDto } from '../CardGame/gameDto';
|
|
4
|
+
import { BridgeBeloteScoreDto } from '../CardGame/bridgeBeloteScoreDto';
|
|
5
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
6
|
+
|
|
7
|
+
export interface RoundEndedActionDto extends ActionDto {
|
|
8
|
+
game: CardGameDto;
|
|
9
|
+
newScore: BridgeBeloteScoreDto;
|
|
10
|
+
|
|
11
|
+
SouthNorthTricks: CardDto[];
|
|
12
|
+
EastWestTricks: CardDto[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { BoardGameDto } from '../BoardGame/gameDto';
|
|
4
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
5
|
+
|
|
6
|
+
export interface StartGamePlayActionDto extends ActionDto {
|
|
7
|
+
game: BoardGameDto;
|
|
8
|
+
myColor: PlayerColor;
|
|
9
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PlayerColor } from '../../
|
|
2
|
-
import { ChessMoveType } from '../../
|
|
3
|
-
import { ChessPieceType } from '../../
|
|
1
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
2
|
+
import { ChessMoveType } from '../../Enum/chessMoveType';
|
|
3
|
+
import { ChessPieceType } from '../../Enum/chessPieceType';
|
|
4
4
|
|
|
5
5
|
export interface ChessMoveDto
|
|
6
6
|
{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
2
|
+
|
|
3
|
+
import { GameDto } from '../gameDto';
|
|
2
4
|
import { BoardGamePlayerDto } from './playerDto';
|
|
3
|
-
import { PlayerColor } from '../../BoardGame/playerColor';
|
|
4
5
|
import { PointDto } from './pointDto';
|
|
5
6
|
import { MoveDto } from './moveDto';
|
|
6
7
|
import { ChessSquareDto } from './chessSquareDto';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./gameDto";
|
|
2
|
+
export * from "./moveDto";
|
|
3
|
+
export * from "./playerDto";
|
|
4
|
+
export * from "./pointDto";
|
|
5
|
+
export * from "./checkerDto";
|
|
6
|
+
export * from "./diceDto";
|
|
7
|
+
export * from "./chessMoveDto";
|
|
8
|
+
export * from "./chessPieceDto";
|
|
9
|
+
export * from "./chessSquareDto";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./gameDto";
|
|
2
|
+
export * from "./moveDto";
|
|
3
|
+
export * from "./playerDto";
|
|
4
|
+
export * from "./pointDto";
|
|
5
|
+
export * from "./checkerDto";
|
|
6
|
+
export * from "./diceDto";
|
|
7
|
+
export * from "./chessMoveDto";
|
|
8
|
+
export * from "./chessPieceDto";
|
|
9
|
+
export * from "./chessSquareDto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PlayerColor } from '../../Enum/playerColor';
|
|
2
|
+
import { PlayerDto } from '../playerDto';
|
|
3
3
|
|
|
4
4
|
export interface BoardGamePlayerDto extends PlayerDto {
|
|
5
5
|
playerColor: PlayerColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PlayerPosition } from '../../
|
|
2
|
-
import { AnnounceType } from '../../
|
|
1
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
2
|
+
import { AnnounceType } from '../../Enum/announceType';
|
|
3
3
|
import { CardDto } from './cardDto';
|
|
4
4
|
|
|
5
5
|
export interface AnnounceDto
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CardSuit } from '../../Enum/cardSuit';
|
|
2
|
+
import { BridgeBeloteCardType } from '../../Enum/bridgeBeloteCardType';
|
|
3
|
+
import { ContractBridgeCardType } from '../../Enum/contractBridgeCardType';
|
|
4
|
+
import { PlayerPosition } from '../../Enum/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
|
-
import { GameDto } from '../
|
|
1
|
+
import { GameDto } from '../gameDto';
|
|
2
2
|
import { CardGamePlayerDto } from './playerDto';
|
|
3
|
-
import { PlayerPosition } from '../../
|
|
4
|
-
import { CardGameTeam } from '../../
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { CardGameTeam } from '../../Enum/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 '../Enum/playerColor';
|
|
2
|
+
import { PlayerPosition } from '../Enum/playerPosition';
|
|
3
3
|
|
|
4
4
|
export interface GameCookieDto
|
|
5
5
|
{
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./connectionDto";
|
|
2
|
+
export * from "./errorReportDto";
|
|
3
|
+
export * from "./userDto";
|
|
4
|
+
export * from "./gameDto";
|
|
5
|
+
export * from "./gameCookieDto";
|
|
6
|
+
export * from "./playerDto";
|
|
7
|
+
export * from "./newScoreDto";
|
|
8
|
+
export * from "./BoardGame";
|
|
9
|
+
export * from "./CardGame";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* */
|
|
2
|
+
export * from "./connectionDto";
|
|
3
|
+
export * from "./errorReportDto";
|
|
4
|
+
export * from "./userDto";
|
|
5
|
+
export * from "./gameDto";
|
|
6
|
+
export * from "./gameCookieDto";
|
|
7
|
+
export * from "./playerDto";
|
|
8
|
+
export * from "./newScoreDto";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export * from "./BoardGame";
|
|
12
|
+
export * from "./CardGame";
|