feat: add weekly curriculum cover image upload and display

This commit is contained in:
2026-09-23 16:03:33 +09:00
parent a7c9cdc16e
commit 656b1bf62b
23 changed files with 723 additions and 95 deletions
+11
View File
@@ -0,0 +1,11 @@
const image = 'future-nav2-camera-test:humble-jetson_orin'
export function cameraRuntimeArtifacts<T extends { image?: string | null }>(
folder: string,
configured: T[] | null | undefined,
): T[] | null | undefined {
if (!configured) return configured
const camera = folder.includes('lms-nav2-camera-test')
// The optional camera image must not be downloaded for other Nav2 modules.
return configured.filter((item) => (item.image?.trim() === image) === camera)
}