Sync GovOPlaN module state

This commit is contained in:
2026-07-10 21:57:21 +02:00
parent 30a0281c66
commit f362f3806b
6 changed files with 340 additions and 0 deletions

View File

@@ -250,6 +250,8 @@ export type ModuleCatalogResponse = {
export type ModuleInstallPlanItem = {
module_id: string;
action: "install" | "uninstall";
source: "manual" | "catalog";
catalog?: Record<string, unknown> | null;
python_package?: string | null;
python_ref?: string | null;
webui_package?: string | null;
@@ -370,6 +372,18 @@ export type ModuleInstallerRequestListResponse = {
full?: boolean;
};
export type ModuleInterfaceProviderItem = {
name: string;
version: string;
};
export type ModuleInterfaceRequirementItem = {
name: string;
version_min?: string | null;
version_max_exclusive?: string | null;
optional: boolean;
};
export type ModulePackageCatalogItem = {
module_id: string;
name: string;
@@ -380,6 +394,8 @@ export type ModulePackageCatalogItem = {
python_ref?: string | null;
webui_package?: string | null;
webui_ref?: string | null;
provides_interfaces: ModuleInterfaceProviderItem[];
requires_interfaces: ModuleInterfaceRequirementItem[];
license_features: string[];
license_allowed: boolean;
license_enforced: boolean;