@storybook/types 7.6.22 → 7.6.24
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/index.d.ts +10 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3536,7 +3536,9 @@ interface CoreConfig {
|
|
|
3536
3536
|
};
|
|
3537
3537
|
renderer?: RendererName;
|
|
3538
3538
|
disableWebpackDefaults?: boolean;
|
|
3539
|
-
channelOptions?: Partial<Options$1
|
|
3539
|
+
channelOptions?: Partial<Options$1> & {
|
|
3540
|
+
wsToken?: string;
|
|
3541
|
+
};
|
|
3540
3542
|
/**
|
|
3541
3543
|
* Disables the generation of project.json, a file containing Storybook metadata
|
|
3542
3544
|
*/
|
|
@@ -3555,6 +3557,11 @@ interface CoreConfig {
|
|
|
3555
3557
|
* @see https://storybook.js.org/telemetry
|
|
3556
3558
|
*/
|
|
3557
3559
|
enableCrashReports?: boolean;
|
|
3560
|
+
/**
|
|
3561
|
+
* Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
|
|
3562
|
+
* all hosts except known local/network address, or `true` to allow all hosts.
|
|
3563
|
+
*/
|
|
3564
|
+
allowedHosts?: string[] | true;
|
|
3558
3565
|
/**
|
|
3559
3566
|
* enable CORS headings to run document in a "secure context"
|
|
3560
3567
|
* see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
|
|
@@ -3661,6 +3668,8 @@ interface BuilderOptions {
|
|
|
3661
3668
|
versionCheck?: VersionCheck;
|
|
3662
3669
|
disableWebpackDefaults?: boolean;
|
|
3663
3670
|
serverChannelUrl?: string;
|
|
3671
|
+
localAddress?: string;
|
|
3672
|
+
networkAddress?: string;
|
|
3664
3673
|
}
|
|
3665
3674
|
interface StorybookConfigOptions {
|
|
3666
3675
|
presets: Presets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/types",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.24",
|
|
4
4
|
"description": "Core Storybook TS Types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@storybook/channels": "7.6.
|
|
47
|
+
"@storybook/channels": "7.6.24",
|
|
48
48
|
"@types/babel__core": "^7.0.0",
|
|
49
49
|
"@types/express": "^4.7.0",
|
|
50
50
|
"file-system-cache": "2.3.0"
|