@rspress/shared 0.0.0-nightly-20240414175720 → 0.0.0-nightly-20240416160209

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/dist/index.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -663,6 +663,10 @@ interface SearchHooks {
663
663
  }
664
664
  type LocalSearchOptions = SearchHooks & {
665
665
  mode?: 'local';
666
+ /**
667
+ * Whether to generate separate search index for each version
668
+ */
669
+ versioned?: boolean;
666
670
  };
667
671
  type RemoteSearchIndexInfo = string | {
668
672
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "0.0.0-nightly-20240414175720",
3
+ "version": "0.0.0-nightly-20240416160209",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",