Skip to content

normalizeConfigArtifactOrThrow

normalizeConfigArtifactOrThrow(raw, source, legacyTargetDefaults?): { } | undefined

Parse either supported wire shape into the canonical Playbook shape.

Presence of either canonical discriminator selects the canonical parser, so an unsupported future format_version can never fall back to legacy.

unknown

string

LegacyConfigTargetDefaults

{ } | undefined