jp.ms.common.engine 1.0.1 → 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.
@@ -5,9 +5,9 @@ import { GamePlayer } from './game-player';
5
5
  import { GamePlayerMove } from './game-player-move';
6
6
  import { GameRoom, GameRoomConfig } from './game-room';
7
7
  import { GameRound } from './game-round';
8
- import { GameStateMachine } from './game-state-machine';
9
- import { GameTable } from './game-table';
8
+ import { GameStateMachine, StateMachineConfig } from './game-state-machine';
9
+ import { GameTable, GameTableConfig } from './game-table';
10
10
  import { GameTableSeat } from './game-table-seat';
11
11
  import { GameTableSeats } from './game-table-seats';
12
- export { GameControlPlayerTurn, GameControlRestart, GameMaster, GamePlayer, GamePlayerMove, GameRoom, GameRound, GameStateMachine, GameTable, GameTableSeat, GameTableSeats, GameRoomConfig, };
12
+ export { GameControlPlayerTurn, GameControlRestart, GameMaster, GamePlayer, GamePlayerMove, GameRoom, GameRound, GameStateMachine, StateMachineConfig, GameTable, GameTableConfig, GameTableSeat, GameTableSeats, GameRoomConfig, };
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,cAAc,EACd,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,cAAc,EACd,cAAc,GACjB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,cAAc,EACd,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,aAAa,EACb,cAAc,EACd,cAAc,GACjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":";;;AAAA,yEAAmE;AAa/D,sGAbK,gDAAqB,OAaL;AAZzB,iEAA4D;AAaxD,mGAbK,yCAAkB,OAaL;AAZtB,+CAA2C;AAavC,2FAbK,wBAAU,OAaL;AAZd,+CAA2C;AAavC,2FAbK,wBAAU,OAaL;AAZd,yDAAoD;AAahD,+FAbK,iCAAc,OAaL;AAZlB,2CAAuD;AAanD,yFAbK,oBAAQ,OAaL;AAZZ,6CAAyC;AAarC,0FAbK,sBAAS,OAaL;AAZb,6DAAwD;AAapD,iGAbK,qCAAgB,OAaL;AAZpB,6CAAyC;AAarC,0FAbK,sBAAS,OAaL;AAZb,uDAAkD;AAa9C,8FAbK,+BAAa,OAaL;AAZjB,yDAAoD;AAahD,+FAbK,iCAAc,OAaL"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":";;;AAAA,yEAAmE;AAa/D,sGAbK,gDAAqB,OAaL;AAZzB,iEAA4D;AAaxD,mGAbK,yCAAkB,OAaL;AAZtB,+CAA2C;AAavC,2FAbK,wBAAU,OAaL;AAZd,+CAA2C;AAavC,2FAbK,wBAAU,OAaL;AAZd,yDAAoD;AAahD,+FAbK,iCAAc,OAaL;AAZlB,2CAAuD;AAanD,yFAbK,oBAAQ,OAaL;AAZZ,6CAAyC;AAarC,0FAbK,sBAAS,OAaL;AAZb,6DAA4E;AAaxE,iGAbK,qCAAgB,OAaL;AAZpB,6CAA0D;AActD,0FAdK,sBAAS,OAcL;AAbb,uDAAkD;AAe9C,8FAfK,+BAAa,OAeL;AAdjB,yDAAoD;AAehD,+FAfK,iCAAc,OAeL"}
@@ -3,8 +3,8 @@ import { ScheduledTournamentRoom } from './scheduled-tournament-room';
3
3
  import { SimpleRoom } from './simple-room';
4
4
  import { ITournamentParticipant } from './tournament-participant';
5
5
  import { TournamentPrizes } from './tournament-prize';
6
- import { TournamentRoom } from './tournament-room';
6
+ import { TournamentRoom, TournamentRoomConfig } from './tournament-room';
7
7
  import { TournamentState } from './tournament-state';
8
8
  import { ITournamentWinner } from './tournament-winner';
9
- export { FastTournamentRoom, SimpleRoom, ITournamentParticipant, TournamentPrizes, ScheduledTournamentRoom, TournamentRoom, TournamentState, ITournamentWinner, };
9
+ export { TournamentRoomConfig, FastTournamentRoom, SimpleRoom, ITournamentParticipant, TournamentPrizes, ScheduledTournamentRoom, TournamentRoom, TournamentState, ITournamentWinner, };
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base-rooms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EACH,kBAAkB,EAClB,UAAU,EACV,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,eAAe,EACf,iBAAiB,GACpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base-rooms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EACH,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACV,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,eAAe,EACf,iBAAiB,GACpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base-rooms/index.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAUxD,mGAVK,yCAAkB,OAUL;AATtB,2EAAsE;AAalE,wGAbK,mDAAuB,OAaL;AAZ3B,+CAA2C;AASvC,2FATK,wBAAU,OASL;AANd,uDAAmD;AAU/C,+FAVK,gCAAc,OAUL;AATlB,yDAAqD;AAUjD,gGAVK,kCAAe,OAUL"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base-rooms/index.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAWxD,mGAXK,yCAAkB,OAWL;AAVtB,2EAAsE;AAclE,wGAdK,mDAAuB,OAcL;AAb3B,+CAA2C;AAUvC,2FAVK,wBAAU,OAUL;AAPd,uDAAyE;AAWrE,+FAXK,gCAAc,OAWL;AAVlB,yDAAqD;AAWjD,gGAXK,kCAAe,OAWL"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jp.ms.common.engine",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "node-schedule": "2.1.1",
13
13
  "seedrandom": "3.0.5",
14
14
  "shuffle-array": "1.0.1",
15
- "uuid": "13.0.0"
15
+ "uuid": "11.1.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/jest": "^29.5.14",
package/src/base/index.ts CHANGED
@@ -5,8 +5,8 @@ import { GamePlayer } from './game-player';
5
5
  import { GamePlayerMove } from './game-player-move';
6
6
  import { GameRoom, GameRoomConfig } from './game-room';
7
7
  import { GameRound } from './game-round';
8
- import { GameStateMachine } from './game-state-machine';
9
- import { GameTable } from './game-table';
8
+ import { GameStateMachine, StateMachineConfig } from './game-state-machine';
9
+ import { GameTable, GameTableConfig } from './game-table';
10
10
  import { GameTableSeat } from './game-table-seat';
11
11
  import { GameTableSeats } from './game-table-seats';
12
12
 
@@ -19,7 +19,9 @@ export {
19
19
  GameRoom,
20
20
  GameRound,
21
21
  GameStateMachine,
22
+ StateMachineConfig,
22
23
  GameTable,
24
+ GameTableConfig,
23
25
  GameTableSeat,
24
26
  GameTableSeats,
25
27
  GameRoomConfig,
@@ -3,11 +3,12 @@ import { ScheduledTournamentRoom } from './scheduled-tournament-room';
3
3
  import { SimpleRoom } from './simple-room';
4
4
  import { ITournamentParticipant } from './tournament-participant';
5
5
  import { TournamentPrizes } from './tournament-prize';
6
- import { TournamentRoom } from './tournament-room';
6
+ import { TournamentRoom, TournamentRoomConfig } from './tournament-room';
7
7
  import { TournamentState } from './tournament-state';
8
8
  import { ITournamentWinner } from './tournament-winner';
9
9
 
10
10
  export {
11
+ TournamentRoomConfig,
11
12
  FastTournamentRoom,
12
13
  SimpleRoom,
13
14
  ITournamentParticipant,