UNPKG
@gameroom/kit
Version:
latest (1.3.3)
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.0.0
Node kit for the Gameroom API
@gameroom/kit
/
src
/
storables
/
Unit_Option.js
15 lines
(13 loc)
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const
store
=
require
(
'../store'
), { Base } = store.models module.exports = store.
define
(
'Unit_Option'
, { // Relationships
option_id
: {
type
: String,
default
:
null
},
unit_id
: {
type
: String,
default
:
null
} }, {
extends
: Base } )