Skip to content

Commit

Permalink
kernel_types: add api_includes
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig committed Sep 10, 2024
1 parent 461d1ac commit f0d7fec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kernel_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ pub struct Erc721Metadata {
/// - `screenshots`: An optional field containing a list of URLs to screenshots of the package.
/// - `wit_version`: An optional field containing the version of the WIT standard that the package adheres to.
/// - `dependencies`: An optional field containing a list of `PackageId`s: API dependencies.
/// - `api_includes`: An optional field containing a list of `PathBuf`s: additional files to include in the `api.zip`.
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct Erc721Properties {
pub package_name: String,
Expand All @@ -308,6 +309,7 @@ pub struct Erc721Properties {
pub screenshots: Option<Vec<String>>,
pub wit_version: Option<u32>,
pub dependencies: Option<Vec<String>>,
pub api_includes: Option<Vec<std::path::PathBuf>>,
}

/// the type that gets deserialized from each entry in the array in `manifest.json`
Expand Down

0 comments on commit f0d7fec

Please sign in to comment.