@natrave/shared-entities 1.4.53 → 1.4.54

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.
@@ -0,0 +1,11 @@
1
+ import { Tournament, TournamentAllowedPhone, TournamentBracket, TournamentContact, TournamentCoupon, TournamentFacility, TournamentFormatConfig, TournamentGroup, TournamentMatch, TournamentMatchAvailability, TournamentMatchCard, TournamentMatchGoal, TournamentMatchRule, TournamentMatchSchema, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPrizeRule, TournamentTeam, TournamentTeamContactAttempt } from 'tournaments';
2
+ import { PasswordReset, RefreshToken, User, UserAuthProvider, UserVerification } from '../app-auth';
3
+ import { Organization, OrganizationUser, PhoneNumber } from '../central-auth';
4
+ import { Coupon, CouponUsage } from '../coupons';
5
+ import { Address, Facility, FacilityImage, FacilityOwner, Field, FieldImage } from '../facilities';
6
+ import { NotificationToken } from '../notifications';
7
+ import { Payment, PaymentProvider, UserPaymentProvider } from '../payments';
8
+ import { Player, PlayerPosition } from '../players';
9
+ import { PlayerTeam, Team, TeamJoinRequest, TeamModality, TeamTrophy } from '../teams';
10
+ export declare const DATABASE_ENTITIES: (typeof OrganizationUser | typeof Organization | typeof PhoneNumber | typeof TournamentAllowedPhone | typeof Tournament | typeof FacilityImage | typeof Facility | typeof FieldImage | typeof Field | typeof Address | typeof TournamentFacility | typeof FacilityOwner | typeof PasswordReset | typeof NotificationToken | typeof User | typeof UserAuthProvider | typeof RefreshToken | typeof Player | typeof UserVerification | typeof PlayerPosition | typeof PlayerTeam | typeof TeamJoinRequest | typeof Team | typeof TournamentPlayer | typeof TournamentTeam | typeof TeamModality | typeof TournamentTeamContactAttempt | typeof TeamTrophy | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof TournamentFormatConfig | typeof TournamentMatchGoal | typeof TournamentMatch | typeof TournamentMatchCard | typeof TournamentPenaltyShootout | typeof TournamentGroup | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof TournamentPlayerRule | typeof TournamentPrizeRule | typeof TournamentBracket)[];
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database-entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EAEnB,cAAc,EACd,4BAA4B,EAC7B,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpG,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEvF,eAAO,MAAM,iBAAiB,6pCAmD7B,CAAC"}
@@ -0,0 +1,87 @@
1
+ import {
2
+ Tournament,
3
+ TournamentAllowedPhone,
4
+ TournamentBracket,
5
+ TournamentContact,
6
+ TournamentCoupon,
7
+ TournamentFacility,
8
+ TournamentFormatConfig,
9
+ TournamentGroup,
10
+ TournamentMatch,
11
+ TournamentMatchAvailability,
12
+ TournamentMatchCard,
13
+ TournamentMatchGoal,
14
+ TournamentMatchRule,
15
+ TournamentMatchSchema,
16
+ TournamentPayment,
17
+ TournamentPenaltyShootout,
18
+ TournamentPlayer,
19
+ TournamentPlayerRule,
20
+ TournamentPrizeRule,
21
+ TournamentRule,
22
+ TournamentTeam,
23
+ TournamentTeamContactAttempt
24
+ } from "tournaments";
25
+ import { PasswordReset, RefreshToken, User, UserAuthProvider, UserVerification } from "../app-auth/index.js";
26
+ import { Organization, OrganizationUser, PhoneNumber } from "../central-auth/index.js";
27
+ import { Coupon, CouponUsage } from "../coupons/index.js";
28
+ import { Address, Facility, FacilityImage, FacilityOwner, Field, FieldImage } from "../facilities/index.js";
29
+ import { NotificationToken } from "../notifications/index.js";
30
+ import { Payment, PaymentProvider, UserPaymentProvider } from "../payments/index.js";
31
+ import { Player, PlayerPosition } from "../players/index.js";
32
+ import { PlayerTeam, Team, TeamJoinRequest, TeamModality, TeamTrophy } from "../teams/index.js";
33
+ const DATABASE_ENTITIES = [
34
+ Address,
35
+ Coupon,
36
+ CouponUsage,
37
+ Facility,
38
+ FacilityImage,
39
+ FacilityOwner,
40
+ Field,
41
+ FieldImage,
42
+ Organization,
43
+ OrganizationUser,
44
+ PasswordReset,
45
+ Payment,
46
+ PaymentProvider,
47
+ RefreshToken,
48
+ Tournament,
49
+ TournamentBracket,
50
+ TournamentCoupon,
51
+ TournamentFacility,
52
+ TournamentFormatConfig,
53
+ TournamentGroup,
54
+ TournamentMatch,
55
+ TournamentMatchAvailability,
56
+ TournamentMatchCard,
57
+ TournamentMatchGoal,
58
+ TournamentPenaltyShootout,
59
+ TournamentMatchSchema,
60
+ TournamentPayment,
61
+ TournamentPlayer,
62
+ TournamentPlayerRule,
63
+ TournamentPrizeRule,
64
+ TournamentRule,
65
+ TournamentTeam,
66
+ User,
67
+ UserAuthProvider,
68
+ UserPaymentProvider,
69
+ UserVerification,
70
+ TournamentMatchRule,
71
+ TournamentContact,
72
+ TournamentTeamContactAttempt,
73
+ TournamentTeam,
74
+ Player,
75
+ PlayerPosition,
76
+ Team,
77
+ PlayerTeam,
78
+ TeamModality,
79
+ TeamJoinRequest,
80
+ NotificationToken,
81
+ PhoneNumber,
82
+ TournamentAllowedPhone,
83
+ TeamTrophy
84
+ ];
85
+ export {
86
+ DATABASE_ENTITIES
87
+ };
package/dist/index.d.ts CHANGED
@@ -7,4 +7,5 @@ export * from './central-auth';
7
7
  export * from './notifications';
8
8
  export * from './players';
9
9
  export * from './teams';
10
+ export { DATABASE_ENTITIES } from './database-entities';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC;AAE7B,cAAc,WAAW,CAAC;AAE1B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC;AAE7B,cAAc,WAAW,CAAC;AAE1B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -7,3 +7,7 @@ export * from "./central-auth/index.js";
7
7
  export * from "./notifications/index.js";
8
8
  export * from "./players/index.js";
9
9
  export * from "./teams/index.js";
10
+ import { DATABASE_ENTITIES } from "./database-entities/index.js";
11
+ export {
12
+ DATABASE_ENTITIES
13
+ };
@@ -1 +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;AAY5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAc5C,qBAGa,sBAAuB,YAAW,uBAAuB;IAIpE,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,gBAAgB,CAAC;IAQzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAU/B,qBAAqB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAU5C,kBAAkB,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAU1C,iBAAiB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAGxC,SAAS,EAAE,MAAM,CAAC;IAOlB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,UAAU,EAAE,UAAU,CAAC;CACxB"}
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;AAY5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAc5C,qBAEa,sBAAuB,YAAW,uBAAuB;IAIpE,EAAE,EAAE,MAAM,CAAC;IAQX,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,gBAAgB,CAAC;IAQzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAU/B,qBAAqB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAU5C,kBAAkB,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAU1C,iBAAiB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAGxC,SAAS,EAAE,MAAM,CAAC;IAOlB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -107,8 +107,7 @@ __decorateClass([
107
107
  ], TournamentFormatConfig.prototype, "tournament", 2);
108
108
  TournamentFormatConfig = __decorateClass([
109
109
  Entity("tournament_format_configs"),
110
- Index("IDX_tournament_format_configs_tournament_id", ["tournamentId"]),
111
- Index("idx_tournament_format_config_tid", ["tournamentId"])
110
+ Index("IDX_tournament_format_configs_tournament_id", ["tournamentId"])
112
111
  ], TournamentFormatConfig);
113
112
  export {
114
113
  TournamentFormatConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "1.4.53",
3
+ "version": "1.4.54",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",