diff --git a/src/types/ImageGetParams.ts b/src/types/ImageGetParams.ts index 1a7daf8..5dab275 100644 --- a/src/types/ImageGetParams.ts +++ b/src/types/ImageGetParams.ts @@ -1,6 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ImageGetParams = { - file_type: string | null; - max_size: number | null; -}; +export type ImageGetParams = { file_type?: string; max_size?: number }; diff --git a/src/types/ImageProxyParams.ts b/src/types/ImageProxyParams.ts index 22d0737..1d74299 100644 --- a/src/types/ImageProxyParams.ts +++ b/src/types/ImageProxyParams.ts @@ -2,6 +2,6 @@ export type ImageProxyParams = { url: string; - file_type: string | null; - max_size: number | null; + file_type?: string; + max_size?: number; };