jl-sprt-core 1.1.4 → 1.1.5

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.
@@ -1,4 +1,4 @@
1
- import { A_Team } from "../A_Team";
1
+ import { A_Team, ITeamCreator } from "../A_Team";
2
2
  import { A_TeamRoster } from "../A_TeamRoster";
3
3
  import { A_TeamTableItem } from "./A_TeamTableItem";
4
4
  import { A_Result, IResultInfo } from "../Match/A_Result";
@@ -29,6 +29,10 @@ export interface ISportProfile<MS extends TMatchScore, Res extends string, Punt
29
29
  * Crea un resultado vacío para un partido entre dos equipos.
30
30
  */
31
31
  createResult(teamOneId: string, teamTwoId: string): A_Result<MS>;
32
+ /**
33
+ * Crea un team especifico de equipo
34
+ */
35
+ createTeam(creator: ITeamCreator): A_Team<TR>;
32
36
  /**
33
37
  * Crea un item de tabla para un equipo en un BaseStage.
34
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jl-sprt-core",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",