internal-fleet-wrapper
Version:
Fleet dummy functions and wrappers
63 lines (50 loc) • 839 B
JavaScript
/*
Internal.Fleet wrapper
Contains dummy functions and wrappers
*/
/*Main class*/
class Fleet {
queueList = [];
#timerID = null;
constructor () {
};
/*Simplified task creator for listing all drivers*/
drivers() {
return {}
}
/*Simplified task creator for listing all orders*/
orders() {
return {}
}
/*Simplified task creator for listing all transactions*/
transactions() {
return {}
}
/*Simplified task for creating new transaction*/
transaction() {
return true;
}
workRules() {
return true;
}
cars() {
return true;
}
carInfo() {
return true;
}
carCreate() {
return true;
}
carEdit() {
return true;
}
carBind() {
return true;
}
carUnbind() {
return true;
}
}
/*Export class to outside*/
exports.Fleet = Fleet;