( token: string, contentUrl: string )
| 76 | * in its workspace. |
| 77 | */ |
| 78 | export function createPublicFileContentSource( |
| 79 | token: string, |
| 80 | contentUrl: string |
| 81 | ): FileContentSource { |
| 82 | return inlineImageSource(() => contentUrl, `/api/files/public/${token}/inline`) |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Context default for components rendered outside a {@link FileContentSourceProvider}: serve URLs for |
no test coverage detected