@natrave/shared-entities 1.3.6 → 1.3.7
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 { ITournamentMatch, TournamentMatchPhase } from '@natrave/tournaments-service-types';
|
|
1
|
+
import { ITournamentMatch, MatchStatus, TournamentMatchPhase } from '@natrave/tournaments-service-types';
|
|
2
2
|
import { TournamentBracket } from '../tournament-brackets';
|
|
3
3
|
import { TournamentFacility } from '../tournament-facilities';
|
|
4
4
|
import { TournamentMatchCard } from '../tournament-match-cards';
|
|
@@ -14,6 +14,7 @@ export declare class TournamentMatch implements ITournamentMatch {
|
|
|
14
14
|
matchDate: string | null;
|
|
15
15
|
leg: number;
|
|
16
16
|
time: string | null;
|
|
17
|
+
status: MatchStatus;
|
|
17
18
|
phase: TournamentMatchPhase;
|
|
18
19
|
roundIndicator: number;
|
|
19
20
|
createdAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-match.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-matches/tournament-match.entity.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"tournament-match.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-matches/tournament-match.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;AAa5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAO5C,qBAKa,eAAgB,YAAW,gBAAgB;IAItD,EAAE,EAAE,MAAM,CAAC;IAOX,YAAY,EAAE,MAAM,CAAC;IAQrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ1B,UAAU,CAAC,EAAE,MAAM,CAAC;IASpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAQzB,GAAG,EAAE,MAAM,CAAC;IASZ,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAQpB,MAAM,EAAE,WAAW,CAAC;IAOpB,KAAK,EAAE,oBAAoB,CAAC;IAQ5B,cAAc,EAAE,MAAM,CAAC;IAOvB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAM9B,UAAU,EAAE,UAAU,CAAC;IAMvB,QAAQ,EAAE,cAAc,CAAC;IAMzB,QAAQ,EAAE,cAAc,CAAC;IAGzB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAG7B,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAG7B,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IAGtC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;CACxC"}
|
|
@@ -8,7 +8,10 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
8
8
|
if (kind && result) __defProp(target, key, result);
|
|
9
9
|
return result;
|
|
10
10
|
};
|
|
11
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
MatchStatus,
|
|
13
|
+
TournamentMatchPhase
|
|
14
|
+
} from "@natrave/tournaments-service-types";
|
|
12
15
|
import {
|
|
13
16
|
Column,
|
|
14
17
|
CreateDateColumn,
|
|
@@ -91,6 +94,14 @@ __decorateClass([
|
|
|
91
94
|
comment: "Hor\xE1rio previsto para o in\xEDcio da partida (HH:MM:SS)."
|
|
92
95
|
})
|
|
93
96
|
], TournamentMatch.prototype, "time", 2);
|
|
97
|
+
__decorateClass([
|
|
98
|
+
Column({
|
|
99
|
+
type: "enum",
|
|
100
|
+
enum: MatchStatus,
|
|
101
|
+
default: MatchStatus.SCHEDULED,
|
|
102
|
+
comment: "Situa\xE7\xE3o da partida."
|
|
103
|
+
})
|
|
104
|
+
], TournamentMatch.prototype, "status", 2);
|
|
94
105
|
__decorateClass([
|
|
95
106
|
Column({
|
|
96
107
|
type: "enum",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@changesets/cli": "^2.29.4",
|
|
29
29
|
"@eslint/js": "^9.29.0",
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^8.34.
|
|
31
|
-
"@typescript-eslint/parser": "^8.34.
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
31
|
+
"@typescript-eslint/parser": "^8.34.1",
|
|
32
32
|
"esbuild": "^0.25.5",
|
|
33
33
|
"eslint": "^9.29.0",
|
|
34
34
|
"eslint-config-prettier": "^10.1.5",
|
|
35
35
|
"eslint-import-resolver-typescript": "^4.4.3",
|
|
36
36
|
"eslint-plugin-import": "^2.31.0",
|
|
37
|
-
"eslint-plugin-prettier": "^5.
|
|
37
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
38
38
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
39
39
|
"glob": "^11.0.3",
|
|
40
40
|
"husky": "^9.1.7",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@natrave/auth-service-types": "^1.1.63",
|
|
47
47
|
"@natrave/facility-service-types": "^0.0.9",
|
|
48
48
|
"@natrave/notification-service-types": "^1.1.65",
|
|
49
|
-
"@natrave/tournaments-service-types": "^1.2.
|
|
49
|
+
"@natrave/tournaments-service-types": "^1.2.18",
|
|
50
50
|
"reflect-metadata": "^0.2.2",
|
|
51
51
|
"typeorm": "^0.3.24"
|
|
52
52
|
},
|