update listing providers factory description
This commit is contained in:
parent
bf325c2c09
commit
36c74bd8a2
@ -48,17 +48,49 @@ function getComponent(component: Type<unknown>) {
|
||||
|
||||
/**
|
||||
* This is equivalent to
|
||||
* @example <code>[FilterService, SearchService, SortingService, ListingService, EntitiesService]</code>
|
||||
* @example
|
||||
* [
|
||||
* FilterService,
|
||||
* SearchService,
|
||||
* SortingService,
|
||||
* ListingService,
|
||||
* EntitiesService
|
||||
* ]
|
||||
*/
|
||||
export function listingProvidersFactory(): Provider[];
|
||||
/**
|
||||
* This is equivalent to
|
||||
* @example <code>[{provide: ListingComponent, useExisting: forwardRef(() => component)}, EntitiesService, FilterService, SearchService, SortingService, ListingService]</code>
|
||||
* @example
|
||||
* [
|
||||
* {
|
||||
* provide: ListingComponent,
|
||||
* useExisting: forwardRef(() => component)
|
||||
* },
|
||||
* EntitiesService,
|
||||
* FilterService,
|
||||
* SearchService,
|
||||
* SortingService,
|
||||
* ListingService
|
||||
* ]
|
||||
*/
|
||||
export function listingProvidersFactory(component: Type<unknown>): Provider[];
|
||||
/**
|
||||
* This is equivalent to
|
||||
* @example <code>[{provide: EntitiesService, useExisting: entitiesService}, {provide: ListingComponent, useExisting: forwardRef(() => component)}, FilterService, SearchService, SortingService, ListingService]</code>
|
||||
* @example
|
||||
* [
|
||||
* {
|
||||
* provide: EntitiesService,
|
||||
* useExisting: entitiesService
|
||||
* },
|
||||
* {
|
||||
* provide: ListingComponent,
|
||||
* useExisting: forwardRef(() => component)
|
||||
* },
|
||||
* FilterService,
|
||||
* SearchService,
|
||||
* SortingService,
|
||||
* ListingService
|
||||
* ]
|
||||
*/
|
||||
export function listingProvidersFactory<T extends IListable<PrimaryKey>, PrimaryKey extends Id = T['id']>(
|
||||
options: IListingServiceFactoryOptions<T>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user