@natrave/shared-entities 1.4.39 → 1.4.40
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"player.entity.d.ts","sourceRoot":"","sources":["../../../src/players/players/player.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"player.entity.d.ts","sourceRoot":"","sources":["../../../src/players/players/player.entity.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAGa,MAAM;IAEjB,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAQhB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAQxB,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IASlC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAUlB,SAAS,EAAE,cAAc,EAAE,CAAC;IAG5B,eAAe,EAAE,UAAU,EAAE,CAAC;IAG9B,YAAY,EAAE,eAAe,EAAE,CAAC;IAMhC,WAAW,IAAI,IAAI;CAKpB"}
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
Column,
|
|
14
14
|
CreateDateColumn,
|
|
15
15
|
Entity,
|
|
16
|
+
Index,
|
|
16
17
|
JoinColumn,
|
|
17
18
|
JoinTable,
|
|
18
19
|
ManyToMany,
|
|
@@ -87,7 +88,9 @@ __decorateClass([
|
|
|
87
88
|
BeforeInsert()
|
|
88
89
|
], Player.prototype, "prepareData", 1);
|
|
89
90
|
Player = __decorateClass([
|
|
90
|
-
Entity("players")
|
|
91
|
+
Entity("players"),
|
|
92
|
+
Index("IDX_players_user_id", ["userId"]),
|
|
93
|
+
Index("IDX_players_deleted_at", ["deletedAt"])
|
|
91
94
|
], Player);
|
|
92
95
|
export {
|
|
93
96
|
Player
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"player-team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/player-team/player-team.entity.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,
|
|
1
|
+
{"version":3,"file":"player-team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/player-team/player-team.entity.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,qBAOa,UAAU;IAIrB,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;IAQf,OAAO,EAAE,OAAO,CAAC;IAQjB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAGvB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAKhB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,IAAI,CAAC;IAGX,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;CACvC"}
|
|
@@ -76,7 +76,8 @@ PlayerTeam = __decorateClass([
|
|
|
76
76
|
Index("IDX_player_teams_player_id", ["playerId"]),
|
|
77
77
|
Index("IDX_player_teams_team_id", ["teamId"]),
|
|
78
78
|
Index("IDX_player_teams_is_admin", ["isAdmin"]),
|
|
79
|
-
Index("IDX_player_teams_deleted_at", ["deletedAt"])
|
|
79
|
+
Index("IDX_player_teams_deleted_at", ["deletedAt"]),
|
|
80
|
+
Index("IDX_player_teams_player_deleted", ["playerId", "deletedAt"])
|
|
80
81
|
], PlayerTeam);
|
|
81
82
|
export {
|
|
82
83
|
PlayerTeam
|