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

    Module images/entities/image-entity

    Image Aggregate Root and related Value Objects.

    This module defines the Image aggregate root following DDD principles. Image is the sole entry point for all image-related operations within the Images bounded context.

    Aggregate Root: imageEntity

    Invariants:

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

    Value Objects defined here:

    • Pixel - Image dimension (positive integer)

    Re-exported from shared-kernel:

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

    Type Aliases

    CreateImageArgs
    ExportedImage
    ImageListItemDTO
    ImageWithEvent
    LastUpdatedImage
    Pixel
    UnexportedImage

    Variables

    ExportedImage
    imageEntity
    LastUpdatedImage
    Pixel
    UnexportedImage

    Functions

    makePixel

    References

    ContentType → ContentType
    FileSize → FileSize
    makeContentType → makeContentType
    makeFileSize → makeFileSize
    makePath → makePath
    Path → Path