@natrave/shared-entities 1.2.0 → 1.2.2
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/app-auth/index.d.ts +6 -0
- package/dist/app-auth/index.d.ts.map +1 -0
- package/dist/app-auth/index.js +5 -5
- package/dist/app-auth/password-resets/index.d.ts +2 -0
- package/dist/app-auth/password-resets/index.d.ts.map +1 -0
- package/dist/app-auth/password-resets/password-reset.entity.d.ts +11 -0
- package/dist/app-auth/password-resets/password-reset.entity.d.ts.map +1 -0
- package/dist/app-auth/refresh-tokens/index.d.ts +2 -0
- package/dist/app-auth/refresh-tokens/index.d.ts.map +1 -0
- package/dist/app-auth/refresh-tokens/refresh-token.entity.d.ts +11 -0
- package/dist/app-auth/refresh-tokens/refresh-token.entity.d.ts.map +1 -0
- package/dist/app-auth/user-auth-providers/enums/auth-provider.enum.d.ts +6 -0
- package/dist/app-auth/user-auth-providers/enums/auth-provider.enum.d.ts.map +1 -0
- package/dist/app-auth/user-auth-providers/index.d.ts +3 -0
- package/dist/app-auth/user-auth-providers/index.d.ts.map +1 -0
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.d.ts +13 -0
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.d.ts.map +1 -0
- package/dist/app-auth/user-verifications/enums/verification-type.enum.d.ts +5 -0
- package/dist/app-auth/user-verifications/enums/verification-type.enum.d.ts.map +1 -0
- package/dist/app-auth/user-verifications/index.d.ts +3 -0
- package/dist/app-auth/user-verifications/index.d.ts.map +1 -0
- package/dist/app-auth/user-verifications/user-verification.entity.d.ts +15 -0
- package/dist/app-auth/user-verifications/user-verification.entity.d.ts.map +1 -0
- package/dist/app-auth/users/index.d.ts +2 -0
- package/dist/app-auth/users/index.d.ts.map +1 -0
- package/dist/app-auth/users/user.entity.d.ts +29 -0
- package/dist/app-auth/users/user.entity.d.ts.map +1 -0
- package/dist/app-auth/users/utils/format-data.utils.d.ts +7 -0
- package/dist/app-auth/users/utils/format-data.utils.d.ts.map +1 -0
- package/dist/common/utils/decimal-transformer.utils.d.ts +5 -0
- package/dist/common/utils/decimal-transformer.utils.d.ts.map +1 -0
- package/dist/facilities/addresses/address.entity.d.ts +18 -0
- package/dist/facilities/addresses/address.entity.d.ts.map +1 -0
- package/dist/facilities/addresses/index.d.ts +2 -0
- package/dist/facilities/addresses/index.d.ts.map +1 -0
- package/dist/facilities/facilities/enums/facility-status.enum.d.ts +6 -0
- package/dist/facilities/facilities/enums/facility-status.enum.d.ts.map +1 -0
- package/dist/facilities/facilities/facility.entity.d.ts +26 -0
- package/dist/facilities/facilities/facility.entity.d.ts.map +1 -0
- package/dist/facilities/facilities/index.d.ts +3 -0
- package/dist/facilities/facilities/index.d.ts.map +1 -0
- package/dist/facilities/facilities/utils/sanititze.utils.d.ts +5 -0
- package/dist/facilities/facilities/utils/sanititze.utils.d.ts.map +1 -0
- package/dist/facilities/facility-images/facility-image.entity.d.ts +12 -0
- package/dist/facilities/facility-images/facility-image.entity.d.ts.map +1 -0
- package/dist/facilities/facility-images/index.d.ts +2 -0
- package/dist/facilities/facility-images/index.d.ts.map +1 -0
- package/dist/facilities/facility-owners/facility-owner.entity.d.ts +13 -0
- package/dist/facilities/facility-owners/facility-owner.entity.d.ts.map +1 -0
- package/dist/facilities/facility-owners/index.d.ts +2 -0
- package/dist/facilities/facility-owners/index.d.ts.map +1 -0
- package/dist/facilities/facility-owners/utils/sanitize.utils.d.ts +5 -0
- package/dist/facilities/facility-owners/utils/sanitize.utils.d.ts.map +1 -0
- package/dist/facilities/fields/enums/surface-type.enum.d.ts +8 -0
- package/dist/facilities/fields/enums/surface-type.enum.d.ts.map +1 -0
- package/dist/facilities/fields/field.entity.d.ts +18 -0
- package/dist/facilities/fields/field.entity.d.ts.map +1 -0
- package/dist/facilities/fields/index.d.ts +3 -0
- package/dist/facilities/fields/index.d.ts.map +1 -0
- package/dist/facilities/index.d.ts +6 -0
- package/dist/facilities/index.d.ts.map +1 -0
- package/dist/facilities/index.js +5 -5
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -4
- package/dist/payments/index.d.ts +4 -0
- package/dist/payments/index.d.ts.map +1 -0
- package/dist/payments/index.js +3 -3
- package/dist/payments/payment-providers/enums/payment-provider-name.enum.d.ts +4 -0
- package/dist/payments/payment-providers/enums/payment-provider-name.enum.d.ts.map +1 -0
- package/dist/payments/payment-providers/index.d.ts +3 -0
- package/dist/payments/payment-providers/index.d.ts.map +1 -0
- package/dist/payments/payment-providers/payment-provider.entity.d.ts +10 -0
- package/dist/payments/payment-providers/payment-provider.entity.d.ts.map +1 -0
- package/dist/payments/payments/enums/payment-method.enum.d.ts +5 -0
- package/dist/payments/payments/enums/payment-method.enum.d.ts.map +1 -0
- package/dist/payments/payments/enums/payment-status.enum.d.ts +10 -0
- package/dist/payments/payments/enums/payment-status.enum.d.ts.map +1 -0
- package/dist/payments/payments/index.d.ts +4 -0
- package/dist/payments/payments/index.d.ts.map +1 -0
- package/dist/payments/payments/payment.entity.d.ts +19 -0
- package/dist/payments/payments/payment.entity.d.ts.map +1 -0
- package/dist/payments/user-payment-providers/index.d.ts +2 -0
- package/dist/payments/user-payment-providers/index.d.ts.map +1 -0
- package/dist/payments/user-payment-providers/user-payment-provider.entity.d.ts +13 -0
- package/dist/payments/user-payment-providers/user-payment-provider.entity.d.ts.map +1 -0
- package/dist/tournaments/index.d.ts +13 -0
- package/dist/tournaments/index.d.ts.map +1 -0
- package/dist/tournaments/index.js +12 -12
- package/dist/tournaments/tournament-facilities/index.d.ts +2 -0
- package/dist/tournaments/tournament-facilities/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.d.ts +14 -0
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-format-configs/index.d.ts +2 -0
- package/dist/tournaments/tournament-format-configs/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts +15 -0
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-cards/index.d.ts +2 -0
- package/dist/tournaments/tournament-match-cards/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.d.ts +19 -0
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-goals/index.d.ts +2 -0
- package/dist/tournaments/tournament-match-goals/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.d.ts +20 -0
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-schemas/index.d.ts +2 -0
- package/dist/tournaments/tournament-match-schemas/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.d.ts +12 -0
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-matches/index.d.ts +2 -0
- package/dist/tournaments/tournament-matches/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts +25 -0
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-payments/index.d.ts +2 -0
- package/dist/tournaments/tournament-payments/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-payments/tournament-payment.entity.d.ts +16 -0
- package/dist/tournaments/tournament-payments/tournament-payment.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-players/index.d.ts +2 -0
- package/dist/tournaments/tournament-players/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-players/tournament-player.entity.d.ts +19 -0
- package/dist/tournaments/tournament-players/tournament-player.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-prize-rules/index.d.ts +2 -0
- package/dist/tournaments/tournament-prize-rules/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.d.ts +13 -0
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-rules/index.d.ts +2 -0
- package/dist/tournaments/tournament-rules/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts +17 -0
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-teams/enums/tournament-team-status.enum.d.ts +5 -0
- package/dist/tournaments/tournament-teams/enums/tournament-team-status.enum.d.ts.map +1 -0
- package/dist/tournaments/tournament-teams/index.d.ts +3 -0
- package/dist/tournaments/tournament-teams/index.d.ts.map +1 -0
- package/dist/tournaments/tournament-teams/tournament-team.entity.d.ts +26 -0
- package/dist/tournaments/tournament-teams/tournament-team.entity.d.ts.map +1 -0
- package/dist/tournaments/tournament-teams/utils/invite-code-generator.d.ts +2 -0
- package/dist/tournaments/tournament-teams/utils/invite-code-generator.d.ts.map +1 -0
- package/dist/tournaments/tournaments/index.d.ts +2 -0
- package/dist/tournaments/tournaments/index.d.ts.map +1 -0
- package/dist/tournaments/tournaments/tournament.entity.d.ts +39 -0
- package/dist/tournaments/tournaments/tournament.entity.d.ts.map +1 -0
- package/package.json +4 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { User } from '../../app-auth';
|
|
2
|
+
import { PaymentProvider } from '../payment-providers';
|
|
3
|
+
export declare class UserPaymentProvider {
|
|
4
|
+
id: number;
|
|
5
|
+
userId: string;
|
|
6
|
+
paymentProviderId: number;
|
|
7
|
+
providerCustomerId: string;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
user: User;
|
|
11
|
+
paymentProvider: PaymentProvider;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=user-payment-provider.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-payment-provider.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/user-payment-providers/user-payment-provider.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,qBAKa,mBAAmB;IAE9B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,iBAAiB,EAAE,MAAM,CAAC;IAO1B,kBAAkB,EAAE,MAAM,CAAC;IAG3B,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAWhB,IAAI,EAAE,IAAI,CAAC;IASX,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './tournament-facilities';
|
|
2
|
+
export * from './tournament-format-configs';
|
|
3
|
+
export * from './tournament-match-cards';
|
|
4
|
+
export * from './tournament-match-goals';
|
|
5
|
+
export * from './tournament-match-schemas';
|
|
6
|
+
export * from './tournament-matches';
|
|
7
|
+
export * from './tournament-payments';
|
|
8
|
+
export * from './tournament-players';
|
|
9
|
+
export * from './tournament-prize-rules';
|
|
10
|
+
export * from './tournament-rules';
|
|
11
|
+
export * from './tournament-teams';
|
|
12
|
+
export * from './tournaments';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tournaments/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from "./tournament-facilities.js";
|
|
2
|
-
export * from "./tournament-format-configs.js";
|
|
3
|
-
export * from "./tournament-match-cards.js";
|
|
4
|
-
export * from "./tournament-match-goals.js";
|
|
5
|
-
export * from "./tournament-match-schemas.js";
|
|
6
|
-
export * from "./tournament-matches.js";
|
|
7
|
-
export * from "./tournament-payments.js";
|
|
8
|
-
export * from "./tournament-players.js";
|
|
9
|
-
export * from "./tournament-prize-rules.js";
|
|
10
|
-
export * from "./tournament-rules.js";
|
|
11
|
-
export * from "./tournament-teams.js";
|
|
12
|
-
export * from "./tournaments.js";
|
|
1
|
+
export * from "./tournament-facilities/index.js";
|
|
2
|
+
export * from "./tournament-format-configs/index.js";
|
|
3
|
+
export * from "./tournament-match-cards/index.js";
|
|
4
|
+
export * from "./tournament-match-goals/index.js";
|
|
5
|
+
export * from "./tournament-match-schemas/index.js";
|
|
6
|
+
export * from "./tournament-matches/index.js";
|
|
7
|
+
export * from "./tournament-payments/index.js";
|
|
8
|
+
export * from "./tournament-players/index.js";
|
|
9
|
+
export * from "./tournament-prize-rules/index.js";
|
|
10
|
+
export * from "./tournament-rules/index.js";
|
|
11
|
+
export * from "./tournament-teams/index.js";
|
|
12
|
+
export * from "./tournaments/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-facilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ITournamentFacility } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { Facility } from '../../facilities';
|
|
3
|
+
import { Tournament } from '../tournaments';
|
|
4
|
+
export declare class TournamentFacility implements ITournamentFacility {
|
|
5
|
+
id: number;
|
|
6
|
+
facilityId: number;
|
|
7
|
+
tournamentId: number;
|
|
8
|
+
isPrimary: boolean;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
tournament: Tournament;
|
|
12
|
+
facility: Facility;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=tournament-facility.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-facility.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-facilities/tournament-facility.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAazE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAe5C,qBAGa,kBAAmB,YAAW,mBAAmB;IAE5D,EAAE,EAAE,MAAM,CAAC;IAGX,UAAU,EAAE,MAAM,CAAC;IAGnB,YAAY,EAAE,MAAM,CAAC;IAGrB,SAAS,EAAE,OAAO,CAAC;IAGnB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAShB,UAAU,EAAE,UAAU,CAAC;IAOvB,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-format-configs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KnockoutPhase, MatchLegMode, TournamentFormat, type ITournamentFormatConfig } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { Tournament } from '../tournaments';
|
|
3
|
+
export declare class TournamentFormatConfig implements ITournamentFormatConfig {
|
|
4
|
+
id: number;
|
|
5
|
+
tournamentId: number;
|
|
6
|
+
format: TournamentFormat;
|
|
7
|
+
numberOfGroups: number | null;
|
|
8
|
+
initialPhaseMatchMode: MatchLegMode | null;
|
|
9
|
+
knockoutStartPhase: KnockoutPhase | null;
|
|
10
|
+
knockoutMatchMode: MatchLegMode | null;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
tournament: Tournament;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=tournament-format-config.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-format-config.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-format-configs/tournament-format-config.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAc5C,qBACa,sBAAuB,YAAW,uBAAuB;IACpE,EAAE,EAAE,MAAM,CAAC;IAEX,YAAY,EAAE,MAAM,CAAC;IAGrB,MAAM,EAAE,gBAAgB,CAAC;IAGzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAc9B,qBAAqB,EAAE,YAAY,GAAG,IAAI,CAAC;IAS3C,kBAAkB,EAAE,aAAa,GAAG,IAAI,CAAC;IAczC,iBAAiB,EAAE,YAAY,GAAG,IAAI,CAAC;IAGvC,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAWhB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-cards/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CardType, MatchPeriod, type ITournamentMatchCard } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
3
|
+
import { TournamentPlayer } from '../tournament-players';
|
|
4
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
5
|
+
export declare class TournamentMatchCard implements ITournamentMatchCard {
|
|
6
|
+
id: number;
|
|
7
|
+
minute?: number;
|
|
8
|
+
period?: MatchPeriod;
|
|
9
|
+
playerId: number;
|
|
10
|
+
teamId: number;
|
|
11
|
+
matchId: number;
|
|
12
|
+
cardType: CardType;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
team: TournamentTeam;
|
|
16
|
+
match: TournamentMatch;
|
|
17
|
+
player: TournamentPlayer;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=tournament-match-card.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-match-card.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-cards/tournament-match-card.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,WAAW,EACX,KAAK,oBAAoB,EAC1B,MAAM,oCAAoC,CAAC;AAY5C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAarD,qBAIa,mBAAoB,YAAW,oBAAoB;IAE9D,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,WAAW,CAAC;IAGrB,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,QAAQ,CAAC;IAGnB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAShB,IAAI,EAAE,cAAc,CAAC;IAOrB,KAAK,EAAE,eAAe,CAAC;IAOvB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-goals/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ITournamentMatchGoal, MatchPeriod } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
3
|
+
import { TournamentPlayer } from '../tournament-players';
|
|
4
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
5
|
+
export declare class TournamentMatchGoal implements ITournamentMatchGoal {
|
|
6
|
+
id: number;
|
|
7
|
+
teamId: number;
|
|
8
|
+
matchId: number;
|
|
9
|
+
minute?: number;
|
|
10
|
+
period?: MatchPeriod;
|
|
11
|
+
scorerId?: number;
|
|
12
|
+
assistId?: number;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
team?: TournamentTeam;
|
|
16
|
+
match?: TournamentMatch;
|
|
17
|
+
scorer?: TournamentPlayer;
|
|
18
|
+
assist?: TournamentPlayer;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=tournament-match-goal.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-match-goal.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-goals/tournament-match-goal.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAYvF,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAarD,qBAGa,mBAAoB,YAAW,oBAAoB;IAE9D,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,WAAW,CAAC;IAGrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAShB,IAAI,CAAC,EAAE,cAAc,CAAC;IAOtB,KAAK,CAAC,EAAE,eAAe,CAAC;IAOxB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAO1B,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ITournamentMatchSchema } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { Tournament } from '../tournaments';
|
|
3
|
+
export declare class TournamentMatchSchema implements ITournamentMatchSchema {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
playersPerTeam: number;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
tournaments: Tournament[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=tournament-match-schema.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-match-schema.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-match-schemas/tournament-match-schema.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAW5E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBAEa,qBAAsB,YAAW,sBAAsB;IAElE,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,EAAE,MAAM,CAAC;IAGvB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAQhB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-matches/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ITournamentMatch, TournamentMatchPhase } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { Field } from '../../facilities';
|
|
3
|
+
import { TournamentMatchCard } from '../tournament-match-cards';
|
|
4
|
+
import { TournamentMatchGoal } from '../tournament-match-goals';
|
|
5
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
6
|
+
import { Tournament } from '../tournaments';
|
|
7
|
+
export declare class TournamentMatch implements ITournamentMatch {
|
|
8
|
+
id: number;
|
|
9
|
+
tournamentId: number;
|
|
10
|
+
homeTeamId: number;
|
|
11
|
+
awayTeamId: number;
|
|
12
|
+
fieldId?: number;
|
|
13
|
+
matchDate: Date | null;
|
|
14
|
+
phase: TournamentMatchPhase;
|
|
15
|
+
roundIndicator: number;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
field?: Field;
|
|
19
|
+
tournament: Tournament;
|
|
20
|
+
homeTeam: TournamentTeam;
|
|
21
|
+
awayTeam: TournamentTeam;
|
|
22
|
+
goals: TournamentMatchGoal[];
|
|
23
|
+
cards: TournamentMatchCard[];
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=tournament-match.entity.d.ts.map
|
|
@@ -0,0 +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,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAY5F,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBACa,eAAgB,YAAW,gBAAgB;IAEtD,EAAE,EAAE,MAAM,CAAC;IAGX,YAAY,EAAE,MAAM,CAAC;IAGrB,UAAU,EAAE,MAAM,CAAC;IAGnB,UAAU,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAUvB,KAAK,EAAE,oBAAoB,CAAC;IAS5B,cAAc,EAAE,MAAM,CAAC;IAGvB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAShB,KAAK,CAAC,EAAE,KAAK,CAAC;IASd,UAAU,EAAE,UAAU,CAAC;IASvB,QAAQ,EAAE,cAAc,CAAC;IASzB,QAAQ,EAAE,cAAc,CAAC;IAMzB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAM7B,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-payments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ITournamentPayment } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { User } from '../../app-auth';
|
|
3
|
+
import { Payment } from '../../payments';
|
|
4
|
+
import { Tournament } from '../tournaments';
|
|
5
|
+
export declare class TournamentPayment implements ITournamentPayment {
|
|
6
|
+
id: string;
|
|
7
|
+
paymentId: number;
|
|
8
|
+
tournamentId: number;
|
|
9
|
+
userId: string;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
updatedAt: Date;
|
|
12
|
+
user: User;
|
|
13
|
+
payment: Payment;
|
|
14
|
+
tournament: Tournament;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=tournament-payment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-payment.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-payments/tournament-payment.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAWxE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBACa,iBAAkB,YAAW,kBAAkB;IAE1D,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,EAAE,MAAM,CAAC;IAGrB,MAAM,EAAE,MAAM,CAAC;IAGf,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAShB,IAAI,EAAE,IAAI,CAAC;IAOX,OAAO,EAAE,OAAO,CAAC;IAOjB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-players/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ITournamentPlayer } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { User } from '../../app-auth';
|
|
3
|
+
import { TournamentMatchCard } from '../tournament-match-cards';
|
|
4
|
+
import { TournamentMatchGoal } from '../tournament-match-goals';
|
|
5
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
6
|
+
export declare class TournamentPlayer implements ITournamentPlayer {
|
|
7
|
+
id: number;
|
|
8
|
+
userId: string;
|
|
9
|
+
teamId: number;
|
|
10
|
+
isOwner: boolean;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
team: TournamentTeam;
|
|
14
|
+
user: User;
|
|
15
|
+
goals: TournamentMatchGoal[];
|
|
16
|
+
assists: TournamentMatchGoal[];
|
|
17
|
+
cards: TournamentMatchCard[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=tournament-player.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-player.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-players/tournament-player.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAcvE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAcrD,qBAIa,gBAAiB,YAAW,iBAAiB;IAExD,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,OAAO,CAAC;IAGjB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAahB,IAAI,EAAE,cAAc,CAAC;IAWrB,IAAI,EAAE,IAAI,CAAC;IAMX,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAM7B,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAM/B,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-prize-rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ITournamentPrizeRule } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { Tournament } from '../tournaments';
|
|
3
|
+
export declare class TournamentPrizeRule implements ITournamentPrizeRule {
|
|
4
|
+
id: number;
|
|
5
|
+
tournamentId: number;
|
|
6
|
+
amount: number;
|
|
7
|
+
rank: number;
|
|
8
|
+
description?: string;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
tournament: Tournament;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=tournament-prize-rule.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-prize-rule.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-prize-rules/tournament-prize-rule.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAa1E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAe5C,qBAGa,mBAAoB,YAAW,oBAAoB;IAE9D,EAAE,EAAE,MAAM,CAAC;IAGX,YAAY,EAAE,MAAM,CAAC;IAGrB,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAYhB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ITournamentRule } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { Tournament } from '../tournaments';
|
|
3
|
+
export declare class TournamentRule implements ITournamentRule {
|
|
4
|
+
id: number;
|
|
5
|
+
tournamentId: number;
|
|
6
|
+
maxPlayerPerTeam: number;
|
|
7
|
+
minPlayerPerTeam: number;
|
|
8
|
+
minAge: number;
|
|
9
|
+
maxAge?: number;
|
|
10
|
+
expectedTeams: number;
|
|
11
|
+
notes?: string;
|
|
12
|
+
regulationPdfUrl?: string;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
tournament: Tournament;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=tournament-rule.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-rule.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-rules/tournament-rule.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAYrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAW5C,qBAIa,cAAe,YAAW,eAAe;IAEpD,EAAE,EAAE,MAAM,CAAC;IAGX,YAAY,EAAE,MAAM,CAAC;IAGrB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;IAQf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAWhB,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-team-status.enum.d.ts","sourceRoot":"","sources":["../../../../src/tournaments/tournament-teams/enums/tournament-team-status.enum.ts"],"names":[],"mappings":"AASA,oBAAY,oBAAoB;IAK9B,OAAO,YAAY;IAKnB,UAAU,eAAe;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-teams/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ITournamentTeam } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { TournamentMatchCard } from '../tournament-match-cards';
|
|
3
|
+
import { TournamentMatchGoal } from '../tournament-match-goals';
|
|
4
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
5
|
+
import { TournamentPlayer } from '../tournament-players';
|
|
6
|
+
import { Tournament } from '../tournaments';
|
|
7
|
+
import { TournamentTeamStatus } from './enums/tournament-team-status.enum';
|
|
8
|
+
export declare class TournamentTeam implements ITournamentTeam {
|
|
9
|
+
id: number;
|
|
10
|
+
tournamentId: number;
|
|
11
|
+
name: string;
|
|
12
|
+
teamLogoUrl?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
inviteCode: string;
|
|
15
|
+
status: TournamentTeamStatus;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
tournament: Tournament;
|
|
19
|
+
players: TournamentPlayer[];
|
|
20
|
+
homeMatches: TournamentMatch[];
|
|
21
|
+
awayMatches: TournamentMatch[];
|
|
22
|
+
goals: TournamentMatchGoal[];
|
|
23
|
+
cards: TournamentMatchCard[];
|
|
24
|
+
generateInviteCode(): void;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=tournament-team.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament-team.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournament-teams/tournament-team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAerE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAY3E,qBAKa,cAAe,YAAW,eAAe;IAEpD,EAAE,EAAE,MAAM,CAAC;IAGX,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,UAAU,EAAE,MAAM,CAAC;IASnB,MAAM,EAAE,oBAAoB,CAAC;IAG7B,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAWhB,UAAU,EAAE,UAAU,CAAC;IAMvB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAM5B,WAAW,EAAE,eAAe,EAAE,CAAC;IAM/B,WAAW,EAAE,eAAe,EAAE,CAAC;IAM/B,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAM7B,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAM7B,kBAAkB,IAAI,IAAI;CAG3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invite-code-generator.d.ts","sourceRoot":"","sources":["../../../../src/tournaments/tournament-teams/utils/invite-code-generator.ts"],"names":[],"mappings":"AASA,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DayOfWeek, ITournament, TournamentGender } from '@natrave/tournaments-service-types';
|
|
2
|
+
import { TournamentFacility } from '../tournament-facilities';
|
|
3
|
+
import { TournamentFormatConfig } from '../tournament-format-configs';
|
|
4
|
+
import { TournamentMatchSchema } from '../tournament-match-schemas';
|
|
5
|
+
import { TournamentMatch } from '../tournament-matches';
|
|
6
|
+
import { TournamentPayment } from '../tournament-payments';
|
|
7
|
+
import { TournamentPrizeRule } from '../tournament-prize-rules';
|
|
8
|
+
import { TournamentRule } from '../tournament-rules';
|
|
9
|
+
import { TournamentTeam } from '../tournament-teams';
|
|
10
|
+
export declare class Tournament implements ITournament {
|
|
11
|
+
id: number;
|
|
12
|
+
name: string;
|
|
13
|
+
initialDate: Date;
|
|
14
|
+
endDate: Date;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
tournamentImage?: string | null;
|
|
17
|
+
matchSchemaId?: number | null;
|
|
18
|
+
ruleId: number;
|
|
19
|
+
formatConfigId: number;
|
|
20
|
+
matchDays: DayOfWeek[];
|
|
21
|
+
pricePerTeam: number;
|
|
22
|
+
matchStartTime: string;
|
|
23
|
+
matchEndTime: string;
|
|
24
|
+
city: string;
|
|
25
|
+
state: string;
|
|
26
|
+
gender: TournamentGender;
|
|
27
|
+
deletedAt: Date | null;
|
|
28
|
+
createdAt: Date;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
matchSchema: TournamentMatchSchema;
|
|
31
|
+
teams: TournamentTeam[];
|
|
32
|
+
rule: TournamentRule;
|
|
33
|
+
format: TournamentFormatConfig;
|
|
34
|
+
prizeRules: TournamentPrizeRule[];
|
|
35
|
+
payments: TournamentPayment[];
|
|
36
|
+
matches: TournamentMatch[];
|
|
37
|
+
tournamentFacilities: TournamentFacility[];
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=tournament.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament.entity.d.ts","sourceRoot":"","sources":["../../../src/tournaments/tournaments/tournament.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAa9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAWrD,qBACa,UAAW,YAAW,WAAW;IAE5C,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,EAAE,IAAI,CAAC;IAGlB,OAAO,EAAE,IAAI,CAAC;IAGd,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG9B,MAAM,EAAE,MAAM,CAAC;IAGf,cAAc,EAAE,MAAM,CAAC;IAQvB,SAAS,EAAE,SAAS,EAAE,CAAC;IAGvB,YAAY,EAAE,MAAM,CAAC;IAGrB,cAAc,EAAE,MAAM,CAAC;IAGvB,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAMd,MAAM,EAAE,gBAAgB,CAAC;IAGzB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAGvB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAWhB,WAAW,EAAE,qBAAqB,CAAC;IAMnC,KAAK,EAAE,cAAc,EAAE,CAAC;IAOxB,IAAI,EAAE,cAAc,CAAC;IAOrB,MAAM,EAAE,sBAAsB,CAAC;IAM/B,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAMlC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAM9B,OAAO,EAAE,eAAe,EAAE,CAAC;IAM3B,oBAAoB,EAAE,kBAAkB,EAAE,CAAC;CAC5C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -48,7 +48,9 @@
|
|
|
48
48
|
"typeorm": "^0.3.21"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"build": "tsc --
|
|
51
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
52
|
+
"build:js": "node build.js",
|
|
53
|
+
"build": "pnpm run build:types && pnpm run build:js",
|
|
52
54
|
"clean": "rm -rf dist",
|
|
53
55
|
"lint": "eslint src --ext .ts",
|
|
54
56
|
"check:types": "tsc --noEmit"
|