-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1c9652
commit 49d90e9
Showing
7 changed files
with
219 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
libs/api/src/linglong/api/types/v1/PackageManager1InstallParametersPacakge.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// 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 | ||
// | ||
// PackageManager1InstallParametersPacakge.hpp data = nlohmann::json::parse(jsonString); | ||
|
||
#pragma once | ||
|
||
#include <optional> | ||
#include <nlohmann/json.hpp> | ||
#include "linglong/api/types/v1/helper.hpp" | ||
|
||
namespace linglong { | ||
namespace api { | ||
namespace types { | ||
namespace v1 { | ||
using nlohmann::json; | ||
|
||
struct PackageManager1InstallParametersPacakge { | ||
std::optional<std::string> channel; | ||
std::string id; | ||
std::optional<std::vector<std::string>> modules; | ||
std::optional<std::string> version; | ||
}; | ||
} | ||
} | ||
} | ||
} | ||
|
||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters