s-private API Documentation - v3.8.1
    Preparing search index...

    Module notes/entities/note-entity

    Note Aggregate Root and related Value Objects.

    This module defines the Note aggregate root following DDD principles. Note is the sole entry point for all note-related operations within the Notes bounded context.

    Aggregate Root: noteEntity

    Invariants:

    • Title must be unique per user (enforced by NotesDomainService)
    • Status transitions: UNEXPORTED → LAST_UPDATED → EXPORTED

    Value Objects defined here:

    • NotesDomainService for domain business rules
    • docs/domain-model.md for aggregate boundary documentation

    Type Aliases

    CreateNoteArgs
    ExportedNote
    LastUpdatedNote
    Markdown
    NoteListItemDTO
    NoteTitle
    NoteWithEvent
    UnexportedNote

    Variables

    ExportedNote
    LastUpdatedNote
    Markdown
    noteEntity
    NoteTitle
    UnexportedNote

    Functions

    makeMarkdown
    makeNoteTitle