@natrave/shared-entities 1.4.36 → 1.4.37
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":"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":"AAaA,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,qBAaa,IAAI;IAIf,EAAE,EAAE,MAAM,CAAC;IAUX,SAAS,EAAE,MAAM,CAAC;IAOlB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,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"}
|
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
BeforeInsert,
|
|
13
13
|
Column,
|
|
14
14
|
CreateDateColumn,
|
|
15
|
-
DeleteDateColumn,
|
|
16
15
|
Entity,
|
|
17
16
|
Index,
|
|
18
17
|
OneToMany,
|
|
@@ -61,14 +60,6 @@ __decorateClass([
|
|
|
61
60
|
comment: "Data e hora da \xFAltima atualiza\xE7\xE3o dos dados do usu\xE1rio."
|
|
62
61
|
})
|
|
63
62
|
], User.prototype, "updatedAt", 2);
|
|
64
|
-
__decorateClass([
|
|
65
|
-
DeleteDateColumn({
|
|
66
|
-
name: "deleted_at",
|
|
67
|
-
type: "timestamptz",
|
|
68
|
-
nullable: true,
|
|
69
|
-
comment: "Data e hora em que o usu\xE1rio foi deletado (soft delete), se aplic\xE1vel."
|
|
70
|
-
})
|
|
71
|
-
], User.prototype, "deletedAt", 2);
|
|
72
63
|
__decorateClass([
|
|
73
64
|
Column({
|
|
74
65
|
name: "name",
|
|
@@ -164,15 +155,13 @@ User = __decorateClass([
|
|
|
164
155
|
Unique(["cpf"]),
|
|
165
156
|
Index("IDX_users_id", ["id"]),
|
|
166
157
|
Index("IDX_users_numeric_id", ["numericId"]),
|
|
167
|
-
Index("IDX_users_email_lookup", ["email"]
|
|
168
|
-
Index("IDX_users_phone_lookup", ["phone"]
|
|
169
|
-
Index("IDX_users_cpf_lookup", ["cpf"]
|
|
170
|
-
Index("IDX_users_deleted_at", ["deletedAt"]),
|
|
171
|
-
Index("IDX_users_id_deleted", ["id", "deletedAt"]),
|
|
158
|
+
Index("IDX_users_email_lookup", ["email"]),
|
|
159
|
+
Index("IDX_users_phone_lookup", ["phone"]),
|
|
160
|
+
Index("IDX_users_cpf_lookup", ["cpf"]),
|
|
172
161
|
Index("IDX_users_created_at", ["createdAt"]),
|
|
173
162
|
Index("IDX_users_updated_at", ["updatedAt"]),
|
|
174
|
-
Index("IDX_users_name", ["name"]
|
|
175
|
-
Index("IDX_users_gender", ["gender"]
|
|
163
|
+
Index("IDX_users_name", ["name"]),
|
|
164
|
+
Index("IDX_users_gender", ["gender"])
|
|
176
165
|
], User);
|
|
177
166
|
export {
|
|
178
167
|
User
|