Commit 90172d8
committed
chore(forensics): refresh types after mono details JSONB + reason cleanup
Picks up the schema changes from devhelmhq/mono#316:
- IncidentStateTransitionDto gains a `details: dict[str, Any]` field.
User-driven transitions carry `details["source"] = "public-api"`;
pipeline-driven ones carry `details["source"] = "pipeline"`.
- Transition `reason` description aligns with what the engine actually
writes (trigger | confirm | resolve | auto_clear | reopen). The earlier
`manually_resolved` was a parallel reason value for the same logical
edge — replaced by reason="resolve" + details.source="public-api".
Pure regen via `./scripts/typegen.sh`. The mono PR also added
`@Schema(additionalProperties = TRUE)` on the Java DTO so Springdoc emits
`additionalProperties: true` instead of `additionalProperties: {type: "object"}`,
yielding `dict[str, Any]` here instead of `dict[str, dict[str, Any]]`. Without
that fix the Pydantic model would fail to parse real responses (`details.source`
is a string, not a nested dict).
Made-with: Cursor1 parent 6681850 commit 90172d8
2 files changed
Lines changed: 164 additions & 127 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25631 | 25631 | | |
25632 | 25632 | | |
25633 | 25633 | | |
25634 | | - | |
| 25634 | + | |
25635 | 25635 | | |
25636 | 25636 | | |
25637 | 25637 | | |
25638 | 25638 | | |
25639 | 25639 | | |
25640 | | - | |
| 25640 | + | |
25641 | 25641 | | |
25642 | 25642 | | |
25643 | 25643 | | |
25644 | 25644 | | |
25645 | | - | |
| 25645 | + | |
25646 | 25646 | | |
25647 | 25647 | | |
25648 | 25648 | | |
25649 | 25649 | | |
25650 | 25650 | | |
25651 | | - | |
| 25651 | + | |
25652 | 25652 | | |
25653 | 25653 | | |
25654 | 25654 | | |
| |||
25864 | 25864 | | |
25865 | 25865 | | |
25866 | 25866 | | |
| 25867 | + | |
25867 | 25868 | | |
25868 | 25869 | | |
25869 | 25870 | | |
| |||
25910 | 25911 | | |
25911 | 25912 | | |
25912 | 25913 | | |
25913 | | - | |
| 25914 | + | |
25914 | 25915 | | |
25915 | 25916 | | |
25916 | 25917 | | |
| |||
25943 | 25944 | | |
25944 | 25945 | | |
25945 | 25946 | | |
| 25947 | + | |
| 25948 | + | |
| 25949 | + | |
25946 | 25950 | | |
25947 | 25951 | | |
25948 | 25952 | | |
| |||
30579 | 30583 | | |
30580 | 30584 | | |
30581 | 30585 | | |
| 30586 | + | |
| 30587 | + | |
| 30588 | + | |
| 30589 | + | |
| 30590 | + | |
| 30591 | + | |
| 30592 | + | |
| 30593 | + | |
| 30594 | + | |
| 30595 | + | |
| 30596 | + | |
| 30597 | + | |
| 30598 | + | |
| 30599 | + | |
| 30600 | + | |
| 30601 | + | |
| 30602 | + | |
30582 | 30603 | | |
30583 | 30604 | | |
30584 | 30605 | | |
| |||
0 commit comments