sb-mig
Version:
CLI to rule the world. (and handle stuff related to Storyblok CMS)
14 lines (13 loc) • 358 B
TypeScript
import StoryblokClient from "storyblok-js-client";
export interface ClientConfig {
oauthToken: string;
spaceId: string;
accessToken?: string;
rateLimit?: number;
}
export interface ApiClient {
config: ClientConfig;
sbApi: StoryblokClient;
spaceId: string;
}
export declare function createClient(options: ClientConfig): ApiClient;