@natrave/shared-entities 8.25.0 → 8.26.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-observations/enums/match-observation-moment.enum.d.ts +7 -0
- package/dist/tournaments/tournament-match-observations/enums/match-observation-moment.enum.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-observations/enums/match-observation-moment.enum.js +10 -0
- package/dist/tournaments/tournament-match-observations/index.d.ts +3 -0
- package/dist/tournaments/tournament-match-observations/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-observations/index.js +6 -0
- package/dist/tournaments/tournament-match-observations/tournament-match-observation.entity.d.ts +17 -0
- package/dist/tournaments/tournament-match-observations/tournament-match-observation.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-observations/tournament-match-observation.entity.js +130 -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, TournamentMatchPlayerNumber, TournamentMatchReferee, TournamentMatchRule, TournamentMatchSchema, TournamentMatchSubstitution, TournamentMatchTimeout, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPointsAdjustment, 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, TournamentMatchObservation, TournamentMatchPlayerNumber, TournamentMatchReferee, TournamentMatchRule, TournamentMatchSchema, TournamentMatchSubstitution, TournamentMatchTimeout, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPointsAdjustment, 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 TournamentMatchPlayerNumber | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof OrganizationUser | typeof TournamentPlayerRule | typeof TournamentPointsAdjustment | 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 BillingSubscriptionGrant | 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 TournamentMatchObservation | typeof TournamentMatchPlayerNumber | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof OrganizationUser | typeof TournamentPlayerRule | typeof TournamentPointsAdjustment | 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 BillingSubscriptionGrant | 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,wBAAwB,EACxB,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,2BAA2B,EAC3B,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,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,E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AAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,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,4rFAyG7B,CAAC"}
|
|
@@ -80,6 +80,7 @@ import {
|
|
|
80
80
|
TournamentMatchCard,
|
|
81
81
|
TournamentMatchGoal,
|
|
82
82
|
TournamentMatchKit,
|
|
83
|
+
TournamentMatchObservation,
|
|
83
84
|
TournamentMatchPlayerNumber,
|
|
84
85
|
TournamentMatchReferee,
|
|
85
86
|
TournamentMatchRule,
|
|
@@ -161,6 +162,7 @@ const DATABASE_ENTITIES = [
|
|
|
161
162
|
TournamentMatchSubstitution,
|
|
162
163
|
TournamentMatchTimeout,
|
|
163
164
|
TournamentMatchKit,
|
|
165
|
+
TournamentMatchObservation,
|
|
164
166
|
TournamentMatchPlayerNumber,
|
|
165
167
|
TournamentMatchReferee,
|
|
166
168
|
TournamentPenaltyShootout,
|
|
@@ -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-observations';
|
|
25
26
|
export * from './tournament-match-player-numbers';
|
|
26
27
|
export * from './tournament-match-referees';
|
|
27
28
|
export * from './tournament-match-rules';
|
|
@@ -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,YAAY,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,cAAc,YAAY,CAAC;AAC3B,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,8BAA8B,CAAC;AAC7C,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,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AA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AAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;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,iCAAiC,CAAC;AAChD,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-observations/index.js";
|
|
24
25
|
export * from "./tournament-match-player-numbers/index.js";
|
|
25
26
|
export * from "./tournament-match-referees/index.js";
|
|
26
27
|
export * from "./tournament-match-rules/index.js";
|
package/dist/tournaments/tournament-match-observations/enums/match-observation-moment.enum.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"match-observation-moment.enum.d.ts","sourceRoot":"","sources":["../../../../src/tournaments/tournament-match-observations/enums/match-observation-moment.enum.ts"],"names":[],"mappings":"AAcA,oBAAY,sBAAsB;IAEhC,SAAS,cAAc;IAGvB,UAAU,eAAe;IAGzB,WAAW,gBAAgB;IAG3B,UAAU,eAAe;CAC1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var MatchObservationMoment = /* @__PURE__ */ ((MatchObservationMoment2) => {
|
|
2
|
+
MatchObservationMoment2["PRE_MATCH"] = "pre-match";
|
|
3
|
+
MatchObservationMoment2["FIRST_HALF"] = "first-half";
|
|
4
|
+
MatchObservationMoment2["SECOND_HALF"] = "second-half";
|
|
5
|
+
MatchObservationMoment2["POST_MATCH"] = "post-match";
|
|
6
|
+
return MatchObservationMoment2;
|
|
7
|
+
})(MatchObservationMoment || {});
|
|
8
|
+
export {
|
|
9
|
+
MatchObservationMoment
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-observations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC"}
|
package/dist/tournaments/tournament-match-observations/tournament-match-observation.entity.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
2
|
+
import { MatchObservationMoment } from './enums/match-observation-moment.enum';
|
|
3
|
+
export declare class TournamentMatchObservation {
|
|
4
|
+
id: string;
|
|
5
|
+
matchId: number;
|
|
6
|
+
text: string;
|
|
7
|
+
moment: MatchObservationMoment;
|
|
8
|
+
minute: number | null;
|
|
9
|
+
createdByOrganizationUserId: number;
|
|
10
|
+
updatedByOrganizationUserId: number | null;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
deletedAt: Date | null;
|
|
14
|
+
deletedByOrganizationUserId: number | null;
|
|
15
|
+
match?: TournamentMatch;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=tournament-match-observation.entity.d.ts.map
|
package/dist/tournaments/tournament-match-observations/tournament-match-observation.entity.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-match-observation.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-observations/tournament-match-observation.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAyC/E,qBAuBa,0BAA0B;IAKrC,EAAE,EAAE,MAAM,CAAC;IAGX,OAAO,EAAE,MAAM,CAAC;IAMhB,IAAI,EAAE,MAAM,CAAC;IAOb,MAAM,EAAE,sBAAsB,CAAC;IAO/B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAOtB,2BAA2B,EAAE,MAAM,CAAC;IAQpC,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAO3C,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAQvB,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAU3C,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB"}
|
|
@@ -0,0 +1,130 @@
|
|
|
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 { TournamentMatch } from "../tournament-matches/index.js";
|
|
23
|
+
import { MatchObservationMoment } from "./enums/match-observation-moment.enum.js";
|
|
24
|
+
const MOMENTS = Object.values(MatchObservationMoment).map((moment) => `'${moment}'`).join(", ");
|
|
25
|
+
let TournamentMatchObservation = class {
|
|
26
|
+
};
|
|
27
|
+
__decorateClass([
|
|
28
|
+
PrimaryGeneratedColumn("uuid", {
|
|
29
|
+
primaryKeyConstraintName: "PK_tournament_match_observations",
|
|
30
|
+
comment: "Identificador da observa\xE7\xE3o. Gerado pelo cliente para idempot\xEAncia."
|
|
31
|
+
})
|
|
32
|
+
], TournamentMatchObservation.prototype, "id", 2);
|
|
33
|
+
__decorateClass([
|
|
34
|
+
Column({ name: "match_id", type: "int", comment: "Partida da observa\xE7\xE3o." })
|
|
35
|
+
], TournamentMatchObservation.prototype, "matchId", 2);
|
|
36
|
+
__decorateClass([
|
|
37
|
+
Column({
|
|
38
|
+
type: "text",
|
|
39
|
+
comment: "Texto livre do organizador, at\xE9 2000 caracteres. Interno da organiza\xE7\xE3o."
|
|
40
|
+
})
|
|
41
|
+
], TournamentMatchObservation.prototype, "text", 2);
|
|
42
|
+
__decorateClass([
|
|
43
|
+
Column({
|
|
44
|
+
type: "varchar",
|
|
45
|
+
length: 20,
|
|
46
|
+
comment: "Momento da partida: pre-match, first-half, second-half ou post-match."
|
|
47
|
+
})
|
|
48
|
+
], TournamentMatchObservation.prototype, "moment", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
Column({
|
|
51
|
+
type: "smallint",
|
|
52
|
+
nullable: true,
|
|
53
|
+
comment: "Minuto dentro do tempo (1 a 120). Nulo fora dos tempos ou sem cron\xF4metro."
|
|
54
|
+
})
|
|
55
|
+
], TournamentMatchObservation.prototype, "minute", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
Column({
|
|
58
|
+
name: "created_by_organization_user_id",
|
|
59
|
+
type: "int",
|
|
60
|
+
comment: "organization_users.id de quem escreveu."
|
|
61
|
+
})
|
|
62
|
+
], TournamentMatchObservation.prototype, "createdByOrganizationUserId", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
Column({
|
|
65
|
+
name: "updated_by_organization_user_id",
|
|
66
|
+
type: "int",
|
|
67
|
+
nullable: true,
|
|
68
|
+
comment: "organization_users.id de quem editou o texto por \xFAltimo. Nulo se nunca editada."
|
|
69
|
+
})
|
|
70
|
+
], TournamentMatchObservation.prototype, "updatedByOrganizationUserId", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
CreateDateColumn({
|
|
73
|
+
name: "created_at",
|
|
74
|
+
type: "timestamptz",
|
|
75
|
+
comment: "Quando a observa\xE7\xE3o foi escrita. Desempata a ordem dentro do mesmo momento."
|
|
76
|
+
})
|
|
77
|
+
], TournamentMatchObservation.prototype, "createdAt", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
UpdateDateColumn({
|
|
80
|
+
name: "updated_at",
|
|
81
|
+
type: "timestamptz",
|
|
82
|
+
comment: "\xDAltima altera\xE7\xE3o da linha (edi\xE7\xE3o, remo\xE7\xE3o ou restaura\xE7\xE3o)."
|
|
83
|
+
})
|
|
84
|
+
], TournamentMatchObservation.prototype, "updatedAt", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
Column({
|
|
87
|
+
name: "deleted_at",
|
|
88
|
+
type: "timestamptz",
|
|
89
|
+
nullable: true,
|
|
90
|
+
comment: "Quando a observa\xE7\xE3o foi removida. Nulo = observa\xE7\xE3o viva."
|
|
91
|
+
})
|
|
92
|
+
], TournamentMatchObservation.prototype, "deletedAt", 2);
|
|
93
|
+
__decorateClass([
|
|
94
|
+
Column({
|
|
95
|
+
name: "deleted_by_organization_user_id",
|
|
96
|
+
type: "int",
|
|
97
|
+
nullable: true,
|
|
98
|
+
comment: "organization_users.id de quem removeu."
|
|
99
|
+
})
|
|
100
|
+
], TournamentMatchObservation.prototype, "deletedByOrganizationUserId", 2);
|
|
101
|
+
__decorateClass([
|
|
102
|
+
ManyToOne(() => TournamentMatch, (match) => match.observations, { onDelete: "CASCADE" }),
|
|
103
|
+
JoinColumn({
|
|
104
|
+
name: "match_id",
|
|
105
|
+
foreignKeyConstraintName: "FK_tournament_match_observations_match"
|
|
106
|
+
})
|
|
107
|
+
], TournamentMatchObservation.prototype, "match", 2);
|
|
108
|
+
TournamentMatchObservation = __decorateClass([
|
|
109
|
+
Entity("tournament_match_observations"),
|
|
110
|
+
Index("IDX_tournament_match_observations_match", ["matchId"]),
|
|
111
|
+
Check("CHK_tournament_match_observations_moment", `"moment" IN (${MOMENTS})`),
|
|
112
|
+
Check(
|
|
113
|
+
"CHK_tournament_match_observations_minute",
|
|
114
|
+
`"minute" IS NULL
|
|
115
|
+
OR ("moment" IN ('${MatchObservationMoment.FIRST_HALF}', '${MatchObservationMoment.SECOND_HALF}')
|
|
116
|
+
AND "minute" BETWEEN 1 AND 120)`
|
|
117
|
+
),
|
|
118
|
+
Check(
|
|
119
|
+
"CHK_tournament_match_observations_text",
|
|
120
|
+
`btrim("text") <> '' AND char_length("text") <= 2000`
|
|
121
|
+
),
|
|
122
|
+
Check(
|
|
123
|
+
"CHK_tournament_match_observations_deletion_complete",
|
|
124
|
+
`("deleted_at" IS NULL AND "deleted_by_organization_user_id" IS NULL)
|
|
125
|
+
OR ("deleted_at" IS NOT NULL AND "deleted_by_organization_user_id" IS NOT NULL)`
|
|
126
|
+
)
|
|
127
|
+
], TournamentMatchObservation);
|
|
128
|
+
export {
|
|
129
|
+
TournamentMatchObservation
|
|
130
|
+
};
|
|
@@ -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 { TournamentMatchObservation } from '../tournament-match-observations';
|
|
7
8
|
import { TournamentMatchPlayerNumber } from '../tournament-match-player-numbers';
|
|
8
9
|
import { TournamentMatchReferee } from '../tournament-match-referees';
|
|
9
10
|
import { TournamentMatchSubstitution } from '../tournament-match-substitutions';
|
|
@@ -53,6 +54,7 @@ export declare class TournamentMatch {
|
|
|
53
54
|
kits: TournamentMatchKit[];
|
|
54
55
|
playerNumbers: TournamentMatchPlayerNumber[];
|
|
55
56
|
referees: TournamentMatchReferee[];
|
|
57
|
+
observations: TournamentMatchObservation[];
|
|
56
58
|
firstLegBrackets: TournamentBracket[];
|
|
57
59
|
secondLegBrackets: TournamentBracket[];
|
|
58
60
|
penaltyShootout: TournamentPenaltyShootout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament-match.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-matches/tournament-match.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAevF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCA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B,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAAC;IAS/B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAUvB,mBAAmB,EAAE,OAAO,CAAC;IAW7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAU/B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAUjC,gBAAgB,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAa/C,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAY7C,cAAc,EAAE,mBAAmB,CAAC;IAWpC,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ3C,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAM9B,UAAU,EAAE,UAAU,CAAC;IAMvB,QAAQ,EAAE,cAAc,CAAC;IAMzB,QAAQ,EAAE,cAAc,CAAC;IAIzB,eAAe,CAAC,EAAE,cAAc,CAAC;IAGjC,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAG7B,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAG7B,aAAa,EAAE,2BAA2B,EAAE,CAAC;IAG7C,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAGnC,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAG3B,aAAa,EAAE,2BAA2B,EAAE,CAAC;IAG7C,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAGnC,YAAY,EAAE,0BAA0B,EAAE,CAAC;IAG3C,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IAGtC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IAGvC,eAAe,EAAE,yBAAyB,CAAC;CAC5C"}
|
|
@@ -27,6 +27,7 @@ import { TournamentFacility } from "../tournament-facilities/index.js";
|
|
|
27
27
|
import { TournamentMatchCard } 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 { TournamentMatchObservation } from "../tournament-match-observations/index.js";
|
|
30
31
|
import { TournamentMatchPlayerNumber } from "../tournament-match-player-numbers/index.js";
|
|
31
32
|
import { TournamentMatchReferee } from "../tournament-match-referees/index.js";
|
|
32
33
|
import { TournamentMatchSubstitution } from "../tournament-match-substitutions/index.js";
|
|
@@ -292,6 +293,9 @@ __decorateClass([
|
|
|
292
293
|
__decorateClass([
|
|
293
294
|
OneToMany(() => TournamentMatchReferee, (assignment) => assignment.match)
|
|
294
295
|
], TournamentMatch.prototype, "referees", 2);
|
|
296
|
+
__decorateClass([
|
|
297
|
+
OneToMany(() => TournamentMatchObservation, (observation) => observation.match)
|
|
298
|
+
], TournamentMatch.prototype, "observations", 2);
|
|
295
299
|
__decorateClass([
|
|
296
300
|
OneToMany(() => TournamentBracket, (bracket) => bracket.firstLegMatch)
|
|
297
301
|
], TournamentMatch.prototype, "firstLegBrackets", 2);
|