| 1 |
"""v10 → v11 migrator: additive `SectionType.AUDIO` for audio-language bodies. |
| 2 |
|
| 3 |
v11 introduces the `::audio path="..." transcript="..."::` fence |
| 4 |
grammar and the new `SectionType.AUDIO` enum value. The addition is |
| 5 |
strictly body-side — no frontmatter fields move. A v10 document |
| 6 |
without any audio fences parses as v11 unchanged; this is a pure |
| 7 |
identity migrator, same shape as the v9→v10 image bump. |
| 8 |
""" |
| 9 |
|
| 10 |
from __future__ import annotations |
| 11 |
|
| 12 |
|
| 13 |
def migrate(raw: dict[str, object]) -> dict[str, object]: |
| 14 |
return dict(raw) |