Data Layer low complexity mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Drift table providing offline-first local storage for the external link catalogue fetched from the backend. Stores link entries with category, display name, description, URL, role filter, and a cached_at timestamp used for TTL-based invalidation.

Feature: External Resource Links

resource-links-cache-table

Responsibilities

  • Persist link catalogue entries locally for offline access
  • Support query by category and role filter
  • Store cached_at timestamp for TTL-based cache invalidation
  • Support full replace-on-sync refresh pattern

Interfaces

insertAll(List<ResourceLinkEntry> entries) Future<void>
getByCategory(String? categoryId) Future<List<ResourceLinkEntry>>
clearAll() Future<void>
getLatestCachedAt() Future<DateTime?>