Skip to content

Commit

Permalink
chore(client): generate using latest version of openapi ts
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Apr 19, 2024
1 parent c0bd568 commit 0af646b
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 119 deletions.
2 changes: 1 addition & 1 deletion apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@yd/config": "workspace:*",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"svelte": "^4.2.14",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@yd/config": "workspace:*",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"svelte": "^4.2.14",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
Expand Down
1 change: 0 additions & 1 deletion packages/client/openapi-ts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ export default defineConfig({
output: './src/generated',
client: 'fetch',
enums: 'javascript',
types: { name: 'PascalCase' },
schemas: false
});
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"format": "prettier --write ."
},
"devDependencies": {
"@hey-api/openapi-ts": "^0.40.0",
"@hey-api/openapi-ts": "^0.41.0",
"@yd/api": "workspace:*",
"@yd/config": "workspace:*",
"prettier": "^3.2.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/generated/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export type DownloadStatus = {
readonly progress: number | null;
};

export type HttpValidationError = {
export type HTTPValidationError = {
detail?: Array<ValidationError>;
};

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"publint": "^0.2.7",
"svelte": "^4.2.14",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
Expand Down
Loading

0 comments on commit 0af646b

Please sign in to comment.