@storybook/core-server 8.1.0-alpha.6 → 8.1.0-alpha.8

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.
@@ -1,7 +1,9 @@
1
1
  import { removeAddon } from '@storybook/core-common';
2
- import { PresetPropertyFn, Options, CoreConfig, PresetProperty, Indexer } from '@storybook/types';
2
+ import { Options, PresetPropertyFn, CoreConfig, PresetProperty, Indexer } from '@storybook/types';
3
3
  import { Channel } from '@storybook/channels';
4
4
 
5
+ type OptionsWithRequiredCache = Exclude<Options, 'cache'> & Required<Pick<Options, 'cache'>>;
6
+
5
7
  declare const staticDirs: PresetPropertyFn<'staticDirs'>;
6
8
  declare const favicon: (value: string | undefined, options: Pick<Options, 'presets' | 'configDir'>) => Promise<string>;
7
9
  declare const babel: (_: unknown, options: Options) => Promise<{}>;
@@ -36,7 +38,6 @@ declare const experimental_indexers: PresetProperty<'experimental_indexers'>;
36
38
  declare const frameworkOptions: (_: never, options: Options) => Promise<Record<string, any> | null>;
37
39
  declare const docs: PresetProperty<'docs'>;
38
40
  declare const managerHead: (_: any, options: Options) => Promise<string>;
39
- type OptionsWithRequiredCache = Exclude<Options, 'cache'> & Required<Pick<Options, 'cache'>>;
40
41
  declare const experimental_serverChannel: (channel: Channel, options: OptionsWithRequiredCache) => Promise<Channel>;
41
42
  /**
42
43
  * Try to resolve react and react-dom from the root node_modules of the project