@natrave/shared-entities 7.17.0 → 7.18.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.
@@ -0,0 +1,15 @@
1
+ import { CardType } from '@natrave/tournaments-service-types';
2
+ export declare enum CardReason {
3
+ DISSENT = "dissent",
4
+ HARD_FOUL = "hard_foul",
5
+ SIMULATION = "simulation",
6
+ HANDBALL = "handball",
7
+ TIME_WASTING = "time_wasting",
8
+ TACKLE_FROM_BEHIND = "tackle_from_behind",
9
+ VIOLENT_FOUL = "violent_foul",
10
+ VIOLENT_CONDUCT = "violent_conduct",
11
+ DENIED_GOAL_OPPORTUNITY = "denied_goal_opportunity",
12
+ REFEREE_ABUSE = "referee_abuse"
13
+ }
14
+ export declare const CARD_REASONS_BY_TYPE: Readonly<Record<CardType, readonly CardReason[]>>;
15
+ //# sourceMappingURL=card-reason.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-reason.enum.d.ts","sourceRoot":"","sources":["../../../src/tournaments/enums/card-reason.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAmB9D,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,uBAAuB,4BAA4B;IACnD,aAAa,kBAAkB;CAChC;AAMD,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,UAAU,EAAE,CAAC,CAelF,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { CardType } from "@natrave/tournaments-service-types";
2
+ var CardReason = /* @__PURE__ */ ((CardReason2) => {
3
+ CardReason2["DISSENT"] = "dissent";
4
+ CardReason2["HARD_FOUL"] = "hard_foul";
5
+ CardReason2["SIMULATION"] = "simulation";
6
+ CardReason2["HANDBALL"] = "handball";
7
+ CardReason2["TIME_WASTING"] = "time_wasting";
8
+ CardReason2["TACKLE_FROM_BEHIND"] = "tackle_from_behind";
9
+ CardReason2["VIOLENT_FOUL"] = "violent_foul";
10
+ CardReason2["VIOLENT_CONDUCT"] = "violent_conduct";
11
+ CardReason2["DENIED_GOAL_OPPORTUNITY"] = "denied_goal_opportunity";
12
+ CardReason2["REFEREE_ABUSE"] = "referee_abuse";
13
+ return CardReason2;
14
+ })(CardReason || {});
15
+ const CARD_REASONS_BY_TYPE = {
16
+ [CardType.YELLOW]: [
17
+ "dissent" /* DISSENT */,
18
+ "hard_foul" /* HARD_FOUL */,
19
+ "simulation" /* SIMULATION */,
20
+ "handball" /* HANDBALL */,
21
+ "time_wasting" /* TIME_WASTING */,
22
+ "tackle_from_behind" /* TACKLE_FROM_BEHIND */
23
+ ],
24
+ [CardType.RED]: [
25
+ "violent_foul" /* VIOLENT_FOUL */,
26
+ "violent_conduct" /* VIOLENT_CONDUCT */,
27
+ "denied_goal_opportunity" /* DENIED_GOAL_OPPORTUNITY */,
28
+ "referee_abuse" /* REFEREE_ABUSE */
29
+ ]
30
+ };
31
+ export {
32
+ CARD_REASONS_BY_TYPE,
33
+ CardReason
34
+ };
@@ -0,0 +1,18 @@
1
+ export declare enum GoalMethod {
2
+ HEADER = "header",
3
+ FREE_KICK = "free_kick",
4
+ PENALTY = "penalty",
5
+ LONG_RANGE = "long_range",
6
+ COUNTER_ATTACK = "counter_attack",
7
+ VOLLEY = "volley",
8
+ BICYCLE_KICK = "bicycle_kick",
9
+ BACKHEEL = "backheel",
10
+ OLYMPIC_GOAL = "olympic_goal",
11
+ CHIP = "chip",
12
+ CLEARANCE_ATTEMPT = "clearance_attempt",
13
+ DEFLECTION = "deflection",
14
+ REBOUND = "rebound",
15
+ STUCK_BALL = "stuck_ball"
16
+ }
17
+ export declare const GOAL_METHODS_BY_KIND: Readonly<Record<`${boolean}`, readonly GoalMethod[]>>;
18
+ //# sourceMappingURL=goal-method.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goal-method.enum.d.ts","sourceRoot":"","sources":["../../../src/tournaments/enums/goal-method.enum.ts"],"names":[],"mappings":"AAcA,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,iBAAiB,sBAAsB;IACvC,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAWD,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,OAAO,EAAE,EAAE,SAAS,UAAU,EAAE,CAAC,CAsBtF,CAAC"}
@@ -0,0 +1,44 @@
1
+ var GoalMethod = /* @__PURE__ */ ((GoalMethod2) => {
2
+ GoalMethod2["HEADER"] = "header";
3
+ GoalMethod2["FREE_KICK"] = "free_kick";
4
+ GoalMethod2["PENALTY"] = "penalty";
5
+ GoalMethod2["LONG_RANGE"] = "long_range";
6
+ GoalMethod2["COUNTER_ATTACK"] = "counter_attack";
7
+ GoalMethod2["VOLLEY"] = "volley";
8
+ GoalMethod2["BICYCLE_KICK"] = "bicycle_kick";
9
+ GoalMethod2["BACKHEEL"] = "backheel";
10
+ GoalMethod2["OLYMPIC_GOAL"] = "olympic_goal";
11
+ GoalMethod2["CHIP"] = "chip";
12
+ GoalMethod2["CLEARANCE_ATTEMPT"] = "clearance_attempt";
13
+ GoalMethod2["DEFLECTION"] = "deflection";
14
+ GoalMethod2["REBOUND"] = "rebound";
15
+ GoalMethod2["STUCK_BALL"] = "stuck_ball";
16
+ return GoalMethod2;
17
+ })(GoalMethod || {});
18
+ const GOAL_METHODS_BY_KIND = {
19
+ // Gol normal
20
+ false: [
21
+ "header" /* HEADER */,
22
+ "free_kick" /* FREE_KICK */,
23
+ "penalty" /* PENALTY */,
24
+ "long_range" /* LONG_RANGE */,
25
+ "counter_attack" /* COUNTER_ATTACK */,
26
+ "volley" /* VOLLEY */,
27
+ "bicycle_kick" /* BICYCLE_KICK */,
28
+ "backheel" /* BACKHEEL */,
29
+ "olympic_goal" /* OLYMPIC_GOAL */,
30
+ "chip" /* CHIP */
31
+ ],
32
+ // Gol contra
33
+ true: [
34
+ "header" /* HEADER */,
35
+ "clearance_attempt" /* CLEARANCE_ATTEMPT */,
36
+ "deflection" /* DEFLECTION */,
37
+ "rebound" /* REBOUND */,
38
+ "stuck_ball" /* STUCK_BALL */
39
+ ]
40
+ };
41
+ export {
42
+ GOAL_METHODS_BY_KIND,
43
+ GoalMethod
44
+ };
@@ -1,3 +1,5 @@
1
+ export { CARD_REASONS_BY_TYPE, CardReason } from './enums/card-reason.enum';
2
+ export { GOAL_METHODS_BY_KIND, GoalMethod } from './enums/goal-method.enum';
1
3
  export { DEFAULT_TIE_BREAK_ORDER, TieBreakCriterion } from './enums/tie-break-criterion.enum';
2
4
  export * from './regulation-extractions';
3
5
  export * from './tournament-allowed-phone';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tournaments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC9F,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tournaments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC9F,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,eAAe,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { CARD_REASONS_BY_TYPE, CardReason } from "./enums/card-reason.enum.js";
2
+ import { GOAL_METHODS_BY_KIND, GoalMethod } from "./enums/goal-method.enum.js";
1
3
  import { DEFAULT_TIE_BREAK_ORDER, TieBreakCriterion } from "./enums/tie-break-criterion.enum.js";
2
4
  export * from "./regulation-extractions/index.js";
3
5
  export * from "./tournament-allowed-phone/index.js";
@@ -34,6 +36,10 @@ export * from "./tournament-teams/index.js";
34
36
  export * from "./tournament-tie-break-configs/index.js";
35
37
  export * from "./tournaments/index.js";
36
38
  export {
39
+ CARD_REASONS_BY_TYPE,
40
+ CardReason,
37
41
  DEFAULT_TIE_BREAK_ORDER,
42
+ GOAL_METHODS_BY_KIND,
43
+ GoalMethod,
38
44
  TieBreakCriterion
39
45
  };
@@ -1,4 +1,5 @@
1
1
  import { CardType, MatchPeriod } from '@natrave/tournaments-service-types';
2
+ import { CardReason } from '../enums/card-reason.enum';
2
3
  import { TournamentMatch } from '../tournament-matches';
3
4
  import { TournamentPlayer } from '../tournament-players';
4
5
  import { TournamentTeam } from '../tournament-teams';
@@ -10,6 +11,9 @@ export declare class TournamentMatchCard {
10
11
  teamId: number;
11
12
  matchId: number;
12
13
  cardType: CardType;
14
+ authorName: string | null;
15
+ cardReason: CardReason | null;
16
+ note: string | null;
13
17
  deletedAt: Date | null;
14
18
  createdAt: Date;
15
19
  updatedAt: Date;
@@ -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,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAa3E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAcrD,qBAiBa,mBAAmB;IAI9B,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,CAAC,EAAE,MAAM,CAAC;IAQhB,MAAM,CAAC,EAAE,WAAW,CAAC;IASrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxB,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,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClC"}
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,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAa3E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAcrD,qBAiBa,mBAAmB;IAI9B,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,CAAC,EAAE,MAAM,CAAC;IAQhB,MAAM,CAAC,EAAE,WAAW,CAAC;IASrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxB,MAAM,EAAE,MAAM,CAAC;IAOf,OAAO,EAAE,MAAM,CAAC;IAQhB,QAAQ,EAAE,QAAQ,CAAC;IASnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAS1B,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAQ9B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAQpB,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,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClC"}
@@ -75,6 +75,29 @@ __decorateClass([
75
75
  comment: "Tipo de cart\xE3o emitido (ex: amarelo, vermelho)."
76
76
  })
77
77
  ], TournamentMatchCard.prototype, "cardType", 2);
78
+ __decorateClass([
79
+ Column({
80
+ name: "author_name",
81
+ type: "text",
82
+ nullable: true,
83
+ comment: "Nome digitado pelo organizador quando o autor do lance n\xE3o est\xE1 no elenco. Mutuamente exclusivo com o player_id (CHECK na migration). N\xE3o conta para nenhuma estat\xEDstica individual."
84
+ })
85
+ ], TournamentMatchCard.prototype, "authorName", 2);
86
+ __decorateClass([
87
+ Column({
88
+ name: "card_reason",
89
+ type: "text",
90
+ nullable: true,
91
+ comment: "Motivo do cart\xE3o (ex: reclama\xE7\xE3o, falta dura); uma op\xE7\xE3o s\xF3, de lista fechada (CardReason)."
92
+ })
93
+ ], TournamentMatchCard.prototype, "cardReason", 2);
94
+ __decorateClass([
95
+ Column({
96
+ type: "text",
97
+ nullable: true,
98
+ comment: "Observa\xE7\xE3o livre do organizador sobre o lance. Vis\xEDvel apenas para a organiza\xE7\xE3o dona do campeonato."
99
+ })
100
+ ], TournamentMatchCard.prototype, "note", 2);
78
101
  __decorateClass([
79
102
  DeleteDateColumn({
80
103
  name: "deleted_at",
@@ -1,4 +1,5 @@
1
1
  import { MatchPeriod } from '@natrave/tournaments-service-types';
2
+ import { GoalMethod } from '../enums/goal-method.enum';
2
3
  import { TournamentMatch } from '../tournament-matches';
3
4
  import { TournamentPlayer } from '../tournament-players';
4
5
  import { TournamentTeam } from '../tournament-teams';
@@ -10,6 +11,9 @@ export declare class TournamentMatchGoal {
10
11
  period?: MatchPeriod;
11
12
  scorerId: number | null;
12
13
  assistId: number | null;
14
+ authorName: string | null;
15
+ goalMethod: GoalMethod | null;
16
+ note: string | null;
13
17
  ownGoal: boolean;
14
18
  deletedAt: Date | null;
15
19
  createdAt: Date;
@@ -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,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"}
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,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,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;IASxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAS1B,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAQ9B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAQpB,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"}
@@ -75,6 +75,29 @@ __decorateClass([
75
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
+ __decorateClass([
79
+ Column({
80
+ name: "author_name",
81
+ type: "text",
82
+ nullable: true,
83
+ comment: "Nome digitado pelo organizador quando o autor do gol n\xE3o est\xE1 no elenco. Mutuamente exclusivo com o scorer_id (CHECK na migration). N\xE3o conta para nenhuma estat\xEDstica individual."
84
+ })
85
+ ], TournamentMatchGoal.prototype, "authorName", 2);
86
+ __decorateClass([
87
+ Column({
88
+ name: "goal_method",
89
+ type: "text",
90
+ nullable: true,
91
+ comment: "Como o gol aconteceu (ex: de cabe\xE7a, de p\xEAnalti); uma op\xE7\xE3o s\xF3, de lista fechada (GoalMethod)."
92
+ })
93
+ ], TournamentMatchGoal.prototype, "goalMethod", 2);
94
+ __decorateClass([
95
+ Column({
96
+ type: "text",
97
+ nullable: true,
98
+ comment: "Observa\xE7\xE3o livre do organizador sobre o lance. Vis\xEDvel apenas para a organiza\xE7\xE3o dona do campeonato."
99
+ })
100
+ ], TournamentMatchGoal.prototype, "note", 2);
78
101
  __decorateClass([
79
102
  Column({
80
103
  name: "own_goal",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "7.17.0",
3
+ "version": "7.18.0",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",