@blackcode_sa/metaestetics-api 1.4.10 → 1.4.11
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/index.js
CHANGED
|
@@ -4503,7 +4503,7 @@ async function createClinic(db, data, creatorAdminId, clinicGroupService, clinic
|
|
|
4503
4503
|
const clinicData = {
|
|
4504
4504
|
...validatedData,
|
|
4505
4505
|
id: clinicId,
|
|
4506
|
-
description: validatedData.description ||
|
|
4506
|
+
description: validatedData.description || "",
|
|
4507
4507
|
location: {
|
|
4508
4508
|
address: validatedData.location.address || "",
|
|
4509
4509
|
city: validatedData.location.city || "",
|
|
@@ -4511,15 +4511,15 @@ async function createClinic(db, data, creatorAdminId, clinicGroupService, clinic
|
|
|
4511
4511
|
postalCode: validatedData.location.postalCode || "",
|
|
4512
4512
|
latitude: validatedData.location.latitude || 0,
|
|
4513
4513
|
longitude: validatedData.location.longitude || 0,
|
|
4514
|
-
geohash: validatedData.location.geohash ||
|
|
4514
|
+
geohash: validatedData.location.geohash || ""
|
|
4515
4515
|
},
|
|
4516
4516
|
contactInfo: {
|
|
4517
4517
|
email: validatedData.contactInfo.email || "",
|
|
4518
4518
|
phoneNumber: validatedData.contactInfo.phoneNumber || "",
|
|
4519
|
-
alternativePhoneNumber: validatedData.contactInfo.alternativePhoneNumber ||
|
|
4520
|
-
website: validatedData.contactInfo.website ||
|
|
4519
|
+
alternativePhoneNumber: validatedData.contactInfo.alternativePhoneNumber || "",
|
|
4520
|
+
website: validatedData.contactInfo.website || ""
|
|
4521
4521
|
},
|
|
4522
|
-
logo: logoUrl ||
|
|
4522
|
+
logo: logoUrl || "",
|
|
4523
4523
|
tags: validatedData.tags || [],
|
|
4524
4524
|
featuredPhotos: processedFeaturedPhotos || [],
|
|
4525
4525
|
photos: processedPhotos || [],
|
package/dist/index.mjs
CHANGED
|
@@ -4469,7 +4469,7 @@ async function createClinic(db, data, creatorAdminId, clinicGroupService, clinic
|
|
|
4469
4469
|
const clinicData = {
|
|
4470
4470
|
...validatedData,
|
|
4471
4471
|
id: clinicId,
|
|
4472
|
-
description: validatedData.description ||
|
|
4472
|
+
description: validatedData.description || "",
|
|
4473
4473
|
location: {
|
|
4474
4474
|
address: validatedData.location.address || "",
|
|
4475
4475
|
city: validatedData.location.city || "",
|
|
@@ -4477,15 +4477,15 @@ async function createClinic(db, data, creatorAdminId, clinicGroupService, clinic
|
|
|
4477
4477
|
postalCode: validatedData.location.postalCode || "",
|
|
4478
4478
|
latitude: validatedData.location.latitude || 0,
|
|
4479
4479
|
longitude: validatedData.location.longitude || 0,
|
|
4480
|
-
geohash: validatedData.location.geohash ||
|
|
4480
|
+
geohash: validatedData.location.geohash || ""
|
|
4481
4481
|
},
|
|
4482
4482
|
contactInfo: {
|
|
4483
4483
|
email: validatedData.contactInfo.email || "",
|
|
4484
4484
|
phoneNumber: validatedData.contactInfo.phoneNumber || "",
|
|
4485
|
-
alternativePhoneNumber: validatedData.contactInfo.alternativePhoneNumber ||
|
|
4486
|
-
website: validatedData.contactInfo.website ||
|
|
4485
|
+
alternativePhoneNumber: validatedData.contactInfo.alternativePhoneNumber || "",
|
|
4486
|
+
website: validatedData.contactInfo.website || ""
|
|
4487
4487
|
},
|
|
4488
|
-
logo: logoUrl ||
|
|
4488
|
+
logo: logoUrl || "",
|
|
4489
4489
|
tags: validatedData.tags || [],
|
|
4490
4490
|
featuredPhotos: processedFeaturedPhotos || [],
|
|
4491
4491
|
photos: processedPhotos || [],
|
package/package.json
CHANGED
|
@@ -249,7 +249,7 @@ export async function createClinic(
|
|
|
249
249
|
const clinicData: Clinic = {
|
|
250
250
|
...validatedData,
|
|
251
251
|
id: clinicId,
|
|
252
|
-
description: validatedData.description ||
|
|
252
|
+
description: validatedData.description || "",
|
|
253
253
|
location: {
|
|
254
254
|
address: validatedData.location.address || "",
|
|
255
255
|
city: validatedData.location.city || "",
|
|
@@ -257,16 +257,16 @@ export async function createClinic(
|
|
|
257
257
|
postalCode: validatedData.location.postalCode || "",
|
|
258
258
|
latitude: validatedData.location.latitude || 0,
|
|
259
259
|
longitude: validatedData.location.longitude || 0,
|
|
260
|
-
geohash: validatedData.location.geohash ||
|
|
260
|
+
geohash: validatedData.location.geohash || "",
|
|
261
261
|
},
|
|
262
262
|
contactInfo: {
|
|
263
263
|
email: validatedData.contactInfo.email || "",
|
|
264
264
|
phoneNumber: validatedData.contactInfo.phoneNumber || "",
|
|
265
265
|
alternativePhoneNumber:
|
|
266
|
-
validatedData.contactInfo.alternativePhoneNumber ||
|
|
267
|
-
website: validatedData.contactInfo.website ||
|
|
266
|
+
validatedData.contactInfo.alternativePhoneNumber || "",
|
|
267
|
+
website: validatedData.contactInfo.website || "",
|
|
268
268
|
},
|
|
269
|
-
logo: logoUrl ||
|
|
269
|
+
logo: logoUrl || "",
|
|
270
270
|
tags: validatedData.tags || [],
|
|
271
271
|
featuredPhotos: processedFeaturedPhotos || [],
|
|
272
272
|
photos: processedPhotos || [],
|