@storyblok/js 1.3.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/types.d.ts +3 -2
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import StoryblokJSClient, { StoryblokConfig, StoryblokComponent } from "storyblok-js-client";
|
2
|
+
export declare type StoryblokClient = typeof StoryblokJSClient;
|
2
3
|
declare global {
|
3
4
|
interface Window {
|
4
5
|
storyblokRegisterEvent: (cb: Function) => void;
|
@@ -30,4 +31,4 @@ export interface StoryblokBridgeV2 {
|
|
30
31
|
enterEditmode: () => void;
|
31
32
|
on: (event: "customEvent" | "published" | "input" | "change" | "unpublished" | "enterEditmode" | string[], callback: (payload?: StoryblokEventPayload) => void) => void;
|
32
33
|
}
|
33
|
-
export type { StoryblokConfig, StoryblokCache, StoryblokCacheProvider, StoryblokResult, StoryblokManagmentApiResult, StoryblokComponent, StoryData, AlternateObject, Stories, Story, StoriesParams, StoryParams, Richtext, RichtextInstance, } from "storyblok-js-client";
|
34
|
+
export type { StoryblokConfig, StoryblokCache, StoryblokCacheProvider, StoryblokResult, StoryblokManagmentApiResult, StoryblokComponent as StoryblokComponentType, StoryData, AlternateObject, Stories, Story, StoriesParams, StoryParams, Richtext, RichtextInstance, } from "storyblok-js-client";
|