ionic-planb-logistic-app-fl.../lib/api
Mathias Beaulieu-Duncan f6ecc8b1ae auto-claude: subtask-3-1 - Create GrpcCqrsApiClient class with channel management
Implements the foundational gRPC client class with:
- Lazy ClientChannel initialization with proper credentials
- DeliveryServiceClient lazy initialization
- Authentication via Bearer token in gRPC metadata
- CallOptions builder with token injection
- gRPC error to ApiError mapping (status codes -> HTTP equivalents)
- Token refresh on UNAUTHENTICATED errors (single retry)
- Proper channel shutdown/terminate methods

The core _executeWithAuth and _executeCommandWithAuth methods provide
the foundation for query and command methods in subsequent subtasks.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-20 13:00:55 -05:00
..
client.dart checkpoint 2025-11-26 15:59:20 -05:00
grpc_client.dart auto-claude: subtask-3-1 - Create GrpcCqrsApiClient class with channel management 2026-01-20 13:00:55 -05:00
grpc_config.dart auto-claude: subtask-1-2 - Create GrpcConfig class with development/production configs 2026-01-20 12:48:23 -05:00
grpc_discovery.dart auto-claude: subtask-2-1 - Create service discovery utility using ReflectionClient 2026-01-20 12:52:37 -05:00
openapi_config.dart checkpoint 2025-11-25 17:05:08 -05:00
types.dart Initial commit: Plan B Logistics Flutter app with dark mode and responsive design 2025-10-31 04:58:10 -04:00