ores.assets.api

Table of Contents

Diagram

ores.assets.api component diagram

Figure 1: ores.assets.api

Summary

ores.assets.api is a header-only library defining the shared contract for the assets domain. It provides domain types for images (SVG text), tags, and their associations, JSON serialisation via rfl, and the NATS message protocol schemas consumed by both ores.assets.core (server) and Qt client components.

Inputs

  • Domain entity definitions in domain/ headers.
  • NATS protocol message definitions in messaging/assets_protocol.hpp.

Outputs

  • C++ headers: image.hpp, tag.hpp, image_tag.hpp, with JSON I/O variants (*_json_io.hpp).
  • NATS protocol header: messaging/assets_protocol.hpp.
  • Aggregate header: ores.assets.api.domain.hpp.

Entry points

  • include/ores.assets.api/domain/ — all domain entity headers.
  • include/ores.assets.api/messaging/assets_protocol.hpp — NATS protocol message types.

Dependencies

  • rfl — JSON serialisation via reflection.

See also

Emacs 29.1 (Org mode 9.6.6)