UNPKG
@cashfarm/plow
Version:
latest (0.5.0)
next (0.5.0-rc.3)
0.5.0
0.5.0-rc.6
0.5.0-rc.5
0.5.0-rc.4
0.5.0-rc.3
0.5.0-rc.2
0.5.0-rc.1
0.4.0-RC.4
0.4.0-RC.3
0.4.0-RC.2
0.4.0-RC.1
0.3.13
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.2.2
0.2.1
0.2.0
Library for validating input data and parameters
github.com/cashfarm/plow
cashfarm/plow
@cashfarm/plow
/
lib
/
domain
/
iRepository.d.ts
7 lines
(6 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
IEntity
}
from
'./entity'
;
export
declare
const
IRepositoryOf
:
symbol
;
export
interface
IRepository
<
TAggregate
extends
IEntity
<
TId
>,
TId
> {
getById
(
id
:
TId
):
Promise
<
TAggregate
>;
save
(
aggregate
:
TAggregate
):
void
; }