UNPKG
@decaf-ts/db-decorators
Version:
latest (0.8.19)
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.13
0.7.12
0.7.11
0.7.10
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.20
0.6.19
0.6.18
0.6.17
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.34
0.4.33
0.4.32
0.4.31
0.4.30
0.4.29
0.4.28
0.4.27
0.4.26
0.4.25
0.4.24
0.4.23
0.4.22
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.4
0.3.1
0.3.0
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Agnostic database decorators and repository
github.com/decaf-ts/db-decorators
decaf-ts/db-decorators
@decaf-ts/db-decorators
/
lib
/
esm
/
model
/
model.d.ts
7 lines
(6 loc)
•
262 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
ModelErrorDefinition
}
from
"@decaf-ts/decorator-validation"
;
declare
module
"@decaf-ts/decorator-validation"
{
interface
Model
{
hasErrors
(
previousVersion
?:
Model
|
any
, ...
exclusions
:
any
[]):
ModelErrorDefinition
|
undefined
; } }