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.

Feature: External Resource Links

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.

  • Eksterne lenker til ressurser | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | NICE | 2
  • home-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