@honua/sdk-js
    Preparing search index...

    Interface HonuaMapDocument

    v1 map document shape — mirrors the draft server type in /home/makani/honua-server/src/Honua.Core/Features/Geoprocessing/Domain/MapPackage.cs. Unknown fields are preserved through updateMapDocument round-trip so minor additive changes do not break runtime consumers.

    interface HonuaMapDocument {
        attribution?: readonly HonuaMapDocumentAttribution[];
        boundArtifacts?: readonly string[];
        createdAt?: string;
        dependencies?: readonly HonuaMapDocumentDependency[];
        expiresAt?: string;
        format: "honua_map_package.v1";
        initialView?: HonuaMapDocumentInitialView;
        labelBindings?: readonly HonuaMapDocumentLabelBinding[];
        legend?: readonly HonuaMapDocumentLegendEntry[];
        mapPackageId: string;
        mapSpec: HonuaStyleSpecification;
        popupBindings?: readonly HonuaMapDocumentPopupBinding[];
        previewArtifactId?: string;
        provenance?: HonuaMapDocumentProvenance;
        sourceBindings: readonly HonuaMapDocumentSourceBinding[];
        status?: HonuaMapDocumentStatus;
        styleRefs?: readonly HonuaMapDocumentStyleRef[];
        templateId?: string;
        theme?: HonuaMapDocumentThemeSpec;
        themeId?: string;
        updatedAt?: string;
        widgets?: readonly HonuaMapDocumentWidget[];
        [extra: string]: unknown;
    }

    Indexable

    • [extra: string]: unknown

      Preserve additive fields through round-trip without forcing a type bump.

    Index

    Properties

    attribution?: readonly HonuaMapDocumentAttribution[]

    Package-wide attribution notices.

    boundArtifacts?: readonly string[]
    createdAt?: string
    dependencies?: readonly HonuaMapDocumentDependency[]

    External capabilities required to render at full fidelity.

    expiresAt?: string

    Optional server retention / hosting expiry timestamp.

    format: "honua_map_package.v1"
    labelBindings?: readonly HonuaMapDocumentLabelBinding[]
    legend?: readonly HonuaMapDocumentLegendEntry[]
    mapPackageId: string

    MapLibre-compatible style document. The runtime composes style-ref overrides and theme tokens into this body before handing it to maplibre-gl.Map.setStyle.

    popupBindings?: readonly HonuaMapDocumentPopupBinding[]
    previewArtifactId?: string

    How the package was produced. Descriptive; carries no identity.

    sourceBindings: readonly HonuaMapDocumentSourceBinding[]
    styleRefs?: readonly HonuaMapDocumentStyleRef[]
    templateId?: string

    Optional inline theme body. Overrides out-of-band theme lookup.

    themeId?: string
    updatedAt?: string
    widgets?: readonly HonuaMapDocumentWidget[]

    Renderer-neutral widgets/components declared by the package.