Migrating to monorepo for extensions

This commit is contained in:
Ronald A. Richardson
2023-10-10 20:41:14 +08:00
parent 92032ca56c
commit c139c00404
18 changed files with 6955 additions and 6225 deletions

47
.gitmodules vendored
View File

@@ -1,15 +1,16 @@
[submodule "console"]
path = console
url = git@github.com:fleetbase/console.git
branch = main
[submodule "packages/fleetops"]
path = packages/fleetops
url = git@github.com:fleetbase/fleetops.git
[submodule "packages/storefront"]
path = packages/storefront
url = git@github.com:fleetbase/storefront.git
[submodule "packages/pallet"]
path = packages/pallet
url = git@github.com:fleetbase/pallet.git
[submodule "packages/core-api"]
path = packages/core-api
url = git@github.com:fleetbase/core-api.git
branch = main
[submodule "packages/fleetops-api"]
path = packages/fleetops-api
url = git@github.com:fleetbase/fleetops-api.git
branch = main
[submodule "packages/ember-core"]
path = packages/ember-core
url = git@github.com:fleetbase/ember-core.git
@@ -18,10 +19,6 @@
path = packages/ember-ui
url = git@github.com:fleetbase/ember-ui.git
branch = main
[submodule "packages/storefront-engine"]
path = packages/storefront-engine
url = git@github.com:fleetbase/storefront-engine.git
branch = main
[submodule "packages/iam-engine"]
path = packages/iam-engine
url = git@github.com:fleetbase/iam-engine.git
@@ -32,9 +29,9 @@
[submodule "packages/fleetbase-extensions-indexer"]
path = packages/fleetbase-extensions-indexer
url = git@github.com:fleetbase/fleetbase-extensions-indexer.git
[submodule "packages/fleetops-engine"]
path = packages/fleetops-engine
url = git@github.com:fleetbase/fleetops-engine.git
[submodule "packages/fleetops-data"]
path = packages/fleetops-data
url = git@github.com:fleetbase/fleetops-data.git
branch = main
[submodule "docs/guides"]
path = docs/guides
@@ -42,23 +39,3 @@
[submodule "docs/api-reference"]
path = docs/api-reference
url = git@github.com:fleetbase/api-reference.git
[submodule "packages/storefront-api"]
path = packages/storefront-api
url = git@github.com:fleetbase/storefront-api.git
branch = main
[submodule "packages/fleetops-data"]
path = packages/fleetops-data
url = git@github.com:fleetbase/fleetops-data.git
branch = main
[submodule "socket"]
path = socket
url = git@github.com:fleetbase/socket.git
branch = main
[submodule "packages/pallet-api"]
path = packages/pallet-api
url = git@github.com:fleetbase/pallet-api.git
branch = main
[submodule "packages/pallet-engine"]
path = packages/pallet-engine
url = git@github.com:fleetbase/pallet-engine.git
branch = main

1
api/.gitignore vendored
View File

@@ -13,3 +13,4 @@ npm-debug.log
yarn-error.log
/.idea
/.vscode
.composer.dev.json

View File

@@ -9,9 +9,9 @@
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"fleetbase/core-api": "^1.3.0",
"fleetbase/fleetops-api": "^1.2.0",
"fleetbase/storefront-api": "^1.1.2",
"fleetbase/core-api": "^1.3.1",
"fleetbase/fleetops-api": "^0.2.7",
"fleetbase/storefront-api": "^0.1.9",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.75",

386
api/composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "ae63c043bbc2d9f8a102447161f3e301",
"content-hash": "54d0d23a78c49cc0822cd551b777300f",
"packages": [
{
"name": "aloha/twilio",
@@ -192,16 +192,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.283.1",
"version": "3.283.2",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "0d1857ca3392ec9f8ee0b1605ba09842cced6351"
"reference": "6616677d76e39af28138512740199d38a461859f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/0d1857ca3392ec9f8ee0b1605ba09842cced6351",
"reference": "0d1857ca3392ec9f8ee0b1605ba09842cced6351",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/6616677d76e39af28138512740199d38a461859f",
"reference": "6616677d76e39af28138512740199d38a461859f",
"shasum": ""
},
"require": {
@@ -281,9 +281,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.283.1"
"source": "https://github.com/aws/aws-sdk-php/tree/3.283.2"
},
"time": "2023-10-05T18:07:42+00:00"
"time": "2023-10-06T18:09:54+00:00"
},
{
"name": "aws/aws-sdk-php-laravel",
@@ -2003,16 +2003,10 @@
{
"name": "fleetbase/core-api",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
"reference": "44a4be907ed5ec7d6e103420ae9fcc1321c1c62c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/44a4be907ed5ec7d6e103420ae9fcc1321c1c62c",
"reference": "44a4be907ed5ec7d6e103420ae9fcc1321c1c62c",
"shasum": ""
"type": "path",
"url": "../packages/core-api",
"reference": "995aa3b5fae8c9f2caff5e874753679f686a0513"
},
"require": {
"aloha/twilio": "^5.0",
@@ -2064,7 +2058,30 @@
"Fleetbase\\Seeds\\": "seeds/"
}
},
"notification-url": "https://packagist.org/downloads/",
"autoload-dev": {
"psr-4": {
"Fleetbase\\Tests\\": "tests/"
}
},
"scripts": {
"lint": [
"php-cs-fixer fix -v"
],
"test:lint": [
"php-cs-fixer fix -v --dry-run"
],
"test:types": [
"phpstan analyse --ansi --memory-limit=0"
],
"test:unit": [
"pest --colors=always"
],
"test": [
"@test:lint",
"@test:types",
"@test:unit"
]
},
"license": [
"MIT"
],
@@ -2083,11 +2100,101 @@
"fleetbase",
"logistics platform"
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
"source": "https://github.com/fleetbase/core-api/tree/v1.3.0"
"transport-options": {
"relative": true
}
},
"time": "2023-10-06T08:09:44+00:00"
{
"name": "fleetbase/fleetops",
"version": "0.0.1",
"dist": {
"type": "path",
"url": "../packages/fleetops",
"reference": "03dafb169e6ecb5425cd46353dca29f5ee6bd6d2"
},
"require": {
"barryvdh/laravel-dompdf": "^2.0",
"brick/geo": "0.7.2",
"cknow/laravel-money": "^7.1",
"fleetbase/core-api": "^1.3.0",
"geocoder-php/google-maps-places-provider": "^1.4",
"giggsey/libphonenumber-for-php": "^8.13",
"league/geotools": "^1.1.0",
"milon/barcode": "^9.0",
"php": "^7.4|^8.0",
"php-http/guzzle7-adapter": "^1.0",
"psr/http-factory-implementation": "*",
"toin0u/geocoder-laravel": "^4.4",
"webit/eval-math": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16.4",
"pestphp/pest": "^0.3.8",
"phpstan/phpstan": "^0.12.48",
"symfony/var-dumper": "^5.2.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Fleetbase\\FleetOps\\Providers\\FleetOpsServiceProvider",
"Fleetbase\\FleetOps\\Providers\\EventServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Fleetbase\\FleetOps\\": "server/src/"
}
},
"autoload-dev": {
"psr-4": {
"Fleetbase\\Tests\\": "server/tests/"
}
},
"scripts": {
"lint": [
"php-cs-fixer fix -v"
],
"test:lint": [
"php-cs-fixer fix -v --dry-run"
],
"test:types": [
"phpstan analyse --ansi --memory-limit=0"
],
"test:unit": [
"pest --colors=always"
],
"test": [
"@test:lint",
"@test:types",
"@test:unit"
]
},
"license": [
"MIT"
],
"authors": [
{
"name": "Fleetbase Pte Ltd.",
"email": "hello@fleetbase.io"
},
{
"name": "Ronald A. Richardson",
"email": "ron@fleetbase.io"
}
],
"description": "FleetOps TMS and Last-Mile Operations System",
"keywords": [
"delivery management",
"fleetbase-extension",
"fleetops",
"last-mile",
"tms"
],
"transport-options": {
"relative": true
}
},
{
"name": "fleetbase/fleetops-api",
@@ -2166,19 +2273,97 @@
},
"time": "2023-10-06T08:12:02+00:00"
},
{
"name": "fleetbase/flespi-integration",
"version": "0.0.3",
"dist": {
"type": "path",
"url": "../packages/flespi-integration",
"reference": "f908174a43dd0bb7afd762798f1c708df2728782"
},
"require": {
"fleetbase/core-api": "^1.3.0",
"fleetbase/fleetops-api": "^1.2.0",
"php": "^7.4|^8.0",
"php-http/guzzle7-adapter": "^1.0",
"psr/http-factory-implementation": "*",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16.4",
"pestphp/pest": "^0.3.8",
"phpstan/phpstan": "^1.8",
"symfony/var-dumper": "^5.2.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Fleetbase\\Flespi\\Providers\\FlespiIntegrationServiceProvider"
]
},
"fleetbase": {
"sandbox-migrations": false
}
},
"autoload": {
"psr-4": {
"Fleetbase\\Flespi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Fleetbase\\Flespi\\Tests\\": "tests/"
}
},
"scripts": {
"lint": [
"php-cs-fixer fix -v"
],
"test:lint": [
"php-cs-fixer fix -v --dry-run"
],
"test:types": [
"phpstan analyse --ansi --memory-limit=0"
],
"test:unit": [
"pest --colors=always"
],
"test": [
"@test:lint",
"@test:types",
"@test:unit"
]
},
"license": [
"MIT"
],
"authors": [
{
"name": "Fleetbase Pte Ltd.",
"email": "hello@fleetbase.io"
},
{
"name": "Charley Nguyen",
"email": "charley@fleetbase.io"
}
],
"description": "Flespi Telematics API Integration",
"keywords": [
"fleetbase-extension",
"flespi"
],
"transport-options": {
"relative": true
}
},
{
"name": "fleetbase/storefront-api",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/storefront-api.git",
"reference": "0ad8808a89cf19b2062a0bc0583a3da0af26a20b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fleetbase/storefront-api/zipball/0ad8808a89cf19b2062a0bc0583a3da0af26a20b",
"reference": "0ad8808a89cf19b2062a0bc0583a3da0af26a20b",
"shasum": ""
"type": "path",
"url": "../packages/storefront-api",
"reference": "a4930e69bf89d005d1c853cc01dcf0327e5fbe7d"
},
"require": {
"fleetbase/core-api": "^1.2.6",
@@ -2218,7 +2403,30 @@
"Fleetbase\\Storefront\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"autoload-dev": {
"psr-4": {
"Fleetbase\\Storefront\\Tests\\": "tests/"
}
},
"scripts": {
"lint": [
"php-cs-fixer fix -v"
],
"test:lint": [
"php-cs-fixer fix -v --dry-run"
],
"test:types": [
"phpstan analyse --ansi --memory-limit=0"
],
"test:unit": [
"pest --colors=always"
],
"test": [
"@test:lint",
"@test:types",
"@test:unit"
]
},
"license": [
"MIT"
],
@@ -2240,11 +2448,9 @@
"marketplace",
"storefront"
],
"support": {
"issues": "https://github.com/fleetbase/storefront-api/issues",
"source": "https://github.com/fleetbase/storefront-api/tree/v1.1.2"
},
"time": "2023-09-14T11:26:32+00:00"
"transport-options": {
"relative": true
}
},
{
"name": "fruitcake/laravel-cors",
@@ -2910,16 +3116,16 @@
},
{
"name": "google/cloud-core",
"version": "v1.52.5",
"version": "v1.52.6",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-cloud-php-core.git",
"reference": "28765cf75bd028ed063b0422b9c85bb9a54c41ca"
"reference": "71f092f4dab880515917da64423656ed3d6aefc2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/28765cf75bd028ed063b0422b9c85bb9a54c41ca",
"reference": "28765cf75bd028ed063b0422b9c85bb9a54c41ca",
"url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/71f092f4dab880515917da64423656ed3d6aefc2",
"reference": "71f092f4dab880515917da64423656ed3d6aefc2",
"shasum": ""
},
"require": {
@@ -2969,9 +3175,9 @@
],
"description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
"support": {
"source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.5"
"source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.6"
},
"time": "2023-09-30T16:50:41+00:00"
"time": "2023-10-06T21:49:26+00:00"
},
{
"name": "google/cloud-storage",
@@ -6874,16 +7080,16 @@
},
{
"name": "php-http/discovery",
"version": "1.15.3",
"version": "1.19.1",
"source": {
"type": "git",
"url": "https://github.com/php-http/discovery.git",
"reference": "3ccd28dd9fb34b52db946abea1b538568e34eae8"
"reference": "57f3de01d32085fea20865f9b16fb0e69347c39e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/discovery/zipball/3ccd28dd9fb34b52db946abea1b538568e34eae8",
"reference": "3ccd28dd9fb34b52db946abea1b538568e34eae8",
"url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e",
"reference": "57f3de01d32085fea20865f9b16fb0e69347c39e",
"shasum": ""
},
"require": {
@@ -6891,7 +7097,8 @@
"php": "^7.1 || ^8.0"
},
"conflict": {
"nyholm/psr7": "<1.0"
"nyholm/psr7": "<1.0",
"zendframework/zend-diactoros": "*"
},
"provide": {
"php-http/async-client-implementation": "*",
@@ -6916,7 +7123,10 @@
"autoload": {
"psr-4": {
"Http\\Discovery\\": "src/"
}
},
"exclude-from-classmap": [
"src/Composer/Plugin.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -6942,9 +7152,9 @@
],
"support": {
"issues": "https://github.com/php-http/discovery/issues",
"source": "https://github.com/php-http/discovery/tree/1.15.3"
"source": "https://github.com/php-http/discovery/tree/1.19.1"
},
"time": "2023-03-31T14:40:37+00:00"
"time": "2023-07-11T07:02:26+00:00"
},
{
"name": "php-http/guzzle7-adapter",
@@ -16721,82 +16931,6 @@
}
],
"time": "2021-07-28T10:34:58+00:00"
},
{
"name": "zendframework/zend-diactoros",
"version": "2.2.1",
"source": {
"type": "git",
"url": "https://github.com/zendframework/zend-diactoros.git",
"reference": "de5847b068362a88684a55b0dbb40d85986cfa52"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/de5847b068362a88684a55b0dbb40d85986cfa52",
"reference": "de5847b068362a88684a55b0dbb40d85986cfa52",
"shasum": ""
},
"require": {
"php": "^7.1",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0"
},
"provide": {
"psr/http-factory-implementation": "1.0",
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"ext-curl": "*",
"ext-dom": "*",
"ext-libxml": "*",
"http-interop/http-factory-tests": "^0.5.0",
"php-http/psr7-integration-tests": "dev-master",
"phpunit/phpunit": "^7.0.2",
"zendframework/zend-coding-standard": "~1.0.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.1.x-dev",
"dev-develop": "2.2.x-dev",
"dev-release-1.8": "1.8.x-dev"
}
},
"autoload": {
"files": [
"src/functions/create_uploaded_file.php",
"src/functions/marshal_headers_from_sapi.php",
"src/functions/marshal_method_from_sapi.php",
"src/functions/marshal_protocol_version_from_sapi.php",
"src/functions/marshal_uri_from_sapi.php",
"src/functions/normalize_server.php",
"src/functions/normalize_uploaded_files.php",
"src/functions/parse_cookie_header.php"
],
"psr-4": {
"Zend\\Diactoros\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "PSR HTTP Message implementations",
"keywords": [
"http",
"psr",
"psr-7"
],
"support": {
"docs": "https://docs.zendframework.com/zend-diactoros/",
"forum": "https://discourse.zendframework.com/c/questions/exprssive",
"issues": "https://github.com/zendframework/zend-diactoros/issues",
"rss": "https://github.com/zendframework/zend-diactoros/releases.atom",
"slack": "https://zendframework-slack.herokuapp.com",
"source": "https://github.com/zendframework/zend-diactoros"
},
"abandoned": "laminas/laminas-diactoros",
"time": "2019-11-13T19:16:13+00:00"
}
],
"aliases": [],

View File

@@ -81,6 +81,88 @@ erDiagram
TIMESTAMP deleted_at
}
fleetbase_billing_customers {
BIGINTUNSIGNED id PK
CHAR uuid
CHAR company_uuid FK
VARCHAR payment_gateway_id
VARCHAR pm_type
VARCHAR pm_last_four
TIMESTAMP trial_ends_at
JSON options
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_billing_payment_gateways {
BIGINTUNSIGNED id PK
CHAR uuid
VARCHAR name
VARCHAR code
VARCHAR description
VARCHAR api_key
VARCHAR api_secret
VARCHAR callback_url
VARCHAR return_url
VARCHAR webhook_secret
CHAR logo_uuid FK
CHAR backdrop_uuid FK
JSON options
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_billing_plans {
BIGINTUNSIGNED id PK
CHAR uuid
CHAR payment_gateway_uuid FK
VARCHAR name
TEXT description
VARCHAR payment_gateway_id
INT price
BIT recurring
VARCHAR billing_period
VARCHAR interval
INT trial_period_days
JSON options
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_billing_subscription_items {
BIGINTUNSIGNED id PK
CHAR uuid
CHAR subscription_uuid FK
VARCHAR payment_gateway_id
VARCHAR payment_gateway_product
VARCHAR payment_gateway_price
INT quantity
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_billing_subscriptions {
BIGINTUNSIGNED id PK
CHAR uuid
CHAR company_uuid FK
CHAR payment_gateway_uuid FK
CHAR plan_uuid FK
VARCHAR name
VARCHAR payment_gateway_id
VARCHAR payment_gateway_status
VARCHAR payment_gateway_price
INT quantity
TIMESTAMP trial_ends_at
TIMESTAMP ends_at
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_categories {
INTUNSIGNED id PK
VARCHAR _key
@@ -294,6 +376,16 @@ erDiagram
VARCHAR slug
}
fleetbase_failed_jobs {
BIGINTUNSIGNED id PK
VARCHAR uuid UK
TEXT connection
TEXT queue
LONGTEXT payload
LONGTEXT exception
TIMESTAMP failed_at
}
fleetbase_files {
INTUNSIGNED id PK
VARCHAR _key
@@ -302,12 +394,14 @@ erDiagram
VARCHAR company_uuid
VARCHAR uploader_uuid
VARCHAR subject_uuid
VARCHAR disk
VARCHAR caption
LONGTEXT path
VARCHAR subject_type
VARCHAR bucket
VARCHAR folder
VARCHAR etag
JSON meta
MEDIUMTEXT data_params
VARCHAR original_filename
VARCHAR type
@@ -330,6 +424,17 @@ erDiagram
TIMESTAMP updated_at
}
fleetbase_fleet_vehicles {
INTUNSIGNED id PK
VARCHAR _key
CHAR uuid UK
CHAR fleet_uuid FK
CHAR vehicle_uuid FK
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_fleets {
INTUNSIGNED id PK
VARCHAR _key
@@ -338,6 +443,8 @@ erDiagram
VARCHAR company_uuid FK
VARCHAR service_area_uuid FK
VARCHAR zone_uuid FK
CHAR vendor_uuid FK
CHAR parent_fleet_uuid FK
VARCHAR image_uuid
VARCHAR name
VARCHAR color
@@ -974,6 +1081,31 @@ erDiagram
TIMESTAMP updated_at
}
fleetbase_vehicle_devices {
INTUNSIGNED id PK
CHAR uuid
CHAR vehicle_uuid FK
VARCHAR device_id
VARCHAR device_provider
VARCHAR device_type
VARCHAR device_name
VARCHAR device_location
VARCHAR device_model
VARCHAR manufacturer
VARCHAR serial_number
DATE installation_date
DATE last_maintenance_date
JSON meta
JSON data
BIT online
VARCHAR status
VARCHAR data_frequency
TEXT notes
TIMESTAMP deleted_at
TIMESTAMP created_at
TIMESTAMP updated_at
}
fleetbase_vehicles {
INTUNSIGNED id PK
VARCHAR _key
@@ -983,46 +1115,23 @@ erDiagram
VARCHAR vendor_uuid FK
VARCHAR photo_uuid FK
VARCHAR avatar_url
GEOMETRY location
VARCHAR speed
VARCHAR heading
VARCHAR altitude
VARCHAR make
VARCHAR model
VARCHAR year
VARCHAR trim
VARCHAR model_0_to_100_kph
VARCHAR model_body
VARCHAR model_co2
VARCHAR model_doors
VARCHAR model_drive
VARCHAR model_engine_bore_mm
VARCHAR model_engine_cc
VARCHAR model_engine_compression
VARCHAR model_engine_cyl
VARCHAR model_engine_fuel
VARCHAR model_engine_position
VARCHAR model_engine_power_ps
VARCHAR model_engine_power_rpm
VARCHAR model_engine_stroke_mm
VARCHAR model_engine_torque_nm
VARCHAR model_engine_torque_rpm
VARCHAR model_engine_valves_per_cyl
VARCHAR model_fuel_cap_l
VARCHAR model_length_mm
VARCHAR model_lkm_city
VARCHAR model_lkm_hwy
VARCHAR model_lkm_mixed
VARCHAR model_make_display
VARCHAR model_seats
VARCHAR model_sold_in_us
VARCHAR model_top_speed_kph
VARCHAR model_transmission_type
VARCHAR model_weight_kg
VARCHAR model_wheelbase_mm
VARCHAR model_width_mm
VARCHAR type
VARCHAR plate_number
VARCHAR vin
MEDIUMTEXT vin_data
JSON meta
JSON telematics
JSON model_data
VARCHAR status
BIT online
VARCHAR slug
TIMESTAMP deleted_at
TIMESTAMP created_at
@@ -1510,6 +1619,10 @@ erDiagram
fleetbase_api_credentials ||--o{ fleetbase_webhook_endpoints : "foreign key"
fleetbase_api_credentials ||--o{ fleetbase_webhook_request_logs : "foreign key"
fleetbase_api_events ||--o{ fleetbase_webhook_request_logs : "foreign key"
fleetbase_billing_payment_gateways ||--o{ fleetbase_billing_plans : "foreign key"
fleetbase_billing_payment_gateways ||--o{ fleetbase_billing_subscriptions : "foreign key"
fleetbase_billing_plans ||--o{ fleetbase_billing_subscriptions : "foreign key"
fleetbase_billing_subscriptions ||--o{ fleetbase_billing_subscription_items : "foreign key"
fleetbase_categories ||--o{ fleetbase_extensions : "foreign key"
fleetbase_categories ||--o{ fleetbase_storefront_network_stores : "foreign key"
fleetbase_categories ||--o{ fleetbase_storefront_product_addon_categories : "foreign key"
@@ -1517,6 +1630,8 @@ erDiagram
fleetbase_categories ||--o{ fleetbase_storefront_products : "foreign key"
fleetbase_companies ||--o{ fleetbase_api_credentials : "foreign key"
fleetbase_companies ||--o{ fleetbase_api_request_logs : "foreign key"
fleetbase_companies ||--o{ fleetbase_billing_customers : "foreign key"
fleetbase_companies ||--o{ fleetbase_billing_subscriptions : "foreign key"
fleetbase_companies ||--o{ fleetbase_company_users : "foreign key"
fleetbase_companies ||--o{ fleetbase_contacts : "foreign key"
fleetbase_companies ||--o{ fleetbase_drivers : "foreign key"
@@ -1568,6 +1683,7 @@ erDiagram
fleetbase_drivers ||--o{ fleetbase_issues : "foreign key"
fleetbase_drivers ||--o{ fleetbase_orders : "foreign key"
fleetbase_extensions ||--o{ fleetbase_extension_installs : "foreign key"
fleetbase_files ||--o{ fleetbase_billing_payment_gateways : "foreign key"
fleetbase_files ||--o{ fleetbase_categories : "foreign key"
fleetbase_files ||--o{ fleetbase_companies : "foreign key"
fleetbase_files ||--o{ fleetbase_contacts : "foreign key"
@@ -1582,6 +1698,8 @@ erDiagram
fleetbase_files ||--o{ fleetbase_storefront_products : "foreign key"
fleetbase_files ||--o{ fleetbase_storefront_stores : "foreign key"
fleetbase_fleets ||--o{ fleetbase_fleet_drivers : "foreign key"
fleetbase_fleets ||--o{ fleetbase_fleet_vehicles : "foreign key"
fleetbase_fleets ||--o{ fleetbase_fleets : "foreign key"
fleetbase_groups ||--o{ fleetbase_group_users : "foreign key"
fleetbase_integrated_vendors ||--o{ fleetbase_service_quotes : "foreign key"
fleetbase_orders ||--o{ fleetbase_drivers : "foreign key"
@@ -1649,9 +1767,12 @@ erDiagram
fleetbase_users ||--o{ fleetbase_storefront_stores : "foreign key"
fleetbase_users ||--o{ fleetbase_storefront_votes : "foreign key"
fleetbase_vehicles ||--o{ fleetbase_drivers : "foreign key"
fleetbase_vehicles ||--o{ fleetbase_fleet_vehicles : "foreign key"
fleetbase_vehicles ||--o{ fleetbase_fuel_reports : "foreign key"
fleetbase_vehicles ||--o{ fleetbase_issues : "foreign key"
fleetbase_vehicles ||--o{ fleetbase_vehicle_devices : "foreign key"
fleetbase_vendors ||--o{ fleetbase_drivers : "foreign key"
fleetbase_vendors ||--o{ fleetbase_fleets : "foreign key"
fleetbase_vendors ||--o{ fleetbase_vehicles : "foreign key"
fleetbase_webhook_endpoints ||--o{ fleetbase_webhook_request_logs : "foreign key"
fleetbase_zones ||--o{ fleetbase_fleets : "foreign key"

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

12544
erd.svg

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 726 KiB

After

Width:  |  Height:  |  Size: 794 KiB

1
packages/fleetops Submodule

Submodule packages/fleetops added at b280fd4404

1
packages/pallet Submodule

Submodule packages/pallet added at 623145d41f

1
packages/storefront Submodule

Submodule packages/storefront added at 492d5729cf