@natrave/shared-entities 1.2.12 → 1.2.13
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/app-auth/password-resets/password-reset.entity.d.ts.map +1 -1
- package/dist/app-auth/password-resets/password-reset.entity.js +27 -6
- package/dist/app-auth/refresh-tokens/refresh-token.entity.d.ts.map +1 -1
- package/dist/app-auth/refresh-tokens/refresh-token.entity.js +28 -6
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.d.ts.map +1 -1
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.js +34 -7
- package/dist/app-auth/user-verifications/user-verification.entity.d.ts.map +1 -1
- package/dist/app-auth/user-verifications/user-verification.entity.js +45 -9
- package/dist/app-auth/users/user.entity.d.ts.map +1 -1
- package/dist/app-auth/users/user.entity.js +66 -13
- package/dist/facilities/addresses/address.entity.d.ts.map +1 -1
- package/dist/facilities/addresses/address.entity.js +60 -13
- package/dist/facilities/facilities/facility.entity.d.ts.map +1 -1
- package/dist/facilities/facilities/facility.entity.js +52 -11
- package/dist/facilities/facility-images/facility-image.entity.d.ts.map +1 -1
- package/dist/facilities/facility-images/facility-image.entity.js +34 -7
- package/dist/facilities/facility-owners/facility-owner.entity.d.ts.map +1 -1
- package/dist/facilities/facility-owners/facility-owner.entity.js +38 -7
- package/dist/facilities/fields/field.entity.d.ts.map +1 -1
- package/dist/facilities/fields/field.entity.js +52 -10
- package/dist/payments/payment-providers/payment-provider.entity.d.ts.map +1 -1
- package/dist/payments/payment-providers/payment-provider.entity.js +12 -4
- package/dist/payments/payments/payment.entity.d.ts.map +1 -1
- package/dist/payments/payments/payment.entity.js +48 -11
- package/dist/payments/user-payment-providers/user-payment-provider.entity.d.ts.map +1 -1
- package/dist/payments/user-payment-providers/user-payment-provider.entity.js +28 -6
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.js +29 -6
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.js +47 -9
- package/dist/tournaments/tournament-groups/tournament-group.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-groups/tournament-group.entity.js +23 -5
- 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 +44 -9
- 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 +49 -12
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.js +29 -6
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-matches/tournament-match.entity.js +54 -10
- package/dist/tournaments/tournament-payments/tournament-payment.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-payments/tournament-payment.entity.js +28 -6
- package/dist/tournaments/tournament-players/tournament-player.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-players/tournament-player.entity.js +29 -6
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.js +32 -7
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-rules/tournament-rule.entity.js +44 -14
- package/dist/tournaments/tournament-teams/tournament-team.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-teams/tournament-team.entity.js +40 -13
- package/dist/tournaments/tournaments/tournament.entity.d.ts +2 -1
- package/dist/tournaments/tournaments/tournament.entity.d.ts.map +1 -1
- package/dist/tournaments/tournaments/tournament.entity.js +63 -21
- package/package.json +3 -3
|
@@ -23,25 +23,52 @@ import { Facility } from "../facilities/index.js";
|
|
|
23
23
|
let FacilityImage = class {
|
|
24
24
|
};
|
|
25
25
|
__decorateClass([
|
|
26
|
-
PrimaryGeneratedColumn(
|
|
26
|
+
PrimaryGeneratedColumn({
|
|
27
|
+
comment: "Identificador \xFAnico da imagem do estabelecimento."
|
|
28
|
+
})
|
|
27
29
|
], FacilityImage.prototype, "id", 2);
|
|
28
30
|
__decorateClass([
|
|
29
|
-
Column({
|
|
31
|
+
Column({
|
|
32
|
+
name: "facility_id",
|
|
33
|
+
type: "int",
|
|
34
|
+
comment: "Identificador do estabelecimento ao qual esta imagem est\xE1 associada."
|
|
35
|
+
})
|
|
30
36
|
], FacilityImage.prototype, "facilityId", 2);
|
|
31
37
|
__decorateClass([
|
|
32
|
-
CreateDateColumn({
|
|
38
|
+
CreateDateColumn({
|
|
39
|
+
name: "created_at",
|
|
40
|
+
type: "timestamptz",
|
|
41
|
+
comment: "Data e hora em que a imagem foi criada."
|
|
42
|
+
})
|
|
33
43
|
], FacilityImage.prototype, "createdAt", 2);
|
|
34
44
|
__decorateClass([
|
|
35
|
-
UpdateDateColumn({
|
|
45
|
+
UpdateDateColumn({
|
|
46
|
+
name: "updated_at",
|
|
47
|
+
type: "timestamptz",
|
|
48
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o da imagem."
|
|
49
|
+
})
|
|
36
50
|
], FacilityImage.prototype, "updatedAt", 2);
|
|
37
51
|
__decorateClass([
|
|
38
|
-
Column({
|
|
52
|
+
Column({
|
|
53
|
+
type: "text",
|
|
54
|
+
comment: "URL da imagem armazenada."
|
|
55
|
+
})
|
|
39
56
|
], FacilityImage.prototype, "url", 2);
|
|
40
57
|
__decorateClass([
|
|
41
|
-
Column({
|
|
58
|
+
Column({
|
|
59
|
+
type: "text",
|
|
60
|
+
nullable: true,
|
|
61
|
+
default: null,
|
|
62
|
+
comment: "Descri\xE7\xE3o opcional da imagem."
|
|
63
|
+
})
|
|
42
64
|
], FacilityImage.prototype, "description", 2);
|
|
43
65
|
__decorateClass([
|
|
44
|
-
Column({
|
|
66
|
+
Column({
|
|
67
|
+
name: "is_primary",
|
|
68
|
+
type: "boolean",
|
|
69
|
+
default: false,
|
|
70
|
+
comment: "Indica se esta imagem \xE9 a principal do estabelecimento."
|
|
71
|
+
})
|
|
45
72
|
], FacilityImage.prototype, "isPrimary", 2);
|
|
46
73
|
__decorateClass([
|
|
47
74
|
ManyToOne(() => Facility, (facility) => facility.facilityImages, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facility-owner.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/facility-owners/facility-owner.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAazD,qBAGa,aAAa;
|
|
1
|
+
{"version":3,"file":"facility-owner.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/facility-owners/facility-owner.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAazD,qBAGa,aAAa;IAIxB,EAAE,EAAE,MAAM,CAAC;IAOX,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAOhB,IAAI,EAAE,MAAM,CAAC;IAUb,YAAY,EAAE,MAAM,CAAC;IAUrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAQd,YAAY,EAAE,MAAM,CAAC;IAQrB,UAAU,EAAE,QAAQ,EAAE,CAAC;IAOvB,cAAc,IAAI,IAAI;CAGvB"}
|
|
@@ -28,27 +28,58 @@ let FacilityOwner = class {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
__decorateClass([
|
|
31
|
-
PrimaryGeneratedColumn(
|
|
31
|
+
PrimaryGeneratedColumn({
|
|
32
|
+
comment: "Identificador \xFAnico do propriet\xE1rio."
|
|
33
|
+
})
|
|
32
34
|
], FacilityOwner.prototype, "id", 2);
|
|
33
35
|
__decorateClass([
|
|
34
|
-
CreateDateColumn({
|
|
36
|
+
CreateDateColumn({
|
|
37
|
+
name: "created_at",
|
|
38
|
+
type: "timestamptz",
|
|
39
|
+
comment: "Data e hora em que o propriet\xE1rio foi criado."
|
|
40
|
+
})
|
|
35
41
|
], FacilityOwner.prototype, "createdAt", 2);
|
|
36
42
|
__decorateClass([
|
|
37
|
-
UpdateDateColumn({
|
|
43
|
+
UpdateDateColumn({
|
|
44
|
+
name: "updated_at",
|
|
45
|
+
type: "timestamptz",
|
|
46
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do propriet\xE1rio."
|
|
47
|
+
})
|
|
38
48
|
], FacilityOwner.prototype, "updatedAt", 2);
|
|
39
49
|
__decorateClass([
|
|
40
|
-
Column({
|
|
50
|
+
Column({
|
|
51
|
+
type: "varchar",
|
|
52
|
+
length: 255,
|
|
53
|
+
comment: "Nome completo do propriet\xE1rio."
|
|
54
|
+
})
|
|
41
55
|
], FacilityOwner.prototype, "name", 2);
|
|
42
56
|
__decorateClass([
|
|
43
57
|
Index(),
|
|
44
|
-
Column({
|
|
58
|
+
Column({
|
|
59
|
+
name: "contact_email",
|
|
60
|
+
type: "varchar",
|
|
61
|
+
length: 255,
|
|
62
|
+
nullable: true,
|
|
63
|
+
comment: "Email de contato do propriet\xE1rio."
|
|
64
|
+
})
|
|
45
65
|
], FacilityOwner.prototype, "contactEmail", 2);
|
|
46
66
|
__decorateClass([
|
|
47
67
|
Index(),
|
|
48
|
-
Column({
|
|
68
|
+
Column({
|
|
69
|
+
name: "cnpj",
|
|
70
|
+
type: "varchar",
|
|
71
|
+
length: 14,
|
|
72
|
+
nullable: true,
|
|
73
|
+
comment: "CNPJ do propriet\xE1rio (se pessoa jur\xEDdica)."
|
|
74
|
+
})
|
|
49
75
|
], FacilityOwner.prototype, "cnpj", 2);
|
|
50
76
|
__decorateClass([
|
|
51
|
-
Column({
|
|
77
|
+
Column({
|
|
78
|
+
name: "contact_phone",
|
|
79
|
+
type: "varchar",
|
|
80
|
+
length: 16,
|
|
81
|
+
comment: "Telefone de contato do propriet\xE1rio."
|
|
82
|
+
})
|
|
52
83
|
], FacilityOwner.prototype, "contactPhone", 2);
|
|
53
84
|
__decorateClass([
|
|
54
85
|
OneToMany(() => Facility, (facility) => facility.facilityOwner)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/fields/field.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAY7D,qBAEa,KAAK;
|
|
1
|
+
{"version":3,"file":"field.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/fields/field.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAY7D,qBAEa,KAAK;IAIhB,EAAE,EAAE,MAAM,CAAC;IAOX,UAAU,EAAE,MAAM,CAAC;IAMnB,QAAQ,EAAE,QAAQ,CAAC;IAOnB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAOhB,IAAI,EAAE,MAAM,CAAC;IAQb,WAAW,EAAE,gBAAgB,CAAC;IAQ9B,MAAM,EAAE,MAAM,CAAC;IAQf,KAAK,EAAE,MAAM,CAAC;IAQd,QAAQ,EAAE,OAAO,CAAC;IAOlB,yBAAyB,EAAE,MAAM,CAAC;IAQlC,iBAAiB,EAAE,eAAe,EAAE,CAAC;CACtC"}
|
|
@@ -25,10 +25,16 @@ import { FieldSurfaceType } from "./enums/surface-type.enum.js";
|
|
|
25
25
|
let Field = class {
|
|
26
26
|
};
|
|
27
27
|
__decorateClass([
|
|
28
|
-
PrimaryGeneratedColumn(
|
|
28
|
+
PrimaryGeneratedColumn({
|
|
29
|
+
comment: "Identificador \xFAnico do campo."
|
|
30
|
+
})
|
|
29
31
|
], Field.prototype, "id", 2);
|
|
30
32
|
__decorateClass([
|
|
31
|
-
Column({
|
|
33
|
+
Column({
|
|
34
|
+
name: "facility_id",
|
|
35
|
+
type: "int",
|
|
36
|
+
comment: "Identificador do estabelecimento ao qual o campo est\xE1 associado."
|
|
37
|
+
})
|
|
32
38
|
], Field.prototype, "facilityId", 2);
|
|
33
39
|
__decorateClass([
|
|
34
40
|
ManyToOne(() => Facility, (facility) => facility.fields, {
|
|
@@ -37,28 +43,64 @@ __decorateClass([
|
|
|
37
43
|
JoinColumn({ name: "facility_id" })
|
|
38
44
|
], Field.prototype, "facility", 2);
|
|
39
45
|
__decorateClass([
|
|
40
|
-
CreateDateColumn({
|
|
46
|
+
CreateDateColumn({
|
|
47
|
+
name: "created_at",
|
|
48
|
+
type: "timestamptz",
|
|
49
|
+
comment: "Data e hora de cria\xE7\xE3o do campo."
|
|
50
|
+
})
|
|
41
51
|
], Field.prototype, "createdAt", 2);
|
|
42
52
|
__decorateClass([
|
|
43
|
-
UpdateDateColumn({
|
|
53
|
+
UpdateDateColumn({
|
|
54
|
+
name: "updated_at",
|
|
55
|
+
type: "timestamptz",
|
|
56
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do campo."
|
|
57
|
+
})
|
|
44
58
|
], Field.prototype, "updatedAt", 2);
|
|
45
59
|
__decorateClass([
|
|
46
|
-
Column({
|
|
60
|
+
Column({
|
|
61
|
+
type: "varchar",
|
|
62
|
+
length: 255,
|
|
63
|
+
comment: "Nome do campo (\xFAnico dentro do estabelecimento)."
|
|
64
|
+
})
|
|
47
65
|
], Field.prototype, "name", 2);
|
|
48
66
|
__decorateClass([
|
|
49
|
-
Column({
|
|
67
|
+
Column({
|
|
68
|
+
name: "surface_type",
|
|
69
|
+
type: "enum",
|
|
70
|
+
enum: FieldSurfaceType,
|
|
71
|
+
comment: "Tipo de superf\xEDcie do campo (ex: grama sint\xE9tica, madeira, etc)."
|
|
72
|
+
})
|
|
50
73
|
], Field.prototype, "surfaceType", 2);
|
|
51
74
|
__decorateClass([
|
|
52
|
-
Column({
|
|
75
|
+
Column({
|
|
76
|
+
type: "decimal",
|
|
77
|
+
precision: 5,
|
|
78
|
+
scale: 2,
|
|
79
|
+
comment: "Comprimento do campo em metros."
|
|
80
|
+
})
|
|
53
81
|
], Field.prototype, "length", 2);
|
|
54
82
|
__decorateClass([
|
|
55
|
-
Column({
|
|
83
|
+
Column({
|
|
84
|
+
type: "decimal",
|
|
85
|
+
precision: 5,
|
|
86
|
+
scale: 2,
|
|
87
|
+
comment: "Largura do campo em metros."
|
|
88
|
+
})
|
|
56
89
|
], Field.prototype, "width", 2);
|
|
57
90
|
__decorateClass([
|
|
58
|
-
Column({
|
|
91
|
+
Column({
|
|
92
|
+
name: "is_indoor",
|
|
93
|
+
type: "boolean",
|
|
94
|
+
default: false,
|
|
95
|
+
comment: "Indica se o campo \xE9 coberto (indoor)."
|
|
96
|
+
})
|
|
59
97
|
], Field.prototype, "isIndoor", 2);
|
|
60
98
|
__decorateClass([
|
|
61
|
-
Column({
|
|
99
|
+
Column({
|
|
100
|
+
name: "recommended_players_per_team",
|
|
101
|
+
type: "int",
|
|
102
|
+
comment: "N\xFAmero recomendado de jogadores por time para este campo."
|
|
103
|
+
})
|
|
62
104
|
], Field.prototype, "recommendedPlayersPerTeam", 2);
|
|
63
105
|
__decorateClass([
|
|
64
106
|
OneToMany(() => TournamentMatch, (tournamentMatch) => tournamentMatch.field)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-provider.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/payment-providers/payment-provider.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAWzE,qBAGa,eAAe;
|
|
1
|
+
{"version":3,"file":"payment-provider.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/payment-providers/payment-provider.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAWzE,qBAGa,eAAe;IAI1B,EAAE,EAAE,MAAM,CAAC;IAQX,IAAI,EAAE,mBAAmB,CAAC;IAO1B,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAchB,oBAAoB,EAAE,mBAAmB,EAAE,CAAC;CAC7C"}
|
|
@@ -23,23 +23,31 @@ import { PaymentProviderName } from "./enums/payment-provider-name.enum.js";
|
|
|
23
23
|
let PaymentProvider = class {
|
|
24
24
|
};
|
|
25
25
|
__decorateClass([
|
|
26
|
-
PrimaryGeneratedColumn(
|
|
26
|
+
PrimaryGeneratedColumn({
|
|
27
|
+
comment: "Identificador \xFAnico do provedor de pagamento."
|
|
28
|
+
})
|
|
27
29
|
], PaymentProvider.prototype, "id", 2);
|
|
28
30
|
__decorateClass([
|
|
29
31
|
Column({
|
|
30
32
|
type: "enum",
|
|
31
33
|
enum: PaymentProviderName,
|
|
32
|
-
unique: true
|
|
34
|
+
unique: true,
|
|
35
|
+
comment: "Nome do provedor de pagamento (ex: PagarMe, Stripe, etc)."
|
|
33
36
|
})
|
|
34
37
|
], PaymentProvider.prototype, "name", 2);
|
|
35
38
|
__decorateClass([
|
|
36
39
|
CreateDateColumn({
|
|
37
40
|
name: "created_at",
|
|
38
|
-
type: "timestamptz"
|
|
41
|
+
type: "timestamptz",
|
|
42
|
+
comment: "Data e hora de cria\xE7\xE3o do provedor."
|
|
39
43
|
})
|
|
40
44
|
], PaymentProvider.prototype, "createdAt", 2);
|
|
41
45
|
__decorateClass([
|
|
42
|
-
UpdateDateColumn({
|
|
46
|
+
UpdateDateColumn({
|
|
47
|
+
name: "updated_at",
|
|
48
|
+
type: "timestamptz",
|
|
49
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do provedor."
|
|
50
|
+
})
|
|
43
51
|
], PaymentProvider.prototype, "updatedAt", 2);
|
|
44
52
|
__decorateClass([
|
|
45
53
|
OneToMany(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/payments/payment.entity.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAY5D,qBACa,OAAO;
|
|
1
|
+
{"version":3,"file":"payment.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/payments/payment.entity.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAY5D,qBACa,OAAO;IAIlB,EAAE,EAAE,MAAM,CAAC;IASX,UAAU,CAAC,EAAE,MAAM,CAAC;IAMpB,MAAM,EAAE,MAAM,CAAC;IAQf,aAAa,EAAE,aAAa,CAAC;IAS7B,MAAM,EAAE,aAAa,CAAC;IAStB,mBAAmB,EAAE,mBAAmB,CAAC;IAQzC,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAQhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAOjB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAUhB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;CACzC"}
|
|
@@ -23,19 +23,31 @@ import { PaymentStatus } from "./enums/payment-status.enum.js";
|
|
|
23
23
|
let Payment = class {
|
|
24
24
|
};
|
|
25
25
|
__decorateClass([
|
|
26
|
-
PrimaryGeneratedColumn(
|
|
26
|
+
PrimaryGeneratedColumn({
|
|
27
|
+
comment: "Identificador \xFAnico do pagamento."
|
|
28
|
+
})
|
|
27
29
|
], Payment.prototype, "id", 2);
|
|
28
30
|
__decorateClass([
|
|
29
|
-
Column({
|
|
31
|
+
Column({
|
|
32
|
+
name: "external_id",
|
|
33
|
+
type: "varchar",
|
|
34
|
+
length: 255,
|
|
35
|
+
nullable: true,
|
|
36
|
+
comment: "Identificador externo do pagamento no provedor (ex: ID do Pagar.me)."
|
|
37
|
+
})
|
|
30
38
|
], Payment.prototype, "externalId", 2);
|
|
31
39
|
__decorateClass([
|
|
32
|
-
Column({
|
|
40
|
+
Column({
|
|
41
|
+
type: "int",
|
|
42
|
+
comment: "Valor do pagamento em centavos."
|
|
43
|
+
})
|
|
33
44
|
], Payment.prototype, "amount", 2);
|
|
34
45
|
__decorateClass([
|
|
35
46
|
Column({
|
|
36
47
|
name: "payment_method",
|
|
37
48
|
type: "enum",
|
|
38
|
-
enum: PaymentMethod
|
|
49
|
+
enum: PaymentMethod,
|
|
50
|
+
comment: "M\xE9todo de pagamento utilizado (ex: PIX, cart\xE3o)."
|
|
39
51
|
})
|
|
40
52
|
], Payment.prototype, "paymentMethod", 2);
|
|
41
53
|
__decorateClass([
|
|
@@ -43,7 +55,8 @@ __decorateClass([
|
|
|
43
55
|
type: "enum",
|
|
44
56
|
enum: PaymentStatus,
|
|
45
57
|
enumName: "PaymentStatus",
|
|
46
|
-
default: PaymentStatus.PENDING
|
|
58
|
+
default: PaymentStatus.PENDING,
|
|
59
|
+
comment: "Status atual do pagamento."
|
|
47
60
|
})
|
|
48
61
|
], Payment.prototype, "status", 2);
|
|
49
62
|
__decorateClass([
|
|
@@ -51,23 +64,47 @@ __decorateClass([
|
|
|
51
64
|
type: "enum",
|
|
52
65
|
enum: PaymentProviderName,
|
|
53
66
|
enumName: "PaymentProviderName",
|
|
54
|
-
default: PaymentProviderName.PAGARME
|
|
67
|
+
default: PaymentProviderName.PAGARME,
|
|
68
|
+
comment: "Nome do provedor de pagamento utilizado."
|
|
55
69
|
})
|
|
56
70
|
], Payment.prototype, "paymentProviderName", 2);
|
|
57
71
|
__decorateClass([
|
|
58
|
-
Column({
|
|
72
|
+
Column({
|
|
73
|
+
name: "qr_code_url",
|
|
74
|
+
type: "text",
|
|
75
|
+
nullable: true,
|
|
76
|
+
comment: "URL do QR Code gerado para pagamento (quando aplic\xE1vel)."
|
|
77
|
+
})
|
|
59
78
|
], Payment.prototype, "qrCodeUrl", 2);
|
|
60
79
|
__decorateClass([
|
|
61
|
-
Column({
|
|
80
|
+
Column({
|
|
81
|
+
name: "qr_code",
|
|
82
|
+
type: "text",
|
|
83
|
+
nullable: true,
|
|
84
|
+
comment: "QR Code gerado para pagamento (quando aplic\xE1vel)."
|
|
85
|
+
})
|
|
62
86
|
], Payment.prototype, "qrCode", 2);
|
|
63
87
|
__decorateClass([
|
|
64
|
-
Column({
|
|
88
|
+
Column({
|
|
89
|
+
name: "expires_at",
|
|
90
|
+
type: "timestamptz",
|
|
91
|
+
nullable: true,
|
|
92
|
+
comment: "Data e hora de expira\xE7\xE3o do pagamento."
|
|
93
|
+
})
|
|
65
94
|
], Payment.prototype, "expiresAt", 2);
|
|
66
95
|
__decorateClass([
|
|
67
|
-
CreateDateColumn({
|
|
96
|
+
CreateDateColumn({
|
|
97
|
+
name: "created_at",
|
|
98
|
+
type: "timestamptz",
|
|
99
|
+
comment: "Data e hora de cria\xE7\xE3o do registro de pagamento."
|
|
100
|
+
})
|
|
68
101
|
], Payment.prototype, "createdAt", 2);
|
|
69
102
|
__decorateClass([
|
|
70
|
-
UpdateDateColumn({
|
|
103
|
+
UpdateDateColumn({
|
|
104
|
+
name: "updated_at",
|
|
105
|
+
type: "timestamptz",
|
|
106
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do pagamento."
|
|
107
|
+
})
|
|
71
108
|
], Payment.prototype, "updatedAt", 2);
|
|
72
109
|
__decorateClass([
|
|
73
110
|
OneToMany(() => TournamentPayment, (tournamentPayment) => tournamentPayment.payment, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-payment-provider.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/user-payment-providers/user-payment-provider.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,qBAKa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"user-payment-provider.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/user-payment-providers/user-payment-provider.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,qBAKa,mBAAmB;IAI9B,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,EAAE,MAAM,CAAC;IAOf,iBAAiB,EAAE,MAAM,CAAC;IAO1B,kBAAkB,EAAE,MAAM,CAAC;IAO3B,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAWhB,IAAI,EAAE,IAAI,CAAC;IASX,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -24,22 +24,44 @@ import { PaymentProvider } from "../payment-providers/index.js";
|
|
|
24
24
|
let UserPaymentProvider = class {
|
|
25
25
|
};
|
|
26
26
|
__decorateClass([
|
|
27
|
-
PrimaryGeneratedColumn(
|
|
27
|
+
PrimaryGeneratedColumn({
|
|
28
|
+
comment: "Identificador \xFAnico da associa\xE7\xE3o usu\xE1rio-provedor."
|
|
29
|
+
})
|
|
28
30
|
], UserPaymentProvider.prototype, "id", 2);
|
|
29
31
|
__decorateClass([
|
|
30
|
-
Column({
|
|
32
|
+
Column({
|
|
33
|
+
type: "uuid",
|
|
34
|
+
name: "user_id",
|
|
35
|
+
comment: "Identificador do usu\xE1rio no sistema."
|
|
36
|
+
})
|
|
31
37
|
], UserPaymentProvider.prototype, "userId", 2);
|
|
32
38
|
__decorateClass([
|
|
33
|
-
Column({
|
|
39
|
+
Column({
|
|
40
|
+
type: "int",
|
|
41
|
+
name: "payment_provider_id",
|
|
42
|
+
comment: "Identificador do provedor de pagamento associado."
|
|
43
|
+
})
|
|
34
44
|
], UserPaymentProvider.prototype, "paymentProviderId", 2);
|
|
35
45
|
__decorateClass([
|
|
36
|
-
Column({
|
|
46
|
+
Column({
|
|
47
|
+
type: "text",
|
|
48
|
+
unique: true,
|
|
49
|
+
comment: 'Identificador do cliente no provedor de pagamento (ex: "cus_123456").'
|
|
50
|
+
})
|
|
37
51
|
], UserPaymentProvider.prototype, "providerCustomerId", 2);
|
|
38
52
|
__decorateClass([
|
|
39
|
-
CreateDateColumn({
|
|
53
|
+
CreateDateColumn({
|
|
54
|
+
name: "created_at",
|
|
55
|
+
type: "timestamptz",
|
|
56
|
+
comment: "Data e hora de cria\xE7\xE3o do v\xEDnculo com o provedor."
|
|
57
|
+
})
|
|
40
58
|
], UserPaymentProvider.prototype, "createdAt", 2);
|
|
41
59
|
__decorateClass([
|
|
42
|
-
UpdateDateColumn({
|
|
60
|
+
UpdateDateColumn({
|
|
61
|
+
name: "updated_at",
|
|
62
|
+
type: "timestamptz",
|
|
63
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do v\xEDnculo."
|
|
64
|
+
})
|
|
43
65
|
], UserPaymentProvider.prototype, "updatedAt", 2);
|
|
44
66
|
__decorateClass([
|
|
45
67
|
ManyToOne(() => User, (user) => user.userPaymentProviders, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-facility.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-facilities/tournament-facility.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAazE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAe5C,qBAGa,kBAAmB,YAAW,mBAAmB;
|
|
1
|
+
{"version":3,"file":"tournament-facility.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-facilities/tournament-facility.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAazE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAe5C,qBAGa,kBAAmB,YAAW,mBAAmB;IAI5D,EAAE,EAAE,MAAM,CAAC;IAOX,UAAU,EAAE,MAAM,CAAC;IAOnB,YAAY,EAAE,MAAM,CAAC;IAQrB,SAAS,EAAE,OAAO,CAAC;IAOnB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,UAAU,EAAE,UAAU,CAAC;IAOvB,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -24,22 +24,45 @@ import { Tournament } from "../tournaments/index.js";
|
|
|
24
24
|
let TournamentFacility = class {
|
|
25
25
|
};
|
|
26
26
|
__decorateClass([
|
|
27
|
-
PrimaryGeneratedColumn(
|
|
27
|
+
PrimaryGeneratedColumn({
|
|
28
|
+
comment: "Identificador \xFAnico da associa\xE7\xE3o entre torneio e estabelecimento."
|
|
29
|
+
})
|
|
28
30
|
], TournamentFacility.prototype, "id", 2);
|
|
29
31
|
__decorateClass([
|
|
30
|
-
Column({
|
|
32
|
+
Column({
|
|
33
|
+
name: "facility_id",
|
|
34
|
+
type: "int",
|
|
35
|
+
comment: "Identificador do estabelecimento associado ao torneio."
|
|
36
|
+
})
|
|
31
37
|
], TournamentFacility.prototype, "facilityId", 2);
|
|
32
38
|
__decorateClass([
|
|
33
|
-
Column({
|
|
39
|
+
Column({
|
|
40
|
+
name: "tournament_id",
|
|
41
|
+
type: "int",
|
|
42
|
+
comment: "Identificador do torneio associado ao estabelecimento."
|
|
43
|
+
})
|
|
34
44
|
], TournamentFacility.prototype, "tournamentId", 2);
|
|
35
45
|
__decorateClass([
|
|
36
|
-
Column({
|
|
46
|
+
Column({
|
|
47
|
+
name: "is_primary",
|
|
48
|
+
type: "boolean",
|
|
49
|
+
default: false,
|
|
50
|
+
comment: "Indica se o estabelecimento \xE9 o principal local do torneio."
|
|
51
|
+
})
|
|
37
52
|
], TournamentFacility.prototype, "isPrimary", 2);
|
|
38
53
|
__decorateClass([
|
|
39
|
-
CreateDateColumn({
|
|
54
|
+
CreateDateColumn({
|
|
55
|
+
name: "created_at",
|
|
56
|
+
type: "timestamptz",
|
|
57
|
+
comment: "Data e hora em que a associa\xE7\xE3o foi criada."
|
|
58
|
+
})
|
|
40
59
|
], TournamentFacility.prototype, "createdAt", 2);
|
|
41
60
|
__decorateClass([
|
|
42
|
-
UpdateDateColumn({
|
|
61
|
+
UpdateDateColumn({
|
|
62
|
+
name: "updated_at",
|
|
63
|
+
type: "timestamptz",
|
|
64
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o da associa\xE7\xE3o."
|
|
65
|
+
})
|
|
43
66
|
], TournamentFacility.prototype, "updatedAt", 2);
|
|
44
67
|
__decorateClass([
|
|
45
68
|
ManyToOne(() => Tournament, (tournament) => tournament.tournamentFacilities, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-format-config.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-format-configs/tournament-format-config.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"tournament-format-config.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-format-configs/tournament-format-config.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAW5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAc5C,qBACa,sBAAuB,YAAW,uBAAuB;IAIpE,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,gBAAgB,CAAC;IAQzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAU9B,qBAAqB,EAAE,YAAY,GAAG,IAAI,CAAC;IAU3C,kBAAkB,EAAE,aAAa,GAAG,IAAI,CAAC;IAUzC,iBAAiB,EAAE,YAAY,GAAG,IAAI,CAAC;IAOvC,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAWhB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -13,18 +13,45 @@ import {
|
|
|
13
13
|
MatchLegMode,
|
|
14
14
|
TournamentFormat
|
|
15
15
|
} from "@natrave/tournaments-service-types";
|
|
16
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
Column,
|
|
18
|
+
CreateDateColumn,
|
|
19
|
+
Entity,
|
|
20
|
+
JoinColumn,
|
|
21
|
+
OneToOne,
|
|
22
|
+
PrimaryGeneratedColumn,
|
|
23
|
+
UpdateDateColumn
|
|
24
|
+
} from "typeorm";
|
|
17
25
|
import { Tournament } from "../tournaments/index.js";
|
|
18
26
|
let TournamentFormatConfig = class {
|
|
19
27
|
};
|
|
20
28
|
__decorateClass([
|
|
21
|
-
|
|
29
|
+
PrimaryGeneratedColumn({
|
|
30
|
+
comment: "Identificador \xFAnico da configura\xE7\xE3o do formato."
|
|
31
|
+
})
|
|
32
|
+
], TournamentFormatConfig.prototype, "id", 2);
|
|
33
|
+
__decorateClass([
|
|
34
|
+
Column({
|
|
35
|
+
name: "tournament_id",
|
|
36
|
+
type: "int",
|
|
37
|
+
unique: true,
|
|
38
|
+
comment: "Identificador do torneio associado a esta configura\xE7\xE3o."
|
|
39
|
+
})
|
|
22
40
|
], TournamentFormatConfig.prototype, "tournamentId", 2);
|
|
23
41
|
__decorateClass([
|
|
24
|
-
Column({
|
|
42
|
+
Column({
|
|
43
|
+
type: "enum",
|
|
44
|
+
enum: TournamentFormat,
|
|
45
|
+
comment: "Formato principal do torneio (ex: grupos + mata-mata, round robin)."
|
|
46
|
+
})
|
|
25
47
|
], TournamentFormatConfig.prototype, "format", 2);
|
|
26
48
|
__decorateClass([
|
|
27
|
-
Column({
|
|
49
|
+
Column({
|
|
50
|
+
type: "int",
|
|
51
|
+
nullable: true,
|
|
52
|
+
default: null,
|
|
53
|
+
comment: "N\xFAmero de grupos na fase inicial do torneio, se aplic\xE1vel."
|
|
54
|
+
})
|
|
28
55
|
], TournamentFormatConfig.prototype, "numberOfGroups", 2);
|
|
29
56
|
__decorateClass([
|
|
30
57
|
Column({
|
|
@@ -32,7 +59,8 @@ __decorateClass([
|
|
|
32
59
|
type: "enum",
|
|
33
60
|
enum: MatchLegMode,
|
|
34
61
|
nullable: true,
|
|
35
|
-
default: null
|
|
62
|
+
default: null,
|
|
63
|
+
comment: "Modo de disputa da fase inicial (ida \xFAnica ou ida e volta), se aplic\xE1vel."
|
|
36
64
|
})
|
|
37
65
|
], TournamentFormatConfig.prototype, "initialPhaseMatchMode", 2);
|
|
38
66
|
__decorateClass([
|
|
@@ -41,7 +69,8 @@ __decorateClass([
|
|
|
41
69
|
type: "enum",
|
|
42
70
|
enum: KnockoutPhase,
|
|
43
71
|
nullable: true,
|
|
44
|
-
default: null
|
|
72
|
+
default: null,
|
|
73
|
+
comment: "Fase em que o torneio entra no modo mata-mata (knockout), se aplic\xE1vel."
|
|
45
74
|
})
|
|
46
75
|
], TournamentFormatConfig.prototype, "knockoutStartPhase", 2);
|
|
47
76
|
__decorateClass([
|
|
@@ -50,14 +79,23 @@ __decorateClass([
|
|
|
50
79
|
type: "enum",
|
|
51
80
|
enum: MatchLegMode,
|
|
52
81
|
nullable: true,
|
|
53
|
-
default: null
|
|
82
|
+
default: null,
|
|
83
|
+
comment: "Modo de disputa da fase knockout (ida \xFAnica ou ida e volta), se aplic\xE1vel."
|
|
54
84
|
})
|
|
55
85
|
], TournamentFormatConfig.prototype, "knockoutMatchMode", 2);
|
|
56
86
|
__decorateClass([
|
|
57
|
-
CreateDateColumn({
|
|
87
|
+
CreateDateColumn({
|
|
88
|
+
name: "created_at",
|
|
89
|
+
type: "timestamptz",
|
|
90
|
+
comment: "Data e hora de cria\xE7\xE3o da configura\xE7\xE3o."
|
|
91
|
+
})
|
|
58
92
|
], TournamentFormatConfig.prototype, "createdAt", 2);
|
|
59
93
|
__decorateClass([
|
|
60
|
-
UpdateDateColumn({
|
|
94
|
+
UpdateDateColumn({
|
|
95
|
+
name: "updated_at",
|
|
96
|
+
type: "timestamptz",
|
|
97
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o da configura\xE7\xE3o."
|
|
98
|
+
})
|
|
61
99
|
], TournamentFormatConfig.prototype, "updatedAt", 2);
|
|
62
100
|
__decorateClass([
|
|
63
101
|
OneToOne(() => Tournament, (tournament) => tournament.format, {
|
|
@@ -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,qBAEa,eAAgB,YAAW,gBAAgB;
|
|
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,qBAEa,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"}
|
|
@@ -24,19 +24,37 @@ import { Tournament } from "../tournaments/index.js";
|
|
|
24
24
|
let TournamentGroup = class {
|
|
25
25
|
};
|
|
26
26
|
__decorateClass([
|
|
27
|
-
PrimaryGeneratedColumn(
|
|
27
|
+
PrimaryGeneratedColumn({
|
|
28
|
+
comment: "Identificador \xFAnico do grupo de torneio."
|
|
29
|
+
})
|
|
28
30
|
], TournamentGroup.prototype, "id", 2);
|
|
29
31
|
__decorateClass([
|
|
30
|
-
Column({
|
|
32
|
+
Column({
|
|
33
|
+
name: "tournament_id",
|
|
34
|
+
type: "int",
|
|
35
|
+
comment: "Identificador do torneio ao qual o grupo pertence."
|
|
36
|
+
})
|
|
31
37
|
], TournamentGroup.prototype, "tournamentId", 2);
|
|
32
38
|
__decorateClass([
|
|
33
|
-
Column({
|
|
39
|
+
Column({
|
|
40
|
+
type: "varchar",
|
|
41
|
+
length: 50,
|
|
42
|
+
comment: "Nome do grupo (ex: Grupo A, Grupo B)."
|
|
43
|
+
})
|
|
34
44
|
], TournamentGroup.prototype, "name", 2);
|
|
35
45
|
__decorateClass([
|
|
36
|
-
CreateDateColumn({
|
|
46
|
+
CreateDateColumn({
|
|
47
|
+
name: "created_at",
|
|
48
|
+
type: "timestamptz",
|
|
49
|
+
comment: "Data e hora em que o grupo foi criado."
|
|
50
|
+
})
|
|
37
51
|
], TournamentGroup.prototype, "createdAt", 2);
|
|
38
52
|
__decorateClass([
|
|
39
|
-
UpdateDateColumn({
|
|
53
|
+
UpdateDateColumn({
|
|
54
|
+
name: "updated_at",
|
|
55
|
+
type: "timestamptz",
|
|
56
|
+
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o do grupo."
|
|
57
|
+
})
|
|
40
58
|
], TournamentGroup.prototype, "updatedAt", 2);
|
|
41
59
|
__decorateClass([
|
|
42
60
|
ManyToOne(() => Tournament, (tournament) => tournament.groups, {
|
|
@@ -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;AAY5C,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;
|
|
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;AAY5C,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;IAOnB,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"}
|