inventory interface: add description for module.name

This commit is contained in:
DavHau
2025-06-24 15:13:27 +07:00
parent 2e403425f9
commit 7745e9eec6
2 changed files with 8 additions and 2 deletions

View File

@@ -393,6 +393,12 @@ in
options.name = lib.mkOption {
type = types.str;
default = name;
defaultText = "<Name of the Instance>";
description = ''
Attribute of the clan service module imported from the chosen input.
Defaults to the name of the instance.
'';
};
};
default = { };

View File

@@ -15,12 +15,12 @@ class Unknown:
pass
InventoryInstanceModuleInputType = str
InventoryInstanceModuleNameType = str
InventoryInstanceModuleInputType = str
class InventoryInstanceModule(TypedDict):
name: str
input: NotRequired[InventoryInstanceModuleInputType]
name: NotRequired[InventoryInstanceModuleNameType]