inventory interface: add description for module.name
This commit is contained in:
@@ -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 = { };
|
||||
|
||||
@@ -15,12 +15,12 @@ class Unknown:
|
||||
pass
|
||||
|
||||
|
||||
InventoryInstanceModuleInputType = str
|
||||
InventoryInstanceModuleNameType = str
|
||||
InventoryInstanceModuleInputType = str
|
||||
|
||||
class InventoryInstanceModule(TypedDict):
|
||||
name: str
|
||||
input: NotRequired[InventoryInstanceModuleInputType]
|
||||
name: NotRequired[InventoryInstanceModuleNameType]
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user