@natrave/shared-entities 1.2.52 → 1.2.53
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":"address.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/addresses/address.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"address.entity.d.ts","sourceRoot":"","sources":["../../../src/facilities/addresses/address.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAYpE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAWvD,qBAEa,OAAQ,YAAW,QAAQ;IAItC,EAAE,EAAE,MAAM,CAAC;IAOX,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,aAAa,EAAE,MAAM,CAAC;IAOtB,MAAM,EAAE,MAAM,CAAC;IAQf,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAO1B,YAAY,EAAE,MAAM,CAAC;IAOrB,IAAI,EAAE,MAAM,CAAC;IAQb,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAQ7B,UAAU,EAAE,MAAM,CAAC;IAOnB,OAAO,EAAE,MAAM,CAAC;IAShB,QAAQ,EAAE,MAAM,CAAC;IASjB,SAAS,EAAE,MAAM,CAAC;IAUlB,UAAU,EAAE,QAAQ,EAAE,CAAC;CACxB"}
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
Column,
|
|
14
14
|
CreateDateColumn,
|
|
15
15
|
Entity,
|
|
16
|
+
Index,
|
|
16
17
|
OneToMany,
|
|
17
18
|
PrimaryGeneratedColumn,
|
|
18
19
|
UpdateDateColumn
|
|
@@ -124,7 +125,8 @@ __decorateClass([
|
|
|
124
125
|
})
|
|
125
126
|
], Address.prototype, "facilities", 2);
|
|
126
127
|
Address = __decorateClass([
|
|
127
|
-
Entity("addresses")
|
|
128
|
+
Entity("addresses"),
|
|
129
|
+
Index("idx_facility_postal_code", ["postalCode"])
|
|
128
130
|
], Address);
|
|
129
131
|
export {
|
|
130
132
|
Address
|
|
@@ -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;
|
|
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;AAIlC,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,CAAC;IAQ5B,YAAY,EAAE,MAAM,CAAC;IASrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAQpB,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"}
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
ManyToOne,
|
|
21
21
|
OneToMany,
|
|
22
22
|
PrimaryGeneratedColumn,
|
|
23
|
-
Unique,
|
|
24
23
|
UpdateDateColumn
|
|
25
24
|
} from "typeorm";
|
|
26
25
|
import { TournamentFacility } from "../../tournaments/index.js";
|
|
@@ -127,10 +126,8 @@ __decorateClass([
|
|
|
127
126
|
], Facility.prototype, "sanitizeFields", 1);
|
|
128
127
|
Facility = __decorateClass([
|
|
129
128
|
Entity("facilities"),
|
|
130
|
-
Unique(["name", "facilityOwnerId"]),
|
|
131
|
-
Index("idx_facility_owner", ["facilityOwnerId"]),
|
|
132
129
|
Index("idx_facility_address", ["addressId"]),
|
|
133
|
-
Index("
|
|
130
|
+
Index("idx_facility_name", ["name"])
|
|
134
131
|
], Facility);
|
|
135
132
|
export {
|
|
136
133
|
Facility
|