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