@natrave/shared-entities 8.19.0 → 8.20.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 +2 -0
- package/dist/tournaments/index.d.ts +1 -0
- package/dist/tournaments/index.d.ts.map +1 -1
- package/dist/tournaments/index.js +1 -0
- package/dist/tournaments/tournament-match-player-numbers/enums/match-player-number-source.enum.d.ts +6 -0
- package/dist/tournaments/tournament-match-player-numbers/enums/match-player-number-source.enum.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-player-numbers/enums/match-player-number-source.enum.js +9 -0
- package/dist/tournaments/tournament-match-player-numbers/index.d.ts +3 -0
- package/dist/tournaments/tournament-match-player-numbers/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-player-numbers/index.js +6 -0
- package/dist/tournaments/tournament-match-player-numbers/tournament-match-player-number.entity.d.ts +19 -0
- package/dist/tournaments/tournament-match-player-numbers/tournament-match-player-number.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-player-numbers/tournament-match-player-number.entity.js +108 -0
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts +2 -0
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts.map +1 -1
- package/dist/tournaments/tournament-matches/tournament-match.entity.js +4 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { Notification, NotificationDelivery, NotificationDispatchLog, PushDevice
|
|
|
10
10
|
import { Payment, PaymentProvider, UserPaymentProvider } from '../payments';
|
|
11
11
|
import { Player, PlayerPersonalData, PlayerPosition } from '../players';
|
|
12
12
|
import { PlayerTeam, Team, TeamAccessCode, TeamJoinRequest, TeamKit, TeamModality, TeamSponsor, TeamTrophy } from '../teams';
|
|
13
|
-
import { Referee, RegulationExtraction, Tournament, TournamentAllowedPhone, TournamentBillingOutbox, TournamentBracket, TournamentBracketSlot, TournamentCategoryGroup, TournamentContact, TournamentCoupon, TournamentCreationDraft, TournamentFacility, TournamentFollow, TournamentFormatConfig, TournamentGroup, TournamentGroupContact, TournamentMatch, TournamentMatchAvailability, TournamentMatchCard, TournamentMatchGoal, TournamentMatchKit, TournamentMatchReferee, TournamentMatchRule, TournamentMatchSchema, TournamentMatchSubstitution, TournamentMatchTimeout, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPrizeRule, TournamentPublicationChargeRule, TournamentRegistrationRequest, TournamentRegistrationRequirement, TournamentRegulationFieldStatus, TournamentTeam, TournamentTeamInvitation, TournamentTieBreakConfig } from '../tournaments';
|
|
13
|
+
import { Referee, RegulationExtraction, Tournament, TournamentAllowedPhone, TournamentBillingOutbox, TournamentBracket, TournamentBracketSlot, TournamentCategoryGroup, TournamentContact, TournamentCoupon, TournamentCreationDraft, TournamentFacility, TournamentFollow, TournamentFormatConfig, TournamentGroup, TournamentGroupContact, TournamentMatch, TournamentMatchAvailability, TournamentMatchCard, TournamentMatchGoal, TournamentMatchKit, TournamentMatchPlayerNumber, TournamentMatchReferee, TournamentMatchRule, TournamentMatchSchema, TournamentMatchSubstitution, TournamentMatchTimeout, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPrizeRule, TournamentPublicationChargeRule, TournamentRegistrationRequest, TournamentRegistrationRequirement, TournamentRegulationFieldStatus, TournamentTeam, TournamentTeamInvitation, TournamentTieBreakConfig } from '../tournaments';
|
|
14
14
|
import { UserDomainEvent, UserEventView } from '../user-events';
|
|
15
|
-
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 TournamentMatchKit | typeof TournamentMatchSubstitution | typeof TournamentMatchTimeout | typeof TournamentPenaltyShootout | typeof TournamentMatchReferee | typeof Referee | typeof RegulationExtraction | typeof Tournament | typeof TournamentAllowedPhone | typeof PhoneNumber | typeof TournamentBillingOutbox | typeof TournamentGroupContact | typeof TournamentCategoryGroup | typeof Organization | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof TournamentCreationDraft | typeof City | 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 TournamentTieBreakConfig | typeof Address | typeof OrganizationUserBillingInfo | typeof TournamentGroup | typeof TournamentBracket | typeof TournamentBracketSlot | typeof TeamTrophy | typeof TournamentMatchCard | typeof TeamAccessCode | typeof TeamJoinRequest | typeof TeamKit | typeof TeamModality | typeof TeamSponsor | typeof PlayerPosition | typeof PlayerPersonalData | typeof UserAuthProvider | typeof RefreshToken | typeof UserOnboardingIntent | typeof UserVerification | typeof BillingProduct | typeof BillingPlan | typeof BillingSubscriptionItem | typeof BillingSubscription | typeof BillingAccount | typeof BillingEvent | typeof BillingInvoice | typeof BillingInvoiceLineItem | typeof BillingMatchUsage | typeof BillingPayment | typeof BillingProviderWebhookEvent | typeof FeedActivityReaction | typeof FeedActivity | typeof FeedActivitySubject | typeof FeedOutbox | typeof FinanceAuditEvent | typeof FinanceEntryItem | typeof FinanceEntry | typeof FinanceLedger | typeof UserDomainEvent | typeof UserEventView)[];
|
|
15
|
+
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 TournamentMatchKit | typeof TournamentMatchSubstitution | typeof TournamentMatchTimeout | typeof TournamentPenaltyShootout | typeof TournamentMatchReferee | typeof Referee | typeof RegulationExtraction | typeof Tournament | typeof TournamentAllowedPhone | typeof PhoneNumber | typeof TournamentBillingOutbox | typeof TournamentGroupContact | typeof TournamentCategoryGroup | typeof Organization | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof TournamentCreationDraft | typeof City | typeof FacilityImage | typeof Facility | typeof FacilityOwner | typeof Field | typeof FieldImage | typeof TournamentFacility | typeof TournamentFollow | typeof TournamentFormatConfig | typeof TournamentMatchPlayerNumber | 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 TournamentTieBreakConfig | typeof Address | typeof OrganizationUserBillingInfo | typeof TournamentGroup | typeof TournamentBracket | typeof TournamentBracketSlot | typeof TeamTrophy | typeof TournamentMatchCard | typeof TeamAccessCode | typeof TeamJoinRequest | typeof TeamKit | typeof TeamModality | typeof TeamSponsor | typeof PlayerPosition | typeof PlayerPersonalData | typeof UserAuthProvider | typeof RefreshToken | typeof UserOnboardingIntent | typeof UserVerification | typeof BillingProduct | typeof BillingPlan | typeof BillingSubscriptionItem | typeof BillingSubscription | typeof BillingAccount | typeof BillingEvent | typeof BillingInvoice | typeof BillingInvoiceLineItem | typeof BillingMatchUsage | typeof BillingPayment | typeof BillingProviderWebhookEvent | typeof FeedActivityReaction | typeof FeedActivity | typeof FeedActivitySubject | typeof FeedOutbox | typeof FinanceAuditEvent | typeof FinanceEntryItem | typeof FinanceEntry | typeof FinanceLedger | typeof UserDomainEvent | typeof UserEventView)[];
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,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,EACL,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9F,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,OAAO,EACP,YAAY,EACZ,WAAW,EACX,UAAU,EACX,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,OAAO,EACP,oBAAoB,EACpB,UAAU,EACV,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,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,EACxB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,iBAAiB,
|
|
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,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,YA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,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,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,EACxB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,iBAAiB,klFAsG7B,CAAC"}
|
|
@@ -79,6 +79,7 @@ import {
|
|
|
79
79
|
TournamentMatchCard,
|
|
80
80
|
TournamentMatchGoal,
|
|
81
81
|
TournamentMatchKit,
|
|
82
|
+
TournamentMatchPlayerNumber,
|
|
82
83
|
TournamentMatchReferee,
|
|
83
84
|
TournamentMatchRule,
|
|
84
85
|
TournamentMatchSchema,
|
|
@@ -157,6 +158,7 @@ const DATABASE_ENTITIES = [
|
|
|
157
158
|
TournamentMatchSubstitution,
|
|
158
159
|
TournamentMatchTimeout,
|
|
159
160
|
TournamentMatchKit,
|
|
161
|
+
TournamentMatchPlayerNumber,
|
|
160
162
|
TournamentMatchReferee,
|
|
161
163
|
TournamentPenaltyShootout,
|
|
162
164
|
TournamentMatchSchema,
|
|
@@ -22,6 +22,7 @@ export * from './tournament-groups';
|
|
|
22
22
|
export * from './tournament-match-cards';
|
|
23
23
|
export * from './tournament-match-goals';
|
|
24
24
|
export * from './tournament-match-kits';
|
|
25
|
+
export * from './tournament-match-player-numbers';
|
|
25
26
|
export * from './tournament-match-referees';
|
|
26
27
|
export * from './tournament-match-rules';
|
|
27
28
|
export * from './tournament-match-schemas';
|
|
@@ -1 +1 @@
|
|
|
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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;AAC5C,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"}
|
|
@@ -21,6 +21,7 @@ export * from "./tournament-groups/index.js";
|
|
|
21
21
|
export * from "./tournament-match-cards/index.js";
|
|
22
22
|
export * from "./tournament-match-goals/index.js";
|
|
23
23
|
export * from "./tournament-match-kits/index.js";
|
|
24
|
+
export * from "./tournament-match-player-numbers/index.js";
|
|
24
25
|
export * from "./tournament-match-referees/index.js";
|
|
25
26
|
export * from "./tournament-match-rules/index.js";
|
|
26
27
|
export * from "./tournament-match-schemas/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"match-player-number-source.enum.d.ts","sourceRoot":"","sources":["../../../../src/tournaments/tournament-match-player-numbers/enums/match-player-number-source.enum.ts"],"names":[],"mappings":"AAYA,oBAAY,uBAAuB;IAEjC,SAAS,cAAc;IAGvB,IAAI,SAAS;IAGb,UAAU,eAAe;CAC1B"}
|
package/dist/tournaments/tournament-match-player-numbers/enums/match-player-number-source.enum.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var MatchPlayerNumberSource = /* @__PURE__ */ ((MatchPlayerNumberSource2) => {
|
|
2
|
+
MatchPlayerNumberSource2["ORGANIZER"] = "organizer";
|
|
3
|
+
MatchPlayerNumberSource2["TEAM"] = "team";
|
|
4
|
+
MatchPlayerNumberSource2["LAST_MATCH"] = "last_match";
|
|
5
|
+
return MatchPlayerNumberSource2;
|
|
6
|
+
})(MatchPlayerNumberSource || {});
|
|
7
|
+
export {
|
|
8
|
+
MatchPlayerNumberSource
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-player-numbers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC"}
|
package/dist/tournaments/tournament-match-player-numbers/tournament-match-player-number.entity.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PlayerTeam } from '../../teams';
|
|
2
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
3
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
4
|
+
import { MatchPlayerNumberSource } from './enums/match-player-number-source.enum';
|
|
5
|
+
export declare class TournamentMatchPlayerNumber {
|
|
6
|
+
id: number;
|
|
7
|
+
matchId: number;
|
|
8
|
+
tournamentTeamId: number;
|
|
9
|
+
playerTeamId: number;
|
|
10
|
+
shirtNumber: number;
|
|
11
|
+
source: MatchPlayerNumberSource;
|
|
12
|
+
setByOrganizationUserId: number | null;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
match?: TournamentMatch;
|
|
16
|
+
team?: TournamentTeam;
|
|
17
|
+
playerTeam?: PlayerTeam;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=tournament-match-player-number.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-match-player-number.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-player-numbers/tournament-match-player-number.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AA2BlF,qBAQa,2BAA2B;IAEtC,EAAE,EAAE,MAAM,CAAC;IAGX,OAAO,EAAE,MAAM,CAAC;IAOhB,gBAAgB,EAAE,MAAM,CAAC;IAOzB,YAAY,EAAE,MAAM,CAAC;IAOrB,WAAW,EAAE,MAAM,CAAC;IAQpB,MAAM,EAAE,uBAAuB,CAAC;IAUhC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvC,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAShB,KAAK,CAAC,EAAE,eAAe,CAAC;IAOxB,IAAI,CAAC,EAAE,cAAc,CAAC;IAOtB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"}
|
package/dist/tournaments/tournament-match-player-numbers/tournament-match-player-number.entity.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
Check,
|
|
13
|
+
Column,
|
|
14
|
+
CreateDateColumn,
|
|
15
|
+
Entity,
|
|
16
|
+
Index,
|
|
17
|
+
JoinColumn,
|
|
18
|
+
ManyToOne,
|
|
19
|
+
PrimaryGeneratedColumn,
|
|
20
|
+
UpdateDateColumn
|
|
21
|
+
} from "typeorm";
|
|
22
|
+
import { PlayerTeam } from "../../teams/index.js";
|
|
23
|
+
import { TournamentMatch } from "../tournament-matches/index.js";
|
|
24
|
+
import { TournamentTeam } from "../tournament-teams/index.js";
|
|
25
|
+
import { MatchPlayerNumberSource } from "./enums/match-player-number-source.enum.js";
|
|
26
|
+
let TournamentMatchPlayerNumber = class {
|
|
27
|
+
};
|
|
28
|
+
__decorateClass([
|
|
29
|
+
PrimaryGeneratedColumn()
|
|
30
|
+
], TournamentMatchPlayerNumber.prototype, "id", 2);
|
|
31
|
+
__decorateClass([
|
|
32
|
+
Column({ name: "match_id", type: "int", comment: "Partida em que o n\xFAmero \xE9 usado." })
|
|
33
|
+
], TournamentMatchPlayerNumber.prototype, "matchId", 2);
|
|
34
|
+
__decorateClass([
|
|
35
|
+
Column({
|
|
36
|
+
name: "tournament_team_id",
|
|
37
|
+
type: "int",
|
|
38
|
+
comment: "Time (dentro da categoria) pelo qual o jogador joga a partida."
|
|
39
|
+
})
|
|
40
|
+
], TournamentMatchPlayerNumber.prototype, "tournamentTeamId", 2);
|
|
41
|
+
__decorateClass([
|
|
42
|
+
Column({
|
|
43
|
+
name: "player_team_id",
|
|
44
|
+
type: "int",
|
|
45
|
+
comment: "V\xEDnculo do jogador com o time (player_teams.id)."
|
|
46
|
+
})
|
|
47
|
+
], TournamentMatchPlayerNumber.prototype, "playerTeamId", 2);
|
|
48
|
+
__decorateClass([
|
|
49
|
+
Column({
|
|
50
|
+
name: "shirt_number",
|
|
51
|
+
type: "smallint",
|
|
52
|
+
comment: "N\xFAmero da camisa nesta partida, de 0 a 99."
|
|
53
|
+
})
|
|
54
|
+
], TournamentMatchPlayerNumber.prototype, "shirtNumber", 2);
|
|
55
|
+
__decorateClass([
|
|
56
|
+
Column({
|
|
57
|
+
type: "enum",
|
|
58
|
+
enum: MatchPlayerNumberSource,
|
|
59
|
+
comment: "Quem gravou a linha: o organizador, ou o in\xEDcio/encerramento da partida herdando um n\xFAmero."
|
|
60
|
+
})
|
|
61
|
+
], TournamentMatchPlayerNumber.prototype, "source", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
Column({
|
|
64
|
+
name: "set_by_organization_user_id",
|
|
65
|
+
type: "int",
|
|
66
|
+
nullable: true,
|
|
67
|
+
comment: "organization_users.id de quem definiu o n\xFAmero. Sem FK declarada (tabela de outro servi\xE7o), no mesmo padr\xE3o de tournament_match_kits. NULL quando a linha foi herdada."
|
|
68
|
+
})
|
|
69
|
+
], TournamentMatchPlayerNumber.prototype, "setByOrganizationUserId", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
CreateDateColumn({ name: "created_at", type: "timestamptz" })
|
|
72
|
+
], TournamentMatchPlayerNumber.prototype, "createdAt", 2);
|
|
73
|
+
__decorateClass([
|
|
74
|
+
UpdateDateColumn({ name: "updated_at", type: "timestamptz" })
|
|
75
|
+
], TournamentMatchPlayerNumber.prototype, "updatedAt", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
ManyToOne(() => TournamentMatch, (match) => match.playerNumbers, { onDelete: "CASCADE" }),
|
|
78
|
+
JoinColumn({
|
|
79
|
+
name: "match_id",
|
|
80
|
+
foreignKeyConstraintName: "fk_tournament_match_player_numbers_match"
|
|
81
|
+
})
|
|
82
|
+
], TournamentMatchPlayerNumber.prototype, "match", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
ManyToOne(() => TournamentTeam, { onDelete: "CASCADE" }),
|
|
85
|
+
JoinColumn({
|
|
86
|
+
name: "tournament_team_id",
|
|
87
|
+
foreignKeyConstraintName: "fk_tournament_match_player_numbers_team"
|
|
88
|
+
})
|
|
89
|
+
], TournamentMatchPlayerNumber.prototype, "team", 2);
|
|
90
|
+
__decorateClass([
|
|
91
|
+
ManyToOne(() => PlayerTeam, { onDelete: "CASCADE" }),
|
|
92
|
+
JoinColumn({
|
|
93
|
+
name: "player_team_id",
|
|
94
|
+
foreignKeyConstraintName: "fk_tournament_match_player_numbers_player_team"
|
|
95
|
+
})
|
|
96
|
+
], TournamentMatchPlayerNumber.prototype, "playerTeam", 2);
|
|
97
|
+
TournamentMatchPlayerNumber = __decorateClass([
|
|
98
|
+
Entity("tournament_match_player_numbers"),
|
|
99
|
+
Index("UQ_tournament_match_player_numbers_match_player", ["matchId", "playerTeamId"], {
|
|
100
|
+
unique: true
|
|
101
|
+
}),
|
|
102
|
+
Index("IDX_tournament_match_player_numbers_player_match", ["playerTeamId", "matchId"]),
|
|
103
|
+
Index("IDX_tournament_match_player_numbers_team", ["tournamentTeamId"]),
|
|
104
|
+
Check("chk_tournament_match_player_numbers_range", `shirt_number BETWEEN 0 AND 99`)
|
|
105
|
+
], TournamentMatchPlayerNumber);
|
|
106
|
+
export {
|
|
107
|
+
TournamentMatchPlayerNumber
|
|
108
|
+
};
|
|
@@ -4,6 +4,7 @@ import { TournamentFacility } from '../tournament-facilities';
|
|
|
4
4
|
import { TournamentMatchCard } from '../tournament-match-cards';
|
|
5
5
|
import { TournamentMatchGoal } from '../tournament-match-goals';
|
|
6
6
|
import { TournamentMatchKit } from '../tournament-match-kits';
|
|
7
|
+
import { TournamentMatchPlayerNumber } from '../tournament-match-player-numbers';
|
|
7
8
|
import { TournamentMatchReferee } from '../tournament-match-referees';
|
|
8
9
|
import { TournamentMatchSubstitution } from '../tournament-match-substitutions';
|
|
9
10
|
import { TournamentMatchTimeout } from '../tournament-match-timeouts';
|
|
@@ -48,6 +49,7 @@ export declare class TournamentMatch {
|
|
|
48
49
|
substitutions: TournamentMatchSubstitution[];
|
|
49
50
|
timeouts: TournamentMatchTimeout[];
|
|
50
51
|
kits: TournamentMatchKit[];
|
|
52
|
+
playerNumbers: TournamentMatchPlayerNumber[];
|
|
51
53
|
referees: TournamentMatchReferee[];
|
|
52
54
|
firstLegBrackets: TournamentBracket[];
|
|
53
55
|
secondLegBrackets: TournamentBracket[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-match.entity.d.ts","sourceRoot":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MatchCard } from "../tournament-match-cards/index.js";
|
|
28
28
|
import { TournamentMatchGoal } from "../tournament-match-goals/index.js";
|
|
29
29
|
import { TournamentMatchKit } from "../tournament-match-kits/index.js";
|
|
30
|
+
import { TournamentMatchPlayerNumber } from "../tournament-match-player-numbers/index.js";
|
|
30
31
|
import { TournamentMatchReferee } from "../tournament-match-referees/index.js";
|
|
31
32
|
import { TournamentMatchSubstitution } from "../tournament-match-substitutions/index.js";
|
|
32
33
|
import { TournamentMatchTimeout } from "../tournament-match-timeouts/index.js";
|
|
@@ -274,6 +275,9 @@ __decorateClass([
|
|
|
274
275
|
__decorateClass([
|
|
275
276
|
OneToMany(() => TournamentMatchKit, (kit) => kit.match)
|
|
276
277
|
], TournamentMatch.prototype, "kits", 2);
|
|
278
|
+
__decorateClass([
|
|
279
|
+
OneToMany(() => TournamentMatchPlayerNumber, (number) => number.match)
|
|
280
|
+
], TournamentMatch.prototype, "playerNumbers", 2);
|
|
277
281
|
__decorateClass([
|
|
278
282
|
OneToMany(() => TournamentMatchReferee, (assignment) => assignment.match)
|
|
279
283
|
], TournamentMatch.prototype, "referees", 2);
|