2
1
Fork 0

typegen: add module names

This commit is contained in:
outfoxxed 2024-07-22 15:00:09 -07:00
parent 43ccb1ea87
commit b78b75f006
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 2 additions and 0 deletions

View file

@ -107,6 +107,7 @@ hidetitle = true
} }
let index = outform::ModuleIndex { let index = outform::ModuleIndex {
name: module.header.name.to_string(),
description: module.header.description, description: module.header.description,
details: module.details.to_string(), details: module.details.to_string(),
}; };

View file

@ -4,6 +4,7 @@ use serde::Serialize;
#[derive(Debug, Serialize)] #[derive(Debug, Serialize)]
pub struct ModuleIndex { pub struct ModuleIndex {
pub name: String,
pub description: String, pub description: String,
pub details: String, pub details: String,
} }