@natrave/shared-entities 1.9.0 → 1.10.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.
@@ -9,6 +9,7 @@ export declare class Facility implements IFacility {
9
9
  createdAt: Date;
10
10
  updatedAt: Date;
11
11
  name: string;
12
+ googlePlaceId: string | null;
12
13
  contactEmail: string | null;
13
14
  contactPhone: string | null;
14
15
  cnpj: string | null;
@@ -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;IASb,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"}
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",