Chore: re-generate nix models

This commit is contained in:
Johannes Kirschbauer
2025-05-20 13:34:14 +02:00
parent 38de1d1022
commit 5727386691

View File

@@ -11,6 +11,9 @@ from typing import Any, Literal, NotRequired, TypedDict
class MachineDeploy(TypedDict):
targetHost: NotRequired[str]
MachineDeployTargethostType = NotRequired[str]
class Machine(TypedDict):
deploy: NotRequired[MachineDeploy]
@@ -20,12 +23,25 @@ class Machine(TypedDict):
name: NotRequired[str]
tags: NotRequired[list[str]]
MachineDeployType = NotRequired[MachineDeploy]
MachineDescriptionType = NotRequired[str]
MachineIconType = NotRequired[str]
MachineMachineclassType = NotRequired[Literal["nixos", "darwin"]]
MachineNameType = NotRequired[str]
MachineTagsType = NotRequired[list[str]]
class Meta(TypedDict):
name: str
description: NotRequired[str]
icon: NotRequired[str]
MetaNameType = str
MetaDescriptionType = NotRequired[str]
MetaIconType = NotRequired[str]
Service = dict[str, Any]
@@ -35,3 +51,10 @@ class Inventory(TypedDict):
modules: NotRequired[dict[str, Any]]
services: NotRequired[dict[str, Service]]
tags: NotRequired[dict[str, Any]]
InventoryMachinesType = NotRequired[dict[str, Machine]]
InventoryMetaType = NotRequired[Meta]
InventoryModulesType = NotRequired[dict[str, Any]]
InventoryServicesType = NotRequired[dict[str, Service]]
InventoryTagsType = NotRequired[dict[str, Any]]