Skip to content

Runtime / node-macros: RuntimeMacroManifest

Functions, types, and exports for Runtime / node-macros: RuntimeMacroManifest.

Page outline

Lookup data written by pmds extract --runtime-manifest. The manifest carries compiled keys, so the runtime never hashes or parses (ADR-006).

import type { RuntimeMacroManifest } from "@palamedes/runtime/node-macros"

type RuntimeMacroManifest = {
    version: 1;
    templates: {
        strings: (string | null)[];
        key: string;
        values: string[];
    }[];
    descriptors: {
        message: string;
        context?: string;
        key: string;
    }[];
    choices: {
        kind: "plural" | "select" | "selectOrdinal";
        options: Record<string, string>;
        value: string;
        key: string;
    }[];
};

Properties

NameTypeRequired
version1Yes
templates{ strings: (string | null)[]; key: string; values: string[] }[]Yes
descriptors{ message: string; context?: string; key: string }[]Yes
choices{ kind: "plural" | "select" | "selectOrdinal"; options: Record<string, string>; value: string; key: string }[]Yes

Source entry on GitHub

Last updated: November 1, 2026