-
-
Notifications
You must be signed in to change notification settings - Fork 30
feat: introduce CaveatType enum and normalize caveat type handling in builders #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+1,335
β260
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7e260fe
feat: introduce CaveatType enum and normalize caveat type handling inβ¦
mj-kiwi 9368578
feat: implement validateCaveatType function for robust caveat type vaβ¦
mj-kiwi 7f1699b
refactor: simplify caveat type validation and improve error messaging
mj-kiwi d6c499f
refactor: enhance type handling in ConvertCaveatConfigsToInputs for bβ¦
mj-kiwi ce1aa47
- Change validateCaveatType to use 'asserts type is CaveatType' insteβ¦
mj-kiwi 3c3953d
refactor: update CoreCaveatMap to use CaveatType enum for improved tyβ¦
mj-kiwi 755b3e0
refactor: remove duplicate entry for NativeTokenStreaming in CoreCaveβ¦
mj-kiwi 8cfe0a7
refactor: replace string literals with CaveatType enums in caveat buiβ¦
mj-kiwi 540f649
refactor: export CaveatType from caveatBuilder for improved type access
mj-kiwi e688a14
refactor: unify config conversion utilities by using ConvertEnumConfiβ¦
mj-kiwi cd25cb8
refactor: import CaveatType in test files for improved type safety
mj-kiwi 6b91508
refactor: enhance CaveatType integration to support both enum and strβ¦
mj-kiwi e4fe6ac
refactor: replace ConvertEnumConfigToInputs with ConvertCaveatConfigTβ¦
mj-kiwi 3121c91
refactor: update addCaveat to accept string literals for improved fleβ¦
mj-kiwi c54863a
refactor: add tests for string literal caveat names in createCaveatBuβ¦
mj-kiwi 8c8b766
refactor: add string literal test cases for AllowedCalldata caveat haβ¦
mj-kiwi 9296e17
refactor: update addCaveat method to enforce registered enforcer nameβ¦
mj-kiwi 0c71b08
refactor: enhance type safety for addCaveat method with string literaβ¦
mj-kiwi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.