@natrave/shared-entities 1.9.0 → 1.11.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/facilities/facilities/facility.entity.d.ts +1 -0
- package/dist/facilities/facilities/facility.entity.d.ts.map +1 -1
- package/dist/facilities/facilities/facility.entity.js +11 -0
- package/dist/feed/feed-activities/feed-activity.entity.d.ts +1 -0
- package/dist/feed/feed-activities/feed-activity.entity.d.ts.map +1 -1
- package/dist/feed/feed-activities/feed-activity.entity.js +8 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facility.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/facilities/facility.entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAgBjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAGlC,qBAGa,QAAS,YAAW,SAAS;IAIxC,EAAE,EAAE,MAAM,CAAC;IAOX,SAAS,EAAE,MAAM,CAAC;IAOlB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"facility.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/facilities/facility.entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAgBjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAGlC,qBAGa,QAAS,YAAW,SAAS;IAIxC,EAAE,EAAE,MAAM,CAAC;IAOX,SAAS,EAAE,MAAM,CAAC;IAOlB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,IAAI,EAAE,MAAM,CAAC;IAWb,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IASpC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IASnC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IASnC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAQ3B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAQ;IAU9B,OAAO,EAAE,OAAO,CAAC;IAGjB,MAAM,EAAE,KAAK,EAAE,CAAC;IAGhB,cAAc,EAAE,aAAa,EAAE,CAAC;IAGhC,oBAAoB,EAAE,kBAAkB,EAAE,CAAC;IAO3C,cAAc,IAAI,IAAI;CAGvB"}
|
|
@@ -29,6 +29,7 @@ import { Field } from "../fields/index.js";
|
|
|
29
29
|
import { sanitizeFacility } from "./utils/sanititze.utils.js";
|
|
30
30
|
let Facility = class {
|
|
31
31
|
constructor() {
|
|
32
|
+
this.googlePlaceId = null;
|
|
32
33
|
this.contactEmail = null;
|
|
33
34
|
this.contactPhone = null;
|
|
34
35
|
this.cnpj = null;
|
|
@@ -72,6 +73,16 @@ __decorateClass([
|
|
|
72
73
|
comment: "Nome do estabelecimento."
|
|
73
74
|
})
|
|
74
75
|
], Facility.prototype, "name", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
Column({
|
|
78
|
+
name: "google_place_id",
|
|
79
|
+
type: "varchar",
|
|
80
|
+
length: 512,
|
|
81
|
+
nullable: true,
|
|
82
|
+
unique: true,
|
|
83
|
+
comment: "Google Place ID \u2014 identidade can\xF4nica do lugar. Null para registros legados/manuais ainda n\xE3o resolvidos."
|
|
84
|
+
})
|
|
85
|
+
], Facility.prototype, "googlePlaceId", 2);
|
|
75
86
|
__decorateClass([
|
|
76
87
|
Column({
|
|
77
88
|
name: "contact_email",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-activity.entity.d.ts","sourceRoot":"","sources":["../../../src/feed/feed-activities/feed-activity.entity.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAWhE,qBAMa,YAAY;IAKvB,EAAE,EAAE,MAAM,CAAC;IAQX,IAAI,EAAE,MAAM,CAAC;IAOb,OAAO,EAAE,MAAM,CAAC;IAOhB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAUjC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAS9B,UAAU,EAAE,cAAc,CAAC;IAU3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAOzB,UAAU,EAAE,IAAI,CAAC;IAQjB,SAAS,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"feed-activity.entity.d.ts","sourceRoot":"","sources":["../../../src/feed/feed-activities/feed-activity.entity.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAWhE,qBAMa,YAAY;IAKvB,EAAE,EAAE,MAAM,CAAC;IAQX,IAAI,EAAE,MAAM,CAAC;IAOb,OAAO,EAAE,MAAM,CAAC;IAOhB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAUjC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAS9B,UAAU,EAAE,cAAc,CAAC;IAU3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAOzB,UAAU,EAAE,IAAI,CAAC;IAQjB,SAAS,EAAE,IAAI,CAAC;IAShB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAK7B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;CACjC"}
|
|
@@ -89,6 +89,14 @@ __decorateClass([
|
|
|
89
89
|
comment: "Data/hora de cria\xE7\xE3o da linha no banco."
|
|
90
90
|
})
|
|
91
91
|
], FeedActivity.prototype, "createdAt", 2);
|
|
92
|
+
__decorateClass([
|
|
93
|
+
Column({
|
|
94
|
+
name: "source_event_id",
|
|
95
|
+
type: "bigint",
|
|
96
|
+
nullable: true,
|
|
97
|
+
comment: "Id da linha do feed_outbox do \xFAltimo evento aplicado a este card (watermark de ordem). O worker s\xF3 atualiza o card via upsert se o id do evento recebido for >= a este, evitando que um evento reprocessado fora de ordem reverta o card."
|
|
98
|
+
})
|
|
99
|
+
], FeedActivity.prototype, "sourceEventId", 2);
|
|
92
100
|
__decorateClass([
|
|
93
101
|
OneToMany(() => FeedActivitySubject, (subject) => subject.activity)
|
|
94
102
|
], FeedActivity.prototype, "subjects", 2);
|