Skip to main content

Type Alias: NamedPaginationServiceState<E, Collection>

NamedPaginationServiceState<E, Collection>: { [K in Collection as `selectedPage${Capitalize<K>}Entities`]: E[] } & { [K in Collection as `${Lowercase<K>}CurrentPage`]: number } & { [K in Collection as `${Lowercase<K>}PageSize`]: number } & { [K in Collection as `${Lowercase<K>}TotalCount`]: number } & { [K in Collection as `${Lowercase<K>}PageCount`]: number } & { [K in Collection as `${Lowercase<K>}PageNavigationArray`]: number } & { [K in Collection as `${Lowercase<K>}PageNavigationArrayMax`]: number }

Defined in: libs/ngrx-toolkit/src/lib/with-pagination.ts:30

Type Parameters

E

Collection extends string