Split data models into dedicated headers

This commit is contained in:
Aaron Po
2026-04-11 13:21:50 -04:00
parent 5946356083
commit bcfde856fe
16 changed files with 223 additions and 108 deletions

View File

@@ -7,40 +7,10 @@
*/
#include <string>
#include <string_view>
/**
* @brief Non-owning brewery location input.
*/
struct BreweryLocation {
/// @brief City name.
std::string_view city_name;
/// @brief Country name.
std::string_view country_name;
};
/**
* @brief Generated brewery payload.
*/
struct BreweryResult {
/// @brief Brewery display name.
std::string name;
/// @brief Brewery description text.
std::string description;
};
/**
* @brief Generated user profile payload.
*/
struct UserResult {
/// @brief Username handle.
std::string username;
/// @brief Short user biography.
std::string bio;
};
#include "data_model/brewery_location.h"
#include "data_model/brewery_result.h"
#include "data_model/user_result.h"
/**
* @brief Interface for data generator implementations.

View File

@@ -12,8 +12,7 @@
#include <string_view>
#include "data_generation/data_generator.h"
struct ApplicationOptions;
#include "data_model/application_options.h"
struct llama_model;
struct llama_context;