@fabriktor/fx 0.0.75 → 0.0.76
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/src/jobs/jobs.js +16 -0
- package/package.json +1 -1
package/dist/src/jobs/jobs.js
CHANGED
|
@@ -290,6 +290,7 @@ export class JobsFX {
|
|
|
290
290
|
id,
|
|
291
291
|
in: {
|
|
292
292
|
...opts.in,
|
|
293
|
+
...locationAddressInput(opts.location),
|
|
293
294
|
current_members,
|
|
294
295
|
},
|
|
295
296
|
});
|
|
@@ -625,6 +626,21 @@ function datePart(parts, type) {
|
|
|
625
626
|
}
|
|
626
627
|
return out;
|
|
627
628
|
}
|
|
629
|
+
function locationAddressInput(location) {
|
|
630
|
+
return {
|
|
631
|
+
address_timezone: location.address_timezone,
|
|
632
|
+
lat: location.lat,
|
|
633
|
+
lon: location.lon,
|
|
634
|
+
street: location.street,
|
|
635
|
+
city: location.city,
|
|
636
|
+
state: location.state,
|
|
637
|
+
postal_code: location.postal_code,
|
|
638
|
+
country: location.country,
|
|
639
|
+
formatted_address: location.formatted_address,
|
|
640
|
+
place_name: location.place_name,
|
|
641
|
+
place_id: location.place_id,
|
|
642
|
+
};
|
|
643
|
+
}
|
|
628
644
|
function requiredID(v, field, msg) {
|
|
629
645
|
const out = resolvedID(v);
|
|
630
646
|
if (out === undefined) {
|