-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated the Metadata type to allow for custom properties (#975)
## This PR - Updates the `Metadata` type to a `Record` so that Providers can provide more than just the `name` property as part of the `metadata`. ### Notes Conversation [here](https://cloud-native.slack.com/archives/C03J36ZP020/p1721747906370629). --------- Signed-off-by: Juan Bernal <[email protected]>
- Loading branch information
1 parent
964d65b
commit 16b0d74
Showing
4 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface Metadata {} | ||
export type Metadata = Record<string, string>; |