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

    Type Alias MetaData<T>

    MetaData: Expand<
        T & {
            "@metadata": Distinct<
                {
                    commit: string;
                    hash: string;
                    lastModified: string;
                    schemaVersion: 1;
                },
            >;
        },
    >

    Defines the root metadata structure for the schema, supporting automated enrichment. This generic wrapper ensures that every high-level entity or collection can be tracked for versioning, integrity, and source information.

    Type Parameters

    • T extends Collection<unknown> = Collection<unknown>

      The underlying data structure to be enriched with metadata.