@rspress/shared 0.0.0-nightly-20240220160219 → 0.0.0-nightly-20240222160256

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 +8 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -206,11 +206,19 @@ interface SidebarGroup {
206
206
  items: (SidebarItem | SidebarDivider | SidebarGroup | string)[];
207
207
  collapsible?: boolean;
208
208
  collapsed?: boolean;
209
+ /**
210
+ * For hmr usage in development
211
+ */
212
+ _fileKey?: string;
209
213
  }
210
214
  type SidebarItem = {
211
215
  text: string;
212
216
  link: string;
213
217
  tag?: string;
218
+ /**
219
+ * For hmr usage in development
220
+ */
221
+ _fileKey?: string;
214
222
  };
215
223
  type SidebarDivider = {
216
224
  dividerType: 'dashed' | 'solid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "0.0.0-nightly-20240220160219",
3
+ "version": "0.0.0-nightly-20240222160256",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",