// This file is generated by tools/codegen.sh
// DO NOT EDIT IT.

// clang-format off

//  To parse this JSON data, first install
//
//      json.hpp  https://github.com/nlohmann/json
//
//  Then include this file, and then do
//
//     RepoConfigV2.hpp data = nlohmann::json::parse(jsonString);

#pragma once

#include <optional>
#include <nlohmann/json.hpp>
#include "linglong/api/types/v1/helper.hpp"

#include "linglong/api/types/v1/Repo.hpp"

namespace linglong {
namespace api {
namespace types {
namespace v1 {
/**
* Configuration file for local linglong repository.
*/

using nlohmann::json;

/**
* Configuration file for local linglong repository.
*/
struct RepoConfigV2 {
/**
* default repo of repo config
*/
std::string defaultRepo;
/**
* repos of repo config
*/
std::vector<Repo> repos;
/**
* version of repo config
*/
int64_t version;
};
}
}
}
}

// clang-format on
