iya-sts
    Preparing search index...

    Variable catalogData

    catalogData: (
        negotiated: Negotiated,
        prefix: string,
    ) => {
        catalogs: Record<string, Record<string, string>>;
        negotiated: Negotiated;
    } = ...

    Type Declaration

      • (
            negotiated: Negotiated,
            prefix: string,
        ): {
            catalogs: Record<string, Record<string, string>>;
            negotiated: Negotiated;
        }
      • Returns the catalogs of a negotiation as plain data, for a translator built somewhere else — the admin console, in a browser (#539 phase 5): every catalog of the chain, each with the messages of the namespaces whose names start with prefix, keyed namespace.key.

        Parameters

        • negotiated: Negotiated

          the negotiation

        • prefix: string

          the namespaces' prefix (console)

        Returns { catalogs: Record<string, Record<string, string>>; negotiated: Negotiated }

        { negotiated, catalogs: { <tag>: { 'ns.key': message } } }