@natrave/shared-entities 1.3.8 → 1.3.9

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.
@@ -25,22 +25,22 @@ __decorateClass([
25
25
  PrimaryGeneratedColumn()
26
26
  ], Team.prototype, "id", 2);
27
27
  __decorateClass([
28
- Column({ length: 100 })
28
+ Column({ type: "varchar", length: 100 })
29
29
  ], Team.prototype, "name", 2);
30
30
  __decorateClass([
31
- Column({ length: 3, comment: "Sigla (n\xE3o-\xFAnica)." })
31
+ Column({ type: "varchar", length: 3, comment: "Sigla (n\xE3o-\xFAnica)." })
32
32
  ], Team.prototype, "abbreviation", 2);
33
33
  __decorateClass([
34
- Column({ length: 100 })
34
+ Column({ type: "varchar", length: 100 })
35
35
  ], Team.prototype, "city", 2);
36
36
  __decorateClass([
37
37
  Column({ type: "enum", enum: BrazilianState })
38
38
  ], Team.prototype, "state", 2);
39
39
  __decorateClass([
40
- Column({ length: 100, nullable: true })
40
+ Column({ type: "varchar", length: 100, nullable: true })
41
41
  ], Team.prototype, "neighborhood", 2);
42
42
  __decorateClass([
43
- Column({ name: "instagram_account", length: 100, nullable: true })
43
+ Column({ name: "instagram_account", type: "varchar", length: 100, nullable: true })
44
44
  ], Team.prototype, "instagramAccount", 2);
45
45
  __decorateClass([
46
46
  Column({ name: "team_logo_url", type: "text", nullable: true })
@@ -1 +1 @@
1
- {"version":3,"file":"tournament-player.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-players/tournament-player.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAcvE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,qBAIa,gBAAiB,YAAW,iBAAiB;IAExD,EAAE,EAAE,MAAM,CAAC;IAGX,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,OAAO,CAAC;IAGjB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAKhB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,cAAc,CAAC;IAGrB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAG7B,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAG/B,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B"}
1
+ {"version":3,"file":"tournament-player.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-players/tournament-player.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAcvE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,qBAIa,gBAAiB,YAAW,iBAAiB;IAIxD,EAAE,EAAE,MAAM,CAAC;IAOX,QAAQ,EAAE,MAAM,CAAC;IAOjB,MAAM,EAAE,MAAM,CAAC;IAQf,OAAO,EAAE,OAAO,CAAC;IAOjB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAKhB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,cAAc,CAAC;IAGrB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAG7B,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAG/B,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B"}
@@ -27,22 +27,45 @@ import { TournamentTeam } from "../tournament-teams/index.js";
27
27
  let TournamentPlayer = class {
28
28
  };
29
29
  __decorateClass([
30
- PrimaryGeneratedColumn()
30
+ PrimaryGeneratedColumn({
31
+ comment: "Identificador \xFAnico do jogador no torneio."
32
+ })
31
33
  ], TournamentPlayer.prototype, "id", 2);
32
34
  __decorateClass([
33
- Column({ name: "player_id", type: "int" })
35
+ Column({
36
+ name: "player_id",
37
+ type: "int",
38
+ comment: "Identificador do jogador associado ao torneio."
39
+ })
34
40
  ], TournamentPlayer.prototype, "playerId", 2);
35
41
  __decorateClass([
36
- Column({ name: "team_id", type: "int" })
42
+ Column({
43
+ name: "team_id",
44
+ type: "int",
45
+ comment: "Identificador do time ao qual o jogador pertence no torneio."
46
+ })
37
47
  ], TournamentPlayer.prototype, "teamId", 2);
38
48
  __decorateClass([
39
- Column({ name: "is_owner", type: "boolean", default: false })
49
+ Column({
50
+ name: "is_owner",
51
+ type: "boolean",
52
+ default: false,
53
+ comment: "Indica se o jogador \xE9 o dono do time no torneio."
54
+ })
40
55
  ], TournamentPlayer.prototype, "isOwner", 2);
41
56
  __decorateClass([
42
- CreateDateColumn({ name: "created_at", type: "timestamptz" })
57
+ CreateDateColumn({
58
+ name: "created_at",
59
+ type: "timestamptz",
60
+ comment: "Data e hora em que o registro foi criado."
61
+ })
43
62
  ], TournamentPlayer.prototype, "createdAt", 2);
44
63
  __decorateClass([
45
- UpdateDateColumn({ name: "updated_at", type: "timestamptz" })
64
+ UpdateDateColumn({
65
+ name: "updated_at",
66
+ type: "timestamptz",
67
+ comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do registro."
68
+ })
46
69
  ], TournamentPlayer.prototype, "updatedAt", 2);
47
70
  __decorateClass([
48
71
  ManyToOne(() => Player, (p) => p.tournamentPlayers, { eager: true, onDelete: "CASCADE" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",