Closed jonathanfallon closed 5 months ago
This update introduces several enhancements and fixes across the project. Key changes include adding .pgclirc
to .gitignore
, updating VS Code settings for TypeScript imports, and adding a new drop_test_databases
target in the justfile
. Significant modifications were made to the database schema and migrations, particularly for the cee_applications
table. Additionally, various updates were made to TypeScript files to handle Carpool V2 and V1 status conversions, improve repository methods, and enhance test configurations.
File(s) | Change Summary |
---|---|
.gitignore |
Added .pgclirc to ignored files. |
.vscode/settings.json |
Updated TypeScript import settings and path mappings. |
api/justfile |
Added drop_test_databases target. |
api/src/db/migrations/...add_journey_id_column.js |
Added migration script for journey_id column. |
api/src/db/migrations/cee/...add_journey_id_column.*.sql |
Modified schema for operator_journey_id and indexes. |
api/src/pdc/providers/carpool/helpers/...StatusConverter.*.ts |
Added status converter function and tests for Carpool V2 to V1. |
api/src/pdc/providers/carpool/interfaces/common.ts |
Deprecated CarpoolV1StatusEnum . |
api/src/pdc/providers/seed/Migrator.ts |
Added verbose property for conditional logging. |
api/src/pdc/providers/test/dbMacro.ts |
Conditional database retention based on environment variable. |
api/src/pdc/services/cee/actions/RegisterCeeAction.*.ts |
Updated imports, fixed typos, and enhanced status handling. |
api/src/pdc/services/cee/interfaces/CeeRepositoryProviderInterface.ts |
Added fields and updated types in interfaces. |
api/src/pdc/services/cee/providers/CeeRepositoryProvider.*.ts |
Updated SQL queries and table references. |
docker-compose.*.yml |
Adjusted version declarations. |
flake.nix |
Added postgresql_14 package. |
shared/cee/common/CeeApplicationInterface.ts |
Updated types and corrected typos in interface names. |
shared/cee/registerApplication.contract.ts |
Corrected typos in import statements and interface names. |
🐇 In the code, a journey's begun, With columns and tables, a new run. TypeScript's imports now align, Carpool statuses intertwine. Databases drop on command, All changes, perfectly planned. Let's code, let's build, let's shine! 🌟 🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
2474
Summary by CodeRabbit
New Features
journey_id
column in the database.verbose
logging option for database migrations.drop_test_databases
added for easier test database management.Bug Fixes
Chores
.gitignore
to ignore.pgclirc
files.Tests
Documentation