|
import ./types/[fleet]
|
|
|
|
export fleet
|
|
|
|
type
|
|
FleetModel* = ref object
|
|
config*: FleetConfig
|
|
|
|
proc newFleetModel*(fleetConfigJson: string): FleetModel =
|
|
result = FleetModel()
|
|
result.config = fleetConfigJson.toFleetConfig()
|
|
|
|
proc delete*(self: FleetModel) =
|
|
discard
|
|
|