@natrave/shared-entities 1.1.9 → 1.2.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/app-auth/index.js +5 -6
- package/dist/app-auth/password-resets/index.js +4 -2
- package/dist/app-auth/password-resets/password-reset.entity.js +48 -45
- package/dist/app-auth/refresh-tokens/index.js +4 -2
- package/dist/app-auth/refresh-tokens/refresh-token.entity.js +48 -45
- package/dist/app-auth/user-auth-providers/enums/auth-provider.enum.js +9 -7
- package/dist/app-auth/user-auth-providers/index.js +6 -3
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.js +53 -50
- package/dist/app-auth/user-verifications/enums/verification-type.enum.js +8 -6
- package/dist/app-auth/user-verifications/index.js +6 -3
- package/dist/app-auth/user-verifications/user-verification.entity.js +57 -57
- package/dist/app-auth/users/index.js +4 -2
- package/dist/app-auth/users/user.entity.js +123 -133
- package/dist/app-auth/users/utils/format-data.utils.js +19 -17
- package/dist/common/utils/decimal-transformer.utils.js +15 -14
- package/dist/facilities/addresses/address.entity.js +79 -84
- package/dist/facilities/addresses/index.js +4 -2
- package/dist/facilities/facilities/enums/facility-status.enum.js +9 -7
- package/dist/facilities/facilities/facility.entity.js +118 -121
- package/dist/facilities/facilities/index.js +6 -3
- package/dist/facilities/facilities/utils/sanititze.utils.js +12 -10
- package/dist/facilities/facility-images/facility-image.entity.js +60 -56
- package/dist/facilities/facility-images/index.js +4 -2
- package/dist/facilities/facility-owners/facility-owner.entity.js +64 -62
- package/dist/facilities/facility-owners/index.js +4 -2
- package/dist/facilities/facility-owners/utils/sanitize.utils.js +10 -8
- package/dist/facilities/fields/enums/surface-type.enum.js +11 -9
- package/dist/facilities/fields/field.entity.js +69 -69
- package/dist/facilities/fields/index.js +6 -3
- package/dist/facilities/index.js +5 -6
- package/dist/index.js +4 -5
- package/dist/payments/index.js +3 -4
- package/dist/payments/payment-providers/enums/payment-provider-name.enum.js +7 -5
- package/dist/payments/payment-providers/index.js +6 -3
- package/dist/payments/payment-providers/payment-provider.entity.js +57 -47
- package/dist/payments/payments/enums/payment-method.enum.js +8 -6
- package/dist/payments/payments/enums/payment-status.enum.js +13 -11
- package/dist/payments/payments/index.js +8 -4
- package/dist/payments/payments/payment.entity.js +79 -82
- package/dist/payments/user-payment-providers/index.js +4 -2
- package/dist/payments/user-payment-providers/user-payment-provider.entity.js +62 -58
- package/dist/tournaments/index.js +12 -13
- package/dist/tournaments/tournament-facilities/index.js +4 -2
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.js +62 -58
- package/dist/tournaments/tournament-format-configs/index.js +4 -2
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.js +70 -73
- package/dist/tournaments/tournament-match-cards/index.js +4 -2
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.js +74 -72
- package/dist/tournaments/tournament-match-goals/index.js +4 -2
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.js +74 -76
- package/dist/tournaments/tournament-match-schemas/index.js +4 -2
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.js +47 -44
- package/dist/tournaments/tournament-matches/index.js +4 -2
- package/dist/tournaments/tournament-matches/tournament-match.entity.js +89 -94
- package/dist/tournaments/tournament-payments/index.js +4 -2
- package/dist/tournaments/tournament-payments/tournament-payment.entity.js +57 -56
- package/dist/tournaments/tournament-players/index.js +4 -2
- package/dist/tournaments/tournament-players/tournament-player.entity.js +75 -73
- package/dist/tournaments/tournament-prize-rules/index.js +4 -2
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.js +56 -52
- package/dist/tournaments/tournament-rules/index.js +4 -2
- package/dist/tournaments/tournament-rules/tournament-rule.entity.js +73 -74
- package/dist/tournaments/tournament-teams/enums/tournament-team-status.enum.js +8 -6
- package/dist/tournaments/tournament-teams/index.js +6 -3
- package/dist/tournaments/tournament-teams/tournament-team.entity.js +93 -97
- package/dist/tournaments/tournament-teams/utils/invite-code-generator.js +5 -3
- package/dist/tournaments/tournaments/index.js +4 -2
- package/dist/tournaments/tournaments/tournament.entity.js +129 -144
- package/package.json +4 -2
- package/dist/app-auth/index.d.ts +0 -6
- package/dist/app-auth/index.d.ts.map +0 -1
- package/dist/app-auth/index.js.map +0 -1
- package/dist/app-auth/password-resets/index.d.ts +0 -2
- package/dist/app-auth/password-resets/index.d.ts.map +0 -1
- package/dist/app-auth/password-resets/index.js.map +0 -1
- package/dist/app-auth/password-resets/password-reset.entity.d.ts +0 -11
- package/dist/app-auth/password-resets/password-reset.entity.d.ts.map +0 -1
- package/dist/app-auth/password-resets/password-reset.entity.js.map +0 -1
- package/dist/app-auth/refresh-tokens/index.d.ts +0 -2
- package/dist/app-auth/refresh-tokens/index.d.ts.map +0 -1
- package/dist/app-auth/refresh-tokens/index.js.map +0 -1
- package/dist/app-auth/refresh-tokens/refresh-token.entity.d.ts +0 -11
- package/dist/app-auth/refresh-tokens/refresh-token.entity.d.ts.map +0 -1
- package/dist/app-auth/refresh-tokens/refresh-token.entity.js.map +0 -1
- package/dist/app-auth/user-auth-providers/enums/auth-provider.enum.d.ts +0 -6
- package/dist/app-auth/user-auth-providers/enums/auth-provider.enum.d.ts.map +0 -1
- package/dist/app-auth/user-auth-providers/enums/auth-provider.enum.js.map +0 -1
- package/dist/app-auth/user-auth-providers/index.d.ts +0 -3
- package/dist/app-auth/user-auth-providers/index.d.ts.map +0 -1
- package/dist/app-auth/user-auth-providers/index.js.map +0 -1
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.d.ts +0 -13
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.d.ts.map +0 -1
- package/dist/app-auth/user-auth-providers/user-auth-provider.entity.js.map +0 -1
- package/dist/app-auth/user-verifications/enums/verification-type.enum.d.ts +0 -5
- package/dist/app-auth/user-verifications/enums/verification-type.enum.d.ts.map +0 -1
- package/dist/app-auth/user-verifications/enums/verification-type.enum.js.map +0 -1
- package/dist/app-auth/user-verifications/index.d.ts +0 -3
- package/dist/app-auth/user-verifications/index.d.ts.map +0 -1
- package/dist/app-auth/user-verifications/index.js.map +0 -1
- package/dist/app-auth/user-verifications/user-verification.entity.d.ts +0 -15
- package/dist/app-auth/user-verifications/user-verification.entity.d.ts.map +0 -1
- package/dist/app-auth/user-verifications/user-verification.entity.js.map +0 -1
- package/dist/app-auth/users/index.d.ts +0 -2
- package/dist/app-auth/users/index.d.ts.map +0 -1
- package/dist/app-auth/users/index.js.map +0 -1
- package/dist/app-auth/users/user.entity.d.ts +0 -29
- package/dist/app-auth/users/user.entity.d.ts.map +0 -1
- package/dist/app-auth/users/user.entity.js.map +0 -1
- package/dist/app-auth/users/utils/format-data.utils.d.ts +0 -7
- package/dist/app-auth/users/utils/format-data.utils.d.ts.map +0 -1
- package/dist/app-auth/users/utils/format-data.utils.js.map +0 -1
- package/dist/common/utils/decimal-transformer.utils.d.ts +0 -5
- package/dist/common/utils/decimal-transformer.utils.d.ts.map +0 -1
- package/dist/common/utils/decimal-transformer.utils.js.map +0 -1
- package/dist/facilities/addresses/address.entity.d.ts +0 -18
- package/dist/facilities/addresses/address.entity.d.ts.map +0 -1
- package/dist/facilities/addresses/address.entity.js.map +0 -1
- package/dist/facilities/addresses/index.d.ts +0 -2
- package/dist/facilities/addresses/index.d.ts.map +0 -1
- package/dist/facilities/addresses/index.js.map +0 -1
- package/dist/facilities/facilities/enums/facility-status.enum.d.ts +0 -6
- package/dist/facilities/facilities/enums/facility-status.enum.d.ts.map +0 -1
- package/dist/facilities/facilities/enums/facility-status.enum.js.map +0 -1
- package/dist/facilities/facilities/facility.entity.d.ts +0 -26
- package/dist/facilities/facilities/facility.entity.d.ts.map +0 -1
- package/dist/facilities/facilities/facility.entity.js.map +0 -1
- package/dist/facilities/facilities/index.d.ts +0 -3
- package/dist/facilities/facilities/index.d.ts.map +0 -1
- package/dist/facilities/facilities/index.js.map +0 -1
- package/dist/facilities/facilities/utils/sanititze.utils.d.ts +0 -5
- package/dist/facilities/facilities/utils/sanititze.utils.d.ts.map +0 -1
- package/dist/facilities/facilities/utils/sanititze.utils.js.map +0 -1
- package/dist/facilities/facility-images/facility-image.entity.d.ts +0 -12
- package/dist/facilities/facility-images/facility-image.entity.d.ts.map +0 -1
- package/dist/facilities/facility-images/facility-image.entity.js.map +0 -1
- package/dist/facilities/facility-images/index.d.ts +0 -2
- package/dist/facilities/facility-images/index.d.ts.map +0 -1
- package/dist/facilities/facility-images/index.js.map +0 -1
- package/dist/facilities/facility-owners/facility-owner.entity.d.ts +0 -13
- package/dist/facilities/facility-owners/facility-owner.entity.d.ts.map +0 -1
- package/dist/facilities/facility-owners/facility-owner.entity.js.map +0 -1
- package/dist/facilities/facility-owners/index.d.ts +0 -2
- package/dist/facilities/facility-owners/index.d.ts.map +0 -1
- package/dist/facilities/facility-owners/index.js.map +0 -1
- package/dist/facilities/facility-owners/utils/sanitize.utils.d.ts +0 -5
- package/dist/facilities/facility-owners/utils/sanitize.utils.d.ts.map +0 -1
- package/dist/facilities/facility-owners/utils/sanitize.utils.js.map +0 -1
- package/dist/facilities/fields/enums/surface-type.enum.d.ts +0 -8
- package/dist/facilities/fields/enums/surface-type.enum.d.ts.map +0 -1
- package/dist/facilities/fields/enums/surface-type.enum.js.map +0 -1
- package/dist/facilities/fields/field.entity.d.ts +0 -18
- package/dist/facilities/fields/field.entity.d.ts.map +0 -1
- package/dist/facilities/fields/field.entity.js.map +0 -1
- package/dist/facilities/fields/index.d.ts +0 -3
- package/dist/facilities/fields/index.d.ts.map +0 -1
- package/dist/facilities/fields/index.js.map +0 -1
- package/dist/facilities/index.d.ts +0 -6
- package/dist/facilities/index.d.ts.map +0 -1
- package/dist/facilities/index.js.map +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/payments/index.d.ts +0 -4
- package/dist/payments/index.d.ts.map +0 -1
- package/dist/payments/index.js.map +0 -1
- package/dist/payments/payment-providers/enums/payment-provider-name.enum.d.ts +0 -4
- package/dist/payments/payment-providers/enums/payment-provider-name.enum.d.ts.map +0 -1
- package/dist/payments/payment-providers/enums/payment-provider-name.enum.js.map +0 -1
- package/dist/payments/payment-providers/index.d.ts +0 -3
- package/dist/payments/payment-providers/index.d.ts.map +0 -1
- package/dist/payments/payment-providers/index.js.map +0 -1
- package/dist/payments/payment-providers/payment-provider.entity.d.ts +0 -10
- package/dist/payments/payment-providers/payment-provider.entity.d.ts.map +0 -1
- package/dist/payments/payment-providers/payment-provider.entity.js.map +0 -1
- package/dist/payments/payments/enums/payment-method.enum.d.ts +0 -5
- package/dist/payments/payments/enums/payment-method.enum.d.ts.map +0 -1
- package/dist/payments/payments/enums/payment-method.enum.js.map +0 -1
- package/dist/payments/payments/enums/payment-status.enum.d.ts +0 -10
- package/dist/payments/payments/enums/payment-status.enum.d.ts.map +0 -1
- package/dist/payments/payments/enums/payment-status.enum.js.map +0 -1
- package/dist/payments/payments/index.d.ts +0 -4
- package/dist/payments/payments/index.d.ts.map +0 -1
- package/dist/payments/payments/index.js.map +0 -1
- package/dist/payments/payments/payment.entity.d.ts +0 -19
- package/dist/payments/payments/payment.entity.d.ts.map +0 -1
- package/dist/payments/payments/payment.entity.js.map +0 -1
- package/dist/payments/user-payment-providers/index.d.ts +0 -2
- package/dist/payments/user-payment-providers/index.d.ts.map +0 -1
- package/dist/payments/user-payment-providers/index.js.map +0 -1
- package/dist/payments/user-payment-providers/user-payment-provider.entity.d.ts +0 -13
- package/dist/payments/user-payment-providers/user-payment-provider.entity.d.ts.map +0 -1
- package/dist/payments/user-payment-providers/user-payment-provider.entity.js.map +0 -1
- package/dist/tournaments/index.d.ts +0 -13
- package/dist/tournaments/index.d.ts.map +0 -1
- package/dist/tournaments/index.js.map +0 -1
- package/dist/tournaments/tournament-facilities/index.d.ts +0 -2
- package/dist/tournaments/tournament-facilities/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-facilities/index.js.map +0 -1
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.d.ts +0 -14
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-facilities/tournament-facility.entity.js.map +0 -1
- package/dist/tournaments/tournament-format-configs/index.d.ts +0 -2
- package/dist/tournaments/tournament-format-configs/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-format-configs/index.js.map +0 -1
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts +0 -15
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-format-configs/tournament-format-config.entity.js.map +0 -1
- package/dist/tournaments/tournament-match-cards/index.d.ts +0 -2
- package/dist/tournaments/tournament-match-cards/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-match-cards/index.js.map +0 -1
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.d.ts +0 -19
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-match-cards/tournament-match-card.entity.js.map +0 -1
- package/dist/tournaments/tournament-match-goals/index.d.ts +0 -2
- package/dist/tournaments/tournament-match-goals/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-match-goals/index.js.map +0 -1
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.d.ts +0 -20
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-match-goals/tournament-match-goal.entity.js.map +0 -1
- package/dist/tournaments/tournament-match-schemas/index.d.ts +0 -2
- package/dist/tournaments/tournament-match-schemas/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-match-schemas/index.js.map +0 -1
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.d.ts +0 -12
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-match-schemas/tournament-match-schema.entity.js.map +0 -1
- package/dist/tournaments/tournament-matches/index.d.ts +0 -2
- package/dist/tournaments/tournament-matches/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-matches/index.js.map +0 -1
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts +0 -25
- package/dist/tournaments/tournament-matches/tournament-match.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-matches/tournament-match.entity.js.map +0 -1
- package/dist/tournaments/tournament-payments/index.d.ts +0 -2
- package/dist/tournaments/tournament-payments/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-payments/index.js.map +0 -1
- package/dist/tournaments/tournament-payments/tournament-payment.entity.d.ts +0 -16
- package/dist/tournaments/tournament-payments/tournament-payment.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-payments/tournament-payment.entity.js.map +0 -1
- package/dist/tournaments/tournament-players/index.d.ts +0 -2
- package/dist/tournaments/tournament-players/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-players/index.js.map +0 -1
- package/dist/tournaments/tournament-players/tournament-player.entity.d.ts +0 -19
- package/dist/tournaments/tournament-players/tournament-player.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-players/tournament-player.entity.js.map +0 -1
- package/dist/tournaments/tournament-prize-rules/index.d.ts +0 -2
- package/dist/tournaments/tournament-prize-rules/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-prize-rules/index.js.map +0 -1
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.d.ts +0 -13
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-prize-rules/tournament-prize-rule.entity.js.map +0 -1
- package/dist/tournaments/tournament-rules/index.d.ts +0 -2
- package/dist/tournaments/tournament-rules/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-rules/index.js.map +0 -1
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts +0 -17
- package/dist/tournaments/tournament-rules/tournament-rule.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-rules/tournament-rule.entity.js.map +0 -1
- package/dist/tournaments/tournament-teams/enums/tournament-team-status.enum.d.ts +0 -5
- package/dist/tournaments/tournament-teams/enums/tournament-team-status.enum.d.ts.map +0 -1
- package/dist/tournaments/tournament-teams/enums/tournament-team-status.enum.js.map +0 -1
- package/dist/tournaments/tournament-teams/index.d.ts +0 -3
- package/dist/tournaments/tournament-teams/index.d.ts.map +0 -1
- package/dist/tournaments/tournament-teams/index.js.map +0 -1
- package/dist/tournaments/tournament-teams/tournament-team.entity.d.ts +0 -26
- package/dist/tournaments/tournament-teams/tournament-team.entity.d.ts.map +0 -1
- package/dist/tournaments/tournament-teams/tournament-team.entity.js.map +0 -1
- package/dist/tournaments/tournament-teams/utils/invite-code-generator.d.ts +0 -2
- package/dist/tournaments/tournament-teams/utils/invite-code-generator.d.ts.map +0 -1
- package/dist/tournaments/tournament-teams/utils/invite-code-generator.js.map +0 -1
- package/dist/tournaments/tournaments/index.d.ts +0 -2
- package/dist/tournaments/tournaments/index.d.ts.map +0 -1
- package/dist/tournaments/tournaments/index.js.map +0 -1
- package/dist/tournaments/tournaments/tournament.entity.d.ts +0 -39
- package/dist/tournaments/tournaments/tournament.entity.d.ts.map +0 -1
- package/dist/tournaments/tournaments/tournament.entity.js.map +0 -1
|
@@ -1,100 +1,96 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
10
|
};
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
import {
|
|
12
|
+
BeforeInsert,
|
|
13
|
+
Column,
|
|
14
|
+
CreateDateColumn,
|
|
15
|
+
Entity,
|
|
16
|
+
Index,
|
|
17
|
+
JoinColumn,
|
|
18
|
+
ManyToOne,
|
|
19
|
+
OneToMany,
|
|
20
|
+
PrimaryGeneratedColumn,
|
|
21
|
+
Unique,
|
|
22
|
+
UpdateDateColumn
|
|
23
|
+
} from "typeorm";
|
|
24
|
+
import { TournamentMatchCard } from "../tournament-match-cards";
|
|
25
|
+
import { TournamentMatchGoal } from "../tournament-match-goals";
|
|
26
|
+
import { TournamentMatch } from "../tournament-matches";
|
|
27
|
+
import { TournamentPlayer } from "../tournament-players";
|
|
28
|
+
import { Tournament } from "../tournaments";
|
|
29
|
+
import { TournamentTeamStatus } from "./enums/tournament-team-status.enum.js";
|
|
30
|
+
import { generateRandomInviteCode } from "./utils/invite-code-generator.js";
|
|
31
|
+
let TournamentTeam = class {
|
|
32
|
+
generateInviteCode() {
|
|
33
|
+
this.inviteCode = generateRandomInviteCode();
|
|
34
|
+
}
|
|
9
35
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
], TournamentTeam.prototype, "
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
], TournamentTeam.prototype, "
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
], TournamentTeam.prototype, "
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
OneToMany(() => TournamentPlayer, (player) => player.team),
|
|
68
|
-
__metadata("design:type", Array)
|
|
69
|
-
], TournamentTeam.prototype, "players", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
OneToMany(() => TournamentMatch, (match) => match.homeTeam),
|
|
72
|
-
__metadata("design:type", Array)
|
|
73
|
-
], TournamentTeam.prototype, "homeMatches", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
OneToMany(() => TournamentMatch, (match) => match.awayTeam),
|
|
76
|
-
__metadata("design:type", Array)
|
|
77
|
-
], TournamentTeam.prototype, "awayMatches", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
OneToMany(() => TournamentMatchGoal, (goal) => goal.team),
|
|
80
|
-
__metadata("design:type", Array)
|
|
81
|
-
], TournamentTeam.prototype, "goals", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
OneToMany(() => TournamentMatchCard, (card) => card.team),
|
|
84
|
-
__metadata("design:type", Array)
|
|
85
|
-
], TournamentTeam.prototype, "cards", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
BeforeInsert(),
|
|
88
|
-
__metadata("design:type", Function),
|
|
89
|
-
__metadata("design:paramtypes", []),
|
|
90
|
-
__metadata("design:returntype", void 0)
|
|
91
|
-
], TournamentTeam.prototype, "generateInviteCode", null);
|
|
92
|
-
TournamentTeam = __decorate([
|
|
93
|
-
Entity('tournament_teams'),
|
|
94
|
-
Unique(['tournamentId', 'name']),
|
|
95
|
-
Unique(['inviteCode']),
|
|
96
|
-
Index('IDX_tournament_team_tournament_id', ['tournamentId']),
|
|
97
|
-
Index('IDX_tournament_team_invite_code', ['inviteCode'])
|
|
36
|
+
__decorateClass([
|
|
37
|
+
PrimaryGeneratedColumn()
|
|
38
|
+
], TournamentTeam.prototype, "id", 2);
|
|
39
|
+
__decorateClass([
|
|
40
|
+
Column({ name: "tournament_id", type: "int" })
|
|
41
|
+
], TournamentTeam.prototype, "tournamentId", 2);
|
|
42
|
+
__decorateClass([
|
|
43
|
+
Column({ type: "varchar", length: 100 })
|
|
44
|
+
], TournamentTeam.prototype, "name", 2);
|
|
45
|
+
__decorateClass([
|
|
46
|
+
Column({ name: "team_logo_url", type: "text", nullable: true })
|
|
47
|
+
], TournamentTeam.prototype, "teamLogoUrl", 2);
|
|
48
|
+
__decorateClass([
|
|
49
|
+
Column({ type: "varchar", length: 255, nullable: true })
|
|
50
|
+
], TournamentTeam.prototype, "description", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
Column({ name: "invite_code", type: "varchar", length: 5, unique: true })
|
|
53
|
+
], TournamentTeam.prototype, "inviteCode", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
Column({ type: "enum", enum: TournamentTeamStatus, default: TournamentTeamStatus.DEFAULT })
|
|
56
|
+
], TournamentTeam.prototype, "status", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
CreateDateColumn({ name: "created_at", type: "timestamptz" })
|
|
59
|
+
], TournamentTeam.prototype, "createdAt", 2);
|
|
60
|
+
__decorateClass([
|
|
61
|
+
UpdateDateColumn({ name: "updated_at", type: "timestamptz" })
|
|
62
|
+
], TournamentTeam.prototype, "updatedAt", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
ManyToOne(() => Tournament, (tournament) => tournament.teams, {
|
|
65
|
+
onDelete: "CASCADE"
|
|
66
|
+
}),
|
|
67
|
+
JoinColumn({ name: "tournament_id" })
|
|
68
|
+
], TournamentTeam.prototype, "tournament", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
OneToMany(() => TournamentPlayer, (player) => player.team)
|
|
71
|
+
], TournamentTeam.prototype, "players", 2);
|
|
72
|
+
__decorateClass([
|
|
73
|
+
OneToMany(() => TournamentMatch, (match) => match.homeTeam)
|
|
74
|
+
], TournamentTeam.prototype, "homeMatches", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
OneToMany(() => TournamentMatch, (match) => match.awayTeam)
|
|
77
|
+
], TournamentTeam.prototype, "awayMatches", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
OneToMany(() => TournamentMatchGoal, (goal) => goal.team)
|
|
80
|
+
], TournamentTeam.prototype, "goals", 2);
|
|
81
|
+
__decorateClass([
|
|
82
|
+
OneToMany(() => TournamentMatchCard, (card) => card.team)
|
|
83
|
+
], TournamentTeam.prototype, "cards", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
BeforeInsert()
|
|
86
|
+
], TournamentTeam.prototype, "generateInviteCode", 1);
|
|
87
|
+
TournamentTeam = __decorateClass([
|
|
88
|
+
Entity("tournament_teams"),
|
|
89
|
+
Unique(["tournamentId", "name"]),
|
|
90
|
+
Unique(["inviteCode"]),
|
|
91
|
+
Index("IDX_tournament_team_tournament_id", ["tournamentId"]),
|
|
92
|
+
Index("IDX_tournament_team_invite_code", ["inviteCode"])
|
|
98
93
|
], TournamentTeam);
|
|
99
|
-
export {
|
|
100
|
-
|
|
94
|
+
export {
|
|
95
|
+
TournamentTeam
|
|
96
|
+
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function generateRandomInviteCode() {
|
|
2
|
+
return Math.floor(1e4 + Math.random() * 9e4).toString();
|
|
3
3
|
}
|
|
4
|
-
|
|
4
|
+
export {
|
|
5
|
+
generateRandomInviteCode
|
|
6
|
+
};
|
|
@@ -1,147 +1,132 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
10
|
};
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
import { DayOfWeek, TournamentGender } from "@natrave/tournaments-service-types";
|
|
12
|
+
import {
|
|
13
|
+
Column,
|
|
14
|
+
CreateDateColumn,
|
|
15
|
+
Entity,
|
|
16
|
+
JoinColumn,
|
|
17
|
+
ManyToOne,
|
|
18
|
+
OneToMany,
|
|
19
|
+
OneToOne,
|
|
20
|
+
PrimaryGeneratedColumn,
|
|
21
|
+
UpdateDateColumn
|
|
22
|
+
} from "typeorm";
|
|
23
|
+
import { TournamentFacility } from "../tournament-facilities";
|
|
24
|
+
import { TournamentFormatConfig } from "../tournament-format-configs";
|
|
25
|
+
import { TournamentMatchSchema } from "../tournament-match-schemas";
|
|
26
|
+
import { TournamentMatch } from "../tournament-matches";
|
|
27
|
+
import { TournamentPayment } from "../tournament-payments";
|
|
28
|
+
import { TournamentPrizeRule } from "../tournament-prize-rules";
|
|
29
|
+
import { TournamentRule } from "../tournament-rules";
|
|
30
|
+
import { TournamentTeam } from "../tournament-teams";
|
|
31
|
+
let Tournament = class {
|
|
9
32
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
], Tournament.prototype, "
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
], Tournament.prototype, "
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
], Tournament.prototype, "
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
], Tournament.prototype, "
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
__decorate([
|
|
107
|
-
ManyToOne(() => TournamentMatchSchema, (matchSchema) => matchSchema.tournaments, {
|
|
108
|
-
onDelete: 'CASCADE',
|
|
109
|
-
}),
|
|
110
|
-
JoinColumn({ name: 'match_schema_id' }),
|
|
111
|
-
__metadata("design:type", TournamentMatchSchema)
|
|
112
|
-
], Tournament.prototype, "matchSchema", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
OneToMany(() => TournamentTeam, (team) => team.tournament),
|
|
115
|
-
__metadata("design:type", Array)
|
|
116
|
-
], Tournament.prototype, "teams", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
OneToOne(() => TournamentRule, (rule) => rule.tournament, { cascade: true }),
|
|
119
|
-
JoinColumn({ name: 'rule_id' }),
|
|
120
|
-
__metadata("design:type", TournamentRule)
|
|
121
|
-
], Tournament.prototype, "rule", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
OneToOne(() => TournamentFormatConfig, (format) => format.tournament, { cascade: true }),
|
|
124
|
-
JoinColumn({ name: 'format_config_id' }),
|
|
125
|
-
__metadata("design:type", TournamentFormatConfig)
|
|
126
|
-
], Tournament.prototype, "format", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
OneToMany(() => TournamentPrizeRule, (prizeRule) => prizeRule.tournament),
|
|
129
|
-
__metadata("design:type", Array)
|
|
130
|
-
], Tournament.prototype, "prizeRules", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
OneToMany(() => TournamentPayment, (payment) => payment.tournament),
|
|
133
|
-
__metadata("design:type", Array)
|
|
134
|
-
], Tournament.prototype, "payments", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
OneToMany(() => TournamentMatch, (match) => match.tournament),
|
|
137
|
-
__metadata("design:type", Array)
|
|
138
|
-
], Tournament.prototype, "matches", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
OneToMany(() => TournamentFacility, (facility) => facility.tournament),
|
|
141
|
-
__metadata("design:type", Array)
|
|
142
|
-
], Tournament.prototype, "tournamentFacilities", void 0);
|
|
143
|
-
Tournament = __decorate([
|
|
144
|
-
Entity('tournaments')
|
|
33
|
+
__decorateClass([
|
|
34
|
+
PrimaryGeneratedColumn()
|
|
35
|
+
], Tournament.prototype, "id", 2);
|
|
36
|
+
__decorateClass([
|
|
37
|
+
Column({ type: "varchar", length: 255 })
|
|
38
|
+
], Tournament.prototype, "name", 2);
|
|
39
|
+
__decorateClass([
|
|
40
|
+
Column({ name: "initial_date", type: "timestamptz" })
|
|
41
|
+
], Tournament.prototype, "initialDate", 2);
|
|
42
|
+
__decorateClass([
|
|
43
|
+
Column({ name: "end_date", type: "timestamptz" })
|
|
44
|
+
], Tournament.prototype, "endDate", 2);
|
|
45
|
+
__decorateClass([
|
|
46
|
+
Column({ type: "text", nullable: true })
|
|
47
|
+
], Tournament.prototype, "description", 2);
|
|
48
|
+
__decorateClass([
|
|
49
|
+
Column({ name: "tournament_image", type: "text", nullable: true })
|
|
50
|
+
], Tournament.prototype, "tournamentImage", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
Column({ name: "match_schema_id", type: "int", nullable: true })
|
|
53
|
+
], Tournament.prototype, "matchSchemaId", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
Column({ name: "rule_id", type: "int" })
|
|
56
|
+
], Tournament.prototype, "ruleId", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
Column({ name: "format_config_id", type: "int" })
|
|
59
|
+
], Tournament.prototype, "formatConfigId", 2);
|
|
60
|
+
__decorateClass([
|
|
61
|
+
Column({
|
|
62
|
+
name: "match_days",
|
|
63
|
+
type: "enum",
|
|
64
|
+
enum: Object.values(DayOfWeek),
|
|
65
|
+
array: true
|
|
66
|
+
})
|
|
67
|
+
], Tournament.prototype, "matchDays", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
Column({ name: "price_per_team", type: "int" })
|
|
70
|
+
], Tournament.prototype, "pricePerTeam", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
Column({ name: "match_start_time", type: "time" })
|
|
73
|
+
], Tournament.prototype, "matchStartTime", 2);
|
|
74
|
+
__decorateClass([
|
|
75
|
+
Column({ name: "match_end_time", type: "time" })
|
|
76
|
+
], Tournament.prototype, "matchEndTime", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
Column({ type: "varchar", length: 100 })
|
|
79
|
+
], Tournament.prototype, "city", 2);
|
|
80
|
+
__decorateClass([
|
|
81
|
+
Column({ type: "varchar", length: 2 })
|
|
82
|
+
], Tournament.prototype, "state", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
Column({
|
|
85
|
+
type: "enum",
|
|
86
|
+
enum: Object.values(TournamentGender)
|
|
87
|
+
})
|
|
88
|
+
], Tournament.prototype, "gender", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
Column({ name: "deleted_at", type: "timestamptz", nullable: true })
|
|
91
|
+
], Tournament.prototype, "deletedAt", 2);
|
|
92
|
+
__decorateClass([
|
|
93
|
+
CreateDateColumn({ name: "created_at", type: "timestamptz" })
|
|
94
|
+
], Tournament.prototype, "createdAt", 2);
|
|
95
|
+
__decorateClass([
|
|
96
|
+
UpdateDateColumn({ name: "updated_at", type: "timestamptz" })
|
|
97
|
+
], Tournament.prototype, "updatedAt", 2);
|
|
98
|
+
__decorateClass([
|
|
99
|
+
ManyToOne(() => TournamentMatchSchema, (matchSchema) => matchSchema.tournaments, {
|
|
100
|
+
onDelete: "CASCADE"
|
|
101
|
+
}),
|
|
102
|
+
JoinColumn({ name: "match_schema_id" })
|
|
103
|
+
], Tournament.prototype, "matchSchema", 2);
|
|
104
|
+
__decorateClass([
|
|
105
|
+
OneToMany(() => TournamentTeam, (team) => team.tournament)
|
|
106
|
+
], Tournament.prototype, "teams", 2);
|
|
107
|
+
__decorateClass([
|
|
108
|
+
OneToOne(() => TournamentRule, (rule) => rule.tournament, { cascade: true }),
|
|
109
|
+
JoinColumn({ name: "rule_id" })
|
|
110
|
+
], Tournament.prototype, "rule", 2);
|
|
111
|
+
__decorateClass([
|
|
112
|
+
OneToOne(() => TournamentFormatConfig, (format) => format.tournament, { cascade: true }),
|
|
113
|
+
JoinColumn({ name: "format_config_id" })
|
|
114
|
+
], Tournament.prototype, "format", 2);
|
|
115
|
+
__decorateClass([
|
|
116
|
+
OneToMany(() => TournamentPrizeRule, (prizeRule) => prizeRule.tournament)
|
|
117
|
+
], Tournament.prototype, "prizeRules", 2);
|
|
118
|
+
__decorateClass([
|
|
119
|
+
OneToMany(() => TournamentPayment, (payment) => payment.tournament)
|
|
120
|
+
], Tournament.prototype, "payments", 2);
|
|
121
|
+
__decorateClass([
|
|
122
|
+
OneToMany(() => TournamentMatch, (match) => match.tournament)
|
|
123
|
+
], Tournament.prototype, "matches", 2);
|
|
124
|
+
__decorateClass([
|
|
125
|
+
OneToMany(() => TournamentFacility, (facility) => facility.tournament)
|
|
126
|
+
], Tournament.prototype, "tournamentFacilities", 2);
|
|
127
|
+
Tournament = __decorateClass([
|
|
128
|
+
Entity("tournaments")
|
|
145
129
|
], Tournament);
|
|
146
|
-
export {
|
|
147
|
-
|
|
130
|
+
export {
|
|
131
|
+
Tournament
|
|
132
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natrave/shared-entities",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Entidades compartilhadass da NaTrave",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,12 +29,14 @@
|
|
|
29
29
|
"@eslint/js": "^9.23.0",
|
|
30
30
|
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
|
31
31
|
"@typescript-eslint/parser": "^8.28.0",
|
|
32
|
+
"esbuild": "^0.25.1",
|
|
32
33
|
"eslint": "^9.23.0",
|
|
33
34
|
"eslint-config-prettier": "^10.1.1",
|
|
34
35
|
"eslint-import-resolver-typescript": "^4.2.4",
|
|
35
36
|
"eslint-plugin-import": "^2.31.0",
|
|
36
37
|
"eslint-plugin-prettier": "^5.2.5",
|
|
37
38
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
39
|
+
"glob": "^11.0.1",
|
|
38
40
|
"husky": "^9.1.7",
|
|
39
41
|
"lint-staged": "^15.5.0",
|
|
40
42
|
"prettier": "^3.5.3",
|
|
@@ -46,7 +48,7 @@
|
|
|
46
48
|
"typeorm": "^0.3.21"
|
|
47
49
|
},
|
|
48
50
|
"scripts": {
|
|
49
|
-
"build": "tsc",
|
|
51
|
+
"build": "tsc --noEmit && node build.js",
|
|
50
52
|
"clean": "rm -rf dist",
|
|
51
53
|
"lint": "eslint src --ext .ts",
|
|
52
54
|
"check:types": "tsc --noEmit"
|
package/dist/app-auth/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/app-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-auth/password-resets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app-auth/password-resets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"password-reset.entity.d.ts","sourceRoot":"","sources":["../../../src/app-auth/password-resets/password-reset.entity.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAYhC,qBAEa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IAGpB,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,MAAM,CAAC;IASd,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"password-reset.entity.js","sourceRoot":"","sources":["../../../src/app-auth/password-resets/password-reset.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,MAAM,EACN,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,MAAM,GACP,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAczB,IAAM,aAAa,GAAnB,MAAM,aAAa;CA2BzB,CAAA;AAzBC;IADC,sBAAsB,EAAE;;yCACd;AAGX;IADC,gBAAgB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACnD,IAAI;gDAAC;AAGhB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACzC,IAAI;gDAAC;AAGhB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CAC7C;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CAC3B;AAGf;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;4CAC3B;AASd;IAFC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7E,UAAU,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,IAAI;2CAAC;AA1BA,aAAa;IAFzB,MAAM,CAAC,iBAAiB,CAAC;IACzB,MAAM,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;GACf,aAAa,CA2BzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-auth/refresh-tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app-auth/refresh-tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-token.entity.d.ts","sourceRoot":"","sources":["../../../src/app-auth/refresh-tokens/refresh-token.entity.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAYhC,qBAEa,YAAY;IAEvB,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAGvB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IASf,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-token.entity.js","sourceRoot":"","sources":["../../../src/app-auth/refresh-tokens/refresh-token.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,MAAM,EACN,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,MAAM,GACP,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAczB,IAAM,YAAY,GAAlB,MAAM,YAAY;CA2BxB,CAAA;AAzBC;IADC,sBAAsB,CAAC,MAAM,CAAC;;wCACpB;AAGX;IADC,gBAAgB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACnD,IAAI;+CAAC;AAGhB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACzC,IAAI;+CAAC;AAGhB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC7C;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;2CACzC;AAGd;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CAC3B;AASf;IAFC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC5E,UAAU,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAC1B,IAAI;0CAAC;AA1BA,YAAY;IAFxB,MAAM,CAAC,gBAAgB,CAAC;IACxB,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;GACL,YAAY,CA2BxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-provider.enum.d.ts","sourceRoot":"","sources":["../../../../src/app-auth/user-auth-providers/enums/auth-provider.enum.ts"],"names":[],"mappings":"AAQA,oBAAY,YAAY;IAItB,MAAM,WAAW;IAKjB,IAAI,SAAS;IAKb,KAAK,UAAU;CAChB"}
|