-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: delete protection for apis (#2011)
* feat: delete protection for apis * test(integration): add deleteProtection field with false value to test requests feat(routes): add deleteProtection field to createApi route with default true value feat(routes): update createApi route to handle deleteProtection field feat(routes): update openapi documentation for deleteProtection field in createApi route * test(list_keys.test.ts): add deleteProtection field with value false to test data object * fix(api tests): remove deleteProtection field from test requests fix(api routes): remove deleteProtection field from createApi route schema fix(api routes): remove deleteProtection field from createApi route handler fix(api routes): remove deleteProtection field from deleteApi route tests fix(api routes): remove deleteProtection field from deleteApi route security tests fix(db schema): change default value of deleteProtection to false * style(createApi.ts): remove unnecessary whitespace and hyphen at the end of the file * test(v1_apis_createApi.happy.test.ts): remove redundant test case for creating new api without delete protection
- Loading branch information
Showing
20 changed files
with
421 additions
and
57 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -49,7 +49,7 @@ port = 9095 | |
|
||
|
||
[[vm]] | ||
memory = '1gb' | ||
memory = '2gb' | ||
cpu_kind = 'shared' | ||
cpus = 2 | ||
|
||
|
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
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
Oops, something went wrong.
ebdeca6
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.
Successfully deployed to the following URLs:
planetfall – ./apps/planetfall
planetfall-git-main-unkey.vercel.app
planetfall-unkey.vercel.app
planetfall.unkey.dev
planetfall-two.vercel.app