(metadata: VideoMetadata | null)
| 487 | } |
| 488 | |
| 489 | function clearAiMetadata(metadata: VideoMetadata | null): VideoMetadata { |
| 490 | const nextMetadata = { ...(metadata ?? {}) }; |
| 491 | delete nextMetadata.summary; |
| 492 | delete nextMetadata.chapters; |
| 493 | delete nextMetadata.aiGenerationStatus; |
| 494 | return nextMetadata; |
| 495 | } |
| 496 | |
| 497 | async function queueTranscriptionRegeneration( |
| 498 | videoId: string, |
no outgoing calls
no test coverage detected