Skip to content

Commit ed30ff5

Browse files
authored
Merge pull request #75 from kinode-dao/hf/wit-apis
add `dependencies` field to `Erc721Properties`
2 parents fa88aa5 + 3c55648 commit ed30ff5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/kernel_types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ pub struct Erc721Metadata {
229229
/// - `license`: An optional field containing the license of the package.
230230
/// - `screenshots`: An optional field containing a list of URLs to screenshots of the package.
231231
/// - `wit_version`: An optional field containing the version of the WIT standard that the package adheres to.
232+
/// - `dependencies`: An optional field containing a list of `PackageId`s: API dependencies.
232233
#[derive(Clone, Debug, Serialize, Deserialize)]
233234
pub struct Erc721Properties {
234235
pub package_name: String,
@@ -239,6 +240,7 @@ pub struct Erc721Properties {
239240
pub license: Option<String>,
240241
pub screenshots: Option<Vec<String>>,
241242
pub wit_version: Option<(u32, u32, u32)>,
243+
pub dependencies: Option<Vec<String>>,
242244
}
243245

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

0 commit comments

Comments
 (0)