Skip to content

ferc-elibrary-api / GeneralSearch

Class: GeneralSearch

Extends

Constructors

new GeneralSearch()

new GeneralSearch(params): GeneralSearch

Parameters

ParameterType
paramsPartial<GeneralSearchParams>

Returns

GeneralSearch

Overrides

Search<GeneralSearchParams, GeneralSearchResult>.constructor

Source

search/general.ts:36

Properties

data

data: undefined | GeneralSearchResult

Inherited from

Search.data

Source

search/search.ts:8


defaultParams

readonly defaultParams: GeneralSearchParams = defaultSearch

Overrides

Search.defaultParams

Source

search/general.ts:33


fetch()

readonly fetch: (params) => Promise<GeneralSearchResult>

Parameters

ParameterType
paramsGeneralSearchParams

Returns

Promise<GeneralSearchResult>

Overrides

Search.fetch

Source

search/general.ts:34


params

params: GeneralSearchParams

Inherited from

Search.params

Source

search/search.ts:5

Methods

getData()

getData(): Promise<void>

Returns

Promise<void>

Source

search/general.ts:42


nextPage()

nextPage(): Promise<boolean>

Returns

Promise<boolean>

Source

search/general.ts:50


prevPage()

prevPage(): Promise<boolean>

Returns

Promise<boolean>

Source

search/general.ts:60


updateParams()

updateParams(params): void

Parameters

ParameterType
paramsPartial<GeneralSearch>

Returns

void

Source

search/general.ts:46