From b5a459eb757673a1e4f45895cff59cd0981b1ddd Mon Sep 17 00:00:00 2001 From: Stephen <44206254+StephenTangCook@users.noreply.github.com> Date: Thu, 22 Feb 2024 22:26:21 -0800 Subject: [PATCH] update types for thumbnail images of File objects (#18) --- src/request/payload/view-objects.ts | 40 ++++++++++++------------ src_deno/request/payload/view-objects.ts | 40 ++++++++++++------------ 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/request/payload/view-objects.ts b/src/request/payload/view-objects.ts index 1cd4be9..9a3a1fe 100644 --- a/src/request/payload/view-objects.ts +++ b/src/request/payload/view-objects.ts @@ -90,44 +90,44 @@ export interface UploadedFile { subtype?: string; thumb_1024?: string; thumb_1024_gif?: string; - thumb_1024_h?: string; - thumb_1024_w?: string; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: string; thumb_160_gif?: string; - thumb_160_h?: string; - thumb_160_w?: string; + thumb_160_h?: number; + thumb_160_w?: number; thumb_360?: string; thumb_360_gif?: string; - thumb_360_h?: string; - thumb_360_w?: string; + thumb_360_h?: number; + thumb_360_w?: number; thumb_480?: string; thumb_480_gif?: string; - thumb_480_h?: string; - thumb_480_w?: string; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: string; thumb_64_gif?: string; - thumb_64_h?: string; - thumb_64_w?: string; + thumb_64_h?: number; + thumb_64_w?: number; thumb_720?: string; thumb_720_gif?: string; - thumb_720_h?: string; - thumb_720_w?: string; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: string; thumb_800?: string; thumb_800_gif?: string; - thumb_800_h?: string; - thumb_800_w?: string; + thumb_800_h?: number; + thumb_800_w?: number; thumb_80_gif?: string; - thumb_80_h?: string; - thumb_80_w?: string; + thumb_80_h?: number; + thumb_80_w?: number; thumb_960?: string; thumb_960_gif?: string; - thumb_960_h?: string; - thumb_960_w?: string; + thumb_960_h?: number; + thumb_960_w?: number; thumb_gif?: string; thumb_pdf?: string; - thumb_pdf_h?: string; - thumb_pdf_w?: string; + thumb_pdf_h?: number; + thumb_pdf_w?: number; thumb_tiny?: string; thumb_video?: string; thumb_video_h?: number; diff --git a/src_deno/request/payload/view-objects.ts b/src_deno/request/payload/view-objects.ts index 6be9db0..3dda4e9 100644 --- a/src_deno/request/payload/view-objects.ts +++ b/src_deno/request/payload/view-objects.ts @@ -90,44 +90,44 @@ export interface UploadedFile { subtype?: string; thumb_1024?: string; thumb_1024_gif?: string; - thumb_1024_h?: string; - thumb_1024_w?: string; + thumb_1024_h?: number; + thumb_1024_w?: number; thumb_160?: string; thumb_160_gif?: string; - thumb_160_h?: string; - thumb_160_w?: string; + thumb_160_h?: number; + thumb_160_w?: number; thumb_360?: string; thumb_360_gif?: string; - thumb_360_h?: string; - thumb_360_w?: string; + thumb_360_h?: number; + thumb_360_w?: number; thumb_480?: string; thumb_480_gif?: string; - thumb_480_h?: string; - thumb_480_w?: string; + thumb_480_h?: number; + thumb_480_w?: number; thumb_64?: string; thumb_64_gif?: string; - thumb_64_h?: string; - thumb_64_w?: string; + thumb_64_h?: number; + thumb_64_w?: number; thumb_720?: string; thumb_720_gif?: string; - thumb_720_h?: string; - thumb_720_w?: string; + thumb_720_h?: number; + thumb_720_w?: number; thumb_80?: string; thumb_800?: string; thumb_800_gif?: string; - thumb_800_h?: string; - thumb_800_w?: string; + thumb_800_h?: number; + thumb_800_w?: number; thumb_80_gif?: string; - thumb_80_h?: string; - thumb_80_w?: string; + thumb_80_h?: number; + thumb_80_w?: number; thumb_960?: string; thumb_960_gif?: string; - thumb_960_h?: string; - thumb_960_w?: string; + thumb_960_h?: number; + thumb_960_w?: number; thumb_gif?: string; thumb_pdf?: string; - thumb_pdf_h?: string; - thumb_pdf_w?: string; + thumb_pdf_h?: number; + thumb_pdf_w?: number; thumb_tiny?: string; thumb_video?: string; thumb_video_h?: number;