Skip to content

Commit

Permalink
fix(cli): broken fetch client
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 committed Feb 11, 2024
1 parent a9e6657 commit 50a5afd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion open-api/bin/generate-open-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function dart {
function typescript {
rm -rf ./typescript-sdk/client
npx --yes @openapitools/openapi-generator-cli generate -g typescript-axios -i ./immich-openapi-specs.json -o ./typescript-sdk/axios-client --additional-properties=useSingleRequestParameter=true,supportsES6=true
npx oazapfts --optimistic --argumentStyle=object immich-openapi-specs.json typescript-sdk/fetch-client.ts
npx --yes oazapfts --optimistic --argumentStyle=object immich-openapi-specs.json typescript-sdk/fetch-client.ts
npm --prefix typescript-sdk ci && npm --prefix typescript-sdk run build
}

Expand Down
2 changes: 1 addition & 1 deletion open-api/typescript-sdk/tsconfig.fetch.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"include": ["fetch.ts", "fetch-client/**/*"],
"include": ["fetch.ts", "fetch-client.ts"],
"compilerOptions": {
"target": "esnext",
"strict": true,
Expand Down

0 comments on commit 50a5afd

Please sign in to comment.