@natrave/shared-entities 1.2.23 → 1.2.24
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/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts +4 -4
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts +6 -6
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-rules/tournament-rule.entity.js +8 -1
- package/package.json +2 -2
|
@@ -4,10 +4,10 @@ export declare class TournamentFormatConfig implements ITournamentFormatConfig {
|
|
|
4
4
|
id: number;
|
|
5
5
|
tournamentId: number;
|
|
6
6
|
format: TournamentFormat;
|
|
7
|
-
numberOfGroups
|
|
8
|
-
initialPhaseMatchMode
|
|
9
|
-
knockoutStartPhase
|
|
10
|
-
knockoutMatchMode
|
|
7
|
+
numberOfGroups?: number | null;
|
|
8
|
+
initialPhaseMatchMode?: MatchLegMode | null;
|
|
9
|
+
knockoutStartPhase?: KnockoutPhase | null;
|
|
10
|
+
knockoutMatchMode?: MatchLegMode | null;
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
updatedAt: Date;
|
|
13
13
|
tournament: Tournament;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-format-config.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-format-configs/tournament-format-config.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAW5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAc5C,qBACa,sBAAuB,YAAW,uBAAuB;IAIpE,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,gBAAgB,CAAC;IAQzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"tournament-format-config.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-format-configs/tournament-format-config.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAW5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAc5C,qBACa,sBAAuB,YAAW,uBAAuB;IAIpE,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,gBAAgB,CAAC;IAQzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAU/B,qBAAqB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAU5C,kBAAkB,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAU1C,iBAAiB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAOxC,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -3,13 +3,13 @@ import { Tournament } from '../tournaments';
|
|
|
3
3
|
export declare class TournamentRule implements ITournamentRule {
|
|
4
4
|
id: number;
|
|
5
5
|
tournamentId: number;
|
|
6
|
-
maxPlayerPerTeam
|
|
7
|
-
minPlayerPerTeam
|
|
8
|
-
minAge
|
|
9
|
-
maxAge?: number;
|
|
6
|
+
maxPlayerPerTeam?: number | null;
|
|
7
|
+
minPlayerPerTeam?: number | null;
|
|
8
|
+
minAge?: number | null;
|
|
9
|
+
maxAge?: number | null;
|
|
10
10
|
expectedTeams: number;
|
|
11
|
-
notes?: string;
|
|
12
|
-
regulationPdfUrl?: string;
|
|
11
|
+
notes?: string | null;
|
|
12
|
+
regulationPdfUrl?: string | null;
|
|
13
13
|
createdAt: Date;
|
|
14
14
|
updatedAt: Date;
|
|
15
15
|
tournament: Tournament;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-rule.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-rules/tournament-rule.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAYrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBAIa,cAAe,YAAW,eAAe;IAEpD,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"tournament-rule.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-rules/tournament-rule.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAYrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBAIa,cAAe,YAAW,eAAe;IAEpD,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;IAQrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAQvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,aAAa,EAAE,MAAM,CAAC;IAQtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAStB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAOjC,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAKhB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -36,6 +36,7 @@ __decorateClass([
|
|
|
36
36
|
Column({
|
|
37
37
|
name: "max_player_per_team",
|
|
38
38
|
type: "int",
|
|
39
|
+
nullable: true,
|
|
39
40
|
comment: "N\xFAmero m\xE1ximo de jogadores por time."
|
|
40
41
|
})
|
|
41
42
|
], TournamentRule.prototype, "maxPlayerPerTeam", 2);
|
|
@@ -43,11 +44,17 @@ __decorateClass([
|
|
|
43
44
|
Column({
|
|
44
45
|
name: "min_player_per_team",
|
|
45
46
|
type: "int",
|
|
47
|
+
nullable: true,
|
|
46
48
|
comment: "N\xFAmero m\xEDnimo de jogadores por time."
|
|
47
49
|
})
|
|
48
50
|
], TournamentRule.prototype, "minPlayerPerTeam", 2);
|
|
49
51
|
__decorateClass([
|
|
50
|
-
Column({
|
|
52
|
+
Column({
|
|
53
|
+
name: "min_age",
|
|
54
|
+
type: "int",
|
|
55
|
+
nullable: true,
|
|
56
|
+
comment: "Idade m\xEDnima permitida para participa\xE7\xE3o."
|
|
57
|
+
})
|
|
51
58
|
], TournamentRule.prototype, "minAge", 2);
|
|
52
59
|
__decorateClass([
|
|
53
60
|
Column({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"ts-node": "^10.9.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@natrave/tournaments-service-types": "^1.1.
|
|
46
|
+
"@natrave/tournaments-service-types": "^1.1.32",
|
|
47
47
|
"reflect-metadata": "^0.2.2",
|
|
48
48
|
"typeorm": "^0.3.22"
|
|
49
49
|
},
|