repository-scoped dependency graph view profile persistence and interactive exploration features
This commit is contained in:
parent
98a65581ac
commit
4f04491734
11 changed files with 1365 additions and 32 deletions
|
|
@ -308,6 +308,49 @@ class CharacteristicRebuildResponse(BaseModel):
|
|||
candidate_counts: dict[str, int]
|
||||
|
||||
|
||||
class DependencyGraphRule(BaseModel):
|
||||
action: str
|
||||
name: str | None = None
|
||||
match: dict[str, Any] = Field(default_factory=dict)
|
||||
|
||||
|
||||
class DependencyGraphAdHocFilters(BaseModel):
|
||||
rules: list[dict[str, Any]] = Field(default_factory=list)
|
||||
manual_overrides: dict[str, str] = Field(default_factory=dict)
|
||||
|
||||
|
||||
class DependencyGraphProfileCreate(BaseModel):
|
||||
name: str
|
||||
description: str = ""
|
||||
default_mode: str = "full"
|
||||
filter_rules: list[dict[str, Any]] = Field(default_factory=list)
|
||||
manual_overrides: dict[str, str] = Field(default_factory=dict)
|
||||
|
||||
|
||||
class DependencyGraphProfileUpdate(BaseModel):
|
||||
name: str | None = None
|
||||
description: str | None = None
|
||||
default_mode: str | None = None
|
||||
filter_rules: list[dict[str, Any]] | None = None
|
||||
manual_overrides: dict[str, str] | None = None
|
||||
|
||||
|
||||
class DependencyGraphProfileDuplicate(BaseModel):
|
||||
name: str | None = None
|
||||
|
||||
|
||||
class DependencyGraphProfileResponse(BaseModel):
|
||||
id: int
|
||||
repository_id: int
|
||||
name: str
|
||||
description: str
|
||||
default_mode: str
|
||||
filter_rules: list[dict[str, Any]]
|
||||
manual_overrides: dict[str, str]
|
||||
created_at: str
|
||||
updated_at: str
|
||||
|
||||
|
||||
class CandidateRejection(BaseModel):
|
||||
notes: str = ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue