storyblok-js-client
Version:
Universal JavaScript SDK for Storyblok's API
22 lines (21 loc) • 745 B
TypeScript
declare const _METHOD: {
readonly GET: "get";
readonly DELETE: "delete";
readonly POST: "post";
readonly PUT: "put";
};
type ObjectValues<T> = T[keyof T];
type Method = ObjectValues<typeof _METHOD>;
export default Method;
export declare const STORYBLOK_AGENT = "SB-Agent";
export declare const STORYBLOK_JS_CLIENT_AGENT: {
defaultAgentName: string;
defaultAgentVersion: string;
packageVersion: string;
};
export declare const StoryblokContentVersion: {
readonly DRAFT: "draft";
readonly PUBLISHED: "published";
};
export type StoryblokContentVersionKeys = typeof StoryblokContentVersion[keyof typeof StoryblokContentVersion];
export declare const StoryblokContentVersionValues: StoryblokContentVersionKeys[];