Data Layer low complexity Shared Component mobile
0
Dependencies
1
Dependents
2
Entities
0
Integrations

Description

Local data store managing persisted activity records on the device. Shared with the Simple Activity Logging feature. Supports offline queuing of submitted activities and retrieval of recent records for the wizard's context display.

Feature: Activity Registration Wizard

activity-store

Responsibilities

  • Persist newly submitted activities to local SQLite database
  • Queue failed submissions for background sync retry
  • Retrieve recent activities for display in wizard context
  • Invalidate stale cached records on successful background sync

Interfaces

saveActivity(activity: Activity): Future<void>
getRecentActivities(userId: string, limit: int): Future<List<Activity>>
queueForSync(activity: Activity): Future<void>
getPendingSyncItems(): Future<List<Activity>>
markSynced(activityId: string): Future<void>
deleteActivity(activityId: string): Future<void>

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component