Adding an object decorator
@object({ name: 'My Object', weight: 1 }) class MyObject { [ ... ] }
Arguments
options { Object } Options object
options
name { String } The Cortex objectName (eg. account, c_foo)
name
weight { Number = 0 } The weight
weight
Last updated 3 years ago