From 42bac946992ffb3c93781314918532bdcb4dfc49 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 13 Dec 2024 15:37:28 +0100 Subject: [PATCH] fix null --- src/types/ImageGetParams.ts | 5 +---- src/types/ImageProxyParams.ts | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) 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; };