@natrave/shared-entities 1.4.34 → 1.4.36
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/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../../src/app-auth/users/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../../src/app-auth/users/user.entity.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAa7C,qBAea,IAAI;IAIf,EAAE,EAAE,MAAM,CAAC;IAUX,SAAS,EAAE,MAAM,CAAC;IAOlB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IASvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAQpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAQzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ3B,KAAK,EAAE,MAAM,CAAC;IAQd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAStB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAUnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IASrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,aAAa,EAAE,YAAY,EAAE,CAAC;IAK9B,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IAKtC,MAAM,EAAE,MAAM,CAAC;IAGf,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IAMxC,WAAW,IAAI,IAAI;CAGpB"}
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
CreateDateColumn,
|
|
15
15
|
DeleteDateColumn,
|
|
16
16
|
Entity,
|
|
17
|
+
Index,
|
|
17
18
|
OneToMany,
|
|
18
19
|
OneToOne,
|
|
19
20
|
PrimaryGeneratedColumn,
|
|
@@ -160,7 +161,18 @@ User = __decorateClass([
|
|
|
160
161
|
Entity("users"),
|
|
161
162
|
Unique(["email"]),
|
|
162
163
|
Unique(["phone"]),
|
|
163
|
-
Unique(["cpf"])
|
|
164
|
+
Unique(["cpf"]),
|
|
165
|
+
Index("IDX_users_id", ["id"]),
|
|
166
|
+
Index("IDX_users_numeric_id", ["numericId"]),
|
|
167
|
+
Index("IDX_users_email_lookup", ["email"], { where: '"deletedAt" IS NULL' }),
|
|
168
|
+
Index("IDX_users_phone_lookup", ["phone"], { where: '"deletedAt" IS NULL' }),
|
|
169
|
+
Index("IDX_users_cpf_lookup", ["cpf"], { where: '"deletedAt" IS NULL' }),
|
|
170
|
+
Index("IDX_users_deleted_at", ["deletedAt"]),
|
|
171
|
+
Index("IDX_users_id_deleted", ["id", "deletedAt"]),
|
|
172
|
+
Index("IDX_users_created_at", ["createdAt"]),
|
|
173
|
+
Index("IDX_users_updated_at", ["updatedAt"]),
|
|
174
|
+
Index("IDX_users_name", ["name"], { where: '"deletedAt" IS NULL' }),
|
|
175
|
+
Index("IDX_users_gender", ["gender"], { where: '"deletedAt" IS NULL' })
|
|
164
176
|
], User);
|
|
165
177
|
export {
|
|
166
178
|
User
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAWtF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"team.entity.d.ts","sourceRoot":"","sources":["../../../src/teams/teams/team.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAWtF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEjF,qBAOa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,cAAc,CAAC;IAGtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,WAAW,CAAC,EAAE,MAAM,CAAC;IAQrB,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAQhC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,eAAe,EAAE,cAAc,EAAE,CAAC;IAGlC,iBAAiB,EAAE,UAAU,EAAE,CAAC;IAGhC,cAAc,EAAE,YAAY,EAAE,CAAC;IAG/B,YAAY,EAAE,eAAe,EAAE,CAAC;IAGhC,yBAAyB,EAAE,4BAA4B,EAAE,CAAC;IAG1D,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB"}
|
|
@@ -88,7 +88,12 @@ __decorateClass([
|
|
|
88
88
|
], Team.prototype, "trophies", 2);
|
|
89
89
|
Team = __decorateClass([
|
|
90
90
|
Entity("teams"),
|
|
91
|
-
Index("IDX_team_name", ["name"])
|
|
91
|
+
Index("IDX_team_name", ["name"]),
|
|
92
|
+
Index("IDX_team_name", ["name"]),
|
|
93
|
+
Index("IDX_team_city", ["city"]),
|
|
94
|
+
Index("IDX_team_state", ["state"]),
|
|
95
|
+
Index("IDX_team_created_at", ["createdAt"]),
|
|
96
|
+
Index("IDX_team_id_created_at", ["id", "createdAt"])
|
|
92
97
|
], Team);
|
|
93
98
|
export {
|
|
94
99
|
Team
|