-
Notifications
You must be signed in to change notification settings - Fork 26
Add types for safe apps access control property and clientUrl param to the query
#51
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
Conversation
ESLint Summary View Full Report
Report generated by eslint-plus-action |
src/types/safe-apps.ts
Outdated
| } | ||
|
|
||
| export type SafeAppDomainAllowlistPolicy = { | ||
| type: 'DOMAIN_ALLOWLIST' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth exporting the possible types as an enum, so that in the react app you can branch based on the type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be my only suggestion as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brainfart sers, thanks for noticing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Just one suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's some dump file committed.
Please also update the version in package.json so that I can publish the package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thhhhhhanks!
This is needed for 5afe/safe-react#2672. The properties are live on staging config service, the PR to the client gateway is still open.
Ready to merge after 5afe/safe-client-gateway#774