@natrave/shared-entities 1.4.69 → 1.4.72
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-groups/tournament-group.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-groups/tournament-group.entity.js +4 -1
- 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 +2 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-group.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-groups/tournament-group.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAatE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,
|
|
1
|
+
{"version":3,"file":"tournament-group.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-groups/tournament-group.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAatE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBAKa,eAAgB,YAAW,gBAAgB;IAItD,EAAE,EAAE,MAAM,CAAC;IAOX,YAAY,EAAE,MAAM,CAAC;IAOrB,IAAI,EAAE,MAAM,CAAC;IAOb,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAWhB,UAAU,EAAE,UAAU,CAAC;IAMvB,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB"}
|
|
@@ -67,7 +67,10 @@ __decorateClass([
|
|
|
67
67
|
], TournamentGroup.prototype, "teams", 2);
|
|
68
68
|
TournamentGroup = __decorateClass([
|
|
69
69
|
Entity("tournament_groups"),
|
|
70
|
-
Index("IDX_tournament_group_tournament_id", ["tournamentId"])
|
|
70
|
+
Index("IDX_tournament_group_tournament_id", ["tournamentId"]),
|
|
71
|
+
Index("UQ_tournament_groups_tournament_id_name", ["tournamentId", "name"], {
|
|
72
|
+
unique: true
|
|
73
|
+
})
|
|
71
74
|
], TournamentGroup);
|
|
72
75
|
export {
|
|
73
76
|
TournamentGroup
|
|
@@ -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;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,qBAca,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;
|
|
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,qBAca,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;IAQhB,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"}
|
|
@@ -71,6 +71,7 @@ __decorateClass([
|
|
|
71
71
|
], TournamentMatchCard.prototype, "matchId", 2);
|
|
72
72
|
__decorateClass([
|
|
73
73
|
Column({
|
|
74
|
+
name: "card_type",
|
|
74
75
|
type: "enum",
|
|
75
76
|
enum: CardType,
|
|
76
77
|
comment: "Tipo de cart\xE3o emitido (ex: amarelo, vermelho)."
|
|
@@ -121,7 +122,7 @@ TournamentMatchCard = __decorateClass([
|
|
|
121
122
|
where: '"deleted_at" IS NULL'
|
|
122
123
|
}),
|
|
123
124
|
Index("idx_tournament_cards_red_only", ["matchId", "teamId"], {
|
|
124
|
-
where: `"
|
|
125
|
+
where: `"card_type" = 'red'`
|
|
125
126
|
})
|
|
126
127
|
], TournamentMatchCard);
|
|
127
128
|
export {
|