( ownership: KnowledgeBaseFileOwnership )
| 256 | * paths — keep all callers routed through here so they cannot drift. |
| 257 | */ |
| 258 | export async function recordKnowledgeBaseFileOwnership( |
| 259 | ownership: KnowledgeBaseFileOwnership |
| 260 | ): Promise<void> { |
| 261 | await insertFileMetadata({ ...ownership, context: 'knowledge-base' }) |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * Bulk variant of {@link recordKnowledgeBaseFileOwnership} for batch upload flows. |
no test coverage detected