@natrave/shared-entities 8.27.0 → 8.28.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-team-member-notes/index.d.ts +2 -0
- package/dist/tournaments/tournament-team-member-notes/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-team-member-notes/index.js +8 -0
- package/dist/tournaments/tournament-team-member-notes/tournament-team-member-note.entity.d.ts +16 -0
- package/dist/tournaments/tournament-team-member-notes/tournament-team-member-note.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-team-member-notes/tournament-team-member-note.entity.js +101 -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, TournamentMatchObservation, 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, TournamentTeamMemberNote, 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 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 BillingSubscriptionGrant | typeof BillingSubscription | typeof BillingSubscriptionItem | 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 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 TournamentTeamMemberNote | 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 BillingSubscriptionGrant | typeof BillingSubscription | typeof BillingSubscriptionItem | 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,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,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,
|
|
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,EACx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C3B,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,EACxB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,iBAAiB,8tFA0G7B,CAAC"}
|
|
@@ -101,6 +101,7 @@ import {
|
|
|
101
101
|
TournamentRule,
|
|
102
102
|
TournamentTeam,
|
|
103
103
|
TournamentTeamInvitation,
|
|
104
|
+
TournamentTeamMemberNote,
|
|
104
105
|
TournamentTieBreakConfig
|
|
105
106
|
} from "../tournaments/index.js";
|
|
106
107
|
import { UserDomainEvent, UserEventView } from "../user-events/index.js";
|
|
@@ -177,6 +178,7 @@ const DATABASE_ENTITIES = [
|
|
|
177
178
|
TournamentRegistrationRequest,
|
|
178
179
|
TournamentRegulationField,
|
|
179
180
|
TournamentRegulationFieldStatus,
|
|
181
|
+
TournamentTeamMemberNote,
|
|
180
182
|
TournamentRule,
|
|
181
183
|
TournamentTeam,
|
|
182
184
|
TournamentTeamInvitation,
|
|
@@ -44,6 +44,7 @@ export * from './tournament-regulation-field-statuses';
|
|
|
44
44
|
export * from './tournament-regulation-fields';
|
|
45
45
|
export * from './tournament-rules';
|
|
46
46
|
export * from './tournament-team-invitations';
|
|
47
|
+
export * from './tournament-team-member-notes';
|
|
47
48
|
export * from './tournament-teams';
|
|
48
49
|
export * from './tournament-tie-break-configs';
|
|
49
50
|
export * from './tournaments';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tournaments/index.ts"],"names":[],"mappings":"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c,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,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,eAAe,CAAC"}
|
|
@@ -43,6 +43,7 @@ export * from "./tournament-regulation-field-statuses/index.js";
|
|
|
43
43
|
export * from "./tournament-regulation-fields/index.js";
|
|
44
44
|
export * from "./tournament-rules/index.js";
|
|
45
45
|
export * from "./tournament-team-invitations/index.js";
|
|
46
|
+
export * from "./tournament-team-member-notes/index.js";
|
|
46
47
|
export * from "./tournament-teams/index.js";
|
|
47
48
|
export * from "./tournament-tie-break-configs/index.js";
|
|
48
49
|
export * from "./tournaments/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-team-member-notes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,wBAAwB,GACzB,MAAM,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PlayerTeam } from '../../teams';
|
|
2
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
3
|
+
export declare const TOURNAMENT_TEAM_MEMBER_NOTE_MAX_LENGTH = 280;
|
|
4
|
+
export declare class TournamentTeamMemberNote {
|
|
5
|
+
id: number;
|
|
6
|
+
tournamentTeamId: number;
|
|
7
|
+
playerTeamId: number;
|
|
8
|
+
note: string;
|
|
9
|
+
createdByOrganizationUserId: number;
|
|
10
|
+
updatedByOrganizationUserId: number | null;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
tournamentTeam?: TournamentTeam;
|
|
14
|
+
playerTeam?: PlayerTeam;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=tournament-team-member-note.entity.d.ts.map
|
package/dist/tournaments/tournament-team-member-notes/tournament-team-member-note.entity.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-team-member-note.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-team-member-notes/tournament-team-member-note.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGrD,eAAO,MAAM,sCAAsC,MAAM,CAAC;AA8B1D,qBASa,wBAAwB;IAKnC,EAAE,EAAE,MAAM,CAAC;IAOX,gBAAgB,EAAE,MAAM,CAAC;IAOzB,YAAY,EAAE,MAAM,CAAC;IAMrB,IAAI,EAAE,MAAM,CAAC;IAOb,2BAA2B,EAAE,MAAM,CAAC;IAQpC,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3C,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAUhB,cAAc,CAAC,EAAE,cAAc,CAAC;IAQhC,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
Unique,
|
|
21
|
+
UpdateDateColumn
|
|
22
|
+
} from "typeorm";
|
|
23
|
+
import { PlayerTeam } from "../../teams/index.js";
|
|
24
|
+
import { TournamentTeam } from "../tournament-teams/index.js";
|
|
25
|
+
const TOURNAMENT_TEAM_MEMBER_NOTE_MAX_LENGTH = 280;
|
|
26
|
+
let TournamentTeamMemberNote = class {
|
|
27
|
+
};
|
|
28
|
+
__decorateClass([
|
|
29
|
+
PrimaryGeneratedColumn({
|
|
30
|
+
primaryKeyConstraintName: "PK_tournament_team_member_notes",
|
|
31
|
+
comment: "Identificador da observa\xE7\xE3o."
|
|
32
|
+
})
|
|
33
|
+
], TournamentTeamMemberNote.prototype, "id", 2);
|
|
34
|
+
__decorateClass([
|
|
35
|
+
Column({
|
|
36
|
+
name: "tournament_team_id",
|
|
37
|
+
type: "int",
|
|
38
|
+
comment: "FK tournament_teams.id: o time NA CATEGORIA a que a observa\xE7\xE3o pertence."
|
|
39
|
+
})
|
|
40
|
+
], TournamentTeamMemberNote.prototype, "tournamentTeamId", 2);
|
|
41
|
+
__decorateClass([
|
|
42
|
+
Column({
|
|
43
|
+
name: "player_team_id",
|
|
44
|
+
type: "int",
|
|
45
|
+
comment: "FK player_teams.id: o membro do elenco (jogador ou comiss\xE3o t\xE9cnica)."
|
|
46
|
+
})
|
|
47
|
+
], TournamentTeamMemberNote.prototype, "playerTeamId", 2);
|
|
48
|
+
__decorateClass([
|
|
49
|
+
Column({
|
|
50
|
+
type: "text",
|
|
51
|
+
comment: `Texto livre do organizador, at\xE9 ${TOURNAMENT_TEAM_MEMBER_NOTE_MAX_LENGTH} caracteres. Interno da organiza\xE7\xE3o.`
|
|
52
|
+
})
|
|
53
|
+
], TournamentTeamMemberNote.prototype, "note", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
Column({
|
|
56
|
+
name: "created_by_organization_user_id",
|
|
57
|
+
type: "int",
|
|
58
|
+
comment: "organization_users.id de quem escreveu."
|
|
59
|
+
})
|
|
60
|
+
], TournamentTeamMemberNote.prototype, "createdByOrganizationUserId", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
Column({
|
|
63
|
+
name: "updated_by_organization_user_id",
|
|
64
|
+
type: "int",
|
|
65
|
+
nullable: true,
|
|
66
|
+
comment: "organization_users.id de quem editou o texto por \xFAltimo. Nulo se nunca editada."
|
|
67
|
+
})
|
|
68
|
+
], TournamentTeamMemberNote.prototype, "updatedByOrganizationUserId", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
CreateDateColumn({ name: "created_at", type: "timestamptz" })
|
|
71
|
+
], TournamentTeamMemberNote.prototype, "createdAt", 2);
|
|
72
|
+
__decorateClass([
|
|
73
|
+
UpdateDateColumn({ name: "updated_at", type: "timestamptz" })
|
|
74
|
+
], TournamentTeamMemberNote.prototype, "updatedAt", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
ManyToOne(() => TournamentTeam, { onDelete: "CASCADE" }),
|
|
77
|
+
JoinColumn({
|
|
78
|
+
name: "tournament_team_id",
|
|
79
|
+
foreignKeyConstraintName: "FK_tournament_team_member_notes_tournament_team"
|
|
80
|
+
})
|
|
81
|
+
], TournamentTeamMemberNote.prototype, "tournamentTeam", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
ManyToOne(() => PlayerTeam, { onDelete: "CASCADE" }),
|
|
84
|
+
JoinColumn({
|
|
85
|
+
name: "player_team_id",
|
|
86
|
+
foreignKeyConstraintName: "FK_tournament_team_member_notes_player_team"
|
|
87
|
+
})
|
|
88
|
+
], TournamentTeamMemberNote.prototype, "playerTeam", 2);
|
|
89
|
+
TournamentTeamMemberNote = __decorateClass([
|
|
90
|
+
Entity("tournament_team_member_notes"),
|
|
91
|
+
Unique("UQ_tournament_team_member_notes_team_member", ["tournamentTeamId", "playerTeamId"]),
|
|
92
|
+
Index("IDX_tournament_team_member_notes_player_team", ["playerTeamId"]),
|
|
93
|
+
Check(
|
|
94
|
+
"CHK_tournament_team_member_notes_note",
|
|
95
|
+
`btrim("note") <> '' AND char_length("note") <= ${TOURNAMENT_TEAM_MEMBER_NOTE_MAX_LENGTH}`
|
|
96
|
+
)
|
|
97
|
+
], TournamentTeamMemberNote);
|
|
98
|
+
export {
|
|
99
|
+
TOURNAMENT_TEAM_MEMBER_NOTE_MAX_LENGTH,
|
|
100
|
+
TournamentTeamMemberNote
|
|
101
|
+
};
|