mirror of
https://github.com/immich-app/immich.git
synced 2025-07-13 20:38:46 +02:00
chore: tree shake unused API methods from CLI (#6973)
This commit is contained in:
parent
954c1c2ef4
commit
aff71a10e5
200 changed files with 3337 additions and 22416 deletions
open-api/bin
|
@ -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 --yes @openapitools/openapi-generator-cli generate -g typescript-fetch -i ./immich-openapi-specs.json -o ./typescript-sdk/fetch-client --additional-properties=useSingleRequestParameter=true,supportsES6=true
|
||||
npx oazapfts --optimistic --argumentStyle=object immich-openapi-specs.json typescript-sdk/fetch-client.ts
|
||||
npm --prefix typescript-sdk ci && npm --prefix typescript-sdk run build
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue