@natrave/shared-entities 3.0.0 → 4.0.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.
- package/dist/database-entities/index.d.ts +2 -2
- package/dist/database-entities/index.d.ts.map +1 -1
- package/dist/database-entities/index.js +0 -2
- package/dist/teams/teams/team.entity.d.ts +0 -2
- package/dist/teams/teams/team.entity.d.ts.map +1 -1
- package/dist/teams/teams/team.entity.js +0 -4
- package/dist/tournaments/index.d.ts +0 -1
- package/dist/tournaments/index.d.ts.map +1 -1
- package/dist/tournaments/index.js +0 -1
- package/dist/tournaments/tournaments/tournament.entity.d.ts +0 -2
- package/dist/tournaments/tournaments/tournament.entity.d.ts.map +1 -1
- package/dist/tournaments/tournaments/tournament.entity.js +0 -4
- package/package.json +1 -1
- package/dist/tournaments/tournament-team-contact-attempts/index.d.ts +0 -2
- package/dist/tournaments/tournament-team-contact-attempts/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-team-contact-attempts/index.js +0 -4
- package/dist/tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity.d.ts +0 -13
- package/dist/tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity.js +0 -75
|
@@ -8,7 +8,7 @@ import { Notification, NotificationDelivery, NotificationDispatchLog, PushDevice
|
|
|
8
8
|
import { Payment, PaymentProvider, UserPaymentProvider } from '../payments';
|
|
9
9
|
import { Player, PlayerPersonalData, PlayerPosition } from '../players';
|
|
10
10
|
import { PlayerTeam, Team, TeamAccessCode, TeamJoinRequest, TeamModality, TeamTrophy } from '../teams';
|
|
11
|
-
import { RegulationExtraction, Tournament, TournamentAllowedPhone, TournamentBracket, TournamentBracketSlot, TournamentCategoryGroup, TournamentContact, TournamentCoupon, TournamentFacility, TournamentFollow, TournamentFormatConfig, TournamentGroup, TournamentGroupContact, TournamentMatch, TournamentMatchAvailability, TournamentMatchCard, TournamentMatchGoal, TournamentMatchRule, TournamentMatchSchema, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPrizeRule, TournamentPublicationChargeRule, TournamentRegistrationRequest, TournamentRegistrationRequirement, TournamentRegulationFieldStatus, TournamentTeam,
|
|
11
|
+
import { RegulationExtraction, Tournament, TournamentAllowedPhone, TournamentBracket, TournamentBracketSlot, TournamentCategoryGroup, TournamentContact, TournamentCoupon, TournamentFacility, TournamentFollow, TournamentFormatConfig, TournamentGroup, TournamentGroupContact, TournamentMatch, TournamentMatchAvailability, TournamentMatchCard, TournamentMatchGoal, TournamentMatchRule, TournamentMatchSchema, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPrizeRule, TournamentPublicationChargeRule, TournamentRegistrationRequest, TournamentRegistrationRequirement, TournamentRegulationFieldStatus, TournamentTeam, TournamentTeamInvitation } from '../tournaments';
|
|
12
12
|
import { UserDomainEvent, UserEventView } from '../user-events';
|
|
13
|
-
export declare const DATABASE_ENTITIES: (typeof PasswordReset | typeof Notification | typeof User | typeof NotificationDelivery | typeof NotificationDispatchLog | typeof PushDeviceToken | typeof UserNotificationPreference | typeof TeamPlayerMergeHistory | typeof Team | typeof PlayerTeam | typeof Player | typeof TournamentMatchGoal | typeof TournamentTeam | typeof TournamentMatch | typeof TournamentPlayer | typeof TournamentPenaltyShootout | typeof RegulationExtraction | typeof Tournament | typeof TournamentAllowedPhone | typeof PhoneNumber | typeof TournamentGroupContact | typeof TournamentCategoryGroup | typeof Organization | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof FacilityImage | typeof Facility | typeof FacilityOwner | typeof Field | typeof FieldImage | typeof TournamentFacility | typeof TournamentFollow | typeof TournamentFormatConfig | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof OrganizationUser | typeof TournamentPlayerRule | typeof TournamentPrizeRule | typeof TournamentPublicationChargeRule | typeof TournamentRegistrationRequest | typeof TournamentRegistrationRequirement | typeof TournamentRegulationFieldStatus | typeof
|
|
13
|
+
export declare const DATABASE_ENTITIES: (typeof PasswordReset | typeof Notification | typeof User | typeof NotificationDelivery | typeof NotificationDispatchLog | typeof PushDeviceToken | typeof UserNotificationPreference | typeof TeamPlayerMergeHistory | typeof Team | typeof PlayerTeam | typeof Player | typeof TournamentMatchGoal | typeof TournamentTeam | typeof TournamentMatch | typeof TournamentPlayer | typeof TournamentPenaltyShootout | typeof RegulationExtraction | typeof Tournament | typeof TournamentAllowedPhone | typeof PhoneNumber | typeof TournamentGroupContact | typeof TournamentCategoryGroup | typeof Organization | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof FacilityImage | typeof Facility | typeof FacilityOwner | typeof Field | typeof FieldImage | typeof TournamentFacility | typeof TournamentFollow | typeof TournamentFormatConfig | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof OrganizationUser | typeof TournamentPlayerRule | typeof TournamentPrizeRule | typeof TournamentPublicationChargeRule | typeof TournamentRegistrationRequest | typeof TournamentRegistrationRequirement | typeof TournamentRegulationFieldStatus | typeof TournamentTeamInvitation | typeof Address | typeof OrganizationUserBillingInfo | typeof TournamentGroup | typeof TournamentBracket | typeof TournamentBracketSlot | typeof TeamTrophy | typeof TournamentMatchCard | typeof TeamAccessCode | typeof TeamJoinRequest | typeof TeamModality | typeof PlayerPosition | typeof PlayerPersonalData | typeof UserAuthProvider | typeof RefreshToken | typeof UserOnboardingIntent | typeof UserVerification | typeof FeedActivitySubject | typeof FeedActivity | typeof FeedOutbox | typeof UserDomainEvent | typeof UserEventView)[];
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.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B,oBAAoB,EACpB,mBAAmB,EACnB,+BAA+B,EAC/B,6BAA6B,EAC7B,iCAAiC,EAEjC,+BAA+B,EAE/B,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database-entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,IAAI,EACJ,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,2BAA2B,EAC3B,WAAW,EACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EACL,UAAU,EACV,IAAI,EACJ,cAAc,EACd,eAAe,EACf,YAAY,EACZ,UAAU,EACX,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,+BAA+B,EAC/B,6BAA6B,EAC7B,iCAAiC,EAEjC,+BAA+B,EAE/B,cAAc,EACd,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,iBAAiB,01DA0E7B,CAAC"}
|
|
@@ -65,7 +65,6 @@ import {
|
|
|
65
65
|
TournamentRegulationFieldStatus,
|
|
66
66
|
TournamentRule,
|
|
67
67
|
TournamentTeam,
|
|
68
|
-
TournamentTeamContactAttempt,
|
|
69
68
|
TournamentTeamInvitation
|
|
70
69
|
} from "../tournaments/index.js";
|
|
71
70
|
import { UserDomainEvent, UserEventView } from "../user-events/index.js";
|
|
@@ -124,7 +123,6 @@ const DATABASE_ENTITIES = [
|
|
|
124
123
|
UserVerification,
|
|
125
124
|
TournamentMatchRule,
|
|
126
125
|
TournamentContact,
|
|
127
|
-
TournamentTeamContactAttempt,
|
|
128
126
|
Player,
|
|
129
127
|
PlayerPersonalData,
|
|
130
128
|
PlayerPosition,
|
|
@@ -2,7 +2,6 @@ import { TournamentGender } from '@natrave/tournaments-service-types';
|
|
|
2
2
|
import { BrazilianState } from '../../common/enums/brazilian-state.enum';
|
|
3
3
|
import { TeamPlayerMergeHistory } from '../../history-logs/team-player-merge-history/team-player-merge-history.entity';
|
|
4
4
|
import { TournamentRegistrationRequest } from '../../tournaments/tournament-registration-requests/tournament-registration-request.entity';
|
|
5
|
-
import { TournamentTeamContactAttempt } from '../../tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity';
|
|
6
5
|
import { TournamentTeamInvitation } from '../../tournaments/tournament-team-invitations/tournament-team-invitation.entity';
|
|
7
6
|
import { TournamentTeam } from '../../tournaments/tournament-teams/tournament-team.entity';
|
|
8
7
|
import { PlayerTeam } from '../player-team/player-team.entity';
|
|
@@ -30,7 +29,6 @@ export declare class Team {
|
|
|
30
29
|
accessCodes: TeamAccessCode[];
|
|
31
30
|
teamModalities: TeamModality[];
|
|
32
31
|
joinRequests: TeamJoinRequest[];
|
|
33
|
-
tournamentContactAttempts: TournamentTeamContactAttempt[];
|
|
34
32
|
trophies: TeamTrophy[];
|
|
35
33
|
tournamentRegistrationRequests: TournamentRegistrationRequest[];
|
|
36
34
|
tournamentInvitations: TournamentTeamInvitation[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAYtE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+EAA+E,CAAC;AACvH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2FAA2F,CAAC;AAC1I,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAYtE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+EAA+E,CAAC;AACvH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2FAA2F,CAAC;AAC1I,OAAO,EAAE,wBAAwB,EAAE,MAAM,iFAAiF,CAAC;AAC3H,OAAO,EAAE,cAAc,EAAE,MAAM,2DAA2D,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,qBAMa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAG7B,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,WAAW,CAAC,EAAE,MAAM,CAAC;IAQrB,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAQhC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IASrB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAQvB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAQ;IAG9B,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,eAAe,EAAE,cAAc,EAAE,CAAC;IAGlC,iBAAiB,EAAE,UAAU,EAAE,CAAC;IAGhC,WAAW,EAAE,cAAc,EAAE,CAAC;IAG9B,cAAc,EAAE,YAAY,EAAE,CAAC;IAG/B,YAAY,EAAE,eAAe,EAAE,CAAC;IAGhC,QAAQ,EAAE,UAAU,EAAE,CAAC;IAGvB,8BAA8B,EAAE,6BAA6B,EAAE,CAAC;IAGhE,qBAAqB,EAAE,wBAAwB,EAAE,CAAC;IAGlD,YAAY,EAAE,sBAAsB,EAAE,CAAC;CACxC"}
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
import { BrazilianState } from "../../common/enums/brazilian-state.enum.js";
|
|
23
23
|
import { TeamPlayerMergeHistory } from "../../history-logs/team-player-merge-history/team-player-merge-history.entity.js";
|
|
24
24
|
import { TournamentRegistrationRequest } from "../../tournaments/tournament-registration-requests/tournament-registration-request.entity.js";
|
|
25
|
-
import { TournamentTeamContactAttempt } from "../../tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity.js";
|
|
26
25
|
import { TournamentTeamInvitation } from "../../tournaments/tournament-team-invitations/tournament-team-invitation.entity.js";
|
|
27
26
|
import { TournamentTeam } from "../../tournaments/tournament-teams/tournament-team.entity.js";
|
|
28
27
|
import { PlayerTeam } from "../player-team/player-team.entity.js";
|
|
@@ -112,9 +111,6 @@ __decorateClass([
|
|
|
112
111
|
__decorateClass([
|
|
113
112
|
OneToMany(() => TeamJoinRequest, (tjr) => tjr.team)
|
|
114
113
|
], Team.prototype, "joinRequests", 2);
|
|
115
|
-
__decorateClass([
|
|
116
|
-
OneToMany(() => TournamentTeamContactAttempt, (attempt) => attempt.tournament)
|
|
117
|
-
], Team.prototype, "tournamentContactAttempts", 2);
|
|
118
114
|
__decorateClass([
|
|
119
115
|
OneToMany(() => TeamTrophy, (t) => t.team)
|
|
120
116
|
], Team.prototype, "trophies", 2);
|
|
@@ -27,7 +27,6 @@ export * from './tournament-registration-requirements';
|
|
|
27
27
|
export * from './tournament-regulation-field-statuses';
|
|
28
28
|
export * from './tournament-regulation-fields';
|
|
29
29
|
export * from './tournament-rules';
|
|
30
|
-
export * from './tournament-team-contact-attempts';
|
|
31
30
|
export * from './tournament-team-invitations';
|
|
32
31
|
export * from './tournament-teams';
|
|
33
32
|
export * from './tournaments';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tournaments/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,c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,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,eAAe,CAAC"}
|
|
@@ -27,7 +27,6 @@ export * from "./tournament-registration-requirements/index.js";
|
|
|
27
27
|
export * from "./tournament-regulation-field-statuses/index.js";
|
|
28
28
|
export * from "./tournament-regulation-fields/index.js";
|
|
29
29
|
export * from "./tournament-rules/index.js";
|
|
30
|
-
export * from "./tournament-team-contact-attempts/index.js";
|
|
31
30
|
export * from "./tournament-team-invitations/index.js";
|
|
32
31
|
export * from "./tournament-teams/index.js";
|
|
33
32
|
export * from "./tournaments/index.js";
|
|
@@ -21,7 +21,6 @@ import { TournamentPrizeRule } from '../tournament-prize-rules';
|
|
|
21
21
|
import { TournamentRegistrationRequest } from '../tournament-registration-requests';
|
|
22
22
|
import { TournamentRegistrationRequirement } from '../tournament-registration-requirements';
|
|
23
23
|
import { TournamentRule } from '../tournament-rules';
|
|
24
|
-
import { TournamentTeamContactAttempt } from '../tournament-team-contact-attempts';
|
|
25
24
|
import { TournamentTeamInvitation } from '../tournament-team-invitations';
|
|
26
25
|
import { TournamentTeam } from '../tournament-teams';
|
|
27
26
|
import { TournamentPublicationStatus } from './enums/tournament-publication-status.enum';
|
|
@@ -80,7 +79,6 @@ export declare class Tournament implements TournamentContract {
|
|
|
80
79
|
registrationRequests: TournamentRegistrationRequest[];
|
|
81
80
|
teamInvitations: TournamentTeamInvitation[];
|
|
82
81
|
registrationRequirements: TournamentRegistrationRequirement[];
|
|
83
|
-
contactAttempts: TournamentTeamContactAttempt[];
|
|
84
82
|
allowedPhones: TournamentAllowedPhone[];
|
|
85
83
|
trophies: TeamTrophy[];
|
|
86
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,oCAAoC,CAAC;AAgB5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,oCAAoC,CAAC;AAgB5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,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qB,EAAE,CAAC;IAItC,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAGlC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAG9B,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;IAGtD,eAAe,EAAE,wBAAwB,EAAE,CAAC;IAG5C,wBAAwB,EAAE,iCAAiC,EAAE,CAAC;IAG9D,aAAa,EAAE,sBAAsB,EAAE,CAAC;IAKxC,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB"}
|
|
@@ -48,7 +48,6 @@ import { TournamentPrizeRule } from "../tournament-prize-rules/index.js";
|
|
|
48
48
|
import { TournamentRegistrationRequest } from "../tournament-registration-requests/index.js";
|
|
49
49
|
import { TournamentRegistrationRequirement } from "../tournament-registration-requirements/index.js";
|
|
50
50
|
import { TournamentRule } from "../tournament-rules/index.js";
|
|
51
|
-
import { TournamentTeamContactAttempt } from "../tournament-team-contact-attempts/index.js";
|
|
52
51
|
import { TournamentTeamInvitation } from "../tournament-team-invitations/index.js";
|
|
53
52
|
import { TournamentTeam } from "../tournament-teams/index.js";
|
|
54
53
|
import { TournamentPublicationStatus } from "./enums/tournament-publication-status.enum.js";
|
|
@@ -341,9 +340,6 @@ __decorateClass([
|
|
|
341
340
|
__decorateClass([
|
|
342
341
|
OneToMany(() => TournamentRegistrationRequirement, (requirement) => requirement.tournament)
|
|
343
342
|
], Tournament.prototype, "registrationRequirements", 2);
|
|
344
|
-
__decorateClass([
|
|
345
|
-
OneToMany(() => TournamentTeamContactAttempt, (attempt) => attempt.tournament)
|
|
346
|
-
], Tournament.prototype, "contactAttempts", 2);
|
|
347
343
|
__decorateClass([
|
|
348
344
|
OneToMany(() => TournamentAllowedPhone, (allowed) => allowed.tournament)
|
|
349
345
|
], Tournament.prototype, "allowedPhones", 2);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-team-contact-attempts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Team } from '../../teams';
|
|
2
|
-
import { Tournament } from '../tournaments';
|
|
3
|
-
export declare class TournamentTeamContactAttempt {
|
|
4
|
-
id: number;
|
|
5
|
-
teamId: number;
|
|
6
|
-
tournamentId: number;
|
|
7
|
-
createdAt: Date;
|
|
8
|
-
updatedAt: Date;
|
|
9
|
-
deletedAt: Date | null;
|
|
10
|
-
team: Team;
|
|
11
|
-
tournament: Tournament;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=tournament-team-contact-attempt.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-team-contact-attempt.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAO5C,qBACa,4BAA4B;IAIvC,EAAE,EAAE,MAAM,CAAC;IAOX,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,MAAM,CAAC;IAOrB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAIvB,IAAI,EAAE,IAAI,CAAC;IAIX,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
package/dist/tournaments/tournament-team-contact-attempts/tournament-team-contact-attempt.entity.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
-
if (decorator = decorators[i])
|
|
7
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
-
if (kind && result) __defProp(target, key, result);
|
|
9
|
-
return result;
|
|
10
|
-
};
|
|
11
|
-
import {
|
|
12
|
-
Column,
|
|
13
|
-
CreateDateColumn,
|
|
14
|
-
DeleteDateColumn,
|
|
15
|
-
Entity,
|
|
16
|
-
JoinColumn,
|
|
17
|
-
ManyToOne,
|
|
18
|
-
PrimaryGeneratedColumn,
|
|
19
|
-
UpdateDateColumn
|
|
20
|
-
} from "typeorm";
|
|
21
|
-
import { Team } from "../../teams/index.js";
|
|
22
|
-
import { Tournament } from "../tournaments/index.js";
|
|
23
|
-
let TournamentTeamContactAttempt = class {
|
|
24
|
-
};
|
|
25
|
-
__decorateClass([
|
|
26
|
-
PrimaryGeneratedColumn({
|
|
27
|
-
comment: "Identificador \xFAnico da tentativa de contato."
|
|
28
|
-
})
|
|
29
|
-
], TournamentTeamContactAttempt.prototype, "id", 2);
|
|
30
|
-
__decorateClass([
|
|
31
|
-
Column({
|
|
32
|
-
name: "team_id",
|
|
33
|
-
type: "int",
|
|
34
|
-
comment: "Identificador do time que clicou para contatar."
|
|
35
|
-
})
|
|
36
|
-
], TournamentTeamContactAttempt.prototype, "teamId", 2);
|
|
37
|
-
__decorateClass([
|
|
38
|
-
Column({ name: "tournament_id", type: "int", comment: "Identificador do torneio." })
|
|
39
|
-
], TournamentTeamContactAttempt.prototype, "tournamentId", 2);
|
|
40
|
-
__decorateClass([
|
|
41
|
-
CreateDateColumn({
|
|
42
|
-
name: "created_at",
|
|
43
|
-
type: "timestamptz",
|
|
44
|
-
comment: "Data/hora em que o contato foi iniciado."
|
|
45
|
-
})
|
|
46
|
-
], TournamentTeamContactAttempt.prototype, "createdAt", 2);
|
|
47
|
-
__decorateClass([
|
|
48
|
-
UpdateDateColumn({
|
|
49
|
-
name: "updated_at",
|
|
50
|
-
type: "timestamptz",
|
|
51
|
-
comment: "Data/hora da \xFAltima atualiza\xE7\xE3o do registro."
|
|
52
|
-
})
|
|
53
|
-
], TournamentTeamContactAttempt.prototype, "updatedAt", 2);
|
|
54
|
-
__decorateClass([
|
|
55
|
-
DeleteDateColumn({
|
|
56
|
-
name: "deleted_at",
|
|
57
|
-
type: "timestamptz",
|
|
58
|
-
nullable: true,
|
|
59
|
-
comment: "Data e hora em que o registro foi deletado (soft delete), se aplic\xE1vel."
|
|
60
|
-
})
|
|
61
|
-
], TournamentTeamContactAttempt.prototype, "deletedAt", 2);
|
|
62
|
-
__decorateClass([
|
|
63
|
-
ManyToOne(() => Team, (team) => team.tournamentContactAttempts, { onDelete: "CASCADE" }),
|
|
64
|
-
JoinColumn({ name: "team_id" })
|
|
65
|
-
], TournamentTeamContactAttempt.prototype, "team", 2);
|
|
66
|
-
__decorateClass([
|
|
67
|
-
ManyToOne(() => Tournament, (tournament) => tournament.contactAttempts, { onDelete: "CASCADE" }),
|
|
68
|
-
JoinColumn({ name: "tournament_id" })
|
|
69
|
-
], TournamentTeamContactAttempt.prototype, "tournament", 2);
|
|
70
|
-
TournamentTeamContactAttempt = __decorateClass([
|
|
71
|
-
Entity("tournament_team_contact_attempts")
|
|
72
|
-
], TournamentTeamContactAttempt);
|
|
73
|
-
export {
|
|
74
|
-
TournamentTeamContactAttempt
|
|
75
|
-
};
|