diff --git a/composer.json b/composer.json index 5e145f8b..626fd24c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fleetbase/fleetops-api", - "version": "0.5.2", + "version": "0.5.3", "description": "Fleet & Transport Management Extension for Fleetbase", "keywords": [ "fleetbase-extension", diff --git a/extension.json b/extension.json index 111f4018..b300af51 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "Fleet-Ops", - "version": "0.5.2", + "version": "0.5.3", "description": "Fleet & Transport Management Extension for Fleetbase", "repository": "https://github.com/fleetbase/fleetops", "license": "AGPL-3.0-or-later", diff --git a/package.json b/package.json index 0c8ba8f4..e54d3e1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleetbase/fleetops-engine", - "version": "0.5.2", + "version": "0.5.3", "description": "Fleet & Transport Management Extension for Fleetbase", "fleetbase": { "route": "fleet-ops" @@ -44,7 +44,7 @@ "@babel/core": "^7.23.2", "@fleetbase/ember-core": "^0.2.12", "@fleetbase/ember-ui": "^0.2.18", - "@fleetbase/fleetops-data": "^0.1.15", + "@fleetbase/fleetops-data": "^0.1.17", "@fleetbase/leaflet-routing-machine": "^3.2.16", "@fortawesome/ember-fontawesome": "^0.4.1", "@fortawesome/fontawesome-svg-core": "^6.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4b95e58f..1ba91a53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ dependencies: specifier: ^0.2.18 version: 0.2.18(@ember/test-helpers@3.2.0)(@glimmer/component@1.1.2)(@glimmer/tracking@1.1.2)(ember-source@5.4.0)(postcss@8.4.35)(rollup@4.12.0)(tracked-built-ins@3.3.0)(webpack@5.89.0) '@fleetbase/fleetops-data': - specifier: ^0.1.15 - version: 0.1.15 + specifier: ^0.1.17 + version: 0.1.17(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0) '@fleetbase/leaflet-routing-machine': specifier: ^3.2.16 version: 3.2.16 @@ -2612,16 +2612,24 @@ packages: - webpack-command dev: false - /@fleetbase/fleetops-data@0.1.15: - resolution: {integrity: sha512-vASD94APnJqtikQJ8RIqmARmGv9V16pxBJ74azzT/0hNQS9n1VUDiluIJEyuNGnb/BceYIIODdQ7+qi2/cktGw==} + /@fleetbase/fleetops-data@0.1.17(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0): + resolution: {integrity: sha512-cT3MgW0klMByRtUZMJO5d5CfaWCg4Ss9vVr/YA1iUL5DtHP5RgpCmndFLqa0nyYpncIwhkCykfWAUts4PUl+sg==} engines: {node: '>= 18'} dependencies: '@babel/core': 7.23.2 + '@fleetbase/ember-core': 0.2.12(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0) date-fns: 2.30.0 ember-cli-babel: 8.2.0(@babel/core@7.23.2) ember-cli-htmlbars: 6.3.0 transitivePeerDependencies: + - '@ember/test-helpers' + - '@glint/template' + - bufferutil + - ember-source - supports-color + - typescript + - utf-8-validate + - webpack dev: false /@fleetbase/intl-lint@0.0.1: diff --git a/server/src/Http/Resources/v1/Contact.php b/server/src/Http/Resources/v1/Contact.php index a7d42685..65802bb9 100644 --- a/server/src/Http/Resources/v1/Contact.php +++ b/server/src/Http/Resources/v1/Contact.php @@ -26,6 +26,8 @@ public function toArray($request) 'email' => $this->email ?? null, 'phone' => $this->phone ?? null, 'photo_url' => $this->photo_url ?? null, + 'address' => null, + 'addresses' => [], 'type' => $this->type ?? null, 'meta' => $this->meta ?? [], 'slug' => $this->slug ?? null,