(block: ContentBlock)
| 157 | } |
| 158 | |
| 159 | function mapContentBlock(block: ContentBlock): PersistedContentBlock { |
| 160 | const persisted = mapContentBlockBody(block) |
| 161 | return withBlockSpan(withBlockParent(withBlockTiming(persisted, block), block), block) |
| 162 | } |
| 163 | |
| 164 | function mapContentBlockBody(block: ContentBlock): PersistedContentBlock { |
| 165 | switch (block.type) { |
nothing calls this directly
no test coverage detected