Skip to main content

Story and Storybook Typechecking

Storyteller will be available on Wally as an avenue for the community to use the same types as Flipbook does internally.

sIt would also be handy to allow the Flipbook plugin to manage typedefs so Studio-only users have an avenue for typing their modules.

Possible Solutions​

Option 1: Install Storyteller through package managerOption 2: Flipbook can import StorytellerOption 3: Flipbook can import typedefs
DescriptionInstruct users to install Storyteller through package managers and import it in their Storybooks and Stories to get typecheckingAllow Flipbook (either via button click or implicitly) to import Storyteller to a static location in an experienceSame as Option 2, but only for Storyteller’s exported types, no other members
Pros & Cons✅ Wally is easily accessible to external workflows
✅ Can support other package managers like Pesde
⛔ Users that aren’t onboarded with external workflows won’t be able to use it
✅ 
⛔ 
✅ Slims down the amount of code that users need to import
⛔ Potentially too barebones. Users may get a lot of value out of the full API
ConsiderationsThere is at least one Studio plugin that allows Wally packages to be imported into Studio. If we go with this option we may want to offer documentation on how to install Storyteller through third-party means