Skip to content

Commit

Permalink
Merge pull request #841 from storyblok/bugfix/840-in-foler-type
Browse files Browse the repository at this point in the history
fix(types): added asset mapi params interface
  • Loading branch information
alvarosabu authored Jul 23, 2024
2 parents f4675a1 + f8bb725 commit 2534287
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ResponseFn } from './sbFetch'

export interface ISbStoriesParams
extends Partial<ISbStoryData>,
ISbMultipleStoriesData {
ISbMultipleStoriesData, ISbAssetsParams {
resolve_level?: number
_stopResolving?: boolean
by_slugs?: string
Expand Down Expand Up @@ -351,3 +351,11 @@ export type HtmlEscapes = {
}

export interface ISbCustomFetch extends Omit<RequestInit, 'method'> {}

export interface ISbAssetsParams {
in_folder?: string
is_private?: boolean
by_alt?: string
by_copyright?: string
by_title?: string
}

0 comments on commit 2534287

Please sign in to comment.