Type Alias: DataServiceMethods<E, F>
DataServiceMethods<
E
,F
>:object
Defined in: libs/ngrx-toolkit/src/lib/with-data-service.ts:182
Type Parameters
• E extends Entity
• F extends Filter
Type declaration
load()
load: () =>
Promise
<void
>
Returns
Promise
<void
>
updateFilter()
updateFilter: (
filter
) =>void
Parameters
filter
F
Returns
void
updateSelected()
updateSelected: (
id
,selected
) =>void
Parameters
id
EntityId
selected
boolean
Returns
void
create()
Parameters
entity
E
Returns
Promise
<void
>
delete()
Parameters
entity
E
Returns
Promise
<void
>
loadById()
Parameters
id
EntityId
Returns
Promise
<void
>
setCurrent()
Parameters
entity
E
Returns
void
update()
Parameters
entity
E
Returns
Promise
<void
>
updateAll()
Parameters
entities
E
[]
Returns
Promise
<void
>