Properties
Readonly hooks
hooks
: { all
: AsyncSeriesWaterfallHook<[IBaseStream<any>], UnsetAdditionalOptions>; createRequest
: SyncWaterfallHook<[Request<any, any>], UnsetAdditionalOptions>; createRequestConfig
: SyncWaterfallHook<[RequestConfig<any>], UnsetAdditionalOptions>; created
: SyncHook<[Stream<string | number>], void, UnsetAdditionalOptions>; maked
: SyncHook<[Stream<string | number>], void, UnsetAdditionalOptions> } = ...Type declaration
all: AsyncSeriesWaterfallHook<[IBaseStream<any>], UnsetAdditionalOptions>
createRequest: SyncWaterfallHook<[Request<any, any>], UnsetAdditionalOptions>
createRequestConfig: SyncWaterfallHook<[RequestConfig<any>], UnsetAdditionalOptions>
created: SyncHook<[Stream<string | number>], void, UnsetAdditionalOptions>
maked: SyncHook<[Stream<string | number>], void, UnsetAdditionalOptions>
Methods
all
- all(): Promise<Stream<string | number>[]>
Returns Promise<Stream<string | number>[]>
create
Type parameters
Parameters
Returns Promise<Stream<ID>>
createRequest
- createRequest<T, D>(): Request<T, D>
entries
- entries<ID>(id: ID): Promise<Criteria<ID>>
Type parameters
Parameters
Returns Promise<Criteria<ID>>
make
- make<ID>(id: ID): Promise<Stream<ID>>
Type parameters
Parameters
Returns Promise<Stream<ID>>
repository
Type parameters
Parameters
Returns Promise<Repository<ID>>
The main class