Data Layer medium complexity backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Persistence layer storing FAQ entries scoped per organization, including category, title, body, and deep-link references. Supports queries by organization and category and full-text search across entry content.

Feature: FAQ

faq-store

Sources & reasoning

FAQ is a feature of the always-on help-support area (§8). It is not called out as MVP-critical in the priorities matrix and is a deflection/support tool rather than a launch blocker, so the second non-mobilization phase (Core Product) is the appropriate target_release per the resolution rule.

Responsibilities

  • Persist FAQ entries with org, category, title, body, and link fields
  • Provide queries filtered by organization and category
  • Support full-text search over titles and bodies
  • Maintain timestamps for created and updated audit trail
  • Enforce referential integrity to organization records

Interfaces

findByOrg(orgId, category?): FaqEntry[]
search(orgId, query): FaqEntry[]
insert(entry): FaqEntry
update(entryId, changes): FaqEntry
delete(entryId): void