Skip to content

API ReferenceLOC lifecycleInterface

LetterOfCreditHistoryQueryDefinition

History definition retaining the supported history version and index provenance.

Extends

Properties

initialCursor

readonly initialCursor: string | null;

Cursor used for the first page.

Inherited from

AnvilCollectionQueryDefinition.initialCursor


queryFn

readonly queryFn: (options?) => Promise<LetterOfCreditHistoryPage>;

Performs the collection read described by the definition. It may return one page or an all-pages aggregate when the query supports fetchAll. Collection execution controls remain separate from request parameters and never enter the key.

Parameters

ParameterType
options?ReadExecutionOptions

Returns

Promise<LetterOfCreditHistoryPage>

Overrides

AnvilCollectionQueryDefinition.queryFn


queryKey

readonly queryKey: readonly unknown[];

Stable, normalized identity of the read and its SDK environment.

Inherited from

AnvilCollectionQueryDefinition.queryKey


queryPage

readonly queryPage: (cursor, options?) => Promise<LetterOfCreditHistoryPage>;

Fetches one atomic page; execution options never enter the key.

Parameters

ParameterType
cursorstring | null
options?ReadExecutionOptions

Returns

Promise<LetterOfCreditHistoryPage>

Overrides

AnvilCollectionQueryDefinition.queryPage