@storyblok/js 1.3.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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";
|