Skip to main content

Type Alias: NamedPaginationServiceSignals<E, Collection>

NamedPaginationServiceSignals<E, Collection>: { [K in Collection as `selectedPage${Capitalize<K>}Entities`]: Signal<E[]> } & { [K in Collection as `${Lowercase<K>}CurrentPage`]: Signal<number> } & { [K in Collection as `${Lowercase<K>}PageSize`]: Signal<number> } & { [K in Collection as `${Lowercase<K>}TotalCount`]: Signal<number> } & { [K in Collection as `${Lowercase<K>}PageCount`]: Signal<number> } & { [K in Collection as `${Lowercase<K>}PageNavigationArray`]: Signal<Page[]> } & { [K in Collection as `${Lowercase<K>}PageNavigationArrayMax`]: Signal<number> } & { [K in Collection as `hasNext${Capitalize<K>}Page`]: Signal<boolean> } & { [K in Collection as `hasPrevious${Capitalize<K>}Page`]: Signal<boolean> }

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

Type Parameters

E

Collection extends string