added module id field

This commit is contained in:
2026-02-17 23:14:47 +08:00
parent f1d03fc96a
commit 62a1c1b672
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ pub struct PresenceStatus {
#[serde(rename_all = "camelCase")]
#[ts(export)]
pub struct ModuleMetadata {
pub id: String,
pub name: String,
pub version: String,
pub description: Option<String>,

View File

@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ModuleMetadata = { name: string, version: string, description: string | null, };
export type ModuleMetadata = { id: string, name: string, version: string, description: string | null, };