20#ifndef ORES_ASSETS_SERVICE_ASSETS_SERVICE_HPP
21#define ORES_ASSETS_SERVICE_ASSETS_SERVICE_HPP
25#include "ores.database/domain/context.hpp"
26#include "ores.assets/domain/image.hpp"
27#include "ores.assets/repository/image_repository.hpp"
28#include "ores.logging/make_logger.hpp"
30namespace ores::assets::service {
40 inline static std::string_view logger_name =
41 "ores.assets.service.assets_service";
43 [[nodiscard]]
static auto& lg() {
45 static auto instance = make_logger(logger_name);
65 std::vector<domain::image>
get_images(
const std::vector<std::string>& image_ids);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Reads and writes images off of data storage.
Definition image_repository.hpp:36
Service for managing asset images.
Definition assets_service.hpp:38
std::vector< domain::image > get_images(const std::vector< std::string > &image_ids)
Retrieves images by their IDs.
Definition assets_service.cpp:31
Context for the operations on a postgres database.
Definition context.hpp:30