Infrastructure low complexity Shared Component backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

File-based or CMS-backed content storage for versioned legal documents (ToS, Privacy Policy, DPA, Cookie Policy, SLA). Allows legal team to update content without code changes by editing markdown or structured content files. Version identifiers and effective dates are declared in frontmatter or metadata alongside the content.

Feature: Terms of Service

legal-content-store

Responsibilities

  • Store versioned legal document content outside the codebase for non-developer updates
  • Expose current and historical versions to the ToS Version Service and page renderer
  • Maintain effective dates and version slugs as structured metadata

Interfaces

getDocument(docType: string, version?: string): LegalDocument
listVersions(docType: string): LegalDocVersion[]