@natrave/shared-entities 1.4.26 → 1.4.28
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/teams/teams/team.entity.d.ts +2 -3
- package/dist/teams/teams/team.entity.d.ts.map +1 -1
- package/dist/teams/teams/team.entity.js +2 -3
- package/dist/tournaments/tournaments/tournament.entity.d.ts +17 -1
- package/dist/tournaments/tournaments/tournament.entity.d.ts.map +1 -1
- package/dist/tournaments/tournaments/tournament.entity.js +17 -19
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { BrazilianState } from '@natrave/tournaments-service-types';
|
|
2
|
-
import { Gender } from '../../app-auth';
|
|
1
|
+
import { BrazilianState, TournamentGender } from '@natrave/tournaments-service-types';
|
|
3
2
|
import { PlayerTeam, TeamJoinRequest, TeamModality, TeamTrophy } from '../../teams';
|
|
4
3
|
import { TournamentTeam, TournamentTeamContactAttempt } from '../../tournaments';
|
|
5
4
|
export declare class Team {
|
|
@@ -11,7 +10,7 @@ export declare class Team {
|
|
|
11
10
|
neighborhood?: string;
|
|
12
11
|
instagramAccount?: string;
|
|
13
12
|
teamLogoUrl?: string;
|
|
14
|
-
gender:
|
|
13
|
+
gender: TournamentGender | null;
|
|
15
14
|
phone: string | null;
|
|
16
15
|
createdAt: Date;
|
|
17
16
|
updatedAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAWtF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEjF,qBAEa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,cAAc,CAAC;IAGtB,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;IAGrB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,eAAe,EAAE,cAAc,EAAE,CAAC;IAGlC,iBAAiB,EAAE,UAAU,EAAE,CAAC;IAGhC,cAAc,EAAE,YAAY,EAAE,CAAC;IAG/B,YAAY,EAAE,eAAe,EAAE,CAAC;IAGhC,yBAAyB,EAAE,4BAA4B,EAAE,CAAC;IAG1D,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB"}
|
|
@@ -8,7 +8,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
8
8
|
if (kind && result) __defProp(target, key, result);
|
|
9
9
|
return result;
|
|
10
10
|
};
|
|
11
|
-
import { BrazilianState } from "@natrave/tournaments-service-types";
|
|
11
|
+
import { BrazilianState, TournamentGender } from "@natrave/tournaments-service-types";
|
|
12
12
|
import {
|
|
13
13
|
Column,
|
|
14
14
|
CreateDateColumn,
|
|
@@ -18,7 +18,6 @@ import {
|
|
|
18
18
|
PrimaryGeneratedColumn,
|
|
19
19
|
UpdateDateColumn
|
|
20
20
|
} from "typeorm";
|
|
21
|
-
import { Gender } from "../../app-auth/index.js";
|
|
22
21
|
import { PlayerTeam, TeamJoinRequest, TeamModality, TeamTrophy } from "../../teams/index.js";
|
|
23
22
|
import { TournamentTeam, TournamentTeamContactAttempt } from "../../tournaments/index.js";
|
|
24
23
|
let Team = class {
|
|
@@ -50,7 +49,7 @@ __decorateClass([
|
|
|
50
49
|
__decorateClass([
|
|
51
50
|
Column({
|
|
52
51
|
type: "enum",
|
|
53
|
-
enum: Object.values(
|
|
52
|
+
enum: Object.values(TournamentGender),
|
|
54
53
|
nullable: true,
|
|
55
54
|
comment: "G\xEAnero do usu\xE1rio (masculino, feminino ou outro)."
|
|
56
55
|
})
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { BrazilianState, ITournament, TournamentGender, TournamentModality, TournamentPublicationStatus } from '@natrave/tournaments-service-types';
|
|
2
2
|
import { Organization } from '../../central-auth';
|
|
3
3
|
import { TeamTrophy } from '../../teams';
|
|
4
|
-
import { TournamentAllowedPhone
|
|
4
|
+
import { TournamentAllowedPhone } from '../tournament-allowed-phone';
|
|
5
|
+
import { TournamentBracket } from '../tournament-brackets';
|
|
6
|
+
import { TournamentContact } from '../tournament-contacts';
|
|
7
|
+
import { TournamentCoupon } from '../tournament-coupons';
|
|
8
|
+
import { TournamentFacility } from '../tournament-facilities';
|
|
9
|
+
import { TournamentFormatConfig } from '../tournament-format-configs';
|
|
10
|
+
import { TournamentGroup } from '../tournament-groups';
|
|
11
|
+
import { TournamentMatchRule } from '../tournament-match-rules';
|
|
12
|
+
import { TournamentMatchSchema } from '../tournament-match-schemas';
|
|
13
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
14
|
+
import { TournamentMatchAvailability } from '../tournament-matches-availability';
|
|
15
|
+
import { TournamentPayment } from '../tournament-payments';
|
|
16
|
+
import { TournamentPlayerRule } from '../tournament-player-rules';
|
|
17
|
+
import { TournamentPrizeRule } from '../tournament-prize-rules';
|
|
18
|
+
import { TournamentRule } from '../tournament-rules';
|
|
19
|
+
import { TournamentTeamContactAttempt } from '../tournament-team-contact-attempts';
|
|
20
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
5
21
|
export declare class Tournament implements ITournament {
|
|
6
22
|
id: number;
|
|
7
23
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,oCAAoC,CAAC;AAe5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,oCAAoC,CAAC;AAe5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,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,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AAI,CAAC;IAOvB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,WAAW,EAAE,qBAAqB,CAAC;IAMnC,SAAS,EAAE,YAAY,CAAC;IAGxB,KAAK,EAAE,cAAc,EAAE,CAAC;IAGxB,MAAM,EAAE,eAAe,EAAE,CAAC;IAG1B,IAAI,EAAE,cAAc,CAAC;IAGrB,UAAU,EAAE,oBAAoB,CAAC;IAGjC,MAAM,EAAE,sBAAsB,CAAC;IAG/B,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAGlC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAG9B,OAAO,EAAE,eAAe,EAAE,CAAC;IAG3B,oBAAoB,EAAE,kBAAkB,EAAE,CAAC;IAG3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAG5B,mBAAmB,EAAE,2BAA2B,EAAE,CAAC;IAGnD,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAI9B,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAGlC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAG9B,eAAe,EAAE,4BAA4B,EAAE,CAAC;IAGhD,aAAa,EAAE,sBAAsB,EAAE,CAAC;IAKxC,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB"}
|
|
@@ -29,25 +29,23 @@ import {
|
|
|
29
29
|
} from "typeorm";
|
|
30
30
|
import { Organization } from "../../central-auth/index.js";
|
|
31
31
|
import { TeamTrophy } from "../../teams/index.js";
|
|
32
|
-
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
TournamentTeamContactAttempt
|
|
50
|
-
} from "../../tournaments";
|
|
32
|
+
import { TournamentAllowedPhone } from "../tournament-allowed-phone/index.js";
|
|
33
|
+
import { TournamentBracket } from "../tournament-brackets/index.js";
|
|
34
|
+
import { TournamentContact } from "../tournament-contacts/index.js";
|
|
35
|
+
import { TournamentCoupon } from "../tournament-coupons/index.js";
|
|
36
|
+
import { TournamentFacility } from "../tournament-facilities/index.js";
|
|
37
|
+
import { TournamentFormatConfig } from "../tournament-format-configs/index.js";
|
|
38
|
+
import { TournamentGroup } from "../tournament-groups/index.js";
|
|
39
|
+
import { TournamentMatchRule } from "../tournament-match-rules/index.js";
|
|
40
|
+
import { TournamentMatchSchema } from "../tournament-match-schemas/index.js";
|
|
41
|
+
import { TournamentMatch } from "../tournament-matches/index.js";
|
|
42
|
+
import { TournamentMatchAvailability } from "../tournament-matches-availability/index.js";
|
|
43
|
+
import { TournamentPayment } from "../tournament-payments/index.js";
|
|
44
|
+
import { TournamentPlayerRule } from "../tournament-player-rules/index.js";
|
|
45
|
+
import { TournamentPrizeRule } from "../tournament-prize-rules/index.js";
|
|
46
|
+
import { TournamentRule } from "../tournament-rules/index.js";
|
|
47
|
+
import { TournamentTeamContactAttempt } from "../tournament-team-contact-attempts/index.js";
|
|
48
|
+
import { TournamentTeam } from "../tournament-teams/index.js";
|
|
51
49
|
let Tournament = class {
|
|
52
50
|
};
|
|
53
51
|
__decorateClass([
|