// // Configuration.swift // App // // Created by Michael Simard on 10/29/21. // import Foundation import Fluent import Vapor struct Configuration : Content { var games:[GameConfig] var gameModes:[GameModeConfig] var gameModeGroups:[GameModeGroupConfig] var players:[PlayerConfig] var lossReasons:[LossReasonConfig] init (games:[GameConfig], gameModes:[GameModeConfig], gameModeGroups:[GameModeGroupConfig], players:[PlayerConfig], lossReasons:[LossReasonConfig]){ self.games = games self.gameModes = gameModes self.gameModeGroups = gameModeGroups self.players = players self.lossReasons = lossReasons } }