Commit c5af7c4
authored
Align CMS schemas with frontend types and actual data (#593)
- ChatThemeColors: add header/headerText fields used by both frontends
- JokeContent: replace setup/punchline schema with actual question_text/answers structure
- InteractionCreate: add phone/url to input_type validation pattern
- load_jokes.py: use type "joke" (not "question") for CMS content
- huey-jokes-flow.json: source_config type "joke" to match content1 parent eabbc83 commit c5af7c4
File tree
3 files changed
+18
-7
lines changed- app/schemas
- scripts
- fixtures
3 files changed
+18
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
616 | 623 | | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
621 | 628 | | |
622 | 629 | | |
623 | 630 | | |
| |||
720 | 727 | | |
721 | 728 | | |
722 | 729 | | |
| 730 | + | |
| 731 | + | |
723 | 732 | | |
724 | 733 | | |
725 | 734 | | |
| |||
761 | 770 | | |
762 | 771 | | |
763 | 772 | | |
| 773 | + | |
| 774 | + | |
764 | 775 | | |
765 | 776 | | |
766 | 777 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments