Link Store
Component Detail
Data Layer
medium complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Data layer responsible for persisting resource link records and their per-tenant configuration. Provides CRUD operations consumed by the Resource Link Service and the admin portal.
link-store
Sources & reasoning
The prioritization matrix marks External Resource Links as a shared NICE Phase 2 need across all organizations, and the canonical area taxonomy places it inside Home & Navigation alongside the dashboard and settings.
-
docs/source/likeperson.md ยท line 110Eksterne lenker til ressurser | โ | โ | โ | โ | โ | NICE | 2
-
docs/source/likeperson.md ยท line 367home-navigation | Home & Navigation | Role-Specific Home Dashboard, App Settings & Preferences, External Resource Links
Responsibilities
- Persist resource link records with tenant scoping
- Provide CRUD operations for admin-managed links
- Index links by tenant and category for fast retrieval
- Store link usage counters for analytics aggregation
- Maintain audit fields such as created_by and updated_at
Interfaces
findByTenant(tenantId): ResourceLink[]
create(tenantId, link): ResourceLink
update(linkId, patch): ResourceLink
delete(linkId): void
incrementOpenCount(linkId): void