refactor @saveable to @svDb()

This commit is contained in:
2016-11-18 13:56:15 +01:00
parent 63ceded1b8
commit 7079340657
6 changed files with 21 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -72,7 +72,7 @@ describe('smartdata', function () {
it('should create an extended class', function () {
@smartdata.Collection(testDb)
class TestCar extends smartdata.DbDoc<TestCar> {
@smartdata.saveable
@smartdata.svDb()
color: string
constructor(optionsArg: {
color: string,