Expose searchable module catalog compatibility
This commit is contained in:
@@ -419,6 +419,30 @@ export type ModuleInterfaceRequirementItem = {
|
||||
optional: boolean;
|
||||
};
|
||||
|
||||
export type ModulePackageCatalogSource = {
|
||||
repository: string;
|
||||
tag: string;
|
||||
commit: string;
|
||||
repository_url?: string | null;
|
||||
revision_url?: string | null;
|
||||
};
|
||||
|
||||
export type ModulePackageArtifactIdentity = {
|
||||
ref?: string | null;
|
||||
path?: string | null;
|
||||
artifact_path?: string | null;
|
||||
url?: string | null;
|
||||
filename?: string | null;
|
||||
sha256?: string | null;
|
||||
size?: number | null;
|
||||
integrity?: string | null;
|
||||
sbom_url?: string | null;
|
||||
provenance_url?: string | null;
|
||||
registry_identity?: string | null;
|
||||
git_ref?: string | null;
|
||||
source_commit?: string | null;
|
||||
};
|
||||
|
||||
export type ModulePackageCatalogItem = {
|
||||
module_id: string;
|
||||
name: string;
|
||||
@@ -428,6 +452,16 @@ export type ModulePackageCatalogItem = {
|
||||
installed: boolean;
|
||||
installed_version?: string | null;
|
||||
update_available: boolean;
|
||||
availability: "available" | "withdrawn";
|
||||
availability_reason?: string | null;
|
||||
configuration_requirements: string[];
|
||||
release_notes_url?: string | null;
|
||||
source?: ModulePackageCatalogSource | null;
|
||||
artifact_integrity: Record<string, ModulePackageArtifactIdentity>;
|
||||
compatible: boolean;
|
||||
plan_allowed: boolean;
|
||||
compatibility_reasons: string[];
|
||||
catalog_state: "available" | "installed" | "update_available" | "blocked" | "withdrawn";
|
||||
dependencies: string[];
|
||||
optional_dependencies: string[];
|
||||
migration_safety: "automatic" | "requires_review" | "forward_only" | "destructive";
|
||||
|
||||
Reference in New Issue
Block a user