@natrave/shared-entities 7.16.0 → 7.17.0

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,22 +1,22 @@
1
- import { ITournamentMatchGoal, MatchPeriod } from '@natrave/tournaments-service-types';
1
+ import { MatchPeriod } from '@natrave/tournaments-service-types';
2
2
  import { TournamentMatch } from '../tournament-matches';
3
3
  import { TournamentPlayer } from '../tournament-players';
4
4
  import { TournamentTeam } from '../tournament-teams';
5
- export declare class TournamentMatchGoal implements ITournamentMatchGoal {
5
+ export declare class TournamentMatchGoal {
6
6
  id: number;
7
7
  teamId: number;
8
8
  matchId: number;
9
9
  minute?: number;
10
10
  period?: MatchPeriod;
11
- scorerId?: number;
12
- assistId?: number;
11
+ scorerId: number | null;
12
+ assistId: number | null;
13
13
  ownGoal: boolean;
14
14
  deletedAt: Date | null;
15
15
  createdAt: Date;
16
16
  updatedAt: Date;
17
17
  team?: TournamentTeam;
18
18
  match?: TournamentMatch;
19
- scorer?: TournamentPlayer;
20
- assist?: TournamentPlayer;
19
+ scorer?: TournamentPlayer | null;
20
+ assist?: TournamentPlayer | null;
21
21
  }
22
22
  //# sourceMappingURL=tournament-match-goal.entity.d.ts.map
@@ -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;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,qBAaa,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"}
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,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAajE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAOrD,qBAiBa,mBAAmB;IAI9B,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,EAAE,MAAM,GAAG,IAAI,CAAC;IASxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAQxB,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,GAAG,IAAI,CAAC;IAIjC,MAAM,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClC"}
@@ -64,7 +64,7 @@ __decorateClass([
64
64
  name: "scorer_id",
65
65
  type: "int",
66
66
  nullable: true,
67
- comment: "Identificador do jogador que marcou o gol (opcional)."
67
+ comment: "Identificador do jogador que marcou o gol; nulo quando o autor n\xE3o foi identificado."
68
68
  })
69
69
  ], TournamentMatchGoal.prototype, "scorerId", 2);
70
70
  __decorateClass([
@@ -72,7 +72,7 @@ __decorateClass([
72
72
  name: "assist_id",
73
73
  type: "int",
74
74
  nullable: true,
75
- comment: "Identificador do jogador que fez a assist\xEAncia (opcional)."
75
+ comment: "Identificador do jogador que fez a assist\xEAncia; nulo quando o autor n\xE3o foi identificado."
76
76
  })
77
77
  ], TournamentMatchGoal.prototype, "assistId", 2);
78
78
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "7.16.0",
3
+ "version": "7.17.0",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",