Commit b0c247c
refactor: migrate configuration system from JSON Schema to QuickType (#1140)
* feat: create zod schema for config
* refactor: migrate config loader to Zod
* refactor: integrate Zod-based loader and pass config to services
* chore: ignore jsonschema in unused deps check
* fix: fix config schema
* feat: migrate configuration system from JSON Schema validation to QuickType
* fix: fix failing tests
* chore: remove unused deps
* fix: fix types checks errors
* feat: add banner on top of auto-generated types
* test: add tests for proxy
* test: increase tes coverage
* test: increase tes coverage
* test: increase test coverage for generated config
* test: increase test coverage for config
* test: increase test coverage
* test: increase test coverage
* refactor: remove unused variables
* chore: remove unused jsonschema dependency
* fix: instantiate Proxy class in tests instead of using class directly
* feat: add ci step for generate-config-types check
* chore: remove jsonschema
* style: fun format
* fix: add prettier formatting to generate-config-types script
* test: add test for default config
* chore: use deprecated annotation for ssl paths
* chore: re generate config types
---------
Co-authored-by: Jamie Slome <jamie.slome@citi.com>
Co-authored-by: Kris West <kristopher.west@natwest.com>
Co-authored-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>1 parent 6c516a3 commit b0c247c
16 files changed
Lines changed: 2480 additions & 251 deletions
File tree
- .github/workflows
- scripts
- src
- config
- generated
- proxy
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
152 | 162 | | |
153 | 163 | | |
154 | 164 | | |
| |||
0 commit comments