From 9d01a4490e0a8575d2fc0147f05ba6bea20047f2 Mon Sep 17 00:00:00 2001 From: igor-dv Date: Sun, 11 Nov 2018 14:47:25 +0200 Subject: [PATCH] Add missing "forceReRender" and "addParameters" functions to public exports --- app/angular/index.d.ts | 1 + app/angular/src/client/index.js | 1 + app/angular/src/client/preview/index.d.ts | 1 + app/mithril/src/client/index.js | 1 + app/polymer/src/client/index.js | 1 + app/vue/src/client/index.js | 1 + 6 files changed, 6 insertions(+) diff --git a/app/angular/index.d.ts b/app/angular/index.d.ts index 191d587750da..5fb420e543f0 100644 --- a/app/angular/index.d.ts +++ b/app/angular/index.d.ts @@ -41,4 +41,5 @@ declare module '@storybook/angular' { export function addParameters(parameters: any): IApi; export function configure(loaders: () => void, module: NodeModule): void; export function getStorybook(): IStoribookSection[]; + export function forceReRender(): void; } diff --git a/app/angular/src/client/index.js b/app/angular/src/client/index.js index 85a2bda84e6a..b9441c7cbc29 100644 --- a/app/angular/src/client/index.js +++ b/app/angular/src/client/index.js @@ -5,6 +5,7 @@ export { addParameters, configure, getStorybook, + forceReRender, } from './preview'; export { moduleMetadata } from './preview/angular/decorators'; diff --git a/app/angular/src/client/preview/index.d.ts b/app/angular/src/client/preview/index.d.ts index 32925352207a..b053e1ac3b8b 100644 --- a/app/angular/src/client/preview/index.d.ts +++ b/app/angular/src/client/preview/index.d.ts @@ -4,3 +4,4 @@ export function addDecorator(decorator: any): IApi; export function configure(loaders: () => void, module: NodeModule): void; export function getStorybook(): IStoribookSection[]; export function clearDecorators(): void; +export function forceReRender(): void; diff --git a/app/mithril/src/client/index.js b/app/mithril/src/client/index.js index 308ceea8889f..88fb416f70ef 100644 --- a/app/mithril/src/client/index.js +++ b/app/mithril/src/client/index.js @@ -2,6 +2,7 @@ export { storiesOf, setAddon, addDecorator, + addParameters, configure, getStorybook, forceReRender, diff --git a/app/polymer/src/client/index.js b/app/polymer/src/client/index.js index ff377f83f50d..88fb416f70ef 100644 --- a/app/polymer/src/client/index.js +++ b/app/polymer/src/client/index.js @@ -5,4 +5,5 @@ export { addParameters, configure, getStorybook, + forceReRender, } from './preview'; diff --git a/app/vue/src/client/index.js b/app/vue/src/client/index.js index ff377f83f50d..88fb416f70ef 100644 --- a/app/vue/src/client/index.js +++ b/app/vue/src/client/index.js @@ -5,4 +5,5 @@ export { addParameters, configure, getStorybook, + forceReRender, } from './preview';