Skip to content

Commit

Permalink
fix: make 'configPath' optional (#343)
Browse files Browse the repository at this point in the history
* fix: make 'configPath' optional

* chore: self mutation

Signed-off-by: github-actions <github-actions@github.com>

* sync tasks.json

* chore: self mutation

Signed-off-by: github-actions <github-actions@github.com>

---------

Signed-off-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
malachi-constant and github-actions committed Jun 9, 2023
1 parent f5247d7 commit 689c795
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 11 deletions.
38 changes: 28 additions & 10 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 19 additions & 1 deletion src/config/configurator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,35 @@ class ConfiguratorAspect implements cdk.IAspect {
}

export interface GetEnvConfigProps {
readonly configPath: string;
/**
* Relative path to config file. Defaults to './ddk.json'
*/
readonly configPath?: string;
/**
* Environment identifier
*/
readonly environmentId: string;
}

export interface GetTagsProps {
/**
* Relative path to config file. Defaults to './ddk.json'
*/
readonly configPath: string;
/**
* Environment identifier
*/
readonly environmentId?: string;
}

export interface GetEnvironmentProps {
/**
* Relative path to config file. Defaults to './ddk.json'
*/
readonly configPath: string;
/**
* Environment identifier.
*/
readonly environmentId?: string;
}

Expand Down

0 comments on commit 689c795

Please sign in to comment.