diff --git a/putTypesInIndex.js b/putTypesInIndex.js index 8d41ef8..4a30b48 100644 --- a/putTypesInIndex.js +++ b/putTypesInIndex.js @@ -5,7 +5,7 @@ const exportRegex = /export\s+(?:enum|interface|type)\s+([A-Za-z0-9_]+)/g; const baseExports = [ 'export * from "./http";', - 'export {UploadImage,UploadImageResponse,ImageFile,DeleteImage} from "./other_types";', + 'export {UploadImage} from "./other_types";', ]; async function putTypesInIndex() { diff --git a/src/types/ImageGetParams.ts b/src/types/ImageGetParams.ts index c2dbfab..1a7daf8 100644 --- a/src/types/ImageGetParams.ts +++ b/src/types/ImageGetParams.ts @@ -1,6 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ImageGetParams = { - format: string | null; - thumbnail: number | null; + file_type: string | null; + max_size: number | null; }; diff --git a/src/types/ImageProxyParams.ts b/src/types/ImageProxyParams.ts index 1552bbc..22d0737 100644 --- a/src/types/ImageProxyParams.ts +++ b/src/types/ImageProxyParams.ts @@ -2,6 +2,6 @@ export type ImageProxyParams = { url: string; - format: string | null; - thumbnail: number | null; + file_type: string | null; + max_size: number | null; };