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
| Name | Type | Required |
|---|---|---|
version | 1 | Yes |
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 |
Last updated: November 1, 2026