Periodic Table Database Schema - v0.6.3
    Preparing search index...

    Type Alias LangGroup<L, T>

    LangGroup: Group<
        Expand<
            Required<{ [K in L]: Distinct<T> }> & Partial<
                { [K in Exclude<LangCode, L>]: Distinct<T> },
            >,
        >,
    >

    A specialized group for localized strings or values. It enforces at least one primary language (usually English) and allows optional translations.

    Type Parameters

    • L extends LangCode = ENGLISH

      The primary language code(s) required for this group.

    • T = string

      The type of the value being localized (defaults to string).