@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.
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/fx",
3
- "version": "0.0.75",
3
+ "version": "0.0.76",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {