mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 19:06:34 +00:00
Cloud cameras are now a distinct type ('cloud') managed entirely by
sync. Bidirectional: cameras added in vendor cloud appear automatically,
removed cameras get deleted. Cloud cameras and their entities are
read-only in admin UI — no manual editing.
- Camera type CHECK widened to include 'cloud'
- New columns: cloud_account_id, cloud_vendor_camera_id,
cloud_stream_url, cloud_stream_type
- Repo: upsertCloudCamera, deleteCloudCamerasNotIn,
listCloudCamerasByAccount
- Sync replaces import: full reconciliation per account
- Hik-Connect: fetch HLS preview URLs via previewURLs endpoint
- Tuya: fetch stream URLs during sync (not just on demand)
- Kiosk API: GET /api/kiosk/cameras/:id/stream returns fresh
relay URL from vendor (session-based URLs expire)
- Cloud cameras show read-only detail page with cloud badge
- Coolify compose: postgres 18 as default, BF_DB=postgres,
server depends_on postgres healthy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| cloud-cameras | ||
| artifact-cleanup.ts | ||
| audit.ts | ||
| auth.ts | ||
| backup.ts | ||
| bundle.ts | ||
| camera-health.ts | ||
| cec-relay.ts | ||
| coordinator-registry.ts | ||
| env-overrides.ts | ||
| firmware.ts | ||
| kiosk-lan.ts | ||
| mqtt-bridge.ts | ||
| nodered-bridge.ts | ||
| onvif.ts | ||
| os-updates.ts | ||
| pairing.ts | ||
| plugin-registry.ts | ||
| rate-limit.ts | ||
| secrets.ts | ||
| snapshot.ts | ||
| strip-secrets.ts | ||
| tenant.ts | ||
| types.ts | ||
| version.ts | ||