Skip to content

Commit

Permalink
Merge pull request #73 from Space48/fix/typescript-environment-overrides
Browse files Browse the repository at this point in the history
Fix/typescript environment overrides
  • Loading branch information
AndrewBarber authored Dec 20, 2024
2 parents d4587a5 + b769c79 commit 573de88
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
12 changes: 11 additions & 1 deletion types/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,15 @@ export type GcpConfig = (
) & {
cloud: "gcp";
name?: string;
environmentOverrides?: Partial<Record<string, Partial<Omit<GcpConfig, "environmentOverrides">>>>;
environmentOverrides?: Partial<{
[env: string]: Partial<
| HttpConfig
| EventConfig
| ScheduleConfig
| QueueConfig
| FirestoreConfig
| StorageConfig
| ScheduledJobConfig
>;
}>;
};

0 comments on commit 573de88

Please sign in to comment.