Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFDuBhMKvoWjrWT3ZnGmmr
17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
// Stub — full implementation in Task 5 (IndexedDB offline queue)
|
|
// This file exists so TypeScript can resolve the dynamic import in report-form.tsx.
|
|
|
|
export interface PendingReport {
|
|
zone_token: string
|
|
incident_type: string
|
|
description: string
|
|
injury_involved: boolean
|
|
asset_involved: boolean
|
|
medical_status?: string
|
|
created_at: string
|
|
}
|
|
|
|
export async function addPendingReport(_report: PendingReport): Promise<void> {
|
|
throw new Error('IndexedDB offline store not yet implemented — Task 5 will replace this stub')
|
|
}
|