Overview
The Warehouse type represents physical storage facilities in the SIGEAC system. Warehouses store batches of articles and are associated with specific companies and locations.
Type Definition
export type Warehouse = {
id : string ;
name : string ;
location : {
address : string ;
type : string ;
};
company : string ;
type : string ;
};
Fields
Unique identifier for the warehouse
Display name of the warehouse
Physical location information for the warehouse Full physical address of the warehouse
Type of location (e.g., “HANGAR”, “WAREHOUSE”, “STORAGE_FACILITY”)
Company name or identifier that owns/operates this warehouse
Classification of the warehouse (e.g., “MAIN”, “SATELLITE”, “TEMPORARY”)
Full Location Type
The complete Location type includes additional fields:
export type Location = {
id : number ;
name : string ;
address : string ;
type : string ;
isMainBase : boolean ;
cod_iata : string ;
companies : Company [];
};
Unique identifier for the location
Location name (e.g., “Miami International Airport”)
Indicates if this is the primary operational base
IATA airport/location code (e.g., “MIA”, “JFK”)
Array of companies operating at this location
Warehouse Dashboard Metrics
The system provides comprehensive dashboard metrics for warehouse operations:
export interface WarehouseDashboard {
storedCount : number ;
dispatchCount : number ;
dispatchAircraftCount : number ;
dispatchWorkOrderCount : number ;
tool_need_calibration_count : number ;
returnToolsCount : number ;
restockCount : number ;
tools_need_calibration : {
tool_id : number ;
batch_name : string ;
article_id : number ;
part_number : string ;
next_calibration : string ;
status : string ;
}[];
toolsToReturn : any [];
articlesOutOfStock : {
id : number ;
description : string ;
part_number : string ;
serial : string | null ;
category : string ;
condition : string ;
zone : string ;
}[];
expired_tools_count : number ;
expired_tools : {
tool_id : number ;
article_id : number ;
batch_name : string ;
part_number : string ;
next_calibration : string ;
status : string ;
}[];
userStats : {
id : number ;
username : string ;
name : string ;
job_title : string ;
dispatch_count : number ;
incoming_count : number ;
last_used_at : string ;
}[];
}
Dashboard Metrics Fields
Total number of articles currently stored in the warehouse
Total number of dispatch requests processed
Number of dispatches specifically for aircraft
Number of dispatches related to work orders
tool_need_calibration_count
Count of tools requiring calibration
Number of tools awaiting return to warehouse
Number of items below minimum quantity threshold requiring restock
Detailed list of tools requiring calibration Show Tool calibration details
Name of the batch containing the tool
Next scheduled calibration date
Current calibration status
List of articles that have fallen below minimum quantity Show Out of stock article details
Serial number (if tracked)
Tools with expired calibration certificates
User activity statistics for warehouse operations Show User statistics fields
Number of dispatches processed by user
Number of incoming shipments processed by user
Example Data
Basic Warehouse
{
"id" : "WH-001" ,
"name" : "Main Warehouse - Miami" ,
"location" : {
"address" : "2450 NW 21st Street, Miami, FL 33142" ,
"type" : "WAREHOUSE"
},
"company" : "SIGEAC Aviation Services" ,
"type" : "MAIN"
}
Hangar Facility
{
"id" : "HG-MIA-05" ,
"name" : "Hangar 5 - MIA" ,
"location" : {
"address" : "Miami International Airport, Hangar 5, Miami, FL 33142" ,
"type" : "HANGAR"
},
"company" : "SIGEAC Aviation Services" ,
"type" : "SATELLITE"
}
Warehouse with Full Location Details
{
"id" : "WH-002" ,
"name" : "Regional Distribution Center" ,
"location" : {
"id" : 5 ,
"name" : "Fort Lauderdale Storage Facility" ,
"address" : "1500 Airport Road, Fort Lauderdale, FL 33315" ,
"type" : "WAREHOUSE" ,
"isMainBase" : false ,
"cod_iata" : "FLL" ,
"companies" : [
{
"id" : 1 ,
"name" : "SIGEAC Aviation Services" ,
"slug" : "sigeac-aviation"
}
]
},
"company" : "SIGEAC Aviation Services" ,
"type" : "SATELLITE"
}
Warehouse Relationships
Batch Association
Batches reference their warehouse:
export type Batch = {
// ... other fields
warehouse_id : number ;
warehouse_name : string ;
};
Company Association
Companies have multiple associated locations:
export type Company = {
id : number ;
name : string ;
// ... other fields
};
export type Location = {
id : number ;
name : string ;
address : string ;
companies : Company [];
// ... other fields
};
Use Cases
Multi-Location Inventory Management
Track inventory across multiple warehouse locations:
Main distribution centers
Satellite facilities at airports
Temporary storage locations
Hangar-based inventory
Operational Metrics
Monitor warehouse performance:
Storage capacity utilization
Dispatch processing times
Tool calibration compliance
Stock level maintenance
User productivity tracking
Maintenance Alerts
Automated notifications for:
Tools requiring calibration
Expired tool certifications
Items below minimum stock levels
Pending tool returns
Batch - Article groupings stored in warehouses
Article - Individual items stored in warehouse batches
DispatchRequest - Requests to move articles from warehouses