feat: complete dashcam catalog ingestion demo
Master Production Deploy / production (push) Failing after 49s

This commit is contained in:
2026-07-31 02:01:58 +03:00
parent ae6c35145f
commit 2ce58fcbc0
62 changed files with 6341 additions and 178 deletions
+4 -9
View File
@@ -1,17 +1,12 @@
import { importCatalogExport } from '../src/entities/dashcam-catalog/api/importCatalogExport.ts';
const manifestUrl = process.env.DASHCAM_CATALOG_MANIFEST_URL ?? process.argv[2];
const token = process.env.DASHCAM_CATALOG_EXPORT_TOKEN;
const exportDir = process.env.DASHCAM_CATALOG_EXPORT_DIR ?? process.argv[2];
if (!manifestUrl) {
throw new Error('Set DASHCAM_CATALOG_MANIFEST_URL or pass manifest URL as the first argument');
if (!exportDir) {
throw new Error('Set DASHCAM_CATALOG_EXPORT_DIR or pass the shared export directory as the first argument');
}
if (!token) {
throw new Error('Set DASHCAM_CATALOG_EXPORT_TOKEN');
}
const result = await importCatalogExport({ manifestUrl, token });
const result = await importCatalogExport({ exportDir });
console.log(
JSON.stringify(