@natrave/shared-entities 1.4.19 → 1.4.20
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-match-cards/tournament-match-card.entity.d.ts +1 -0
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.js +9 -0
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.d.ts +1 -0
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.js +9 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-match-card.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-cards/tournament-match-card.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,WAAW,EACX,KAAK,oBAAoB,EAC1B,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"tournament-match-card.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-cards/tournament-match-card.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,WAAW,EACX,KAAK,oBAAoB,EAC1B,MAAM,oCAAoC,CAAC;AAa5C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAarD,qBAIa,mBAAoB,YAAW,oBAAoB;IAI9D,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,CAAC,EAAE,MAAM,CAAC;IAQhB,MAAM,CAAC,EAAE,WAAW,CAAC;IAOrB,QAAQ,EAAE,MAAM,CAAC;IAOjB,MAAM,EAAE,MAAM,CAAC;IAOf,OAAO,EAAE,MAAM,CAAC;IAOhB,QAAQ,EAAE,QAAQ,CAAC;IAQnB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAOvB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,IAAI,EAAE,cAAc,CAAC;IAOrB,KAAK,EAAE,eAAe,CAAC;IAOvB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
Column,
|
|
17
17
|
CreateDateColumn,
|
|
18
|
+
DeleteDateColumn,
|
|
18
19
|
Entity,
|
|
19
20
|
Index,
|
|
20
21
|
JoinColumn,
|
|
@@ -75,6 +76,14 @@ __decorateClass([
|
|
|
75
76
|
comment: "Tipo de cart\xE3o emitido (ex: amarelo, vermelho)."
|
|
76
77
|
})
|
|
77
78
|
], TournamentMatchCard.prototype, "cardType", 2);
|
|
79
|
+
__decorateClass([
|
|
80
|
+
DeleteDateColumn({
|
|
81
|
+
name: "deleted_at",
|
|
82
|
+
type: "timestamptz",
|
|
83
|
+
nullable: true,
|
|
84
|
+
comment: "Data e hora em que o cart\xE3o foi deletado (soft delete), se aplic\xE1vel."
|
|
85
|
+
})
|
|
86
|
+
], TournamentMatchCard.prototype, "deletedAt", 2);
|
|
78
87
|
__decorateClass([
|
|
79
88
|
CreateDateColumn({
|
|
80
89
|
name: "created_at",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-match-goal.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-goals/tournament-match-goal.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"tournament-match-goal.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-goals/tournament-match-goal.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAavF,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAOrD,qBAGa,mBAAoB,YAAW,oBAAoB;IAI9D,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,EAAE,MAAM,CAAC;IAOf,OAAO,EAAE,MAAM,CAAC;IAOhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAQhB,MAAM,CAAC,EAAE,WAAW,CAAC;IAQrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAQlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAQlB,OAAO,EAAE,OAAO,CAAC;IAQjB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAOvB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAMhB,IAAI,CAAC,EAAE,cAAc,CAAC;IAItB,KAAK,CAAC,EAAE,eAAe,CAAC;IAIxB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAI1B,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
|
@@ -12,6 +12,7 @@ import { MatchPeriod } from "@natrave/tournaments-service-types";
|
|
|
12
12
|
import {
|
|
13
13
|
Column,
|
|
14
14
|
CreateDateColumn,
|
|
15
|
+
DeleteDateColumn,
|
|
15
16
|
Entity,
|
|
16
17
|
Index,
|
|
17
18
|
JoinColumn,
|
|
@@ -82,6 +83,14 @@ __decorateClass([
|
|
|
82
83
|
comment: "Indica se o gol foi contra (a favor do advers\xE1rio)."
|
|
83
84
|
})
|
|
84
85
|
], TournamentMatchGoal.prototype, "ownGoal", 2);
|
|
86
|
+
__decorateClass([
|
|
87
|
+
DeleteDateColumn({
|
|
88
|
+
name: "deleted_at",
|
|
89
|
+
type: "timestamptz",
|
|
90
|
+
nullable: true,
|
|
91
|
+
comment: "Data e hora em que o gol foi deletado (soft delete), se aplic\xE1vel."
|
|
92
|
+
})
|
|
93
|
+
], TournamentMatchGoal.prototype, "deletedAt", 2);
|
|
85
94
|
__decorateClass([
|
|
86
95
|
CreateDateColumn({
|
|
87
96
|
name: "created_at",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.20",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -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.71",
|
|
49
|
-
"@natrave/tournaments-service-types": "^1.3.
|
|
49
|
+
"@natrave/tournaments-service-types": "^1.3.11",
|
|
50
50
|
"reflect-metadata": "^0.2.2",
|
|
51
51
|
"typeorm": "^0.3.25"
|
|
52
52
|
},
|