arma-server-web-admin/public/js/app/models/server.js

27 lines
558 B
JavaScript
Raw Normal View History

var Backbone = require('backbone')
2014-04-08 20:59:59 +00:00
module.exports = Backbone.Model.extend({
defaults: {
additionalConfigurationOptions: '',
admin_password: '',
allowed_file_patching: 1,
auto_start: false,
battle_eye: false,
file_patching: false,
forcedDifficulty: '',
max_players: null,
mods: [],
motd: '',
number_of_headless_clients: 0,
parameters: [],
password: '',
persistent: false,
port: 2302,
state: null,
title: '',
von: false,
verify_signatures: false
},
urlRoot: '/api/servers/'
})