@docusaurus/types 3.9.2-canary-6528 → 3.9.2-canary-6542

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/config.d.ts +10 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "3.9.2-canary-6528",
3
+ "version": "3.9.2-canary-6542",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -28,5 +28,5 @@
28
28
  "react": "^18.0.0 || ^19.0.0",
29
29
  "react-dom": "^18.0.0 || ^19.0.0"
30
30
  },
31
- "gitHead": "b5d479e2d10ecca6acc1b68397162f6bd7f38110"
31
+ "gitHead": "e3d9e7dc4b1498ce83bfb089c3a672a7b6f4d484"
32
32
  }
package/src/config.d.ts CHANGED
@@ -39,6 +39,8 @@ export type FasterConfig = {
39
39
  export type FutureV4Config = {
40
40
  removeLegacyPostBuildHeadAttribute: boolean;
41
41
  useCssCascadeLayers: boolean;
42
+ siteStorageNamespacing: boolean;
43
+ fasterByDefault: boolean;
42
44
  };
43
45
 
44
46
  // VCS (Version Control System) info about a given change, e.g., a git commit.
@@ -94,9 +96,7 @@ export type FutureConfig = {
94
96
  */
95
97
  v4: FutureV4Config;
96
98
 
97
- experimental_faster: FasterConfig;
98
-
99
- experimental_storage: StorageConfig;
99
+ faster: FasterConfig;
100
100
 
101
101
  experimental_vcs: VcsConfig;
102
102
 
@@ -175,6 +175,12 @@ export type DocusaurusConfig = {
175
175
  * @see https://docusaurus.io/docs/api/docusaurus-config#i18n
176
176
  */
177
177
  i18n: I18nConfig;
178
+ /**
179
+ * Site-wide browser storage options.
180
+ *
181
+ * @see https://docusaurus.io/docs/api/docusaurus-config#storage
182
+ */
183
+ storage: StorageConfig;
178
184
  /**
179
185
  * Docusaurus future flags and experimental features.
180
186
  * Similar to Remix future flags, see https://remix.run/blog/future-flags
@@ -416,7 +422,7 @@ export type Config = Overwrite<
416
422
  DeepPartial<FutureConfig>,
417
423
  {
418
424
  v4?: boolean | Partial<FutureV4Config>;
419
- experimental_faster?: boolean | Partial<FasterConfig>;
425
+ faster?: boolean | Partial<FasterConfig>;
420
426
  experimental_vcs?: VcsPreset | VcsConfig | boolean;
421
427
  }
422
428
  >;