Setu-TS
    Preparing search index...

    Interface IMessageSource

    A source that loads every catalogue once, during register() — the seam for catalogues kept in a database, a KV store, or a remote service.

    Loading happens once: a request never waits on it, and a rejection fails startup rather than a request. The result is validated exactly as static catalogues are.

    const source: IMessageSource = {
    name: 'kv',
    load: async () => JSON.parse(await kv.get('catalogues') ?? '{}'),
    };

    0.9.0

    interface IMessageSource {
        name?: string;
        load(): Promise<
            Readonly<Record<string, Readonly<Record<string, LocalizationMessage>>>>,
        >;
    }
    Index
    name?: string

    A name reported by the localization health indicator.