diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c33e7d..625ccb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated package dependencies +- Enhanced type safety for environment-specific configurations + ## [v3.0.0](https://github.com/Space48/cloud-seed/compare/v2.1.0...v3.0.0) diff --git a/types/runtime.ts b/types/runtime.ts index 1844dd2..f5a5941 100644 --- a/types/runtime.ts +++ b/types/runtime.ts @@ -83,5 +83,15 @@ export type GcpConfig = ( ) & { cloud: "gcp"; name?: string; - environmentOverrides?: Partial>>>; + environmentOverrides?: Partial<{ + [env: string]: Partial< + | HttpConfig + | EventConfig + | ScheduleConfig + | QueueConfig + | FirestoreConfig + | StorageConfig + | ScheduledJobConfig + >; + }>; };