sb-mig
Version:
CLI to rule the world. (and handle stuff related to Storyblok CMS)
14 lines (13 loc) • 506 B
TypeScript
import type { IStoryblokConfig } from "../../config/config.js";
import type StoryblokClient from "storyblok-js-client";
export interface RequestBaseConfig extends Partial<Omit<IStoryblokConfig, "sbApi">> {
spaceId: string;
sbApi: StoryblokClient;
}
interface GetAllItemsWithPagination {
apiFn: (...args: any) => any;
params: any;
itemsKey: string;
}
export declare const getAllItemsWithPagination: ({ apiFn, params, itemsKey, }: GetAllItemsWithPagination) => Promise<any[]>;
export {};