Skip to content

Commit 1015a80

Browse files
committed
tools: bump client generator, turn on noUnusedParameters in tsconfig
1 parent 72e2f0c commit 1015a80

File tree

7 files changed

+9
-68
lines changed

7 files changed

+9
-68
lines changed

app/api/__generated__/Api.ts

-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/api/__generated__/util.ts

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/forms/firewall-rules-edit.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function EditFirewallRuleForm() {
7171
const onDismiss = () => navigate(pb.vpcFirewallRules(vpcSelector))
7272

7373
const updateRules = useApiMutation('vpcFirewallRulesUpdate', {
74-
onSuccess(updatedRules, { body }) {
74+
onSuccess(_updatedRules, { body }) {
7575
// Nav before the invalidate because I once saw the above invariant fail
7676
// briefly after successful edit (error page flashed but then we land
7777
// on the rules list ok) and I think it was a race condition where the

app/ui/styles/components/menu-button.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@apply z-topBarDropdown min-w-36 rounded border p-0 bg-raise border-secondary;
1212

1313
& .DropdownMenuItem {
14-
@apply flex items-center w-full cursor-pointer select-none border-b py-2 pl-3 pr-6 text-left text-sans-md text-default border-secondary last:border-b-0;
14+
@apply flex w-full cursor-pointer select-none items-center border-b py-2 pl-3 pr-6 text-left text-sans-md text-default border-secondary last:border-b-0;
1515

1616
&.destructive {
1717
@apply text-destructive;

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"devDependencies": {
7979
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
8080
"@mswjs/http-middleware": "^0.10.3",
81-
"@oxide/openapi-gen-ts": "~0.6.1",
81+
"@oxide/openapi-gen-ts": "~0.6.2",
8282
"@playwright/test": "^1.50.0",
8383
"@testing-library/dom": "^10.4.0",
8484
"@testing-library/jest-dom": "^6.6.3",

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"moduleResolution": "bundler",
1313
"noEmit": true,
1414
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
1516
"outDir": "dist",
1617
"paths": {
1718
"~/*": ["app/*"],

0 commit comments

Comments
 (0)