Skip to content

@jsvision/ui / CatalogSource

Interface: CatalogSource ​

Defined in: i18n/dist/types.d.ts:177

An asynchronous provider of one or more catalog inputs.

Network, authentication, timeout, retry, and cache policy remain the caller's responsibility.

Properties ​

name ​

readonly name: string

Defined in: i18n/dist/types.d.ts:179

Stable value-free identifier used by diagnostics.


required? ​

readonly optional required?: boolean

Defined in: i18n/dist/types.d.ts:181

Whether a failure aborts loading. Defaults to true.

Methods ​

load() ​

load(context): Promise<unknown>

Defined in: i18n/dist/types.d.ts:188

Loads catalog inputs for one atomic service publication.

Parameters ​

context ​

CatalogSourceContext

Shared cancellation context.

Returns ​

Promise<unknown>

One catalog input or an ordered list of catalog inputs.