Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/openapi/monitoring-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4120,6 +4120,18 @@
"type": "string"
}
},
{
"name": "include",
"in": "query",
"description": "Files to keep even when no import reaches them, e.g. fixtures",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "Idempotency-Key",
"in": "header",
Expand Down Expand Up @@ -61475,6 +61487,19 @@
"type": "string",
"description": "Runtime used to refuse imports. Omit for the newest runtime that can run",
"nullable": true
},
"include": {
"maxItems": 256,
"minItems": 0,
"type": "array",
"description": "Files to keep even when no import reaches them, e.g. fixtures",
"nullable": true,
"items": {
"maxLength": 512,
"minLength": 0,
"type": "string",
"description": "Files to keep even when no import reaches them, e.g. fixtures"
}
}
}
},
Expand Down
19 changes: 19 additions & 0 deletions src/devhelm/_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,17 @@ class Severity(StrEnum):
warn = "warn"


class IncludeItem(RootModel[str]):
root: Annotated[
str,
Field(
description="Files to keep even when no import reaches them, e.g. fixtures",
max_length=512,
min_length=0,
),
]


class CreateBundleRequest(BaseModel):
model_config = ConfigDict(extra="forbid", populate_by_name=True)
files: Annotated[
Expand All @@ -1158,6 +1169,14 @@ class CreateBundleRequest(BaseModel):
min_length=0,
),
] = None
include: Annotated[
list[IncludeItem] | None,
Field(
description="Files to keep even when no import reaches them, e.g. fixtures",
max_length=256,
min_length=0,
),
] = None


class CreateDemoBookingRequest(BaseModel):
Expand Down