storybook-addon-apollo-client
Version:
Use Apollo Client in your Storybook stories.
22 lines (19 loc) • 535 B
TypeScript
declare const ADDON_ID = "storybook/apollo-client";
declare const PANEL_ID = "storybook/apollo-client/panel";
declare const PARAM_KEY = "apolloClient";
declare const EVENTS: {
RESULT: string;
REQUEST: string;
CLEAR: string;
};
type ApolloClientAddonState = {
options: string[];
variables?: string;
query?: string;
extensions?: string;
context?: string;
result?: string;
error?: string;
activeIndex: number;
};
export { ADDON_ID, type ApolloClientAddonState, EVENTS, PANEL_ID, PARAM_KEY };