UNPKG
blow-data
Version:
beta (0.1.0)
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Data access layer for Blow.
github.com/mchmielarski/blow-data
mchmielarski/blow-data
blow-data
/
test
/
fixtures
/
EditionModel.ts
17 lines
(12 loc)
•
266 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict'
;
import
*
as
decorators
from
'../../src/decorators'
;
import
{
BaseModel
}
from
'../../src/BaseModel'
;
@decorators
.
model
({
name
:
'Edition'
})
export
class
Edition
extends
BaseModel
{
@decorators
.
property
({
type
:
'Number'
})
no
:
number
; }