From f8bb7254ec9f96e8d6678c8cb9a8b992b931b87a Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Mon, 22 Jul 2024 08:53:55 +0200 Subject: [PATCH] fix(types): added asset mapi params interface --- src/interfaces.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index 05c9fc10..64d2eec4 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -2,7 +2,7 @@ import { ResponseFn } from './sbFetch' export interface ISbStoriesParams extends Partial, - ISbMultipleStoriesData { + ISbMultipleStoriesData, ISbAssetsParams { resolve_level?: number _stopResolving?: boolean by_slugs?: string @@ -351,3 +351,11 @@ export type HtmlEscapes = { } export interface ISbCustomFetch extends Omit {} + +export interface ISbAssetsParams { + in_folder?: string + is_private?: boolean + by_alt?: string + by_copyright?: string + by_title?: string +} \ No newline at end of file